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

Disassembly:
push 0xffffffffffffffff
push 0x1005d370
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x10071430]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10071430]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [esp + 0x80]
mov esi, ecx
xor ecx, ecx
mov dword [esp + 0x30], eax
cmp dword [esi + 0x14], ecx
je 0x100087d6
mov eax, dword [esi + 0x30]
cmp eax, ecx
je 0x100087d6
xor edx, edx
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], ecx
mov word [esp + 0x54], dx
lea ebp, [eax - 1]
cmp ebp, ecx
mov dword [esp + 0x78], ecx
lea ebx, [ecx + 8]
jl 0x10008677
cmp dword [esi + 0x30], ebp
ja 0x10008610
call fcn.10047e6c
cmp dword [esi + 0x34], ebx
jb 0x1000861a
mov eax, dword [esi + 0x20]
jmp 0x1000861d
lea eax, [esi + 0x20]
movzx eax, word [eax + ebp*2]
lea edx, [esp + 0x50]
lea edi, [esp + 0x14]
cmp ax, 0x30
jne 0x1000871c
push 0x39
call fcn.1000a680
add esp, 4
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x58]
mov byte [esp + 0x80], 3
call fcn.10006980
mov byte [esp + 0x78], 0
cmp dword [esp + 0x2c], ebx
jb 0x1000866a
mov eax, dword [esp + 0x18]
push eax
call fcn.10047eaf
add esp, 4
test ebp, ebp
je 0x100087c3
sub ebp, 1
jns 0x10008606
push 0xffffffffffffffff
lea edi, [esi + 0x1c]
push 0
lea eax, [esp + 0x58]
mov ecx, edi
call fcn.10006980
push edi
push esi
lea edi, [esp + 0x3c]
call fcn.1000a5d0
add esi, 0x38
push esi
push eax
lea edi, [esp + 0x24]
mov byte [esp + 0x88], 4
call fcn.1000a5d0
add esp, 0x10
mov ecx, dword [esp + 0x30]
push 0xffffffffffffffff
push 0
mov byte [esp + 0x80], 5
call fcn.10006980
cmp dword [esp + 0x2c], ebx
jb 0x100086d5
mov edx, dword [esp + 0x18]
push edx
call fcn.10047eaf
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
cmp dword [esp + 0x4c], ebx
jb 0x100086ff
mov ecx, dword [esp + 0x38]
push ecx
call fcn.10047eaf
add esp, 4
cmp dword [esp + 0x68], ebx
jb 0x10008712
mov edx, dword [esp + 0x54]
push edx
call fcn.10047eaf
add esp, 4
mov eax, 1
jmp 0x100087d8
add eax, 0xffff
push eax
call fcn.1000a680
add esp, 4
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x58]
mov byte [esp + 0x80], 1
call fcn.10006980
mov byte [esp + 0x78], 0
cmp dword [esp + 0x2c], ebx
jb 0x10008757
mov ecx, dword [esp + 0x18]
push ecx
call fcn.10047eaf
add esp, 4
sub ebp, 1
js 0x10008677
cmp dword [esi + 0x30], ebp
ja 0x1000876a
call fcn.10047e6c
cmp dword [esi + 0x34], ebx
jb 0x10008774
mov eax, dword [esi + 0x20]
jmp 0x10008777
lea eax, [esi + 0x20]
movzx edx, word [eax + ebp*2]
push edx
lea edx, [esp + 0x54]
lea edi, [esp + 0x18]
call fcn.1000a680
add esp, 4
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x58]
mov byte [esp + 0x80], 2
call fcn.10006980
mov byte [esp + 0x78], 0
cmp dword [esp + 0x2c], ebx
jb 0x100087b9
mov eax, dword [esp + 0x18]
push eax
call fcn.10047eaf
add esp, 4
sub ebp, 1
jns 0x10008760
jmp 0x10008677
cmp dword [esp + 0x68], ebx
jb 0x100087d6
mov ecx, dword [esp + 0x54]
push ecx
call fcn.10047eaf
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.10047eba
add esp, 0x68
ret 4