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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1025edb3
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx]
mov edi, dword [ebp + 0x10]
and dword [esp + 0x20], 0
and dword [esp + 0x14], 0
call dword [eax + 0x198]
mov esi, eax
and esi, 0xa000
neg esi
sbb esi, esi
and dword [esp + 0x24], 0
inc esi
mov dword [esp + 0x28], esi
test edi, edi
jne 0x1017be1e
push 0x14
call fcn.100e8637
pop ecx
mov dword [esp + 0x24], eax
and dword [esp + 0x78], edi
test eax, eax
je 0x1017bdcb
push ebx
mov ecx, eax
call fcn.10274abe
mov edi, eax
jmp 0x1017bdcd
xor edi, edi
or dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x24], 1
test esi, esi
jne 0x1017bdff
cmp dword [ebx + 0x80], esi
je 0x1017bdf1
mov eax, dword [edi]
mov ecx, edi
push 0x11
call dword [eax + 0x2c]
jmp 0x1017be11
mov esi, dword [edi]
call fcn.1008b6ce
add eax, 0x11c
jmp 0x1017be0b
mov esi, dword [edi]
call fcn.1008b6ce
add eax, 0x14c
push eax
mov ecx, edi
call dword [esi + 0x30]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1017be1e
call fcn.1021f333
lea eax, [esp + 0x58]
xor esi, esi
push eax
push dword [ebx + 0x20]
mov dword [esp + 0x20], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
call dword [0x102abadc]
mov eax, dword [esp + 0x5c]
mov ecx, ebx
mov dword [esp + 0x44], eax
mov eax, dword [ebx]
mov dword [esp + 0x30], esi
call dword [eax + 0x174]
test eax, eax
je 0x1017be66
mov dword [esp + 0x38], 0x7fff
jmp 0x1017be6d
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
test eax, eax
js 0x1017be83
test ecx, ecx
jns 0x1017bea1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x358]
mov edx, dword [ebx]
mov ecx, ebx
mov esi, eax
call dword [edx + 0x35c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], esi
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x174]
mov esi, dword [esp + 0x28]
test eax, eax
jne 0x1017bee7
test esi, esi
jne 0x1017bee7
mov ecx, dword [ebx + 0xcc0]
test ecx, ecx
je 0x1017bee7
mov eax, dword [ecx]
lea edx, [esp + 0x3c]
push 1
push edx
push edi
lea edx, [esp + 0x54]
push edx
call dword [eax + 0x24]
mov edx, dword [ebp + 8]
mov ecx, dword [eax]
sub edx, ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x2c], edx
jmp 0x1017beee
mov eax, dword [ebp + 8]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0xbec]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1017bfd5
lea eax, [esp + 0x1c]
push eax
call fcn.1008a2c3
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
test ecx, ecx
je 0x1017bfd5
xor eax, eax
mov dword [ecx + 0x10], eax
cmp dword [esp + 0x1c], eax
jne 0x1017bf2f
cmp dword [ebx + 0xcc0], eax
jne 0x1017bfd5
cmp dword [ecx + 0x50], eax
je 0x1017bfca
mov edx, dword [ecx]
xor eax, eax
test esi, esi
sete al
push eax
lea eax, [esp + 0x40]
push eax
push edi
lea eax, [esp + 0x5c]
push eax
call dword [edx + 0x24]
mov edx, dword [esp + 0x30]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x48], eax
test edx, edx
jne 0x1017bf7b
test byte [ecx + 0x24], 1
je 0x1017bf7b
xor eax, eax
and dword [esp + 0x48], eax
mov dword [esp + 0x10], eax
jmp 0x1017bf7f
mov eax, dword [esp + 0x10]
add eax, edx
cmp eax, dword [esp + 0x2c]
jle 0x1017bfbe
mov eax, dword [esp + 0x48]
add eax, dword [esp + 0x44]
mov esi, dword [esp + 0x28]
cmp eax, dword [esp + 0x38]
jge 0x1017bfbe
test byte [ecx + 0x24], 1
jne 0x1017bfbe
cmp dword [esp + 0x18], 0
je 0x1017bfbe
mov edx, dword [esp + 0x18]
add eax, 5
mov dword [esp + 0x44], eax
mov dword [edx + 0x10], 1
xor edx, edx
inc dword [esp + 0x20]
add edx, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x30], edx
cmp dword [esp + 0x1c], 0
jne 0x1017bf00
cmp dword [esp + 0x24], 0
je 0x1017bff0
mov eax, dword [edi]
mov ecx, edi
push dword [esp + 0x14]
call dword [eax + 0x30]
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 4]
mov eax, dword [esp + 0x20]
inc eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.1028105c
mov esp, ebp
pop ebp
ret 0x14