Function at 0x651170
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x651503
sub esp, 0x34
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax]
mov dword [esp + 0x28], edx
test ecx, ecx
jne 0x6511a4
mov dword [esp], edx
call fcn.0064f5d0
mov edx, dword [esp + 0x28]
test byte [edx], al
lea eax, [edx + 0x34]
mov dword [esp + 0x30], eax
mov dword [esp], eax
call fcn.004868a0
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x65121c
mov ecx, dword [eax + 0xc4]
test ecx, ecx
je 0x6511d1
xor ecx, ecx
jmp 0x65121e
lea eax, [0x6d49e0]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00405070
mov eax, dword [0x93f150]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x6511fb
mov eax, dword [esp + 0x38]
jmp 0x65120f
call fcn.00471840
mov dword [edi], ecx
mov eax, dword [esp + 0x38]
mov edx, dword [eax + 0xc4]
mov dword [edi + 4], edx
mov dword [eax + 0xc4], ecx
mov ecx, 1
jmp 0x65121e
xor ecx, ecx
mov byte [esp + 0x17], cl
mov edx, dword [eax + 0xc4]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x30]
mov dword [esp], ebx
call fcn.00486c20
movzx eax, byte [esp + 0x17]
test al, al
je 0x651265
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0xb4]
mov edx, dword [eax + 0xb8]
mov ecx, dword [ecx + 0xc]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.00405a70
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x65127d
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00405d80
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x6512cf
mov ecx, dword [esp + 0x38]
movzx edx, byte [ecx + 0xc8]
test dl, dl
jne 0x65129a
mov edx, dword [esp + 0x40]
jmp 0x6512d7
mov eax, dword [ecx + 0x80]
mov dword [esp], 0
mov dword [esp + 4], eax
call fcn.004065d0
movzx eax, byte [esp + 8]
test al, al
je 0x6512bf
xor eax, eax
xor ecx, ecx
jmp 0x6512c7
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, ecx
mov ecx, dword [esp + 0x38]
jmp 0x6512d7
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
test eax, eax
jne 0x651353
movzx eax, byte [ecx + 0xc9]
test al, al
je 0x651320
movzx eax, byte [ecx + 0xc8]
test al, al
jne 0x651320
mov eax, dword [ecx + 0x14]
mov edx, dword [esp + 0x28]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.00658c50
mov ecx, dword [esp + 0x38]
lea eax, [ecx + 0x18]
mov edx, dword [0x913698]
mov ebx, dword [0x91369c]
lea ebp, [ecx + 0x4c]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 0
call fcn.0064a8f0
jmp 0x65145d
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0064b830
mov eax, dword [esp + 0x38]
movzx ecx, byte [eax + 0xc9]
test cl, cl
je 0x651433
mov ecx, dword [esp + 0x20]
lea edx, [0x78abf0]
cmp ecx, edx
jne 0x65139b
mov edx, dword [esp + 0x24]
mov ebx, dword [edx + 4]
mov ebp, dword [edx + 8]
mov esi, dword [edx + 0xc]
jmp 0x6513ae
mov edx, dword [esp + 0x24]
mov ebp, 0
mov ebx, 0
mov esi, 0
jne 0x65140c
cmp dword [0x913620], ebp
jne 0x6513eb
mov dword [esp + 0x1c], ebx
mov eax, dword [0x913624]
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], eax
call fcn.00404430
movzx eax, byte [esp + 0xc]
test al, al
jne 0x65142f
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [eax + 0x14]
mov esi, dword [esp + 0x28]
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.00658c50
jmp 0x65142f
mov ebx, dword [eax + 0x14]
mov ebp, dword [esp + 0x28]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], 8
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.00658c50
mov eax, dword [esp + 0x38]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x4c]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x20]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
call fcn.0064a8f0
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x651478
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00653e70
mov eax, dword [esp + 0x28]
lea ecx, [eax + 0xc0]
mov dword [esp + 0x30], ecx
mov dword [esp], ecx
call fcn.004868a0
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0xd0]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x30]
mov dword [esp], edx
call fcn.00486c20
mov eax, dword [esp + 0x18]
test eax, eax
je 0x6514ed
nop
nop
lea eax, [0x6e6720]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x3a
lea ecx, [0x730635]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
lea ecx, [0x78aa3c]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0064ed40
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x84]
mov dword [esp], eax
call fcn.00405a70
add esp, 0x34
ret
call fcn.00470430
jmp fcn.00651170