; ; strpbrk from 0x1801407b0 to 0x180140b78 (968 bytes) ; ; 2 xrefs: ; > common_expand_argv_wildcards @ 0x180139aa4 ; > @ 0x180203c38 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; mov [rsp+arg_0], rbx ; +0x0, 0x1801407b0 mov [rsp+arg_8], rsi ; +0x5, 0x1801407b5 push rdi ; +0xa, 0x1801407ba mov r10, rdx ; +0xb, 0x1801407bb lea rsi, cs:180000000h ; +0xe, 0x1801407be and r10d, 0Fh ; +0x15, 0x1801407c5 mov rdi, rdx ; +0x19, 0x1801407c9 sub rdi, r10 ; +0x1c, 0x1801407cc mov rbx, rdx ; +0x1f, 0x1801407cf mov r8, rcx ; +0x22, 0x1801407d2 xorps xmm3, xmm3 ; +0x25, 0x1801407d5 lea rax, [r10-1]; switch 15 cases ; +0x28, 0x1801407d8 movdqu xmm1, xmmword ptr [rdi] ; +0x2c, 0x1801407dc cmp rax, 0Eh ; +0x30, 0x1801407e0 ja short def_1801407F0; jumptable 00000001801407F0 default case ; +0x34, 0x1801407e4 mov eax, ds:(jpt_1801407F0 - 180000000h)[rsi+rax*4] ; +0x36, 0x1801407e6 add rax, rsi ; +0x3d, 0x1801407ed jmp rax; switch jump ; +0x40, 0x1801407f0 psrldq xmm1, 1; jumptable 00000001801407F0 case 1 ; +0x42, 0x1801407f2 jmp short def_1801407F0; jumptable 00000001801407F0 default case ; +0x47, 0x1801407f7 psrldq xmm1, 2; jumptable 00000001801407F0 case 2 ; +0x49, 0x1801407f9 jmp short def_1801407F0; jumptable 00000001801407F0 default case ; +0x4e, 0x1801407fe psrldq xmm1, 3; jumptable 00000001801407F0 case 3 ; +0x50, 0x180140800 jmp short def_1801407F0; jumptable 00000001801407F0 default case ; +0x55, 0x180140805 psrldq xmm1, 4; jumptable 00000001801407F0 case 4 ; +0x57, 0x180140807 jmp short def_1801407F0; jumptable 00000001801407F0 default case ; +0x5c, 0x18014080c psrldq xmm1, 5; jumptable 00000001801407F0 case 5 ; +0x5e, 0x18014080e jmp short def_1801407F0; jumptable 00000001801407F0 default case ; +0x63, 0x180140813 psrldq xmm1, 6; jumptable 00000001801407F0 case 6 ; +0x65, 0x180140815 jmp short def_1801407F0; jumptable 00000001801407F0 default case ; +0x6a, 0x18014081a psrldq xmm1, 7; jumptable 00000001801407F0 case 7 ; +0x6c, 0x18014081c jmp short def_1801407F0; jumptable 00000001801407F0 default case ; +0x71, 0x180140821 psrldq xmm1, 8; jumptable 00000001801407F0 case 8 ; +0x73, 0x180140823 jmp short def_1801407F0; jumptable 00000001801407F0 default case ; +0x78, 0x180140828 psrldq xmm1, 9; jumptable 00000001801407F0 case 9 ; +0x7a, 0x18014082a jmp short def_1801407F0; jumptable 00000001801407F0 default case ; +0x7f, 0x18014082f psrldq xmm1, 0Ah; jumptable 00000001801407F0 case 10 ; +0x81, 0x180140831 jmp short def_1801407F0; jumptable 00000001801407F0 default case ; +0x86, 0x180140836 psrldq xmm1, 0Bh; jumptable 00000001801407F0 case 11 ; +0x88, 0x180140838 jmp short def_1801407F0; jumptable 00000001801407F0 default case ; +0x8d, 0x18014083d psrldq xmm1, 0Ch; jumptable 00000001801407F0 case 12 ; +0x8f, 0x18014083f jmp short def_1801407F0; jumptable 00000001801407F0 default case ; +0x94, 0x180140844 psrldq xmm1, 0Dh; jumptable 00000001801407F0 case 13 ; +0x96, 0x180140846 jmp short def_1801407F0; jumptable 00000001801407F0 default case ; +0x9b, 0x18014084b psrldq xmm1, 0Eh; jumptable 00000001801407F0 case 14 ; +0x9d, 0x18014084d jmp short def_1801407F0; jumptable 00000001801407F0 default case ; +0xa2, 0x180140852 psrldq xmm1, 0Fh; jumptable 00000001801407F0 case 15 ; +0xa4, 0x180140854 xorps xmm0, xmm0; jumptable 00000001801407F0 default case ; +0xa9, 0x180140859 mov r9d, 0Fh ; +0xac, 0x18014085c pcmpeqb xmm0, xmm1 ; +0xb2, 0x180140862 pmovmskb eax, xmm0 ; +0xb6, 0x180140866 test eax, eax ; +0xba, 0x18014086a jz loc_1801409A5 ; +0xbc, 0x18014086c bsf edx, eax ; +0xc2, 0x180140872 test r10, r10 ; +0xc5, 0x180140875 jnz short loc_180140880 ; +0xc8, 0x180140878 lea r11d, [r9-0Eh] ; +0xca, 0x18014087a jmp short loc_180140894 ; +0xce, 0x18014087e xor r11d, r11d ; +0xd0, 0x180140880 mov eax, edx ; +0xd3, 0x180140883 mov ecx, 10h ; +0xd5, 0x180140885 sub rcx, r10 ; +0xda, 0x18014088a cmp rax, rcx ; +0xdd, 0x18014088d setb r11b ; +0xe0, 0x180140890 mov eax, r9d ; +0xe4, 0x180140894 sub eax, edx ; +0xe7, 0x180140897 cmp eax, r9d ; +0xe9, 0x180140899 ja loc_180140971 ; +0xec, 0x18014089c mov ecx, ds:(jpt_1801408AC - 180000000h)[rsi+rax*4]; switch 16 cases ; +0xf2, 0x1801408a2 add rcx, rsi ; +0xf9, 0x1801408a9 jmp rcx; switch jump ; +0xfc, 0x1801408ac pslldq xmm1, 1; jumptable 00000001801408AC case 0 ; +0xfe, 0x1801408ae psrldq xmm1, 1 ; +0x103, 0x1801408b3 jmp loc_180140971 ; +0x108, 0x1801408b8 pslldq xmm1, 2; jumptable 00000001801408AC case 1 ; +0x10d, 0x1801408bd psrldq xmm1, 2 ; +0x112, 0x1801408c2 jmp loc_180140971 ; +0x117, 0x1801408c7 pslldq xmm1, 3; jumptable 00000001801408AC case 2 ; +0x11c, 0x1801408cc psrldq xmm1, 3 ; +0x121, 0x1801408d1 jmp loc_180140971 ; +0x126, 0x1801408d6 pslldq xmm1, 4; jumptable 00000001801408AC case 3 ; +0x12b, 0x1801408db psrldq xmm1, 4 ; +0x130, 0x1801408e0 jmp loc_180140971 ; +0x135, 0x1801408e5 pslldq xmm1, 5; jumptable 00000001801408AC case 4 ; +0x13a, 0x1801408ea psrldq xmm1, 5 ; +0x13f, 0x1801408ef jmp short loc_180140971 ; +0x144, 0x1801408f4 pslldq xmm1, 6; jumptable 00000001801408AC case 5 ; +0x146, 0x1801408f6 psrldq xmm1, 6 ; +0x14b, 0x1801408fb jmp short loc_180140971 ; +0x150, 0x180140900 pslldq xmm1, 7; jumptable 00000001801408AC case 6 ; +0x152, 0x180140902 psrldq xmm1, 7 ; +0x157, 0x180140907 jmp short loc_180140971 ; +0x15c, 0x18014090c pslldq xmm1, 8; jumptable 00000001801408AC case 7 ; +0x15e, 0x18014090e psrldq xmm1, 8 ; +0x163, 0x180140913 jmp short loc_180140971 ; +0x168, 0x180140918 pslldq xmm1, 9; jumptable 00000001801408AC case 8 ; +0x16a, 0x18014091a psrldq xmm1, 9 ; +0x16f, 0x18014091f jmp short loc_180140971 ; +0x174, 0x180140924 pslldq xmm1, 0Ah; jumptable 00000001801408AC case 9 ; +0x176, 0x180140926 psrldq xmm1, 0Ah ; +0x17b, 0x18014092b jmp short loc_180140971 ; +0x180, 0x180140930 pslldq xmm1, 0Bh; jumptable 00000001801408AC case 10 ; +0x182, 0x180140932 psrldq xmm1, 0Bh ; +0x187, 0x180140937 jmp short loc_180140971 ; +0x18c, 0x18014093c pslldq xmm1, 0Ch; jumptable 00000001801408AC case 11 ; +0x18e, 0x18014093e psrldq xmm1, 0Ch ; +0x193, 0x180140943 jmp short loc_180140971 ; +0x198, 0x180140948 pslldq xmm1, 0Dh; jumptable 00000001801408AC case 12 ; +0x19a, 0x18014094a psrldq xmm1, 0Dh ; +0x19f, 0x18014094f jmp short loc_180140971 ; +0x1a4, 0x180140954 pslldq xmm1, 0Eh; jumptable 00000001801408AC case 13 ; +0x1a6, 0x180140956 psrldq xmm1, 0Eh ; +0x1ab, 0x18014095b jmp short loc_180140971 ; +0x1b0, 0x180140960 pslldq xmm1, 0Fh; jumptable 00000001801408AC case 14 ; +0x1b2, 0x180140962 psrldq xmm1, 0Fh ; +0x1b7, 0x180140967 jmp short loc_180140971 ; +0x1bc, 0x18014096c xorps xmm1, xmm1; jumptable 00000001801408AC case 15 ; +0x1be, 0x18014096e test r11d, r11d ; +0x1c1, 0x180140971 jnz loc_180140A60 ; +0x1c4, 0x180140974 movdqu xmm2, xmmword ptr [rdi+10h] ; +0x1ca, 0x18014097a movdqa xmm0, xmm2 ; +0x1cf, 0x18014097f pcmpeqb xmm0, xmm3 ; +0x1d3, 0x180140983 pmovmskb eax, xmm0 ; +0x1d7, 0x180140987 test eax, eax ; +0x1db, 0x18014098b jnz short loc_1801409C4 ; +0x1dd, 0x18014098d mov rdx, rbx ; +0x1df, 0x18014098f mov rcx, r8 ; +0x1e2, 0x180140992 mov rbx, [rsp+8+arg_0] ; +0x1e5, 0x180140995 mov rsi, [rsp+8+arg_8] ; +0x1ea, 0x18014099a pop rdi ; +0x1ef, 0x18014099f jmp unknown_libname_74; Microsoft VisualC 64bit universal runtime ; +0x1f0, 0x1801409a0 test r10, r10 ; +0x1f5, 0x1801409a5 jnz short loc_18014097A ; +0x1f8, 0x1801409a8 cmp [rdi+1], r10b ; +0x1fa, 0x1801409aa jz loc_180140A60 ; +0x1fe, 0x1801409ae mov rbx, [rsp+8+arg_0] ; +0x204, 0x1801409b4 mov rsi, [rsp+8+arg_8] ; +0x209, 0x1801409b9 pop rdi ; +0x20e, 0x1801409be jmp unknown_libname_74; Microsoft VisualC 64bit universal runtime ; +0x20f, 0x1801409bf bsf ecx, eax ; +0x214, 0x1801409c4 mov eax, ecx ; +0x217, 0x1801409c7 sub rax, r10 ; +0x219, 0x1801409c9 add rax, 10h ; +0x21c, 0x1801409cc cmp rax, 10h ; +0x220, 0x1801409d0 ja short loc_18014098F ; +0x224, 0x1801409d4 sub r9d, ecx ; +0x226, 0x1801409d6 cmp r9d, 0Fh; switch 16 cases ; +0x229, 0x1801409d9 ja short def_1801409EA; jumptable 00000001801409EA default case ; +0x22d, 0x1801409dd mov ecx, ds:(jpt_1801409EA - 180000000h)[rsi+r9*4] ; +0x22f, 0x1801409df add rcx, rsi ; +0x237, 0x1801409e7 jmp rcx; switch jump ; +0x23a, 0x1801409ea pslldq xmm2, 1; jumptable 00000001801409EA case 0 ; +0x23c, 0x1801409ec jmp short def_1801409EA; jumptable 00000001801409EA default case ; +0x241, 0x1801409f1 pslldq xmm2, 2; jumptable 00000001801409EA case 1 ; +0x243, 0x1801409f3 jmp short def_1801409EA; jumptable 00000001801409EA default case ; +0x248, 0x1801409f8 pslldq xmm2, 3; jumptable 00000001801409EA case 2 ; +0x24a, 0x1801409fa jmp short def_1801409EA; jumptable 00000001801409EA default case ; +0x24f, 0x1801409ff pslldq xmm2, 4; jumptable 00000001801409EA case 3 ; +0x251, 0x180140a01 jmp short def_1801409EA; jumptable 00000001801409EA default case ; +0x256, 0x180140a06 pslldq xmm2, 5; jumptable 00000001801409EA case 4 ; +0x258, 0x180140a08 jmp short def_1801409EA; jumptable 00000001801409EA default case ; +0x25d, 0x180140a0d pslldq xmm2, 6; jumptable 00000001801409EA case 5 ; +0x25f, 0x180140a0f jmp short def_1801409EA; jumptable 00000001801409EA default case ; +0x264, 0x180140a14 pslldq xmm2, 7; jumptable 00000001801409EA case 6 ; +0x266, 0x180140a16 jmp short def_1801409EA; jumptable 00000001801409EA default case ; +0x26b, 0x180140a1b pslldq xmm2, 8; jumptable 00000001801409EA case 7 ; +0x26d, 0x180140a1d jmp short def_1801409EA; jumptable 00000001801409EA default case ; +0x272, 0x180140a22 pslldq xmm2, 9; jumptable 00000001801409EA case 8 ; +0x274, 0x180140a24 jmp short def_1801409EA; jumptable 00000001801409EA default case ; +0x279, 0x180140a29 pslldq xmm2, 0Ah; jumptable 00000001801409EA case 9 ; +0x27b, 0x180140a2b jmp short def_1801409EA; jumptable 00000001801409EA default case ; +0x280, 0x180140a30 pslldq xmm2, 0Bh; jumptable 00000001801409EA case 10 ; +0x282, 0x180140a32 jmp short def_1801409EA; jumptable 00000001801409EA default case ; +0x287, 0x180140a37 pslldq xmm2, 0Ch; jumptable 00000001801409EA case 11 ; +0x289, 0x180140a39 jmp short def_1801409EA; jumptable 00000001801409EA default case ; +0x28e, 0x180140a3e pslldq xmm2, 0Dh; jumptable 00000001801409EA case 12 ; +0x290, 0x180140a40 jmp short def_1801409EA; jumptable 00000001801409EA default case ; +0x295, 0x180140a45 pslldq xmm2, 0Eh; jumptable 00000001801409EA case 13 ; +0x297, 0x180140a47 jmp short def_1801409EA; jumptable 00000001801409EA default case ; +0x29c, 0x180140a4c pslldq xmm2, 0Fh; jumptable 00000001801409EA case 14 ; +0x29e, 0x180140a4e jmp short def_1801409EA; jumptable 00000001801409EA default case ; +0x2a3, 0x180140a53 xorps xmm2, xmm2; jumptable 00000001801409EA case 15 ; +0x2a5, 0x180140a55 por xmm2, xmm1; jumptable 00000001801409EA default case ; +0x2a8, 0x180140a58 movdqa xmm1, xmm2 ; +0x2ac, 0x180140a5c movzx eax, byte ptr [r8] ; +0x2b0, 0x180140a60 test al, al ; +0x2b4, 0x180140a64 jz short loc_180140A9C ; +0x2b6, 0x180140a66 nop dword ptr [rax+rax+00000000h] ; +0x2b8, 0x180140a68 movsx eax, al ; +0x2c0, 0x180140a70 movd xmm0, eax ; +0x2c3, 0x180140a73 punpcklbw xmm0, xmm0 ; +0x2c7, 0x180140a77 punpcklbw xmm0, xmm0 ; +0x2cb, 0x180140a7b pshufd xmm0, xmm0, 0 ; +0x2cf, 0x180140a7f pcmpeqb xmm0, xmm1 ; +0x2d4, 0x180140a84 pmovmskb eax, xmm0 ; +0x2d8, 0x180140a88 test eax, eax ; +0x2dc, 0x180140a8c jnz short loc_180140AAA ; +0x2de, 0x180140a8e movzx eax, byte ptr [r8+1] ; +0x2e0, 0x180140a90 inc r8 ; +0x2e5, 0x180140a95 test al, al ; +0x2e8, 0x180140a98 jnz short loc_180140A70 ; +0x2ea, 0x180140a9a xor eax, eax ; +0x2ec, 0x180140a9c mov rbx, [rsp+8+arg_0] ; +0x2ee, 0x180140a9e mov rsi, [rsp+8+arg_8] ; +0x2f3, 0x180140aa3 pop rdi ; +0x2f8, 0x180140aa8 retn ; +0x2f9, 0x180140aa9 mov rbx, [rsp+8+arg_0] ; +0x2fa, 0x180140aaa mov rax, r8 ; +0x2ff, 0x180140aaf mov rsi, [rsp+8+arg_8] ; +0x302, 0x180140ab2 pop rdi ; +0x307, 0x180140ab7 retn ; +0x308, 0x180140ab8 align 4 ; +0x309, 0x180140ab9 dd offset loc_1801407F2 - 180000000h; jump table for switch statement ; +0x30c, 0x180140abc dd offset loc_1801408AE - 180000000h; jump table for switch statement ; +0x348, 0x180140af8 dd offset loc_1801409EC - 180000000h; jump table for switch statement ; +0x388, 0x180140b38