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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x18]
cmp eax, dword [ecx + 8]
jbe 0x59c1f8
sub esp, 0x98
mov ecx, dword [esp + 0xa0]
mov eax, dword [esp + 0xa8]
cmp ecx, eax
jle 0x59ba00
jbe 0x59c1f2
mov ebx, dword [esp + 0x9c]
movzx ebp, byte [eax + ebx]
lea esi, [eax + 1]
cmp ecx, esi
jle 0x59b9a3
mov edx, ebp
and ebp, 0x1f
xchg ebp, eax
cmp al, 0x1f
xchg ebp, eax
je 0x59c1d8
jmp 0x59ba5d
lea eax, [0x6072c0]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x3c
lea ecx, [0x64897a]
mov dword [eax], ecx
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
lea ecx, [0x68bbe4]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
add esp, 0x98
ret
lea eax, [0x6072c0]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x28
lea ecx, [0x644cd7]
mov dword [eax], ecx
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
lea ecx, [0x68bbe4]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
add esp, 0x98
ret
cmp ecx, esi
jbe 0x59c1d0
mov dword [esp + 0x28], esi
movzx ebp, byte [esi + ebx]
mov edi, ebx
lea ebx, [esi + 1]
xchg ebp, eax
cmp al, 0x80
xchg ebp, eax
jbe 0x59bc05
and ebp, 0x7f
cmp ebp, 4
jg 0x59bba8
jne 0x59bb04
cmp ecx, ebx
jbe 0x59c1c9
mov dword [esp + 0x34], ebp
movzx ebp, byte [esi + edi + 1]
cmp ebp, 0x7f
jg 0x59baa7
mov ebp, dword [esp + 0x34]
jmp 0x59bb04
lea eax, [0x6072c0]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x23
lea ecx, [0x6433d3]
mov dword [eax], ecx
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
lea ecx, [0x68bbe4]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
add esp, 0x98
ret
cmp ecx, ebx
jbe 0x59c1c2
mov dword [esp + 0x48], ebx
movzx ebx, byte [esi + edi + 1]
test ebx, ebx
je 0x59bb4b
lea ebx, [esi + ebp + 1]
mov esi, dword [esp + 0xa4]
cmp esi, ebx
jb 0x59c1b9
mov esi, dword [esp + 0x48]
cmp ebx, esi
jb 0x59c1b0
mov byte [esp + 0x27], dl
xor ebx, ebx
xor ebx, ebx
mov dword [esp + 0x38], ebx
xor ebx, ebx
jmp 0x59c192
lea eax, [0x6072c0]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x28
lea ecx, [0x644caf]
mov dword [eax], ecx
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
lea ecx, [0x68bbe4]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
add esp, 0x98
ret
lea eax, [0x6072c0]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x20
lea ecx, [0x6420f4]
mov dword [eax], ecx
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
lea ecx, [0x68bbe4]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
add esp, 0x98
ret
jne 0x59bc0e
mov ebp, 0
jmp 0x59bc13
xchg ebp, eax
movzx eax, al
xchg ebp, eax
xchg esi, ebx
sete bl
xchg esi, ebx
test ebp, ebp
jl 0x59be04
mov dword [esp + 0x38], ebp
add ebp, ebx
cmp ecx, ebp
jl 0x59bda7
xchg esi, eax
mov byte [esp + 0x26], al
xchg esi, eax
mov esi, dword [esp + 0xa4]
cmp esi, ebp
jb 0x59c16a
cmp ebx, ebp
ja 0x59c161
mov dword [esp + 0x3c], ebp
sub esi, ebx
mov dword [esp + 0x48], esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, ebx
add esi, edi
movzx ebp, byte [esp + 0x26]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x59bcd5
test dl, 0x20
jne 0x59bd7d
lea eax, [0x6072c0]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x3b
lea ecx, [0x648816]
mov dword [eax], ecx
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
lea ecx, [0x68bbe4]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
add esp, 0x98
ret
test dl, 0x20
jne 0x59bd7d
mov ecx, dword [esp + 0x28]
cmp eax, ecx
ja 0x59c15c
mov dword [esp + 0x44], ebx
mov edx, edi
lea edi, [esp + 0x7c]
mov ebx, eax
xor eax, eax
call fcn.00462799
mov ecx, dword [esp + 0xa4]
sub ecx, ebx
mov ebp, ecx
neg ecx
sar ecx, 0x1f
and ecx, ebx
add ecx, edx
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x28]
sub ecx, ebx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], ebp
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x94], ecx
lea ecx, [0x618940]
mov dword [esp], ecx
lea ecx, [esp + 0x7c]
mov dword [esp + 4], ecx
call fcn.004093b0
mov ecx, dword [esp + 8]
movzx edx, byte [esp + 0x26]
test dl, dl
mov eax, dword [esp + 0x44]
lea edx, [0x68bef0]
jmp 0x59c118
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0xa4]
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x30], eax
xor eax, eax
mov dword [esp + 0x54], eax
xor eax, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x4c]
jmp 0x59bea1
lea eax, [0x6072c0]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x33
lea ecx, [0x647870]
mov dword [eax], ecx
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
lea ecx, [0x68bbe4]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
add esp, 0x98
ret
lea eax, [0x6072c0]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x37
lea ecx, [0x648182]
mov dword [eax], ecx
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
lea ecx, [0x68bbe4]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
add esp, 0x98
ret
mov ebp, dword [esp + 0x9c]
mov esi, dword [esp + 0xa0]
mov eax, dword [esp + 0xa8]
mov ebp, ebx
mov esi, dword [esp + 0xa4]
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x30], edi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x2c], edx
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x9c]
cmp ebx, edx
jl 0x59beaf
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x59c08f
mov dword [esp], edi
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
call fcn.0059b940
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
test ecx, ecx
jne 0x59c059
mov dword [esp + 0x48], eax
mov edx, dword [esp + 0x2c]
inc edx
mov ebx, dword [esp + 0x30]
cmp ebx, edx
jb 0x59befa
mov ecx, dword [esp + 0x54]
jmp 0x59bf44
mov dword [esp + 0x60], esi
mov dword [esp + 0x58], ebp
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x6062c0]
mov dword [esp + 0x10], eax
call fcn.0044a040
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x58]
mov esi, dword [esp + 0x60]
mov ebx, ecx
mov ecx, eax
mov eax, dword [esp + 0x48]
mov edi, ebx
lea ebx, [ecx + edx*8 - 8]
mov dword [ebx], esi
lea ebx, [ecx + edx*8 - 4]
mov esi, dword [0x81dcc0]
test esi, esi
jne 0x59bf65
mov dword [ebx], ebp
movzx ebx, byte [esp + 0x26]
test bl, bl
jmp 0x59bf7d
mov esi, edi
mov edi, ebx
mov eax, ebp
call fcn.00462500
movzx ebx, byte [esp + 0x26]
test bl, bl
mov eax, dword [esp + 0x48]
mov edi, esi
je 0x59be61
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], edi
mov ecx, dword [esp + 0x9c]
mov dword [esp], ecx
mov edx, dword [esp + 0xa0]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.0059c210
movzx eax, byte [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test ecx, ecx
jne 0x59c023
test al, al
jne 0x59bfeb
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x44]
movzx ebx, byte [esp + 0x26]
mov edi, dword [esp + 0x40]
jmp 0x59be61
mov eax, dword [esp + 0xa8]
mov edx, dword [esp + 0x3c]
movzx ebp, byte [esp + 0x26]
mov esi, dword [esp + 0xa4]
mov edi, dword [esp + 0x9c]
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0x48]
jmp 0x59c093
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], ebx
add esp, 0x98
ret
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], ebx
add esp, 0x98
ret
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
cmp eax, edx
ja 0x59c155
mov dword [esp + 0x30], ecx
mov dword [esp + 0x48], ebx
mov ebx, edi
lea edi, [esp + 0x64]
mov ebp, eax
xor eax, eax
call fcn.0046279a
sub esi, ebp
mov ecx, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, ebp
add ebx, esi
mov dword [esp + 0x64], ebx
sub edx, ebp
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x78], ecx
lea ecx, [0x615940]
mov dword [esp], ecx
lea ecx, [esp + 0x64]
mov dword [esp + 4], ecx
call fcn.004093b0
mov ecx, dword [esp + 8]
movzx edx, byte [esp + 0x26]
test dl, dl
mov eax, dword [esp + 0x48]
lea edx, [0x68bf04]
je 0x59c11f
lea ebp, [eax + 2]
jmp 0x59c123
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
add esp, 0x98
ret
mov ecx, edx
call fcn.004625e0
call fcn.004625e0
mov eax, ebx
mov ecx, ebp
call fcn.004625e0
mov ecx, ebp
mov edx, esi
call fcn.004625c0
inc ebx
mov eax, dword [esp + 0x38]
shl eax, 8
movzx edx, byte [edi + esi]
add eax, edx
inc esi
movzx edx, byte [esp + 0x27]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xa8]
cmp ebx, ebp
jge 0x59c19c
cmp ecx, esi
ja 0x59c173
jmp 0x59c1a9
mov ebp, dword [esp + 0x38]
mov ebx, esi
xor esi, esi
jmp 0x59bc1a
mov eax, esi
call fcn.00462580
mov eax, esi
mov ecx, ebx
call fcn.004625e0
mov ecx, ebx
mov edx, esi
call fcn.004625c0
mov eax, ebx
call fcn.00462580
mov eax, ebx
call fcn.00462580
mov eax, esi
call fcn.00462580
inc esi
cmp ecx, esi
jbe 0x59c1eb
lea ebp, [esi + ebx]
cmp byte [ebp], 0x80
jae 0x59c1d7
inc esi
jmp 0x59ba5d
mov eax, esi
call fcn.00462580
call fcn.00462580
nop
call fcn.004610f0
jmp fcn.0059b940