Function at 0x653e70
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x654160
sub esp, 0x60
mov eax, 0
mov dword [esp + 0x5c], eax
mov byte [esp + 0x1b], 0
mov eax, dword [esp + 0x64]
test byte [eax], al
lea ecx, [eax + 0x34]
mov dword [esp + 0x24], ecx
mov dword [esp], ecx
call fcn.004868a0
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x64]
test ecx, ecx
je 0x653eb9
mov edx, dword [ecx]
jmp 0x653ebb
xor edx, edx
mov dword [esp + 0x1c], edx
lea eax, [0x6ddc40]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x68]
mov dword [esp + 8], eax
call fcn.0040d360
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x64]
test ecx, ecx
je 0x653ee8
mov ecx, dword [ecx]
jmp 0x653eea
xor ecx, ecx
mov edx, dword [esp + 0x1c]
dec edx
cmp ecx, edx
jne 0x65413e
call fcn.004b5b60
lea edi, [esp + 0x48]
lea esi, [esp]
call fcn.00471fae
mov eax, dword [0x93f150]
mov ecx, dword [esp + 0x64]
lea edi, [ecx + 0x7c]
test eax, eax
je 0x653f3f
mov dword [esp + 0x20], edi
lea eax, [0x718660]
mov dword [esp], eax
mov dword [esp + 4], edi
lea ecx, [esp + 0x48]
mov dword [esp + 8], ecx
call fcn.0040eb20
mov ecx, dword [esp + 0x64]
mov edi, dword [esp + 0x20]
lea esi, [esp + 0x48]
call fcn.00471fae
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x64]
test ecx, ecx
je 0x653f57
mov ecx, dword [ecx]
jmp 0x653f59
xor ecx, ecx
test ecx, ecx
jne 0x653fd5
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x653fd5
mov edx, dword [eax + 0x30]
mov ecx, dword [ecx + 0x10]
mov ebx, dword [eax + 0x24]
mov ebp, dword [eax + 0x28]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call ecx
call fcn.004b5b60
lea edi, [esp + 0x48]
lea esi, [esp]
call fcn.00471fae
mov eax, dword [0x93f150]
mov ecx, dword [esp + 0x64]
lea edi, [ecx + 0x90]
test eax, eax
je 0x653fc8
mov dword [esp + 0x20], edi
lea eax, [0x718660]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x48]
mov dword [esp + 8], eax
call fcn.0040eb20
mov ecx, dword [esp + 0x64]
mov edi, dword [esp + 0x20]
lea esi, [esp + 0x48]
call fcn.00471fae
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x3c]
mov dword [esp], ecx
call fcn.00485600
mov eax, dword [esp + 0x64]
movzx ecx, byte [eax + 0x14]
test cl, cl
jne 0x654013
movzx ecx, byte [eax + 0x50]
test cl, cl
jne 0x654013
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x50]
test ecx, ecx
je 0x654008
movzx ecx, byte [ecx + 0x88]
test cl, cl
jne 0x654013
mov ecx, dword [eax + 0x58]
test ecx, ecx
je 0x65410f
mov ecx, dword [eax + 0x68]
test ecx, ecx
jne 0x65410b
mov ecx, dword [eax + 0x64]
test ecx, ecx
je 0x654029
mov ecx, dword [ecx]
jmp 0x65402b
xor ecx, ecx
test ecx, ecx
jne 0x654107
movzx ecx, byte [0x93ed25]
test cl, cl
je 0x6540e1
lea edi, [esp + 0x30]
xor eax, eax
call fcn.00471aca
lea ecx, [0x715f80]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x34], ecx
movzx edx, byte [ecx + 0x14]
lea ebx, [0x6db580]
mov dword [esp + 0x38], ebx
lea ebx, [0x8f4440]
lea edx, [ebx + edx*8]
mov dword [esp + 0x3c], edx
mov edx, dword [ecx + 0x6c]
add edx, 0xfffffffe
mov dword [esp], edx
call fcn.00409ea0
mov ecx, dword [esp + 4]
lea edx, [0x6db300]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ecx
movzx ecx, byte [0x93ed25]
test cl, cl
je 0x6540dd
mov eax, dword [esp + 0x64]
mov ecx, dword [eax]
mov dword [esp], ecx
lea ecx, [0x731ac4]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x45
lea ecx, [esp + 0x30]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 3
call fcn.00658cd0
mov eax, dword [esp + 0x64]
mov byte [eax + 0x52], 1
lea ecx, [0x654170]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x5c], eax
mov byte [esp + 0x1b], 1
mov eax, 1
jmp 0x654111
xor eax, eax
jmp 0x654111
xor eax, eax
jmp 0x654111
xor eax, eax
mov byte [esp + 0x1a], al
mov ecx, dword [esp + 0x24]
mov dword [esp], ecx
call fcn.00486c20
movzx eax, byte [esp + 0x1a]
test al, 1
je 0x65413a
and eax, 0xfffffffe
mov byte [esp + 0x1b], al
mov edx, dword [esp + 0x5c]
mov eax, dword [edx]
call eax
add esp, 0x60
ret
lea eax, [0x6db180]
mov dword [esp], eax
lea eax, [0x789eb8]
mov dword [esp + 4], eax
call fcn.0046a9e0
nop
call fcn.004358b0
add esp, 0x60
ret
call fcn.00470430
jmp fcn.00653e70