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

Disassembly:
mov ecx, dword [0x84873c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x591605
sub esp, 0x84
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x94]
cmp ecx, eax
jle 0x5912d6
jbe 0x5915ff
mov edx, dword [esp + 0x88]
movzx ebx, byte [eax + edx]
mov ebp, ebx
shr bl, 6
mov esi, ebp
and ebp, 0x1f
lea edi, [eax + 1]
movzx ebx, bl
mov dword [esp + 0x3c], ebx
xchg esi, eax
test al, 0x20
xchg esi, eax
xchg esi, ebx
setne bl
xchg esi, ebx
xchg esi, eax
mov byte [esp + 0x23], al
xchg esi, eax
cmp ebp, 0x1f
je 0x59105c
xor eax, eax
xor eax, eax
mov dword [esp + 0x48], eax
xor eax, eax
jmp 0x5910b7
mov dword [esp], edx
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x90]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
call fcn.005905d0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
test eax, eax
jne 0x59128d
cmp ecx, 0x1f
jl 0x591205
movzx esi, byte [esp + 0x23]
mov edi, edx
mov ebp, ecx
mov dword [esp + 0x48], ebx
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x38], ebp
cmp ecx, edi
jle 0x591184
jbe 0x5915f8
mov dword [esp + 0x34], eax
movzx eax, byte [edi + edx]
inc edi
test al, 0x80
je 0x59117c
and eax, 0x7f
test eax, eax
je 0x5910fb
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x40]
jmp 0x5913a4
mov dword [esp + 0x30], edi
lea eax, [0x68bd0f]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], 0x21
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call fcn.0040a0d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], 0
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa4], cl
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xa8], ecx
lea ecx, [0x6db9c0]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x84
ret
and eax, 0x7f
jmp 0x59134a
mov dword [esp + 0x30], edi
lea eax, [0x687753]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0x17
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call fcn.0040a0d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], 0
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa4], cl
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xa8], ecx
lea ecx, [0x6db9c0]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x84
ret
mov dword [esp + 0x38], ecx
mov dword [esp + 0x30], edx
lea eax, [0x68419a]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 0xf
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.0040a0d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], 0
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa4], cl
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xa8], ecx
lea ecx, [0x6db9c0]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x84
ret
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], 0
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa4], cl
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ebx
add esp, 0x84
ret
nop
lea eax, [0x655bc0]
mov dword [esp], eax
call fcn.0040c880
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x29
lea ecx, [0x68eb1c]
mov dword [eax], ecx
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov byte [esp + 0xa4], 0
mov ecx, dword [esp + 0x94]
mov dword [esp + 0xa8], ecx
lea ecx, [0x6db5d4]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x84
ret
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebp
mov dword [esp + 0xa0], eax
xchg esi, eax
mov byte [esp + 0xa4], al
xchg esi, eax
mov dword [esp + 0xa8], edi
mov eax, dword [esp + 0x34]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xb0], eax
add esp, 0x84
ret
lea ebp, [esi + 1]
movzx esi, byte [esp + 0x23]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x2c], edi
mov esi, dword [esp + 0x24]
cmp esi, eax
jge 0x59155f
cmp ecx, edi
jle 0x5914e2
jbe 0x5915f1
movzx ebp, byte [edx + edi]
inc edi
mov dword [esp + 0x2c], edi
mov ebx, dword [esp + 0x30]
cmp ebx, 0x800000
jge 0x591465
shl ebx, 8
or ebx, ebp
test ebx, ebx
jne 0x59138c
mov dword [esp + 0x28], ebx
lea eax, [0x68c78c]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0x23
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], 0x23
call fcn.0040a0d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xa0], ecx
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa4], cl
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xa8], ecx
lea ecx, [0x6dbab0]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x84
ret
lea eax, [0x6846b8]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0x10
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.0040a0d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xa0], ecx
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa4], cl
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xa8], ecx
lea ecx, [0x6dbab0]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x84
ret
lea eax, [0x687753]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], 0x17
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call fcn.0040a0d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xa0], ecx
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa4], cl
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xa8], ecx
lea ecx, [0x6db9c0]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x84
ret
mov eax, dword [esp + 0x30]
cmp eax, 0x80
jl 0x591574
movzx esi, byte [esp + 0x23]
jmp 0x59134a
lea eax, [0x6851c9]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 0x12
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov dword [esp + 4], 0x12
call fcn.0040a0d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xa0], ecx
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa4], cl
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xa8], ecx
lea ecx, [0x6dbab0]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x84
ret
mov eax, edi
call fcn.0046a670
mov eax, edi
call fcn.0046a670
call fcn.0046a670
nop
call fcn.00469200
jmp fcn.00590fe0