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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x7c]
cmp eax, dword [ecx + 8]
jbe 0x59eda8
sub esp, 0xfc
mov eax, dword [esp + 0x100]
mov ecx, dword [eax]
mov dword [esp + 0xec], ecx
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
mov ebp, dword [eax + 0xc]
movzx esi, word [ecx + 0x20]
mov edi, dword [eax + 0x54]
mov dword [esp + 0xc8], edi
mov ecx, dword [eax + 0x50]
mov eax, dword [eax + 0x4c]
mov edi, dword [edx + 0x10]
mov dword [esp + 0xf8], edi
mov edi, dword [edx + 0x18]
mov dword [esp + 0xc4], edi
mov edx, dword [edx + 0x14]
mov edi, dword [ebx + 0x10]
mov dword [esp + 0xf4], edi
mov edi, dword [ebx + 0x18]
mov dword [esp + 0xc0], edi
mov ebx, dword [ebx + 0x14]
mov edi, dword [ebp + 8]
mov dword [esp + 0xbc], edi
mov edi, dword [ebp + 4]
mov dword [esp + 0xb8], edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x34], edi
mov word [esp], si
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xf8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x30], eax
call fcn.005a33d0
mov eax, dword [esp + 0x100]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x8c], edx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x88], ebx
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0xd0], ebp
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x84], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x80], ebx
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xdc], eax
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x59ec23
mov dword [esp], edx
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax]
mov edx, eax
call ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xe4], ecx
test eax, eax
je 0x59ea62
mov eax, dword [eax + 4]
mov dword [esp + 0xf0], eax
mov ecx, dword [esp + 0x100]
mov ecx, dword [ecx + 0xc]
mov edx, dword [ecx + 0x20]
mov ecx, dword [esp + 0xd0]
mov dword [esp], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x14], ecx
mov ecx, dword [edx]
call ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
test eax, eax
je 0x59ec1c
mov edx, dword [eax + 4]
mov eax, dword [esp + 0xe4]
mov ebx, dword [esp + 0xf0]
xor ebp, ebp
xor esi, esi
xor edi, edi
xor eax, eax
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xb4], edx
mov ecx, dword [esp + 0xec]
lea edx, [ecx + 0xa4]
test byte [edx], al
movzx edx, word [ecx + 0x20]
mov word [ecx + 0xb4], dx
mov dword [ecx + 0xe4], ebx
mov edx, dword [0xbc7270]
test edx, edx
jne 0x59ec06
mov dword [ecx + 0xe8], eax
mov dword [ecx + 0xec], esi
mov edx, dword [0xbc7270]
test edx, edx
jne 0x59ebec
mov dword [ecx + 0xf0], ebp
lea edx, [ecx + 0x10c]
test byte [edx], al
movzx edx, word [ecx + 0x20]
mov word [ecx + 0x11c], dx
mov edx, dword [esp + 0xb4]
mov dword [ecx + 0x14c], edx
mov edx, dword [0xbc7270]
test edx, edx
jne 0x59ebd0
mov edx, dword [esp + 0xe8]
mov dword [ecx + 0x150], edx
mov edx, dword [esp + 0x9c]
mov dword [ecx + 0x154], edx
mov edx, dword [0xbc7270]
test edx, edx
jne 0x59ebbf
mov dword [ecx + 0x158], edi
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
add esp, 0xfc
ret
add ecx, 0x158
mov eax, edi
mov edi, ecx
call fcn.0044cc20
jmp 0x59eba2
lea edx, [ecx + 0x150]
mov eax, edi
mov edi, edx
mov ebx, eax
mov eax, dword [esp + 0xe8]
call fcn.0044cc20
mov edi, ebx
jmp 0x59eb85
lea edx, [ecx + 0xf0]
mov eax, edi
mov edi, edx
mov ebx, eax
mov eax, ebp
call fcn.0044cc20
mov edi, ebx
jmp 0x59eb4e
lea edx, [ecx + 0xe8]
mov ebx, edi
mov edi, edx
call fcn.0044cc20
mov edi, ebx
jmp 0x59eb34
mov edx, eax
jmp 0x59eace
mov eax, dword [ecx + 0x18]
mov dword [esp], edx
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x14], ecx
mov byte [esp + 0x18], 1
mov ecx, dword [eax]
mov edx, eax
call ecx
mov eax, dword [esp + 0x100]
mov ecx, dword [eax + 0xc]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0xb0], ebx
mov ebp, dword [esp + 0x20]
mov dword [esp + 0xe4], ebp
mov edx, dword [ecx + 0x1c]
mov ecx, dword [esp + 0xec]
movzx esi, word [ecx + 0x20]
mov word [esp], si
mov esi, dword [esp + 0xdc]
mov dword [esp + 4], esi
mov esi, dword [esp + 0xa0]
mov dword [esp + 8], esi
mov esi, dword [esp + 0xa4]
mov dword [esp + 0xc], esi
mov esi, dword [edx]
call esi
mov eax, dword [esp + 0x100]
mov ecx, dword [eax + 0xc]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0xac], ebx
mov ebp, dword [esp + 0x14]
mov dword [esp + 0xe0], ebp
mov edx, dword [ecx + 0x18]
mov ecx, dword [esp + 0xd0]
mov dword [esp], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x14], ecx
mov byte [esp + 0x18], 0
mov ecx, dword [edx]
call ecx
mov eax, dword [esp + 0x100]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x98], ecx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0xd8], ebx
mov edx, dword [eax + 0x1c]
mov eax, dword [esp + 0xec]
movzx ebp, word [eax + 0x20]
mov word [esp], bp
mov ebp, dword [esp + 0xcc]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x80]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x84]
mov dword [esp + 0xc], ebp
mov ebp, dword [edx]
call ebp
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0xb0]
mov ebp, dword [esp + 0xe0]
mov esi, dword [esp + 0xac]
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0x98]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xe4]
jmp 0x59eaf2
call fcn.0044b4c0
jmp fcn.0059e870