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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x64]
cmp eax, dword [ecx + 8]
jbe 0x59c245
sub esp, 0xe4
mov eax, dword [esp + 0xe8]
mov dword [esp], eax
call fcn.005951a0
mov eax, dword [esp + 4]
test eax, eax
je 0x59b908
mov edx, dword [esp + 0xe8]
xor ecx, ecx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x59b92e
mov byte [esp + 0xf4], 0
add esp, 0xe4
ret
mov edx, dword [esp + 0xe8]
mov esi, dword [esp + 0x20]
mov ebp, dword [esp + 0x54]
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x54], ebp
mov edi, ebp
mov ebp, dword [eax]
cmp ebp, 3
je 0x59b9fc
mov dword [esp + 0x4c], ecx
cmp ebp, 4
jne 0x59bab7
mov ebp, edi
lea edi, [esp + 0xcc]
xor eax, eax
call fcn.0046395a
mov ecx, dword [esp + 0x50]
mov edi, ebp
mov ebp, dword [ecx + 0x20]
mov ebx, dword [ecx + 0x24]
mov edx, dword [ecx + 0x28]
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], edx
mov edx, dword [ecx + 0x38]
mov ebx, dword [ecx + 0x3c]
mov ebp, dword [ecx + 0x40]
mov dword [esp + 0xd8], edx
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], ebp
mov edx, edi
lea edi, [esp + 0xb4]
mov ebx, esi
lea esi, [esp + 0xcc]
call fcn.00463e34
mov ecx, dword [esp + 0x50]
mov ebp, dword [ecx + 4]
mov dword [esp + 0x48], ebp
mov esi, edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x44], edx
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x40], ecx
mov edi, ebx
mov ebx, dword [esp + 0xe8]
mov ecx, dword [ebx + 0x140]
mov dword [esp + 0x3c], ecx
xor eax, eax
mov dword [esp + 0x2c], eax
xor eax, eax
jmp 0x59bea3
test ecx, ecx
jne 0x59bb1a
cmp byte [eax + 0x45], 1
jne 0x59bac8
cmp byte [eax + 0x46], 1
jne 0x59bac8
lea eax, [0x5ec440]
mov dword [esp], eax
call fcn.0040bd40
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x50]
movzx edx, byte [eax + 0x45]
mov byte [ecx], dl
movzx eax, byte [eax + 0x46]
mov byte [ecx + 1], al
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x20], edx
nop
mov ebp, dword [esp + 0xe8]
mov byte [ebp + 0xf8], 0
inc dword [ebp + 0xf4]
mov esi, dword [ebp + 0xe8]
mov edi, dword [ebp + 0xe4]
mov edx, dword [ebp + 0xf0]
cmp esi, edx
jbe 0x59bb7b
mov dword [esp + 0x24], eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x4c], ecx
lea eax, [edx + edx*8]
lea eax, [edi + eax*8]
cmp dword [eax], 2
sete al
mov byte [ebp + 0xdd], al
inc dword [ebp + 0xf0]
mov dword [esp], ebp
call fcn.005951a0
mov eax, dword [esp + 4]
test eax, eax
jne 0x59b917
jmp 0x59bb6c
mov ebp, dword [0x79c3dc]
mov dword [esp + 0x48], ebp
xor eax, eax
jmp 0x59bba0
nop
mov ecx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov ebp, dword [eax + 4]
mov dword [edx], 4
mov dword [edx + 8], 0x20
mov esi, dword [0x7c78f0]
test esi, esi
jne 0x59baf4
lea eax, [0x616f1f]
mov dword [edx + 4], eax
jmp 0x59bb02
lea edi, [edx + 4]
lea eax, [0x616f1f]
call fcn.00463730
mov dword [edx + 0x14], ebp
mov dword [edx + 0x18], ecx
mov dword [edx + 0x1c], ebx
mov byte [esp + 0xf4], 0
add esp, 0xe4
ret
nop
mov ecx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov ebp, dword [eax + 4]
mov dword [edx], 4
mov dword [edx + 8], 0x1f
mov esi, dword [0x7c78f0]
test esi, esi
jne 0x59bb46
lea eax, [0x61695f]
mov dword [edx + 4], eax
jmp 0x59bb54
lea edi, [edx + 4]
lea eax, [0x61695f]
call fcn.00463730
mov dword [edx + 0x14], ebp
mov dword [edx + 0x18], ecx
mov dword [edx + 0x1c], ebx
mov byte [esp + 0xf4], 0
add esp, 0xe4
ret
mov byte [esp + 0xf4], 0
add esp, 0xe4
ret
mov eax, edx
mov ecx, esi
call fcn.004637b0
inc eax
mov ebp, dword [esp + 0x48]
mov edx, dword [esp + 0xe8]
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x54]
cmp eax, ebp
jge 0x59bd92
mov ebx, dword [0x79c3dc]
mov ebp, dword [0x79c3d8]
cmp eax, ebx
jae 0x59be84
mov dword [esp + 0x30], eax
lea ebx, [eax + eax*2]
lea ebx, [ebp + ebx*8]
mov ebp, edi
lea edi, [esp + 0x9c]
mov esi, ebx
call fcn.00463e34
mov ecx, dword [edx + 0x140]
mov dword [esp + 0x44], ecx
xor ebx, ebx
jmp 0x59bdff
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x44], eax
lea ecx, [0x5e2160]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0044a130
mov eax, dword [esp + 0xc]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x40], ecx
lea edx, [0x5e2160]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044a130
mov eax, dword [esp + 0xc]
mov dword [esp + 0x64], eax
lea edi, [esp + 0x6c]
xor eax, eax
call fcn.0046395a
mov eax, dword [esp + 0x68]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0xa0]
mov ebx, dword [esp + 0x9c]
cmp edx, ecx
jl 0x59bc84
mov edx, ecx
cmp ebx, eax
je 0x59bc98
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.00464050
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0xa8]
mov ebp, dword [esp + 0xac]
cmp edx, ebp
jg 0x59bcb4
mov ebp, edx
cmp ecx, ebx
je 0x59bcc8
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.00464050
mov ecx, dword [esp + 0xe8]
mov edx, dword [ecx + 0x140]
inc edx
mov ebx, dword [ecx + 0x13c]
mov ebp, dword [ecx + 0x144]
cmp ebp, edx
jae 0x59bd49
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x5ec3e0]
mov dword [esp + 0x10], eax
call fcn.0044a1f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xe8]
mov dword [ebx + 0x144], edx
mov edx, dword [0x7c78f0]
test edx, edx
jne 0x59bd33
mov dword [ebx + 0x13c], eax
jmp 0x59bd3e
lea edi, [ebx + 0x13c]
call fcn.00463730
mov edx, ecx
mov ebx, eax
mov ecx, dword [esp + 0xe8]
mov dword [ecx + 0x140], edx
lea edx, [edx + edx*2]
lea edi, [ebx + edx*8 - 0x18]
mov edx, dword [0x7c78f0]
test edx, edx
jne 0x59bd6b
lea esi, [esp + 0x6c]
call fcn.00463e34
jmp 0x59bd85
lea eax, [0x5ec3e0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x6c]
mov dword [esp + 8], eax
call fcn.00410860
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x54]
jmp 0x59bb84
mov edx, dword [esp + 0xec]
test edx, edx
je 0x59bdb8
mov ebp, dword [0x7c78f0]
test ebp, ebp
jne 0x59bdab
mov dword [edx], ecx
jmp 0x59bdb8
mov eax, ecx
mov ecx, edi
mov edi, edx
call fcn.00463730
mov edi, ecx
mov ecx, dword [esp + 0xf0]
test ecx, ecx
je 0x59bde0
mov dword [ecx + 4], esi
mov dword [ecx + 8], ebx
mov edx, dword [0x7c78f0]
test edx, edx
jne 0x59bdd7
mov dword [ecx], edi
jmp 0x59bde0
mov eax, edi
mov edi, ecx
call fcn.00463730
mov byte [esp + 0xf4], 1
add esp, 0xe4
ret
mov edx, dword [esp + 0x28]
lea ebx, [edx + 1]
mov edx, dword [esp + 0xe8]
mov ebp, esi
cmp ebx, ecx
jge 0x59bbe8
mov esi, ebp
mov ebp, dword [esp + 0xa0]
mov edi, ebp
mov ebp, dword [esp + 0x9c]
mov dword [esp + 0x58], ebp
mov ebp, dword [edx + 0x13c]
mov edx, dword [edx + 0x140]
cmp ebx, edx
jae 0x59be7b
mov dword [esp + 0x28], ebx
lea edx, [ebx + ebx*2]
lea ebx, [ebp + edx*8]
lea edx, [ebp + edx*8]
mov edx, dword [edx]
cmp dword [ebx + 4], edi
je 0x59be47
xor edx, edx
jmp 0x59be6e
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edi
call fcn.00402a50
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x54]
mov edx, eax
mov eax, dword [esp + 0x30]
test dl, dl
je 0x59bdef
jmp 0x59bb84
mov eax, ebx
mov ecx, edx
call fcn.004637b0
mov ecx, ebx
call fcn.004637b0
mov edx, dword [esp + 0x2c]
inc edx
mov ebx, dword [esp + 0xe8]
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x44]
mov edx, dword [esp + 0x2c]
cmp edx, ecx
jge 0x59bf8e
mov ebp, dword [esp + 0xb8]
mov dword [esp + 0x34], ebp
mov ebp, dword [esp + 0xb4]
mov dword [esp + 0x5c], ebp
mov ebp, dword [ebx + 0x13c]
mov ebx, dword [ebx + 0x140]
cmp edx, ebx
jae 0x59c23b
lea ebx, [edx + edx*2]
lea edx, [ebp + ebx*8]
lea ebx, [ebp + ebx*8]
mov ebx, dword [ebx]
mov ebp, dword [esp + 0x34]
cmp dword [edx + 4], ebp
je 0x59bef3
xor edx, edx
jmp 0x59bf1c
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.00402a50
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x20]
mov edx, eax
xor eax, eax
test dl, dl
je 0x59be8b
nop
mov edx, dword [esp + 0xe8]
mov dword [edx], 4
mov dword [edx + 8], 0x1e
mov ebx, dword [0x7c78f0]
test ebx, ebx
jne 0x59bf54
lea ebx, [0x616260]
mov dword [edx + 4], ebx
mov ebp, dword [esp + 0x2c]
cmp ebp, ecx
jmp 0x59bf74
lea ebx, [edx + 4]
lea eax, [0x616260]
mov ebp, edi
mov edi, ebx
call fcn.00463730
mov ebx, dword [esp + 0x2c]
cmp ebx, ecx
lea ebx, [0x616260]
mov edi, ebp
mov ecx, dword [esp + 0x48]
mov dword [edx + 0x14], ecx
mov ecx, dword [esp + 0x44]
mov dword [edx + 0x18], ecx
mov ecx, dword [esp + 0x40]
mov dword [edx + 0x1c], ecx
jmp 0x59c172
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x48], eax
lea ecx, [0x5e2160]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0044a130
mov eax, dword [esp + 0xc]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x44], ecx
lea edx, [0x5e2160]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044a130
mov eax, dword [esp + 0xc]
mov dword [esp + 0x64], eax
lea edi, [esp + 0x84]
xor eax, eax
call fcn.0046395a
mov eax, dword [esp + 0x68]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0xb8]
mov ebx, dword [esp + 0xb4]
cmp edx, ecx
jl 0x59c03c
mov edx, ecx
cmp ebx, eax
je 0x59c050
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.00464050
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov ebx, dword [esp + 0xc0]
mov ebp, dword [esp + 0xc4]
cmp edx, ebp
jg 0x59c072
mov ebp, edx
cmp ecx, ebx
je 0x59c086
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.00464050
mov ecx, dword [esp + 0xe8]
mov edx, dword [ecx + 0x140]
inc edx
mov ebx, dword [ecx + 0x13c]
mov ebp, dword [ecx + 0x144]
cmp ebp, edx
jae 0x59c107
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x5ec3e0]
mov dword [esp + 0x10], eax
call fcn.0044a1f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xe8]
mov dword [ebx + 0x144], edx
mov edx, dword [0x7c78f0]
test edx, edx
jne 0x59c0f1
mov dword [ebx + 0x13c], eax
jmp 0x59c0fc
lea edi, [ebx + 0x13c]
call fcn.00463730
mov edx, ecx
mov ebx, eax
mov ecx, dword [esp + 0xe8]
mov dword [ecx + 0x140], edx
lea edx, [edx + edx*2]
lea edi, [ebx + edx*8 - 0x18]
mov edx, dword [0x7c78f0]
test edx, edx
jne 0x59c136
lea esi, [esp + 0x84]
call fcn.00463e34
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
cmp ecx, edx
jmp 0x59c15d
lea eax, [0x5ec3e0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x84]
mov dword [esp + 8], eax
call fcn.00410860
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
mov edx, dword [esp + 0xe8]
lea ebx, [0x616260]
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x20]
jl 0x59c22c
lea ecx, [edi + 1]
mov ebp, dword [esp + 0x24]
cmp ebp, ecx
jae 0x59c1c2
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x5ec3e0]
mov dword [esp + 0x10], eax
call fcn.0044a1f0
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0xe8]
mov esi, ebp
mov ebp, ebx
lea ebx, [0x616260]
mov dword [esp + 0x20], ecx
lea ebx, [ecx + ecx*2]
lea edi, [esi + ebx*8 - 0x18]
mov ebx, dword [0x7c78f0]
test ebx, ebx
jne 0x59c1e7
mov eax, esi
lea esi, [esp + 0xcc]
call fcn.00463e34
jmp 0x59c21b
mov dword [esp + 0x60], esi
mov dword [esp + 0x38], ebp
lea eax, [0x5ec3e0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0xcc]
mov dword [esp + 8], eax
call fcn.00410860
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0xe8]
mov ebp, dword [esp + 0x38]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x20]
mov ebx, eax
mov eax, ebp
jmp 0x59ba47
mov byte [esp + 0xf4], 0
add esp, 0xe4
ret
mov eax, edx
mov ecx, ebx
call fcn.004637b0
nop
call fcn.00462320
jmp fcn.0059b8c0