Function at 0x59aff0
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 0x59b545
sub esp, 0x8c
lea eax, [esp + 0x90]
mov dword [esp], eax
mov dword [esp + 4], eax
mov byte [esp + 8], 0x30
call fcn.00552500
movzx eax, byte [esp + 0xc]
test al, al
je 0x59b04f
lea eax, [0x65aa40]
mov dword [esp], eax
call fcn.0040b830
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
mov dword [eax], 0
jmp 0x59b098
lea eax, [0x65cd40]
mov dword [esp], eax
call fcn.0040b830
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x19
lea ecx, [0x68e816]
mov dword [eax], ecx
mov dword [esp + 0x9c], 0
lea ecx, [0xa54a34]
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 0x59b1da
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.00552500
movzx eax, byte [esp + 0xc]
test al, al
je 0x59b193
xor eax, eax
xor ecx, ecx
xor edx, edx
jmp 0x59b204
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 0x59b15a
lea eax, [0x654720]
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.0044ba20
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 [0xbe5550]
test edx, edx
jne 0x59b147
mov dword [edi], eax
jmp 0x59b14c
call fcn.00462ce0
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 [0xbe5550]
lea esi, [edx + ecx*4]
test ebp, ebp
jne 0x59b185
mov dword [edx + ecx*4], edi
jmp 0x59b096
mov eax, edi
mov edi, esi
call fcn.00462ce0
jmp 0x59b096
lea eax, [0x65cd40]
mov dword [esp], eax
call fcn.0040b830
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x19
lea ecx, [0x68e816]
mov dword [eax], ecx
mov dword [esp + 0x9c], 0
lea ecx, [0xa54a34]
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 0x59b0f3
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.00552500
movzx eax, byte [esp + 0xc]
test al, al
je 0x59b4fe
lea edi, [esp + 0x78]
xor eax, eax
call fcn.00462f8b
lea ecx, [esp + 0x6c]
mov dword [esp], ecx
lea edx, [esp + 0x78]
mov dword [esp + 4], edx
call fcn.00551d10
movzx ecx, byte [esp + 8]
test cl, cl
je 0x59b4b7
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.00552d30
movzx eax, byte [esp + 0x10]
test al, al
je 0x59b470
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.0059a9a0
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.00409210
mov eax, dword [esp + 8]
lea ecx, [0x654240]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x59b3ef
mov edx, dword [esp + 0x24]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0x28]
cmp ebp, ebx
jb 0x59b35b
mov eax, dword [esp + 0x38]
jmp 0x59b39a
lea eax, [0x662b20]
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.0044ba20
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, [0x654240]
mov edx, dword [esp + 0x24]
mov ecx, dword [0xbe5550]
lea edx, [edx + edx*4]
lea edi, [eax + edx*4]
test ecx, ecx
jne 0x59b3b8
lea esi, [esp + 0x78]
call fcn.0046346e
jmp 0x59b1fe
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebp
lea eax, [0x662b20]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
call fcn.00410e80
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
jmp 0x59b1fe
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x44]
test eax, eax
je 0x59b40c
mov ebx, dword [eax + 4]
jmp 0x59b40e
mov ebx, eax
mov dword [esp + 0x4c], ebx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x50], eax
lea eax, [0x6983c3]
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.004bc050
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, [0x65cd40]
mov dword [esp], eax
call fcn.0040b830
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x32
lea ecx, [0x697919]
mov dword [eax], ecx
mov dword [esp + 0x9c], 0
lea ecx, [0xa54a34]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x8c
ret
lea eax, [0x65cd40]
mov dword [esp], eax
call fcn.0040b830
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x31
lea ecx, [0x697500]
mov dword [eax], ecx
mov dword [esp + 0x9c], 0
lea ecx, [0xa54a34]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x8c
ret
lea eax, [0x65cd40]
mov dword [esp], eax
call fcn.0040b830
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2c
lea ecx, [0x695d01]
mov dword [eax], ecx
mov dword [esp + 0x9c], 0
lea ecx, [0xa54a34]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x8c
ret
call fcn.004618d0
jmp fcn.0059aff0