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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x59ded5
sub esp, 0x8c
lea eax, [esp + 0x90]
mov dword [esp], eax
mov dword [esp + 4], eax
mov byte [esp + 8], 0x30
call fcn.0056e910
movzx eax, byte [esp + 0xc]
test al, al
je 0x59d9df
lea eax, [0x616e20]
mov dword [esp], eax
call fcn.0040b460
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
mov dword [eax], 0
jmp 0x59da28
lea eax, [0x618d20]
mov dword [esp], eax
call fcn.0040b460
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x19
lea ecx, [0x63e683]
mov dword [eax], ecx
mov dword [esp + 0x9c], 0
lea ecx, [0x690a60]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x8c
ret
mov eax, ebx
mov ecx, dword [esp + 0x94]
test ecx, ecx
je 0x59db6a
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
lea eax, [esp + 0x90]
mov dword [esp], eax
lea ecx, [esp + 0x54]
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x31
call fcn.0056e910
movzx eax, byte [esp + 0xc]
test al, al
je 0x59db23
xor eax, eax
xor ecx, ecx
xor edx, edx
jmp 0x59db94
mov ebx, dword [esp + 0x48]
mov ebp, dword [ebx + 4]
lea esi, [ebp + 1]
mov edi, edx
mov edx, dword [ebx]
mov ecx, dword [ebx + 8]
cmp ecx, esi
jae 0x59daea
lea eax, [0x612e40]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], esi
call fcn.00447760
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x48]
mov dword [edi + 8], edx
mov edx, dword [0x7e0970]
test edx, edx
jne 0x59dad7
mov dword [edi], eax
jmp 0x59dadc
call fcn.0045e4b0
mov ebx, edi
mov edi, dword [esp + 0x38]
mov edx, eax
mov ebp, ecx
mov eax, dword [esp + 0x24]
lea ecx, [ebp + 1]
mov dword [ebx + 4], ecx
lea ecx, [ebp + ebp*2]
mov dword [edx + ecx*4 + 4], eax
mov ebp, dword [esp + 0x28]
mov dword [edx + ecx*4 + 8], ebp
mov ebp, dword [0x7e0970]
lea esi, [edx + ecx*4]
test ebp, ebp
jne 0x59db15
mov dword [edx + ecx*4], edi
jmp 0x59da26
mov eax, edi
mov edi, esi
call fcn.0045e4b0
jmp 0x59da26
lea eax, [0x618d20]
mov dword [esp], eax
call fcn.0040b460
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x19
lea ecx, [0x63e683]
mov dword [eax], ecx
mov dword [esp + 0x9c], 0
lea ecx, [0x690a60]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x8c
ret
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
add esp, 0x8c
ret
mov ecx, ebp
mov edx, eax
mov eax, ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], edx
mov ebx, dword [esp + 0x58]
test ebx, ebx
je 0x59da83
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea eax, [esp + 0x54]
mov dword [esp], eax
lea ecx, [esp + 0x6c]
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x30
call fcn.0056e910
movzx eax, byte [esp + 0xc]
test al, al
je 0x59de8e
lea edi, [esp + 0x78]
xor eax, eax
call fcn.0045e70b
lea ecx, [esp + 0x6c]
mov dword [esp], ecx
lea edx, [esp + 0x78]
mov dword [esp + 4], edx
call fcn.0056e400
movzx ecx, byte [esp + 8]
test cl, cl
je 0x59de47
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov byte [esp + 0x23], 0
lea eax, [esp + 0x6c]
mov dword [esp], eax
lea eax, [esp + 0x60]
mov dword [esp + 4], eax
lea eax, [esp + 0x23]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
call fcn.0056f140
movzx eax, byte [esp + 0x10]
test al, al
je 0x59de00
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
movzx ebx, byte [esp + 0x23]
mov byte [esp], bl
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.0059d330
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x44], ebx
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x3c], ebp
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00408e20
mov eax, dword [esp + 8]
lea ecx, [0x612980]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x59dd7f
mov edx, dword [esp + 0x24]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0x28]
cmp ebp, ebx
jb 0x59dceb
mov eax, dword [esp + 0x38]
jmp 0x59dd2a
lea eax, [0x61d5e0]
mov dword [esp], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00447760
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov eax, edx
mov ebp, ecx
lea ecx, [0x612980]
mov edx, dword [esp + 0x24]
mov ecx, dword [0x7e0970]
lea edx, [edx + edx*4]
lea edi, [eax + edx*4]
test ecx, ecx
jne 0x59dd48
lea esi, [esp + 0x78]
call fcn.0045ebee
jmp 0x59db8e
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebp
lea eax, [0x61d5e0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
call fcn.0040ff30
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
jmp 0x59db8e
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x44]
test eax, eax
je 0x59dd9c
mov ebx, dword [eax + 4]
jmp 0x59dd9e
mov ebx, eax
mov dword [esp + 0x4c], ebx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x50], eax
lea eax, [0x647037]
mov dword [esp], eax
mov dword [esp + 4], 0x36
lea eax, [esp + 0x4c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004b27a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x8c
ret
lea eax, [0x618d20]
mov dword [esp], eax
call fcn.0040b460
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x32
lea ecx, [0x646659]
mov dword [eax], ecx
mov dword [esp + 0x9c], 0
lea ecx, [0x690a60]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x8c
ret
lea eax, [0x618d20]
mov dword [esp], eax
call fcn.0040b460
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x31
lea ecx, [0x64630a]
mov dword [eax], ecx
mov dword [esp + 0x9c], 0
lea ecx, [0x690a60]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x8c
ret
lea eax, [0x618d20]
mov dword [esp], eax
call fcn.0040b460
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2c
lea ecx, [0x644dea]
mov dword [eax], ecx
mov dword [esp + 0x9c], 0
lea ecx, [0x690a60]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x8c
ret
call fcn.0045d0a0
jmp fcn.0059d980