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

Disassembly:
sub esp, 0x94
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 1
push esi
mov esi, dword [esp + 0xa4]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x68]
push eax
push esi
mov dword [esp + 0x70], 1
mov dword [esp + 0x74], 1
call fcn.10178994
add esp, 8
test eax, eax
jg 0x1017aac1
mov eax, 0xfffffffc
pop esi
add esp, 0x94
ret
xor eax, eax
mov dword [esp + 0x74], 1
push ebx
push ebp
push edi
mov edi, dword [esp + 0xac]
xor ebp, ebp
push esi
mov dword [esp + 0x14], eax
xor ebx, ebx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x9c]
push edi
push eax
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x44], 1
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x30], 0
mov dword [esp + 0x68], 1
mov dword [esp + 0x38], ebp
mov dword [esp + 0xa4], 1
mov dword [esp + 0x98], 1
mov dword [esp + 0x74], 1
mov dword [esp + 0x24], 1
mov dword [esp + 0x5c], 1
call fcn.1017a3b4
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1017b4e5
lea eax, [esp + 0x34]
mov dword [esp + 0x34], 1
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x9c]
mov dword [esp + 0x78], 1
push eax
mov dword [esp + 0x80], 1
call fcn.10178994
add esp, 8
test eax, eax
je 0x1017abe5
lea esi, [ebp - 0xe]
jmp 0x1017b4e5
push dword [esp + 0xb0]
lea eax, [esp + 0x84]
push edi
push eax
call fcn.1017b8b4
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1017b4e5
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.10178a64
mov esi, eax
add esp, 8
test esi, esi
jne 0x1017b4e5
mov edi, dword [esp + 0xb0]
lea eax, [esp + 0x8c]
push edi
push eax
call fcn.10178a64
mov esi, eax
add esp, 8
test esi, esi
jne 0x1017b4e5
lea eax, [esp + 0x68]
push edi
push eax
call fcn.10178a64
mov esi, eax
add esp, 8
test esi, esi
jne 0x1017b4e5
mov edi, dword [0x100721d8]
push 4
push 1
call edi
add esp, 8
test eax, eax
jne 0x1017ac7b
lea esi, [eax - 0x10]
jmp 0x1017b4e5
mov ecx, 1
mov ebp, eax
push 4
push ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ebp
mov dword [eax], ecx
call edi
add esp, 8
test eax, eax
jne 0x1017aca4
lea esi, [eax - 0x10]
jmp 0x1017b4e5
mov ecx, 1
mov dword [eax], ebx
mov esi, eax
mov dword [esp + 0x2c], ecx
push 4
push ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x64], ecx
call edi
add esp, 8
test eax, eax
jne 0x1017acd5
lea esi, [eax - 0x10]
jmp 0x1017b4e5
mov ecx, 1
mov dword [eax], 0
mov ebx, eax
mov dword [esp + 0x14], ecx
push 4
push ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ecx
call edi
add esp, 8
test eax, eax
jne 0x1017ad08
mov esi, 0xfffffff0
jmp 0x1017b4e5
mov ecx, 1
mov edi, eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x58], edi
mov dword [eax], ecx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x40]
test byte [ecx], 1
jne 0x1017af64
nop
mov eax, dword [esp + 0x3c]
xor edi, edi
test eax, eax
je 0x1017ad64
mov edx, eax
test edx, edx
je 0x1017adb8
lea esi, [edx - 1]
lea esi, [ecx + esi*4]
mov ecx, dword [esi]
lea esi, [esi - 4]
mov eax, ecx
shr eax, 1
or eax, edi
mov edi, ecx
shl edi, 0x1f
mov dword [esi + 4], eax
sub edx, 1
jne 0x1017ad4a
jmp 0x1017adb4
push 4
push 1
call dword [0x100721d8]
mov esi, eax
add esp, 8
test esi, esi
je 0x1017acfe
mov edi, dword [esp + 0x40]
push 0
push edi
call fcn.1016eb14
push edi
call dword [0x100721e0]
mov eax, 1
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], eax
shl eax, 2
push eax
push 0
push esi
call fcn.101937f6
add esp, 0x18
mov dword [esi], 0
mov dword [esp + 0x38], 1
mov esi, dword [esp + 0x10]
test byte [ebp], 1
jne 0x1017adc3
test byte [esi], 1
je 0x1017ae21
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x48]
push eax
push eax
call fcn.101787f4
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1017b499
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x60]
push eax
push eax
call fcn.1017c964
mov ecx, dword [esp + 0x54]
mov esi, eax
mov eax, dword [esp + 0x70]
add esp, 0xc
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], eax
test esi, esi
jne 0x1017b4e5
jmp 0x1017ae25
mov ecx, dword [esp + 0x24]
xor edi, edi
test ecx, ecx
je 0x1017ae5e
mov edx, ecx
test edx, edx
je 0x1017aeb8
lea esi, [edx*4 - 4]
add esi, ebp
nop word [eax + eax]
mov ecx, dword [esi]
lea esi, [esi - 4]
mov eax, ecx
shr eax, 1
or eax, edi
mov edi, ecx
shl edi, 0x1f
mov dword [esi + 4], eax
sub edx, 1
jne 0x1017ae44
jmp 0x1017aeb8
push 4
push 1
call dword [0x100721d8]
mov esi, eax
add esp, 8
test esi, esi
je 0x1017acfe
test ebp, ebp
je 0x1017ae8b
push 0
push ebp
call fcn.1016eb14
push ebp
call dword [0x100721e0]
add esp, 0xc
mov eax, 1
mov ebp, esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x48], eax
shl eax, 2
push eax
push 0
push ebp
mov dword [esp + 0x58], ebp
call fcn.101937f6
add esp, 0xc
mov dword [ebp], edi
mov dword [esp + 0x44], 1
mov eax, dword [esp + 0x2c]
xor edi, edi
test eax, eax
je 0x1017aef4
mov esi, dword [esp + 0x10]
mov edx, eax
test edx, edx
je 0x1017af57
add esi, 0xfffffffc
lea esi, [esi + edx*4]
mov ecx, dword [esi]
lea esi, [esi - 4]
mov eax, ecx
shr eax, 1
or eax, edi
mov edi, ecx
shl edi, 0x1f
mov dword [esi + 4], eax
sub edx, 1
jne 0x1017aed6
mov esi, dword [esp + 0x10]
jmp 0x1017af57
push 4
push 1
call dword [0x100721d8]
mov esi, eax
add esp, 8
test esi, esi
je 0x1017acfe
mov edi, dword [esp + 0x10]
test edi, edi
je 0x1017af25
push 0
push edi
call fcn.1016eb14
push edi
call dword [0x100721e0]
add esp, 0xc
mov eax, 1
mov dword [esp + 0x10], esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x60], eax
shl eax, 2
push eax
push 0
push esi
mov dword [esp + 0x70], esi
call fcn.101937f6
add esp, 0xc
mov dword [esi], 0
mov dword [esp + 0x5c], 1
mov ecx, dword [esp + 0x40]
test byte [ecx], 1
je 0x1017ad34
mov esi, dword [esp + 0x70]
test byte [esi], 1
jne 0x1017b1a3
nop dword [eax]
mov eax, dword [esp + 0x6c]
xor edi, edi
test eax, eax
je 0x1017afa4
mov edx, eax
test edx, edx
je 0x1017aff8
lea esi, [esi + edx*4]
add esi, 0xfffffffc
mov ecx, dword [esi]
lea esi, [esi - 4]
mov eax, ecx
shr eax, 1
or eax, edi
mov edi, ecx
shl edi, 0x1f
mov dword [esi + 4], eax
sub edx, 1
jne 0x1017af8a
jmp 0x1017aff8
push 4
push 1
call dword [0x100721d8]
mov esi, eax
add esp, 8
test esi, esi
je 0x1017acfe
mov edi, dword [esp + 0x70]
push 0
push edi
call fcn.1016eb14
push edi
call dword [0x100721e0]
mov eax, 1
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], eax
shl eax, 2
push eax
push 0
push esi
call fcn.101937f6
add esp, 0x18
mov dword [esi], 0
mov dword [esp + 0x68], 1
test byte [ebx], 1
jne 0x1017b006
mov eax, dword [esp + 0x28]
test byte [eax], 1
je 0x1017b064
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x1c]
push eax
push eax
call fcn.101787f4
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1017b4a3
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x54]
push eax
push eax
call fcn.1017c964
mov ecx, dword [esp + 0x28]
mov esi, eax
mov eax, dword [esp + 0x64]
add esp, 0xc
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x30], eax
test esi, esi
jne 0x1017b4e5
jmp 0x1017b068
mov ecx, dword [esp + 0x14]
xor edi, edi
test ecx, ecx
je 0x1017b09e
mov edx, ecx
test edx, edx
je 0x1017b0f7
lea esi, [edx - 1]
lea esi, [ebx + esi*4]
nop word [eax + eax]
mov ecx, dword [esi]
lea esi, [esi - 4]
mov eax, ecx
shr eax, 1
or eax, edi
mov edi, ecx
shl edi, 0x1f
mov dword [esi + 4], eax
sub edx, 1
jne 0x1017b084
jmp 0x1017b0f7
push 4
push 1
call dword [0x100721d8]
mov esi, eax
add esp, 8
test esi, esi
je 0x1017acfe
test ebx, ebx
je 0x1017b0cb
push 0
push ebx
call fcn.1016eb14
push ebx
call dword [0x100721e0]
add esp, 0xc
mov eax, 1
mov ebx, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
shl eax, 2
push eax
push 0
push ebx
mov dword [esp + 0x2c], ebx
call fcn.101937f6
add esp, 0xc
mov dword [ebx], edi
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x30]
xor edi, edi
test eax, eax
je 0x1017b12f
mov edx, eax
test edx, edx
je 0x1017b192
mov esi, dword [esp + 0x28]
add esi, 0xfffffffc
lea esi, [esi + edx*4]
mov ecx, dword [esi]
lea esi, [esi - 4]
mov eax, ecx
shr eax, 1
or eax, edi
mov edi, ecx
shl edi, 0x1f
mov dword [esi + 4], eax
sub edx, 1
jne 0x1017b115
jmp 0x1017b192
push 4
push 1
call dword [0x100721d8]
mov esi, eax
add esp, 8
test esi, esi
je 0x1017acfe
mov edi, dword [esp + 0x28]
test edi, edi
je 0x1017b160
push 0
push edi
call fcn.1016eb14
push edi
call dword [0x100721e0]
add esp, 0xc
mov eax, 1
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x54], eax
shl eax, 2
push eax
push 0
push esi
mov dword [esp + 0x64], esi
call fcn.101937f6
add esp, 0xc
mov dword [esi], 0
mov dword [esp + 0x50], 1
mov esi, dword [esp + 0x70]
test byte [esi], 1
je 0x1017af74
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x1017b1c1
lea ecx, [ecx + eax*4]
add ecx, 0xfffffffc
nop dword [eax]
cmp dword [ecx], 0
jne 0x1017b1c1
sub ecx, 4
sub eax, 1
jne 0x1017b1b4
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x1017b1e1
lea edx, [ecx - 1]
lea edx, [esi + edx*4]
nop dword [eax + eax]
cmp dword [edx], 0
jne 0x1017b1e1
sub edx, 4
sub ecx, 1
jne 0x1017b1d4
test eax, eax
jne 0x1017b39a
test ecx, ecx
jne 0x1017b42a
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x3c]
push eax
push eax
call fcn.1017c964
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1017b4e5
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x48]
push eax
push eax
call fcn.1017c964
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1017b4d9
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x60]
push eax
push eax
call fcn.1017c964
mov ebp, dword [esp + 0x58]
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1017b4bf
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x64]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], esi
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x34], 0
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x78], 1
push eax
mov dword [esp + 0x80], 1
call fcn.10178994
add esp, 8
test eax, eax
jne 0x1017ad25
mov dword [esp + 0x34], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x78], 1
push eax
mov dword [esp + 0x80], 1
call fcn.10178994
add esp, 8
test eax, eax
jns 0x1017b32f
push dword [esp + 0xb0]
lea eax, [esp + 0x1c]
push eax
push eax
call fcn.101787f4
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1017b4b1
lea eax, [esp + 0x34]
mov dword [esp + 0x74], 1
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x7c], 1
push eax
call fcn.10178994
add esp, 8
test eax, eax
js 0x1017b2d6
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0xb0]
lea eax, [esp + 0x18]
push edi
push eax
call fcn.10178994
add esp, 8
test eax, eax
js 0x1017b37f
lea eax, [esp + 0x18]
push edi
push eax
push eax
call fcn.1017c964
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1017b4b1
lea eax, [esp + 0x18]
push edi
push eax
call fcn.10178994
add esp, 8
test eax, eax
jns 0x1017b348
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0xac]
call fcn.10178a64
add esp, 8
mov esi, eax
jmp 0x1017b4e5
cmp ecx, eax
jae 0x1017b42c
mov eax, dword [esp + 0x38]
test eax, eax
jns 0x1017b1f1
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x6c]
push eax
push eax
call fcn.1017c964
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1017b4e5
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x1c]
push eax
push eax
call fcn.1017c964
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1017b4b1
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x54]
push eax
push eax
call fcn.1017c964
mov ebx, dword [esp + 0x2c]
mov esi, eax
mov eax, dword [esp + 0x64]
add esp, 0xc
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x30], eax
test esi, esi
jne 0x1017b4a7
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], edi
jmp 0x1017b264
cmp ecx, eax
jbe 0x1017b439
mov eax, dword [esp + 0x68]
neg eax
jmp 0x1017b3a6
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x68]
test ecx, ecx
jle 0x1017b44d
test edx, edx
js 0x1017b1f1
test edx, edx
jle 0x1017b459
test ecx, ecx
js 0x1017b3ae
test eax, eax
je 0x1017b1f1
mov edx, dword [esp + 0x40]
mov edi, esi
sub edi, edx
lea ecx, [edx - 4]
lea ecx, [ecx + eax*4]
nop dword [eax + eax]
mov edx, dword [edi + ecx]
cmp dword [ecx], edx
ja 0x1017b3a2
jb 0x1017b48e
sub ecx, 4
sub eax, 1
jne 0x1017b474
jmp 0x1017b1f1
mov eax, dword [esp + 0x38]
neg eax
jmp 0x1017b3a6
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x24], ecx
jmp 0x1017b4e1
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
jmp 0x1017b4e5
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x14], eax
jmp 0x1017b4e5
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], eax
jmp 0x1017b4e5
mov eax, dword [esp + 0x48]
mov dword [esp + 0x24], eax
mov ebp, dword [esp + 0x4c]
mov edi, dword [esp + 0x88]
test edi, edi
je 0x1017b50b
mov eax, dword [esp + 0x84]
shl eax, 2
push eax
push edi
call fcn.1016eb14
push edi
call dword [0x100721e0]
add esp, 0xc
mov edi, dword [esp + 0x40]
test edi, edi
je 0x1017b52b
mov eax, dword [esp + 0x3c]
shl eax, 2
push eax
push edi
call fcn.1016eb14
push edi
call dword [0x100721e0]
add esp, 0xc
test ebp, ebp
je 0x1017b54b
mov eax, dword [esp + 0x24]
shl eax, 2
push eax
push ebp
call fcn.1016eb14
push ebp
mov ebp, dword [0x100721e0]
call ebp
add esp, 0xc
jmp 0x1017b551
mov ebp, dword [0x100721e0]
mov edi, dword [esp + 0x10]
test edi, edi
je 0x1017b56d
mov eax, dword [esp + 0x2c]
shl eax, 2
push eax
push edi
call fcn.1016eb14
push edi
call ebp
add esp, 0xc
mov edi, dword [esp + 0xa0]
test edi, edi
je 0x1017b58f
mov eax, dword [esp + 0x9c]
shl eax, 2
push eax
push edi
call fcn.1016eb14
push edi
call ebp
add esp, 0xc
mov edi, dword [esp + 0x94]
test edi, edi
je 0x1017b5b1
mov eax, dword [esp + 0x90]
shl eax, 2
push eax
push edi
call fcn.1016eb14
push edi
call ebp
add esp, 0xc
mov edi, dword [esp + 0x70]
test edi, edi
je 0x1017b5cd
mov eax, dword [esp + 0x6c]
shl eax, 2
push eax
push edi
call fcn.1016eb14
push edi
call ebp
add esp, 0xc
test ebx, ebx
je 0x1017b5e5
mov eax, dword [esp + 0x14]
shl eax, 2
push eax
push ebx
call fcn.1016eb14
push ebx
call ebp
add esp, 0xc
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x1017b601
mov eax, dword [esp + 0x30]
shl eax, 2
push eax
push ebx
call fcn.1016eb14
push ebx
call ebp
add esp, 0xc
pop edi
pop ebp
pop ebx
mov eax, esi
pop esi
add esp, 0x94
ret