Function at 0x1002e7d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003e434
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x1004f37c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x1c]
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
xor eax, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 0x10040faf
push esi
mov byte [ebp - 4], 2
call sym.ahclient.dll_SearchHelp
add esp, 8
test al, al
jne 0x1002ef62
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 1
mov word [ebp - 0xa0], 0x22
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 1
mov word [ebp - 0x88], 0x22
mov dword [ebp - 0x134], 0xf
mov dword [ebp - 0x138], 1
mov word [ebp - 0x148], 0x20
mov dword [ebp - 0x11c], 0xf
mov dword [ebp - 0x120], 1
mov word [ebp - 0x130], 0x20
mov dword [ebp - 0x104], 0xf
mov dword [ebp - 0x108], 1
mov word [ebp - 0x118], 0x20
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 1
mov word [ebp - 0x58], 0x20
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 8
push eax
push dword [ebp - 0x1e0]
lea eax, [ebp - 0x1d8]
push eax
call sym.ahclient.dll_SearchHelp
add esp, 0xc
cmp dword [edi + 0x14], 0x10
mov ecx, edi
mov byte [ebp - 4], 9
jb 0x1002e946
mov ecx, dword [edi]
push dword [edi + 0x10]
push ecx
mov ecx, eax
call sym.ahclient.dll_SearchHelp
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x1a8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x198], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x1a8]
push eax
push dword [ebp - 0x1dc]
lea ecx, [ebp - 0x100]
call sym.ahclient.dll_SearchHelp
mov eax, dword [ebp - 0x1e4]
mov ecx, eax
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 0x10
jb 0x1002e9b0
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x100]
call sym.ahclient.dll_SearchHelp
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x190], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x180], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x190]
push eax
push dword [ebp - 0x1dc]
lea ecx, [ebp - 0xe8]
call sym.ahclient.dll_SearchHelp
mov eax, dword [ebp - 0x1e8]
mov ecx, eax
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], 0x10
jb 0x1002ea1e
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0xe8]
call sym.ahclient.dll_SearchHelp
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x178], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x168], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x178]
push eax
push dword [ebp - 0x1dc]
lea ecx, [ebp - 0x1c0]
call sym.ahclient.dll_SearchHelp
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x1c0]
push eax
push dword [ebp - 0x1dc]
lea ecx, [ebp - 0xd0]
call sym.ahclient.dll_SearchHelp
cmp dword [esi + 0x14], 0x10
mov eax, esi
mov byte [ebp - 4], 0x10
jb 0x1002eaa9
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0xd0]
push eax
call sym.ahclient.dll_SearchHelp
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x160], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x150], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x160]
push eax
push dword [ebp - 0x1dc]
lea ecx, [ebp - 0xb8]
call sym.ahclient.dll_SearchHelp
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x1002eb37
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002eb2d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002ef5c
push edx
push ecx
call sym.ahclient.dll_SearchHelp
add esp, 8
movups xmm0, xmmword [ebp - 0xb8]
mov edx, dword [ebp - 0x14c]
mov byte [ebp - 4], 0x10
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [ebp - 0xa8]
movq qword [ebp - 0x60], xmm0
cmp edx, 0x10
jb 0x1002eb8d
mov ecx, dword [ebp - 0x160]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002eb83
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002ef5c
push edx
push ecx
call sym.ahclient.dll_SearchHelp
add esp, 8
mov edx, dword [ebp - 0xbc]
mov byte [ebp - 4], 0xf
cmp edx, 0x10
jb 0x1002ebcb
mov ecx, dword [ebp - 0xd0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002ebc1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002ef5c
push edx
push ecx
call sym.ahclient.dll_SearchHelp
add esp, 8
mov edx, dword [ebp - 0x1ac]
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], 0
mov byte [ebp - 4], 0xe
cmp edx, 0x10
jb 0x1002ec24
mov ecx, dword [ebp - 0x1c0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002ec1a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002ef5c
push edx
push ecx
call sym.ahclient.dll_SearchHelp
add esp, 8
mov edx, dword [ebp - 0x164]
mov byte [ebp - 4], 0xd
cmp edx, 0x10
jb 0x1002ec62
mov ecx, dword [ebp - 0x178]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002ec58
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002ef5c
push edx
push ecx
call sym.ahclient.dll_SearchHelp
add esp, 8
mov edx, dword [ebp - 0xd4]
mov byte [ebp - 4], 0xc
cmp edx, 0x10
jb 0x1002eca0
mov ecx, dword [ebp - 0xe8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002ec96
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002ef5c
push edx
push ecx
call sym.ahclient.dll_SearchHelp
add esp, 8
mov edx, dword [ebp - 0x17c]
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0xf
mov byte [ebp - 0xe8], 0
mov byte [ebp - 4], 0xb
cmp edx, 0x10
jb 0x1002ecf9
mov ecx, dword [ebp - 0x190]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002ecef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002ef5c
push edx
push ecx
call sym.ahclient.dll_SearchHelp
add esp, 8
mov edx, dword [ebp - 0xec]
mov byte [ebp - 4], 0xa
cmp edx, 0x10
jb 0x1002ed37
mov ecx, dword [ebp - 0x100]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002ed2d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002ef5c
push edx
push ecx
call sym.ahclient.dll_SearchHelp
add esp, 8
mov edx, dword [ebp - 0x194]
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0xf
mov byte [ebp - 0x100], 0
mov byte [ebp - 4], 9
cmp edx, 0x10
jb 0x1002ed90
mov ecx, dword [ebp - 0x1a8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002ed86
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002ef5c
push edx
push ecx
call sym.ahclient.dll_SearchHelp
add esp, 8
mov edx, dword [ebp - 0x1c4]
mov byte [ebp - 4], 8
cmp edx, 0x10
jb 0x1002edce
mov ecx, dword [ebp - 0x1d8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002edc4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002ef5c
push edx
push ecx
call sym.ahclient.dll_SearchHelp
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1c4], 0xf
mov byte [ebp - 0x1d8], 0
mov byte [ebp - 4], 7
cmp edx, 0x10
jb 0x1002ee21
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002ee17
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002ef5c
push edx
push ecx
call sym.ahclient.dll_SearchHelp
add esp, 8
mov edx, dword [ebp - 0x104]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 6
cmp edx, 0x10
jb 0x1002ee71
mov ecx, dword [ebp - 0x118]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002ee67
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002ef5c
push edx
push ecx
call sym.ahclient.dll_SearchHelp
add esp, 8
mov edx, dword [ebp - 0x11c]
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x1002eeaf
mov ecx, dword [ebp - 0x130]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002eea5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002ef5c
push edx
push ecx
call sym.ahclient.dll_SearchHelp
add esp, 8
mov edx, dword [ebp - 0x134]
mov byte [ebp - 4], 4
cmp edx, 0x10
jb 0x1002eee9
mov ecx, dword [ebp - 0x148]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002eedf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002ef5c
push edx
push ecx
call sym.ahclient.dll_SearchHelp
add esp, 8
mov edx, dword [ebp - 0x74]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x1002ef20
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002ef16
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002ef5c
push edx
push ecx
call sym.ahclient.dll_SearchHelp
add esp, 8
mov edx, dword [ebp - 0x8c]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x1002f1fc
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002f1f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002f1f2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push 1
push 0x10044380
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
call sym.ahclient.dll_SearchHelp
push 1
push 0x10044380
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
call sym.ahclient.dll_SearchHelp
push 1
push 0x10044380
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call sym.ahclient.dll_SearchHelp
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x14
push eax
push dword [ebp - 0x1e0]
lea eax, [ebp - 0x160]
push eax
call sym.ahclient.dll_SearchHelp
push edi
push eax
lea eax, [ebp - 0x178]
mov byte [ebp - 4], 0x15
push eax
call sym.ahclient.dll_SearchHelp
add esp, 0x18
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x16
push ecx
push eax
push dword [ebp - 0x1dc]
lea ecx, [ebp - 0x1c0]
call sym.ahclient.dll_SearchHelp
push dword [ebp - 0x1e4]
lea eax, [ebp - 0x1c0]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x190]
push eax
call sym.ahclient.dll_SearchHelp
add esp, 0xc
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x18
push ecx
push eax
push dword [ebp - 0x1dc]
lea ecx, [ebp - 0xb8]
call sym.ahclient.dll_SearchHelp
push dword [ebp - 0x1e8]
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x1a8]
push eax
call sym.ahclient.dll_SearchHelp
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x70]
cmp eax, esi
je 0x1002f0f9
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x1002f0c5
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002f0bb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f1ec
push edx
push ecx
call sym.ahclient.dll_SearchHelp
add esp, 8
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x60], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea ecx, [ebp - 0x1a8]
call fcn.10007ad0
lea ecx, [ebp - 0xb8]
call fcn.10007ad0
lea ecx, [ebp - 0x190]
call fcn.10007ad0
lea ecx, [ebp - 0x1c0]
call fcn.10007ad0
lea ecx, [ebp - 0x178]
call fcn.10007ad0
lea ecx, [ebp - 0x160]
call fcn.10007ad0
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x13
cmp edx, 0x10
jb 0x1002f173
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002f169
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f1ec
push edx
push ecx
call sym.ahclient.dll_SearchHelp
add esp, 8
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 0x12
cmp edx, 0x10
jb 0x1002f1bf
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002f1b5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f1ec
push edx
push ecx
call sym.ahclient.dll_SearchHelp
add esp, 8
mov edx, dword [ebp - 0x74]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x1002f1fc
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002f1f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002f1f2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call sym.ahclient.dll_SearchHelp
add esp, 8
push 1
push dword [ebp - 0x1dc]
lea eax, [ebp - 0xb8]
push eax
call sym.ahclient.dll_SearchHelp
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x1002f262
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x1002f230
inc ecx
push ecx
push dword [ebp - 0x40]
mov ecx, eax
call sym.ahclient.dll_SearchHelp
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0xb8]
call fcn.10024240
push 1
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xb8]
push eax
call sym.ahclient.dll_SearchHelp
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x1002f2d1
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x1002f29f
inc ecx
push ecx
push dword [ebp - 0x28]
mov ecx, eax
call sym.ahclient.dll_SearchHelp
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0xb8]
call fcn.10024240
mov esi, dword [ebp - 0x18]
add esi, 3
lea eax, [esi + esi]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
xorps xmm0, xmm0
mov dword [ebp - 0x23c], 0x44
push 0x10044384
mov edi, eax
movlpd qword [ebp - 0x238], xmm0
push esi
push edi
movlpd qword [ebp - 0x230], xmm0
movlpd qword [ebp - 0x228], xmm0
movlpd qword [ebp - 0x220], xmm0
movlpd qword [ebp - 0x218], xmm0
movlpd qword [ebp - 0x210], xmm0
movlpd qword [ebp - 0x208], xmm0
movlpd qword [ebp - 0x200], xmm0
movups xmmword [ebp - 0x1f8], xmm0
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push esi
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0x1c
lea ecx, [ebp - 0x1f8]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov esi, 1
cmovae eax, dword [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x23c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push edi
push eax
call dword [sym.imp.kernel32.dll_CreateProcessW]
push dword [ebp - 0x1f8]
xor ecx, ecx
test eax, eax
cmovne esi, ecx
call dword [sym.imp.kernel32.dll_CloseHandle]
push dword [ebp - 0x1f4]
call dword [sym.imp.kernel32.dll_CloseHandle]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [ebp - 0x14]
add esp, 4
cmp eax, 8
jb 0x1002f3d6
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call sym.ahclient.dll_SearchHelp
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 7
cmp eax, 8
jb 0x1002f3ff
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call sym.ahclient.dll_SearchHelp
mov edx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 0x10
jb 0x1002f449
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002f43f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002f43f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call sym.ahclient.dll_SearchHelp
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10038620
mov esp, ebp
pop ebp
ret