Function at 0x6453d0
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x64586c
sub esp, 0x8c
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [esp + 0x94]
mov dword [eax + 8], ebx
mov ebp, dword [0x93f150]
test ebp, ebp
jne 0x645418
mov ebp, dword [esp + 0x98]
jmp 0x64542c
call fcn.00471840
mov ebp, dword [esp + 0x98]
mov dword [edi], ebp
mov esi, dword [eax + 0xc]
mov dword [edi + 4], esi
mov dword [eax + 0xc], ebp
movzx esi, byte [eax + 0x59]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x64584f
mov dword [esp + 0x28], ecx
mov dword [esp + 0x50], edx
mov eax, dword [ebx + 0xc]
mov dword [esp], ebp
call eax
lea edi, [esp + 0x2c]
lea esi, [esp + 4]
call fcn.00471fc2
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x645712
cmp byte [esp + 0x2d], 9
jne 0x6455a5
cmp dword [esp + 0x34], ecx
je 0x645719
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.00409ea0
mov eax, dword [esp + 4]
lea ecx, [0x6db300]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x90]
mov edx, dword [eax + 0x1c]
mov dword [esp], edx
call fcn.00409ea0
mov eax, dword [esp + 4]
lea ecx, [0x6db300]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
lea eax, [0x72ec07]
mov dword [esp], eax
mov dword [esp + 4], 0x32
lea eax, [esp + 0x5c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c4c20
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x48], ecx
lea edx, [0x6e6720]
mov dword [esp], edx
call fcn.0040bb90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x20]
mov dword [eax + 4], ecx
mov ecx, dword [0x93f150]
test ecx, ecx
jne 0x645551
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x90]
jmp 0x64556c
call fcn.00471850
mov ecx, dword [esp + 0x48]
mov dword [edi], ecx
mov dword [edi + 4], eax
mov edx, dword [esp + 0x90]
mov ebx, dword [edx + 0x14]
mov dword [edi + 8], ebx
mov dword [eax], ecx
lea ecx, [0x78aa3c]
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], eax
mov dword [esp], 1
call fcn.00409ea0
mov eax, dword [esp + 4]
lea ecx, [0x78abe0]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
add esp, 0x8c
ret
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
call eax
lea edi, [esp + 0x38]
lea esi, [esp + 4]
call fcn.00471fc2
lea edi, [esp + 0x6c]
xor eax, eax
call fcn.00471ac8
movzx eax, byte [esp + 0x2d]
lea ecx, [0x6dfc40]
mov dword [esp + 0x6c], ecx
lea edx, [0x8f4440]
lea eax, [edx + eax*8]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.00409ea0
mov eax, dword [esp + 4]
lea ecx, [0x6db300]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
movzx eax, byte [esp + 0x39]
lea edx, [0x6dfc40]
mov dword [esp + 0x7c], edx
lea edx, [0x8f4440]
lea eax, [edx + eax*8]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x90]
mov edx, dword [eax + 0x1c]
mov dword [esp], edx
call fcn.00409ea0
mov eax, dword [esp + 4]
lea ecx, [0x6db300]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
lea eax, [0x731ca7]
mov dword [esp], eax
mov dword [esp + 4], 0x46
lea eax, [esp + 0x6c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], 4
call fcn.004c4c20
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x4c], ecx
lea edx, [0x6e6720]
mov dword [esp], edx
call fcn.0040bb90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov ecx, dword [0x93f150]
test ecx, ecx
jne 0x6456be
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x90]
jmp 0x6456d9
call fcn.00471850
mov ecx, dword [esp + 0x4c]
mov dword [edi], ecx
mov dword [edi + 4], eax
mov edx, dword [esp + 0x90]
mov ebx, dword [edx + 0x14]
mov dword [edi + 8], ebx
mov dword [eax], ecx
lea ecx, [0x78aa3c]
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], eax
mov dword [esp], 1
call fcn.00409ea0
mov eax, dword [esp + 4]
lea ecx, [0x78abe0]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
add esp, 0x8c
ret
cmp byte [esp + 0x2d], 9
je 0x64575f
movzx ecx, byte [esp + 0x2d]
cmp cl, 1
je 0x645728
cmp cl, 9
jne 0x645742
movzx ecx, byte [esp + 0x2e]
test cl, 4
je 0x64573b
mov dword [eax + 0x1c], 0
jmp 0x645742
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x1c], ecx
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
add esp, 0x8c
ret
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.00409ea0
mov eax, dword [esp + 4]
lea ecx, [0x6db300]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
lea eax, [0x72a09d]
mov dword [esp], eax
mov dword [esp + 4], 0x25
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c4c20
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x44], ecx
lea edx, [0x6e6720]
mov dword [esp], edx
call fcn.0040bb90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
mov ecx, dword [0x93f150]
test ecx, ecx
jne 0x6457fb
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x90]
jmp 0x645816
call fcn.00471850
mov ecx, dword [esp + 0x44]
mov dword [edi], ecx
mov dword [edi + 4], eax
mov edx, dword [esp + 0x90]
mov ebx, dword [edx + 0x14]
mov dword [edi + 8], ebx
mov dword [eax], ecx
lea ecx, [0x78aa3c]
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], eax
mov dword [esp], 1
call fcn.00409ea0
mov eax, dword [esp + 4]
lea ecx, [0x78abe0]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
add esp, 0x8c
ret
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
add esp, 0x8c
ret
call fcn.00470430
jmp fcn.006453d0