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

Disassembly:
mov ecx, dword [0x14a5898]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x59954f
add esp, 0xffffff80
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x90]
cmp ecx, eax
jle 0x599246
jbe 0x599549
mov edx, dword [esp + 0x84]
movzx ebx, byte [edx + eax]
mov ebp, ebx
shr bl, 6
mov esi, ebp
and ebp, 0x1f
lea edi, [eax + 1]
movzx ebx, bl
mov dword [esp + 0x40], 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 0x598fe5
xor eax, eax
xor eax, eax
mov dword [esp + 0x44], eax
xor eax, eax
jmp 0x599040
mov dword [esp], edx
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x8c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
call fcn.00598560
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
test eax, eax
jne 0x599204
cmp ecx, 0x1f
jl 0x599182
movzx esi, byte [esp + 0x23]
mov edi, edx
mov ebp, ecx
mov dword [esp + 0x44], ebx
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x3c], ebp
cmp ecx, edi
jle 0x599104
jbe 0x599542
mov dword [esp + 0x38], eax
movzx eax, byte [edx + edi]
inc edi
test al, 0x80
je 0x5990fc
and eax, 0x7f
test eax, eax
je 0x59907e
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x24]
jmp 0x599304
mov dword [esp + 0x34], edi
lea eax, [0xda053d]
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.0040ac40
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], 0
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa0], cl
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xa4], ecx
lea ecx, [0xeec8cc]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
and eax, 0x7f
jmp 0x5992b7
mov dword [esp + 0x34], edi
lea eax, [0xd92a86]
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.0040ac40
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], 0
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa0], cl
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xa4], ecx
lea ecx, [0xeec8cc]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], edx
lea eax, [0xd88e09]
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.0040ac40
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], 0
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa0], cl
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xa4], ecx
lea ecx, [0xeec8cc]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], 0
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa0], cl
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ebx
sub esp, 0xffffff80
ret
nop
lea eax, [0xc99640]
mov dword [esp], eax
call fcn.0040d3b0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x29
lea ecx, [0xda9922]
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, [0xeeb34c]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], eax
xchg esi, eax
mov byte [esp + 0xa0], al
xchg esi, eax
mov dword [esp + 0xa4], edi
mov eax, dword [esp + 0x38]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
dec eax
movzx esi, byte [esp + 0x23]
mov dword [esp + 0x34], ebp
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x30], edi
test eax, eax
jle 0x5994b2
cmp ecx, edi
jle 0x599438
jbe 0x59953b
movzx esi, byte [edx + edi]
inc edi
mov dword [esp + 0x30], edi
mov ebp, dword [esp + 0x34]
cmp ebp, 0x800000
jge 0x5993be
shl ebp, 8
or ebp, esi
test ebp, ebp
jne 0x5992f6
mov dword [esp + 0x2c], ebp
lea eax, [0xda2bf2]
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.0040ac40
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x9c], ecx
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa0], cl
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xa4], ecx
lea ecx, [0xeecb74]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
lea eax, [0xd89f47]
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.0040ac40
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x9c], ecx
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa0], cl
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xa4], ecx
lea ecx, [0xeecb74]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
lea eax, [0xd92a86]
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.0040ac40
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x9c], ecx
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa0], cl
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xa4], ecx
lea ecx, [0xeec8cc]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
mov eax, dword [esp + 0x34]
cmp eax, 0x80
jge 0x5992b7
lea eax, [0xd8c24d]
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.0040ac40
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x9c], ecx
movzx ecx, byte [esp + 0x23]
mov byte [esp + 0xa0], cl
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xa4], ecx
lea ecx, [0xeecb74]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
mov eax, edi
call fcn.0046eff0
mov eax, edi
call fcn.0046eff0
call fcn.0046eff0
nop
call fcn.0046db70
jmp fcn.00598f70