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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x598954
add esp, 0xffffff80
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x90]
cmp ecx, eax
jle 0x59862e
jbe 0x59894e
mov edx, dword [esp + 0x84]
movzx ebx, byte [eax + edx]
test bl, 0x20
xchg ebp, ebx
setne bl
xchg ebp, ebx
xchg ebp, eax
mov byte [esp + 0x23], al
xchg ebp, eax
lea esi, [eax + 1]
mov edi, ebx
shr bl, 6
movzx ebx, bl
mov dword [esp + 0x38], ebx
and edi, 0x1f
cmp edi, 0x1f
je 0x5983c3
xor eax, eax
xor eax, eax
mov dword [esp + 0x44], eax
xor eax, eax
jmp 0x598424
mov dword [esp], edx
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x8c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
call fcn.005979a0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
test ebx, ebx
jne 0x5985ec
cmp eax, 0x1f
jl 0x59856a
mov edx, dword [esp + 0x84]
mov esi, ecx
mov edi, eax
mov eax, ebx
mov dword [esp + 0x44], ebp
mov ecx, dword [esp + 0x88]
mov ebx, dword [esp + 0x38]
movzx ebp, byte [esp + 0x23]
mov dword [esp + 0x34], edi
cmp ecx, esi
jle 0x5984ec
jbe 0x598947
movzx ebp, byte [esi + edx]
inc esi
xchg ebp, eax
test al, 0x80
xchg ebp, eax
je 0x5984e4
and ebp, 0x7f
test ebp, ebp
je 0x598466
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x3c]
jmp 0x5986fd
mov dword [esp + 0x30], esi
lea eax, [0x6b55ef]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], 0x21
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call fcn.00409600
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], 0
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa0], cl
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xa4], ecx
lea ecx, [0x710aac]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
and ebp, 0x7f
jmp 0x59869e
mov dword [esp + 0x30], esi
lea eax, [0x6b04e1]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0x17
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call fcn.00409600
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], 0
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa0], cl
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xa4], ecx
lea ecx, [0x710aac]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
lea eax, [0x6ab319]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0xf
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.00409600
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], 0
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa0], cl
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xa4], ecx
lea ecx, [0x710aac]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], 0
movzx eax, byte [esp + 0x23]
mov byte [esp + 0xa0], al
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], ebp
sub esp, 0xffffff80
ret
lea eax, [0x676c40]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x29
lea ecx, [0x6b876d]
mov dword [eax], ecx
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov byte [esp + 0xa0], 0
mov ecx, dword [esp + 0x90]
mov dword [esp + 0xa4], ecx
lea ecx, [0x7105e8]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], ebp
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa0], cl
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
lea ebx, [edi + 1]
mov edi, dword [esp + 0x84]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x2c], esi
mov edi, dword [esp + 0x24]
cmp edi, ebp
jge 0x5988af
cmp ecx, esi
jle 0x598835
jbe 0x598940
movzx ebx, byte [edx + esi]
inc esi
mov dword [esp + 0x2c], esi
mov edx, dword [esp + 0x30]
cmp edx, 0x800000
jge 0x5987bb
shl edx, 8
or edx, ebx
test edx, edx
jne 0x5986dc
mov dword [esp + 0x28], edx
lea eax, [0x6b66a7]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 0x23
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], 0x23
call fcn.00409600
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x9c], ecx
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa0], cl
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xa4], ecx
lea ecx, [0x710a98]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
lea eax, [0x6abc54]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 0x10
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00409600
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x9c], ecx
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa0], cl
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xa4], ecx
lea ecx, [0x710a98]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
lea eax, [0x6b04e1]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], 0x17
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call fcn.00409600
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x9c], ecx
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa0], cl
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xa4], ecx
lea ecx, [0x710aac]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
mov ecx, dword [esp + 0x30]
cmp ecx, 0x80
jl 0x5988c6
mov edi, dword [esp + 0x34]
mov ebp, ecx
jmp 0x59869e
lea eax, [0x6acdf7]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0x12
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], 0x12
call fcn.00409600
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x9c], ecx
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa0], cl
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xa4], ecx
lea ecx, [0x710a98]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
mov eax, esi
call fcn.00463b30
mov eax, esi
call fcn.00463b30
call fcn.00463b30
nop
call fcn.004626a0
jmp fcn.00598350