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

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x24]
cmp eax, dword [ecx + 8]
jbe 0x64c7c6
sub esp, 0xa4
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx]
cmp edx, 5
jne 0x64c1b0
cmp dword [ebx], 0x70747468
jne 0x64c1b0
cmp byte [ebx + 4], 0x73
je 0x64c1ce
cmp edx, 4
jne 0x64c203
cmp dword [ebx], 0x70747468
jne 0x64c203
mov ebp, dword [esp + 0xa8]
movzx esi, byte [ebp + 0x15]
xchg esi, eax
test al, al
xchg esi, eax
je 0x64c203
mov eax, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x14]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.0064bef0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0xac]
xor ebx, ebx
jmp 0x64c24f
lea eax, [0x6e6720]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x19
lea ecx, [0x723d08]
mov dword [eax], ecx
mov dword [esp + 0xb4], 0
lea ecx, [0x78aa3c]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
add esp, 0xa4
ret
lea ebx, [edx + 1]
mov edx, eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x4c], edx
lea eax, [0x6775e0]
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x9c], ecx
test byte [ecx], al
lea ebp, [ecx + 0x54]
mov dword [esp], ebp
lea ebp, [esp + 0x98]
mov dword [esp + 4], ebp
call fcn.00486d50
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0x60]
mov ecx, dword [ecx + 0xc]
mov edx, dword [eax + 0x64]
mov dword [esp], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0xc], ebp
call ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test eax, eax
jne 0x64c6d6
mov eax, dword [esp + 0x10]
mov dword [esp + 0x58], eax
test byte [eax], al
lea ecx, [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 1
call fcn.00475fe0
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
xor eax, 1
mov byte [esp + 8], al
call fcn.006594b0
nop
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.0064f700
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
test eax, eax
je 0x64c615
mov ebx, dword [esp + 0x2c]
cmp ebx, 6
jg 0x64c615
mov dword [esp + 0x54], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0064c7d0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
jne 0x64c60f
mov eax, dword [esp + 0xc]
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0x2c]
test edx, edx
jne 0x64c419
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x64c3af
mov ecx, dword [ecx + 4]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x84], ecx
movzx ecx, byte [0x93ed25]
test cl, cl
je 0x64c24a
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
lea ecx, [0x729a01]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x24
lea edx, [esp + 0x80]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.00658cd0
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x2c]
jmp 0x64c24a
lea ecx, [edx - 1]
mov eax, 1
shl eax, cl
cmp ecx, 0x20
sbb ebx, ebx
and eax, ebx
mov dword [esp], eax
call fcn.004717e0
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x34], xmm0
call fcn.004d39d0
movsd xmm0, qword [esp]
movsd xmm1, qword [0x789e48]
mulsd xmm0, xmm1
movsd xmm2, qword [esp + 0x34]
mulsd xmm0, xmm2
addsd xmm2, xmm0
movsd qword [esp], xmm2
call fcn.004624f0
mov eax, dword [esp + 8]
mov ecx, eax
mov eax, 0x3b9aca00
mul ecx
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0xa8]
mov dword [esp], ebp
mov dword [esp + 4], eax
imul eax, ebx, 0x3b9aca00
add eax, edx
mov dword [esp + 8], eax
call fcn.0064afa0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x10]
mov dword [esp + 0x44], edx
mov ebx, dword [eax + 0xc]
mov dword [esp], edx
call ebx
mov eax, dword [esp + 0x50]
mov edx, dword [eax + 0x80]
test edx, edx
je 0x64c4ca
mov ecx, dword [eax + 0x84]
jmp 0x64c4d6
lea edx, [0x78bc44]
lea ecx, [0x93ed20]
mov eax, dword [esp + 4]
mov dword [esp + 0xa0], eax
mov edx, dword [edx + 0x10]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 4]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x70], eax
lea eax, [esp + 0x70]
mov dword [esp], eax
lea eax, [esp + 0x20]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 2
mov byte [esp + 0x14], 1
call fcn.00449a50
mov eax, dword [esp + 0x18]
test eax, eax
je 0x64c5cd
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x64c570
mov eax, dword [eax + 4]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x6c], eax
movzx eax, byte [0x93ed25]
test al, al
je 0x64c5c0
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
lea ecx, [0x729a01]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x24
lea edx, [esp + 0x68]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.00658cd0
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x2c]
jmp 0x64c24a
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x80]
test ecx, ecx
je 0x64c5f3
mov eax, dword [eax + 0x84]
jmp 0x64c5ff
lea ecx, [0x78bc44]
lea eax, [0x93ed20]
mov ecx, dword [ecx + 0x14]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, ecx
mov ecx, dword [esp + 0x48]
test eax, eax
je 0x64c6b2
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
je 0x64c634
mov ecx, dword [eax + 4]
jmp 0x64c636
mov ecx, eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
movzx ecx, byte [0x93ed25]
test cl, cl
je 0x64c692
mov dword [esp + 0x54], edx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
lea eax, [0x72177e]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x15
lea eax, [esp + 0x60]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.00658cd0
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x54]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], edx
add esp, 0xa4
ret
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
add esp, 0xa4
ret
mov dword [esp + 0x54], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.00465f00
mov eax, dword [esp + 8]
lea ecx, [0x6db180]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x64c743
mov ecx, dword [eax + 4]
jmp 0x64c745
mov ecx, eax
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x94], ecx
movzx edx, byte [0x93ed25]
test dl, dl
je 0x64c7a6
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
lea eax, [0x72f698]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x35
lea eax, [esp + 0x88]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 2
call fcn.00658cd0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
add esp, 0xa4
ret
call fcn.00470430
jmp fcn.0064c170