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

Disassembly:
mov ecx, dword [0x85d3cc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x5961f5
sub esp, 0x84
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x94]
cmp ecx, eax
jle 0x595ec6
jbe 0x5961ef
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 0x595c4c
xor eax, eax
xor eax, eax
mov dword [esp + 0x48], eax
xor eax, eax
jmp 0x595ca7
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.005951c0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
test eax, eax
jne 0x595e7d
cmp ecx, 0x1f
jl 0x595df5
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 0x595d74
jbe 0x5961e8
mov dword [esp + 0x34], eax
movzx eax, byte [edi + edx]
inc edi
test al, 0x80
je 0x595d6c
and eax, 0x7f
test eax, eax
je 0x595ceb
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 0x595f94
mov dword [esp + 0x30], edi
lea eax, [0x69b882]
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.00409ab0
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, [0x6f1e90]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x84
ret
and eax, 0x7f
jmp 0x595f3a
mov dword [esp + 0x30], edi
lea eax, [0x6970ac]
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.00409ab0
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, [0x6f1e90]
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, [0x693a8d]
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.00409ab0
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, [0x6f1e90]
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, [0x66a620]
mov dword [esp], eax
call fcn.0040c260
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x29
lea ecx, [0x69ee12]
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, [0x6f1b20]
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 0x59614f
cmp ecx, edi
jle 0x5960d2
jbe 0x5961e1
movzx ebp, byte [edx + edi]
inc edi
mov dword [esp + 0x2c], edi
mov ebx, dword [esp + 0x30]
cmp ebx, 0x800000
jge 0x596055
shl ebx, 8
or ebx, ebp
test ebx, ebx
jne 0x595f7c
mov dword [esp + 0x28], ebx
lea eax, [0x69c475]
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.00409ab0
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, [0x6f20fc]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x84
ret
lea eax, [0x694017]
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.00409ab0
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, [0x6f20fc]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x84
ret
lea eax, [0x6970ac]
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.00409ab0
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, [0x6f1e90]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x84
ret
mov eax, dword [esp + 0x30]
cmp eax, 0x80
jl 0x596164
movzx esi, byte [esp + 0x23]
jmp 0x595f3a
lea eax, [0x694ae0]
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.00409ab0
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, [0x6f20fc]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x84
ret
mov eax, edi
call fcn.00468090
mov eax, edi
call fcn.00468090
call fcn.00468090
nop
call fcn.00466c30
jmp fcn.00595bd0