Function at 0x598130
Capabilities:
Reference sql statements
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x59870f
add esp, 0xffffff80
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x90]
cmp ecx, eax
jle 0x598406
jbe 0x598709
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 0x5981a5
xor eax, eax
xor eax, eax
mov dword [esp + 0x44], eax
xor eax, eax
jmp 0x598200
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.00597720
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
test eax, eax
jne 0x5983c4
cmp ecx, 0x1f
jl 0x598342
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 0x5982c4
jbe 0x598702
mov dword [esp + 0x38], eax
movzx eax, byte [edx + edi]
inc edi
test al, 0x80
je 0x5982bc
and eax, 0x7f
test eax, eax
je 0x59823e
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x24]
jmp 0x5984c4
mov dword [esp + 0x34], edi
lea eax, [0x728bfd]
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.00465f00
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, [0x78b170]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
and eax, 0x7f
jmp 0x598477
mov dword [esp + 0x34], edi
lea eax, [0x7233cb]
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.00465f00
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, [0x78b170]
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, [0x71ecd9]
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.00465f00
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, [0x78b170]
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, [0x6e6720]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x29
lea ecx, [0x72c34b]
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, [0x78aa3c]
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 0x598672
cmp ecx, edi
jle 0x5985f8
jbe 0x5986fb
movzx esi, byte [edx + edi]
inc edi
mov dword [esp + 0x30], edi
mov ebp, dword [esp + 0x34]
cmp ebp, 0x800000
jge 0x59857e
shl ebp, 8
or ebp, esi
test ebp, ebp
jne 0x5984b6
mov dword [esp + 0x2c], ebp
lea eax, [0x729950]
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.00465f00
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, [0x78b290]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
lea eax, [0x71f4c6]
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.00465f00
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, [0x78b290]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
lea eax, [0x7233cb]
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.00465f00
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, [0x78b170]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
mov eax, dword [esp + 0x34]
cmp eax, 0x80
jge 0x598477
lea eax, [0x72037e]
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.00465f00
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, [0x78b290]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
sub esp, 0xffffff80
ret
mov eax, edi
call fcn.004718b0
mov eax, edi
call fcn.004718b0
call fcn.004718b0
nop
call fcn.00470430
jmp fcn.00598130