Function at 0x100175d1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x9a0
mov eax, dword [0x1003ec80]
xor eax, esp
mov dword [esp + 0x99c], eax
mov ecx, dword [esp + 0x9a4]
mov edx, dword [esp + 0x9b0]
mov eax, dword [esp + 0x9a8]
push esi
mov esi, dword [esp + 0x9b0]
push edi
mov edi, dword [esp + 0x9c0]
mov dword [esp + 0x1c], ecx
mov dword [esp + 8], edx
cmp edi, 5
ja case.default.0x100175ca
jmp dword [edi*4 + 0x10017b54]
push ebx
push eax
push ecx
call fcn.10014210
mov ebx, eax
mov dword [esp + 0x10], ebx
test ebx, ebx
jne 0x100175ed
mov eax, 0xfffffae2
jmp 0x10017852
mov ecx, dword [ebx + 8]
mov dword [esp + 0x14], ecx
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 0x30], ebp
test edi, edi
je 0x1001786c
cmp edi, 4
je 0x1001786c
cmp edi, 5
je 0x1001786c
push dword [esp + 0x24]
call fcn.10014400
push 1
push eax
mov dword [esp + 0x24], eax
call fcn.10013d40
mov ebx, eax
test ebx, ebx
je 0x10017796
mov dword [ebx + 0x1c], edi
xor ebp, ebp
mov edi, dword [esp + 0x30]
mov dword [ebx + 0x230], 0
mov dword [ebx + 0x20], 0
mov dword [esp + 0x2c], 0
mov edi, dword [edi + 0x394]
mov dword [esp + 0x28], ebp
test edi, edi
je 0x10017751
lea esp, [esp]
push 0x2a0
call fcn.1000ae30
mov esi, eax
test esi, esi
je 0x1001778c
push 0x2a0
push 0
push esi
call fcn.1002c150
mov eax, dword [esp + 0x34]
add esp, 0xc
mov dword [esi + 4], eax
inc eax
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 8], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0xc], eax
cmp eax, 0x10
jne 0x100176c3
movzx eax, word [edi + 0x20]
mov word [esi + 0x10], ax
movzx eax, word [edi + 0x1c]
mov word [esi + 0x12], ax
jmp 0x100176ca
mov dword [esi + 0x10], 0
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x1c], 1
mov eax, dword [edi + 8]
jne 0x100176e0
and eax, 0xffffffdf
push 0x4b0
mov dword [esi + 0x18], eax
lea eax, [esi + 0x1c]
push 0x41
push eax
lea eax, [edi + 0x24]
push eax
call fcn.1000a680
push 2
push pe_nt_image_headers32
lea eax, [esi + 0x9e]
push eax
mov eax, dword [esp + 0x3c]
add eax, 0x398
push eax
call fcn.1000a680
cmp dword [ebx + 0x230], 0
jne 0x10017725
mov dword [ebx + 0x230], esi
jmp 0x1001772b
mov eax, dword [esp + 0x2c]
mov dword [eax], esi
mov edi, dword [edi]
inc ebp
mov dword [esp + 0x2c], esi
test edi, edi
jne 0x10017670
test ebp, ebp
jle 0x10017751
mov eax, dword [ebx + 0x230]
mov dword [ebx + 0x20], ebp
mov byte [ebx + 0x24], 2
mov dword [ebx + 0x234], eax
call sub.KERNEL32.dll_GetCurrentProcessId
push eax
call fcn.10014440
push 0x1003d300
push dword [ebx + 0xc]
lea ecx, [esp + 0x28]
mov eax, dword [eax + 0x1c]
push ecx
push dword [esp + 0x30]
mov eax, dword [eax + 0x24]
call eax
mov esi, eax
test esi, esi
je 0x100177a0
push ebx
push dword [esp + 0x20]
call fcn.100141b0
mov eax, esi
jmp 0x10017851
push ebx
push dword [esp + 0x20]
call fcn.100141b0
mov eax, 0xfffffc0d
jmp 0x10017851
mov ecx, dword [esp + 0x18]
mov edx, 0x38
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x10], eax
mov eax, dword [ecx + 0x374]
mov dword [ebx + 0x14], eax
mov eax, dword [ecx + 0x378]
mov ecx, dword [esp + 0x9c4]
cmp ecx, edx
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x50], eax
mov eax, ecx
push ecx
push dword [esp + 0x14]
cmova eax, edx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x54], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 1
mov dword [esp + 0x68], 2
mov dword [esp + 0x6c], 3
mov dword [esp + 0x70], 4
mov dword [esp + 0x74], 5
mov dword [esp + 0x78], 6
mov dword [esp + 0x7c], 7
mov dword [esp + 0x80], 8
mov dword [esp + 0x84], 9
mov dword [esp + 0x88], 1
push edx
push eax
call fcn.10009bd0
pop ebp
pop ebx
mov ecx, dword [esp + 0x9a4]
pop edi
pop esi
xor ecx, esp
call fcn.1002b4da
add esp, 0x9a0
ret 0x18
test esi, esi
jne 0x10017877
mov eax, 0xfffffc15
jmp 0x10017851
mov eax, dword [ebp + 4]
cmp dword [eax + 8], 0
lea eax, [esp + 0x6a4]
jne 0x10017895
push 0x41
push eax
push esi
push dword [ecx + 0x30]
call fcn.10029f70
jmp 0x100178d3
mov ebx, esi
lea ecx, [esp + 0x6a4]
mov edx, 0x41
sub ebx, eax
lea eax, [edx + 0x7fffffbd]
test eax, eax
je 0x100178c3
movzx eax, word [ebx + ecx]
test ax, ax
je 0x100178c3
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x100178a5
jmp 0x100178c7
test edx, edx
jne 0x100178ca
sub ecx, 2
mov ebx, dword [esp + 0x14]
xor eax, eax
mov word [ecx], ax
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x728]
push 0x4b0
push 0x41
push eax
lea eax, [esp + 0x6b0]
push eax
push ecx
call fcn.1000edf0
test eax, eax
jne 0x1001790f
push 1
push esi
push 0xffffdffa
call fcn.10009fb0
mov eax, 0xfffffc16
jmp 0x10017851
lea eax, [esp + 0x728]
push eax
push ebp
call fcn.10014480
mov ecx, eax
test ecx, ecx
je 0x10017929
cmp dword [ecx + 0x10], 0
jne 0x10017933
mov eax, 0xfffffa1d
jmp 0x10017851
test edi, edi
jne 0x100179a3
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x38], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x3c], eax
cmp eax, 0x10
jne 0x1001795e
movzx eax, word [ecx + 0x20]
mov word [esp + 0x40], ax
movzx eax, word [ecx + 0x1c]
mov word [esp + 0x42], ax
jmp 0x10017966
mov dword [esp + 0x40], 0
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x44], eax
cmp byte [ebx + 0x1c], 1
mov eax, dword [ecx + 8]
jne 0x10017979
and eax, 0xffffffdf
mov ecx, dword [esp + 0x9c4]
mov edx, 0x18
mov dword [esp + 0x48], eax
cmp ecx, edx
push ecx
push dword [esp + 0x14]
mov eax, ecx
cmova eax, edx
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x3c]
push edx
jmp 0x1001784b
cmp edi, 4
jne 0x10017ad6
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x88], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x8c], eax
cmp eax, 0x10
jne 0x100179df
movzx eax, word [ecx + 0x20]
mov word [esp + 0x90], ax
movzx eax, word [ecx + 0x1c]
mov word [esp + 0x92], ax
jmp 0x100179ea
mov dword [esp + 0x90], 0
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x94], eax
cmp byte [ebx + 0x1c], 1
mov eax, dword [ecx + 8]
jne 0x10017a00
and eax, 0xffffffdf
push 2
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x7b0]
push pe_nt_image_headers32
push eax
lea eax, [ebp + 0x398]
push eax
call fcn.1000a680
lea ecx, [esp + 0x9c]
mov edx, pe_nt_image_headers32
lea edi, [esp + 0x7ac]
mov eax, ecx
sub edi, eax
lea esp, [esp]
lea eax, [edx + 0x7ffffefe]
test eax, eax
je 0x10017a5e
movzx eax, word [edi + ecx]
test ax, ax
je 0x10017a5e
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x10017a40
jmp 0x10017a62
test edx, edx
jne 0x10017a65
sub ecx, 2
xor eax, eax
mov edx, pe_nt_image_headers32
mov word [ecx], ax
lea ecx, [esp + 0x29c]
mov eax, ecx
sub esi, eax
lea ebx, [ebx]
lea eax, [edx + 0x7ffffefe]
test eax, eax
je 0x10017a9e
movzx eax, word [esi + ecx]
test ax, ax
je 0x10017a9e
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x10017a80
jmp 0x10017aa2
test edx, edx
jne 0x10017aa5
sub ecx, 2
xor eax, eax
mov edx, 0x418
mov word [ecx], ax
mov ecx, dword [esp + 0x9c4]
cmp ecx, edx
push ecx
push dword [esp + 0x14]
mov eax, ecx
cmova eax, edx
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x8c]
push edx
jmp 0x1001784b
xor eax, eax
mov dword [esp + 0x4a0], 0
mov word [esp + 0x4a4], ax
lea eax, [esp + 0x4a4]
push pe_nt_image_headers32
push eax
lea eax, [ebp + 0xc]
push eax
push dword [ecx + 0x18]
call fcn.1001e800
test eax, eax
je 0x10017b12
xor eax, eax
mov word [esp + 0x4a4], ax
mov ecx, dword [esp + 0x9c4]
mov edx, 0x208
cmp ecx, edx
mov eax, ecx
push ecx
push dword [esp + 0x14]
cmova eax, edx
mov dword [esp + 0x4a4], eax
lea eax, [esp + 0x4a4]
push edx
jmp 0x1001784b
mov eax, 0xfffffc17
jmp 0x10017853
mov eax, 0xfffffc15
jmp 0x10017853