Function at 0x660750
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x660d94
sub esp, 0x2c
lea eax, [0x70a4e0]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x660c3d
mov dword [esp + 0x20], eax
mov edx, dword [ecx + 8]
cmp edx, 0xa28aa5f0
jne 0x660aa7
lea edx, [0x714c00]
cmp ecx, edx
jne 0x660c39
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 0x2c]
mov ebx, dword [ecx + 0x30]
test edx, edx
setne dl
test ebx, ebx
setne bl
or ebx, edx
test bl, bl
je 0x660849
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x660849
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov eax, dword [ecx + 0x2c]
mov ecx, dword [ecx + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00465e60
mov eax, dword [esp + 8]
lea ecx, [0x6db340]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
lea eax, [0x72ce6e]
mov dword [esp], eax
mov dword [esp + 4], 0x2c
lea eax, [esp + 0x24]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c2050
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
add esp, 0x2c
ret
mov edx, dword [ecx + 4]
test edx, edx
je 0x660854
mov ebx, dword [ecx]
jmp 0x66085f
mov edx, 3
lea ebx, [0x71b29f]
mov dword [eax + 4], edx
mov edx, dword [0x93f150]
test edx, edx
je 0x660873
call fcn.00471830
mov dword [edi], ebx
mov dword [eax], ebx
movzx edx, byte [ecx + 0x40]
mov byte [eax + 0x24], dl
mov edx, dword [ecx + 0x38]
mov ebx, dword [ecx + 0x3c]
mov ebp, dword [ecx + 0x34]
mov dword [eax + 0x2c], edx
mov dword [eax + 0x30], ebx
mov edx, dword [0x93f150]
test edx, edx
je 0x66089c
call fcn.00471830
mov dword [edi], ebp
mov dword [eax + 0x28], ebp
mov edx, dword [0x93f150]
mov ebx, dword [ecx + 0x1c]
test edx, edx
je 0x6608b3
call fcn.00471830
mov dword [edi], ebx
mov dword [eax + 0x34], ebx
mov edx, dword [0x93f150]
mov ebx, dword [ecx + 0x58]
test edx, edx
je 0x6608ca
call fcn.00471830
mov dword [edi], ebx
mov dword [eax + 0x38], ebx
mov edx, dword [ecx + 0x20]
mov ebx, dword [ecx + 0x24]
test edx, edx
je 0x660900
mov dword [esp + 0x1c], ebx
mov eax, dword [edx + 4]
lea ecx, [0x914188]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409f00
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x1c]
mov dword [eax + 8], edx
mov edx, dword [0x93f150]
test edx, edx
je 0x66091a
call fcn.00471840
mov dword [edi], ebx
mov edx, dword [eax + 0xc]
mov dword [edi + 4], edx
mov dword [eax + 0xc], ebx
mov edx, dword [ecx + 0x20]
mov ebx, dword [ecx + 0x24]
test edx, edx
je 0x660950
mov dword [esp + 0x1c], ebx
mov eax, dword [edx + 4]
lea ecx, [0x914198]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409f00
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x1c]
mov dword [eax + 0x10], edx
mov edx, dword [0x93f150]
test edx, edx
je 0x66096a
call fcn.00471840
mov dword [edi], ebx
mov edx, dword [eax + 0x14]
mov dword [edi + 4], edx
mov dword [eax + 0x14], ebx
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x6609ac
lea ebx, [0x78b2f8]
cmp edx, ebx
je 0x660982
xor edx, edx
jmp 0x6609b1
mov eax, dword [ecx + 0x24]
mov dword [esp], edx
mov dword [esp + 4], eax
lea eax, [0x93ed20]
mov dword [esp + 8], eax
call fcn.00404430
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x34]
mov edx, eax
mov eax, dword [esp + 0x20]
jmp 0x6609b1
mov edx, 1
test dl, dl
je 0x6609bb
xor ecx, ecx
xor edx, edx
jmp 0x6609df
mov edx, dword [ecx + 0x2c]
mov ecx, dword [ecx + 0x30]
test ecx, ecx
setne bl
test edx, edx
xchg ebp, ebx
setne bl
xchg ebp, ebx
or ebx, ebp
test bl, bl
jne 0x6609df
mov ecx, 0xffffffff
mov edx, 0xffffffff
mov dword [eax + 0x1c], edx
mov dword [eax + 0x20], ecx
test ecx, ecx
jge 0x660a09
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x6609f4
xor ecx, ecx
jmp 0x660a0b
mov dword [esp], eax
call fcn.00660da0
movzx eax, byte [esp + 4]
mov ecx, eax
mov eax, dword [esp + 0x20]
jmp 0x660a0b
xor ecx, ecx
test cl, cl
je 0x660a5e
lea eax, [0x6d7980]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [eax + 4], 7
lea ecx, [0x71bb1f]
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
mov dword [ecx + 0x2c], 1
mov dword [ecx + 0x30], 1
mov edx, dword [0x93f150]
test edx, edx
je 0x660a59
call fcn.00471840
mov dword [edi], eax
mov edx, dword [ecx + 0x28]
mov dword [edi + 4], edx
mov dword [ecx + 0x28], eax
mov eax, ecx
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x20]
test edx, edx
setne dl
test ecx, ecx
setne cl
or edx, ecx
test dl, dl
je 0x660a9d
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.006650f0
movzx eax, byte [esp + 8]
test al, al
je 0x660a95
mov eax, dword [esp + 0x20]
jmp 0x660a9d
mov eax, dword [esp + 0x20]
mov byte [eax + 0x48], 1
mov ecx, 1
jmp 0x660c3f
cmp edx, 0xebf45122
jne 0x660c39
lea edx, [0x705de0]
cmp ecx, edx
jne 0x660c39
mov byte [eax + 0x3c], 1
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 0x44]
test edx, edx
je 0x660aeb
mov ebx, dword [edx + 4]
mov edx, dword [edx]
mov dword [eax + 4], ebx
mov ebx, dword [0x93f150]
test ebx, ebx
je 0x660ae9
call fcn.00471830
mov dword [edi], edx
mov dword [eax], edx
mov edx, dword [ecx + 0x20]
mov ebx, dword [ecx + 0x24]
test edx, edx
je 0x660b1e
mov dword [esp + 0x1c], ebx
mov eax, dword [edx + 4]
lea ecx, [0x9141a8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409f00
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x1c]
mov dword [eax + 8], edx
mov edx, dword [0x93f150]
test edx, edx
je 0x660b38
call fcn.00471840
mov dword [edi], ebx
mov edx, dword [eax + 0xc]
mov dword [edi + 4], edx
mov dword [eax + 0xc], ebx
mov edx, dword [ecx + 0x20]
mov ebx, dword [ecx + 0x24]
test edx, edx
je 0x660b6e
mov dword [esp + 0x1c], ebx
mov eax, dword [edx + 4]
lea ecx, [0x9141b8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409f00
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x1c]
mov dword [eax + 0x10], edx
mov edx, dword [0x93f150]
test edx, edx
je 0x660b88
call fcn.00471840
mov dword [edi], ebx
mov edx, dword [eax + 0x14]
mov dword [edi + 4], edx
mov dword [eax + 0x14], ebx
mov edx, dword [ecx + 0x28]
mov ebx, dword [ecx + 0x2c]
mov dword [eax + 0x1c], edx
mov dword [eax + 0x20], ebx
movzx edx, byte [ecx + 0x3c]
mov byte [eax + 0x24], dl
mov edx, dword [ecx + 0x34]
mov ebx, dword [ecx + 0x38]
mov ebp, dword [ecx + 0x30]
mov dword [eax + 0x2c], edx
mov dword [eax + 0x30], ebx
mov edx, dword [0x93f150]
test edx, edx
je 0x660bc4
call fcn.00471840
mov dword [edi], ebp
mov edx, dword [eax + 0x28]
mov dword [edi + 4], edx
mov dword [eax + 0x28], ebp
mov edx, dword [0x93f150]
mov ebx, dword [ecx + 0x1c]
test edx, edx
je 0x660be1
call fcn.00471840
mov dword [edi], ebx
mov edx, dword [eax + 0x34]
mov dword [edi + 4], edx
mov dword [eax + 0x34], ebx
mov edx, dword [0x93f150]
mov ebx, dword [ecx + 0x40]
test edx, edx
je 0x660bfe
call fcn.00471840
mov dword [edi], ebx
mov edx, dword [eax + 0x38]
mov dword [edi + 4], edx
mov dword [eax + 0x38], ebx
mov edx, dword [ecx + 0x14]
nop
cmp edx, 1
jle 0x660c11
mov ecx, 1
jmp 0x660c1f
jne 0x660c1d
mov ecx, dword [ecx + 0x18]
test ecx, ecx
setg cl
jmp 0x660c1f
xor ecx, ecx
cmp dword [eax + 4], 4
jne 0x660c32
mov edx, dword [eax]
cmp dword [edx], 0x44414548
sete dl
jmp 0x660c34
xor edx, edx
mov byte [eax + 0x18], dl
jmp 0x660c3f
xor ecx, ecx
jmp 0x660c3f
xor ecx, ecx
movzx edx, byte [eax + 0x18]
test dl, dl
je 0x660cb8
mov dword [eax + 8], 0
mov ecx, dword [0x93f150]
test ecx, ecx
je 0x660c62
mov ecx, dword [eax + 0xc]
call fcn.00471830
mov dword [edi], ecx
mov dword [eax + 0xc], 0
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x660d39
mov ecx, dword [eax + 0x28]
cmp dword [ecx + 4], 7
jne 0x660d39
mov ecx, dword [ecx]
cmp dword [ecx], 0x6e756863
jne 0x660d39
cmp word [ecx + 4], 0x656b
jne 0x660d39
cmp byte [ecx + 6], 0x64
jne 0x660d39
mov dword [eax + 0x1c], 0xffffffff
mov dword [eax + 0x20], 0xffffffff
jmp 0x660d39
test cl, cl
je 0x660cc3
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x660cec
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov ecx, dword [0x93f150]
test ecx, ecx
je 0x660ce5
mov ecx, dword [eax + 0x28]
call fcn.00471830
mov dword [edi], ecx
mov dword [eax + 0x28], 0
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x660d24
mov ecx, dword [eax + 0x28]
cmp dword [ecx + 4], 7
jne 0x660d24
mov ecx, dword [ecx]
cmp dword [ecx], 0x6e756863
jne 0x660d24
cmp word [ecx + 4], 0x656b
jne 0x660d24
cmp byte [ecx + 6], 0x64
jne 0x660d24
mov dword [eax + 0x1c], 0xffffffff
mov dword [eax + 0x20], 0xffffffff
jmp 0x660d39
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x660d39
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x660d61
mov ecx, dword [eax + 0x28]
cmp dword [ecx + 4], 7
jne 0x660d61
mov ecx, dword [ecx]
cmp dword [ecx], 0x6e756863
jne 0x660d61
cmp word [ecx + 4], 0x656b
jne 0x660d61
cmp byte [ecx + 6], 0x64
je 0x660d7c
mov ecx, dword [0x93f150]
test ecx, ecx
je 0x660d75
mov ecx, dword [eax + 0x38]
call fcn.00471830
mov dword [edi], ecx
mov dword [eax + 0x38], 0
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
add esp, 0x2c
ret
call fcn.00470430
jmp fcn.00660750