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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcc
mov eax, dword [0x101dc354]
xor eax, esp
mov dword [esp + 0xc8], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [esp + 0x34], eax
push edi
mov eax, dword [ebx]
push 5
push 0x18
mov dword [esp + 0x88], ecx
mov esi, dword [eax + 0x30]
lea eax, [esp + 0xc0]
mov ecx, dword [ebp + 0x10]
push eax
lea eax, [esp + 0x9c]
mov dword [esp + 0x28], ecx
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x24], ebx
call dword [0x101e07c0]
mov ecx, ebx
call esi
test eax, eax
js 0x1017f9c3
mov eax, dword [esp + 0xc0]
lea edi, [esp + 0x64]
mov dword [esp + 0x18], eax
lea edx, [esp + 0x64]
mov eax, dword [esp + 0xc4]
xor ebx, ebx
mov dword [esp + 0x20], eax
xor eax, eax
stosd dword es:[edi], eax
push 0xc
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop edi
mov ecx, edi
call fcn.100b7d47
mov esi, eax
test esi, esi
js 0x1017f9b6
cmp dword [esp + 0x20], ebx
jg 0x1017f55e
jl 0x1017f52e
cmp dword [esp + 0x18], edi
ja 0x1017f55e
mov esi, 0xc0000102
mov dword [esp + 0x24], 0x1002418c
push esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], 0x10079810
mov dword [esp + 0x30], 0x7e8
mov dword [esp + 0x34], ebx
call fcn.1016dbec
jmp 0x1017f9b6
mov edi, dword [esp + 0x10]
push ebx
push ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x28]
lea eax, [esp + 0x90]
push eax
push dword [esp + 0x74]
lea eax, [esp + 0xa0]
mov ecx, esi
push dword [esp + 0x7c]
push eax
push ebx
push ebx
push ebx
push dword [esp + 0x40]
push ebx
call dword [0x101e07c0]
mov ecx, edi
call esi
mov esi, eax
test esi, esi
js 0x1017f9b6
mov eax, dword [esp + 0x94]
lea edi, [esp + 0xa4]
add dword [esp + 0x88], eax
mov dword [esp + 0x64], eax
adc dword [esp + 0x8c], ebx
xor eax, eax
stosd dword es:[edi], eax
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x3c], ebx
stosd dword es:[edi], eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x34], ebx
stosd dword es:[edi], eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
cmp eax, 0x7fffffff
jb 0x1017f60c
ja 0x1017f602
cmp ecx, 0xffffffff
jbe 0x1017f60c
mov esi, 0xc0000095
jmp 0x1017f9aa
mov edi, dword [esp + 0x10]
mov dword [esp + 0xb4], eax
push ebx
push 0x14
mov eax, dword [edi]
push 8
mov dword [esp + 0xbc], ecx
mov esi, dword [eax + 0x34]
lea eax, [esp + 0xbc]
push eax
lea eax, [esp + 0xa0]
mov ecx, esi
push eax
push dword [esp + 0x4c]
push ebx
call dword [0x101e07c0]
mov ecx, edi
call esi
mov esi, eax
test esi, esi
js 0x1017f9aa
xor eax, eax
lea edi, [esp + 0x24]
stosd dword es:[edi], eax
lea edx, [esp + 0x24]
push 0x10
pop ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.100b7d47
mov esi, eax
test esi, esi
js 0x1017f9a1
xor eax, eax
lea edi, [esp + 0x48]
stosd dword es:[edi], eax
mov edx, ebx
push 0xc
pop ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
sub eax, ecx
mov ecx, dword [esp + 0x20]
sbb ecx, edx
js 0x1017f993
jg 0x1017f6a0
cmp eax, ebx
jb 0x1017f993
cmp ecx, ebx
ja 0x1017f993
jb 0x1017f98c
cmp eax, 0xffffffff
ja 0x1017f993
cmp ecx, ebx
jne 0x1017f98c
cmp eax, 0x10
jb 0x1017f982
mov eax, dword [edi]
push ebx
push ebx
mov esi, dword [eax + 0x28]
lea eax, [esp + 0x90]
push eax
push dword [esp + 0x34]
lea eax, [esp + 0xa0]
mov ecx, esi
push dword [esp + 0x3c]
push eax
push ebx
push ebx
push ebx
push dword [esp + 0x40]
push ebx
call dword [0x101e07c0]
mov ecx, edi
call esi
mov esi, eax
test esi, esi
js 0x1017f998
mov eax, dword [esp + 0x94]
lea edx, [esp + 0x14]
add dword [esp + 0x88], eax
lea ecx, [esp + 0x70]
mov edi, dword [esp + 0x2c]
adc dword [esp + 0x8c], ebx
mov dword [esp + 0x24], eax
push dword [edi + 4]
push dword [edi]
call fcn.1015716f
mov esi, dword [esp + 0x70]
test esi, esi
js 0x1017f998
push dword [edi + 0xc]
lea edx, [esp + 0x38]
push dword [edi + 8]
lea ecx, [esp + 0x7c]
call fcn.1015716f
mov esi, dword [esp + 0x74]
test esi, esi
js 0x1017f998
mov edx, dword [esp + 0x78]
mov eax, edx
sub eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x7c]
mov ecx, esi
sbb ecx, dword [esp + 0x40]
js 0x1017f993
jg 0x1017f783
cmp eax, ebx
jb 0x1017f993
cmp ecx, ebx
ja 0x1017f993
jb 0x1017f98c
cmp eax, 0xffffffff
ja 0x1017f993
cmp ecx, ebx
jne 0x1017f98c
mov edi, dword [esp + 0x34]
cmp edi, eax
ja 0x1017f955
cmp edi, edx
jne 0x1017f7b6
cmp ebx, esi
je 0x1017f7c1
mov edx, 0x400000
cmp dword [esp + 0x14], edx
jbe 0x1017f7c5
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x48]
push eax
call fcn.1016f3a7
mov esi, eax
test esi, esi
js 0x1017f998
mov eax, dword [esp + 0x10]
push ebx
push ebx
mov eax, dword [eax]
mov esi, dword [eax + 0x28]
lea eax, [esp + 0x90]
push eax
push dword [esp + 0x20]
lea eax, [esp + 0xa0]
mov ecx, esi
push dword [esp + 0x60]
push eax
push ebx
push ebx
push ebx
push dword [esp + 0x40]
push ebx
call dword [0x101e07c0]
mov ecx, dword [esp + 0x3c]
call esi
mov esi, eax
test esi, esi
js 0x1017f998
mov eax, dword [esp + 0x94]
mov edx, edi
mov dword [esp + 0x48], eax
add eax, dword [esp + 0x88]
push 0
pop ecx
adc ecx, dword [esp + 0x8c]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x8c], ecx
mov ecx, 0x400000
mov dword [esp + 0x44], eax
mov dword [esp + 0x88], eax
lea eax, [esp + 0xa4]
push eax
cmp edi, ecx
ja 0x1017f866
mov edx, ecx
call fcn.1016f3a7
mov esi, eax
test esi, esi
js 0x1017f998
push ecx
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0x50]
push eax
mov eax, dword [esp + 0x8c]
push ecx
mov edx, dword [eax + 8]
call fcn.10187364
mov esi, eax
test esi, esi
js 0x1017f998
mov edi, dword [esp + 0x10]
push ebx
push ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x2c]
lea eax, [esp + 0xa0]
push eax
push dword [esp + 0xb0]
lea eax, [esp + 0xa0]
mov ecx, esi
push dword [esp + 0xbc]
push eax
push ebx
push ebx
push ebx
push dword [esp + 0x5c]
push ebx
call dword [0x101e07c0]
mov ecx, edi
call esi
mov esi, eax
test esi, esi
js 0x1017f998
mov eax, dword [esp + 0x94]
add eax, dword [esp + 0x98]
mov edx, dword [esp + 0x84]
push 0
pop ecx
adc ecx, dword [esp + 0x9c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
cmp edx, dword [esp + 0x20]
jg 0x1017f935
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x18]
jl 0x1017f688
cmp ecx, eax
jb 0x1017f688
lea ecx, [esp + 0x48]
call fcn.10095000
lea ecx, [esp + 0x24]
call fcn.10095000
lea ecx, [esp + 0xa4]
call fcn.10095000
jmp 0x1017f9b8
mov dword [esp + 0x5c], 0x869
mov esi, 0xc0000102
mov dword [esp + 0x58], 0x10079810
push esi
lea ecx, [esp + 0x58]
mov dword [esp + 0x58], 0x1002418c
mov dword [esp + 0x64], ebx
call fcn.1016dbec
jmp 0x1017f998
mov dword [esp + 0x5c], 0x844
jmp 0x1017f95d
mov esi, 0xc00000e5
jmp 0x1017f998
mov esi, 0xc0000095
lea ecx, [esp + 0x48]
call fcn.10095000
lea ecx, [esp + 0x24]
call fcn.10095000
lea ecx, [esp + 0xa4]
call fcn.10095000
mov ebx, esi
lea ecx, [esp + 0x64]
call fcn.10095000
mov eax, ebx
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100b88c0
mov esp, ebp
pop ebp
ret 0x14