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

Disassembly:
push 0xffffffffffffffff
push 0x1001f167
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x10030028]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10030028]
xor eax, esp
push eax
lea eax, [esp + 0x284]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x298]
mov eax, dword [esp + 0x294]
push 0
mov ebx, edx
push ebx
push 0
push ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], ecx
call dword [0x10021434]
mov esi, eax
test esi, esi
mov dword [esp + 0x18], esi
jne 0x10017ea4
xor eax, eax
mov ecx, dword [esp + 0x284]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.10010eee
add esp, 0x27c
ret 0x14
mov esi, dword [esp + 0x18]
cmp dword [esp + 0x2a0], 0
je 0x10017ebd
push esi
call dword [0x1002146c]
test eax, eax
je 0x1001810e
cmp dword [esp + 0x2a4], 0
je 0x10017ed6
push esi
call dword [0x10021448]
test eax, eax
je 0x1001810e
cmp dword [esp + 0x29c], 0
je 0x10017f14
push esi
call dword [0x10021420]
mov edi, eax
cmp edi, dword [esp + 0x29c]
jne 0x1001810e
call fcn.10014b80
test al, al
je 0x10017f14
push edi
push 0x100243e0
push 0xd
push 0x10024438
call fcn.10014d70
add esp, 0x10
xor esi, esi
push 0x206
lea edx, [esp + 0x7a]
push esi
push edx
mov word [esp + 0x80], si
call fcn.1001143e
add esp, 0xc
cmp ebx, esi
mov eax, ebx
jne 0x10017f3c
mov eax, 0x10024364
push eax
lea ecx, [esp + 0x5c]
call dword [0x10021238]
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0x290], esi
call dword [0x10021234]
mov ecx, dword [eax + 4]
mov edi, dword [eax]
lea edx, [esp + 0x50]
mov dword [esp + 0x3c], ecx
push edx
lea ecx, [esp + 0x5c]
call dword [0x10021230]
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
lea edx, [esp + 0x48]
mov dword [esp + 0x2c], ecx
push edx
lea ecx, [esp + 0x5c]
call dword [0x10021234]
mov ebp, dword [eax + 4]
mov ecx, dword [eax]
mov esi, ebx
sub esi, ebp
sar esi, 1
cmp edi, 0xfffffffe
mov dword [esp + 0x2c], ecx
je 0x10017fe4
test edi, edi
jne 0x10017fab
call dword [0x10021368]
mov eax, dword [edi + 0x18]
mov dword [esp + 0x2c], eax
cmp eax, 8
lea eax, [edi + 4]
jb 0x10017fbe
mov ecx, dword [eax]
jmp 0x10017fc0
mov ecx, eax
mov edx, dword [esp + 0x3c]
lea esi, [edx + esi*2]
mov edx, dword [edi + 0x14]
lea ecx, [ecx + edx*2]
cmp esi, ecx
ja 0x10017fde
cmp dword [esp + 0x2c], 8
jb 0x10017fda
mov eax, dword [eax]
cmp esi, eax
jae 0x10017fe4
call dword [0x10021368]
cmp ebp, ebx
mov esi, ebp
je 0x10018008
mov edi, dword [esp + 0x3c]
sub edi, ebp
movzx edx, word [esi]
push edx
call dword [0x10021378]
mov word [edi + esi], ax
add esi, 2
add esp, 4
cmp esi, ebx
jne 0x10017ff0
push 0
push 0x100244ac
lea ecx, [esp + 0x60]
call dword [0x10021190]
mov ecx, dword [0x100211a0]
cmp eax, dword [ecx]
je 0x10018087
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x34]
push edx
push 0x760
lea eax, [esp + 0x7c]
push eax
push 0x104
push 0xd
push esi
push ecx
mov dword [esp + 0x50], 0
call fcn.10016880
mov edx, dword [esp + 0x1c]
push edx
lea eax, [esp + 0x78]
push eax
call dword [0x1002138c]
add esp, 8
test eax, eax
je 0x100180ed
lea ecx, [esp + 0x58]
mov dword [esp + 0x28c], 0xffffffff
call dword [0x10021220]
mov eax, esi
jmp 0x10017e73
mov edx, dword [esp + 0x18]
push 0x104
lea ecx, [esp + 0x78]
push ecx
push edx
call dword [0x10021440]
test eax, eax
jne 0x100180d6
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x148], 1
jne 0x100180d6
call fcn.10014b80
test al, al
je 0x100180d6
call dword [0x10021054]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push 0x100244b8
push 0xd
push 0x10024570
call fcn.10014d70
add esp, 0x14
mov edx, dword [esp + 0x1c]
push edx
lea eax, [esp + 0x78]
push eax
call dword [0x1002138c]
add esp, 8
test eax, eax
jne 0x1001812a
lea ecx, [esp + 0x58]
mov dword [esp + 0x28c], 0xffffffff
call dword [0x10021220]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
push 0
push ebx
push esi
push ebp
call dword [0x10021434]
test eax, eax
mov dword [esp + 0x18], eax
jne 0x10017ea0
jmp 0x10017e71
lea ecx, [esp + 0x58]
mov dword [esp + 0x28c], 0xffffffff
call dword [0x10021220]
mov eax, dword [esp + 0x18]
jmp 0x10017e73