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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x59b320
sub esp, 0x88
mov eax, dword [esp + 0x94]
cmp eax, 3
jl 0x59af2d
mov ecx, dword [esp + 0x90]
cmp byte [ecx], 0x5b
jne 0x59af34
lea edx, [eax + ecx - 1]
cmp byte [edx], 0x5d
jne 0x59af34
lea edx, [ecx + 1]
lea ebx, [eax - 2]
mov eax, ebx
mov ecx, edx
jmp 0x59af34
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x30], eax
mov dword [esp + 0x70], ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004ea830
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test eax, eax
jne 0x59af6d
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
xor edx, edx
jmp 0x59b088
mov ebx, dword [esp + 0x8c]
mov ebp, dword [ebx + 0x218]
mov esi, dword [ebx + 0x214]
test ebp, ebp
je 0x59af9b
mov dword [esp + 0x24], ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x38], ebp
xor edi, edi
jmp 0x59b01d
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x7c], ebx
mov eax, dword [esp + 0x70]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x84], eax
lea eax, [0x675f80]
mov dword [esp], eax
lea eax, [esp + 0x7c]
mov dword [esp + 4], eax
call fcn.00408b70
mov eax, dword [esp + 8]
lea ecx, [0x703584]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
add esp, 0x88
ret
mov ebx, dword [esp + 0x78]
lea esi, [ebx + 0xc]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov edi, eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x78], esi
mov ebx, dword [esi]
mov ebp, dword [esi + 4]
mov esi, dword [esi + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
call fcn.004e9370
movzx eax, byte [esp + 0x18]
test al, al
jne 0x59b06b
mov eax, dword [esp + 0x34]
inc eax
mov ecx, dword [esp + 0x38]
cmp ecx, eax
jg 0x59b008
mov ebx, dword [esp + 0x8c]
jmp 0x59af9b
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
add esp, 0x88
ret
cmp eax, edx
jle 0x59b0d9
movzx ebx, byte [ecx + edx]
cmp ebx, 0x80
jge 0x59b09b
inc edx
jmp 0x59b0c1
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00459540
mov ebx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
cmp ebx, 0xfffd
je 0x59b0d5
add ebx, 0xffffffbf
cmp ebx, 0x19
ja 0x59b088
xor edx, edx
jmp 0x59b0de
xor edx, edx
jmp 0x59b0de
mov edx, 1
test dl, dl
jne 0x59b105
lea edx, [esp + 0x44]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0044bd80
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
xor edx, edx
jmp 0x59b2d9
mov dword [esp + 0x20], eax
mov dword [esp + 0x64], ecx
nop
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 0
call fcn.0059a6e0
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 0x1fc]
mov dword [esp + 0x74], ecx
mov edx, dword [eax + 0x200]
mov dword [esp + 0x38], edx
movzx ebx, byte [esp + 0xc]
mov byte [esp + 0x1e], bl
xor ebp, ebp
jmp 0x59b162
mov esi, dword [esp + 0x34]
lea ebp, [esi + 1]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x38]
movzx ebx, byte [esp + 0x1e]
cmp ebp, edx
jge 0x59b265
mov dword [esp + 0x34], ebp
lea esi, [ecx + ebp*8]
mov edi, dword [esi]
mov esi, dword [esi + 4]
test bl, bl
jne 0x59b18a
mov dword [esp + 0x3c], eax
xor eax, eax
mov byte [esp + 0x1f], al
mov eax, dword [esp + 0x3c]
jmp 0x59b1cc
mov dword [esp + 0x2c], esi
mov dword [esp + 0x68], edi
mov dword [esp], edi
mov dword [esp + 4], esi
mov byte [esp + 8], 1
call fcn.0059a6e0
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x38]
movzx ebx, byte [esp + 0x1e]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x68]
mov byte [esp + 0x1f], al
mov eax, dword [esp + 0x8c]
movzx eax, byte [esp + 0x1f]
test al, al
je 0x59b200
mov dword [esp], edi
mov dword [esp + 4], esi
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xc], ecx
call fcn.0059ab20
movzx eax, byte [esp + 0x10]
test al, al
je 0x59b147
jmp 0x59b22b
mov dword [esp], edi
mov dword [esp + 4], esi
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xc], ecx
call fcn.0059a8a0
movzx eax, byte [esp + 0x10]
test al, al
je 0x59b147
jmp 0x59b248
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
add esp, 0x88
ret
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
add esp, 0x88
ret
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x84], eax
lea eax, [0x675f80]
mov dword [esp], eax
lea eax, [esp + 0x7c]
mov dword [esp + 4], eax
call fcn.00408b70
mov eax, dword [esp + 8]
lea ecx, [0x703584]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
add esp, 0x88
ret
inc edx
cmp edx, ecx
jge 0x59b2f7
movzx ebx, byte [eax + edx]
lea ebp, [ebx - 0x41]
xchg ebp, eax
cmp al, 0x19
xchg ebp, eax
ja 0x59b2d8
cmp edx, ecx
jae 0x59b318
add ebx, 0x20
mov byte [eax + edx], bl
jmp 0x59b2d8
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0044bc20
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
jmp 0x59b105
mov eax, edx
call fcn.0045f8b0
nop
call fcn.0045e420
jmp fcn.0059aee0