Function at 0x666da0
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x66709d
sub esp, 0x18
mov eax, dword [esp + 0x24]
test eax, eax
je 0x666dde
mov ecx, dword [eax + 4]
lea edx, [0x914228]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00409f00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x24]
jmp 0x666de0
mov ecx, eax
test eax, eax
jne 0x667094
cmp dword [0x9136d8], ecx
jne 0x666e17
mov eax, dword [0x9136dc]
mov dword [esp], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00404430
movzx eax, byte [esp + 0xc]
test al, al
jne 0x66708b
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.0066d8a0
movzx eax, byte [esp + 4]
test al, al
je 0x667082
mov eax, dword [esp + 0x24]
lea ecx, [0x78ad00]
cmp eax, ecx
jne 0x666edd
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x666e81
lea edx, [0x78b2f8]
cmp ecx, edx
je 0x666e5b
xor ecx, ecx
jmp 0x666e86
mov edx, dword [eax + 0x24]
mov dword [esp], ecx
mov dword [esp + 4], edx
lea ecx, [0x93ed20]
mov dword [esp + 8], ecx
call fcn.00404430
movzx eax, byte [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x20]
jmp 0x666e86
mov ecx, 1
test cl, cl
je 0x666e90
xor edx, edx
xor ecx, ecx
jmp 0x666eb6
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x30]
test ecx, ecx
setne bl
test edx, edx
xchg ebp, ebx
setne bl
xchg ebp, ebx
or ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x666eb6
mov edx, 0xffffffff
mov ecx, 0xffffffff
test ecx, ecx
sete cl
test edx, edx
sete dl
and edx, ecx
test dl, dl
je 0x666ecd
mov eax, 1
jmp 0x666ed5
mov eax, dword [eax + 0x28]
test eax, eax
setne al
mov byte [esp + 0x2c], al
add esp, 0x18
ret
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x666f20
lea ebx, [0x78b2f8]
cmp edx, ebx
je 0x666ef6
xor edx, edx
jmp 0x666f25
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 + 0x20]
mov edx, eax
mov eax, dword [esp + 0x24]
jmp 0x666f25
mov edx, 1
test dl, dl
jne 0x666f34
mov edx, dword [ecx + 0x28]
test edx, edx
je 0x667023
mov edx, dword [ecx + 4]
test edx, edx
je 0x666f3f
mov ebx, dword [ecx]
jmp 0x666f4a
mov edx, 3
lea ebx, [0x71b29f]
cmp edx, 4
jg 0x666f72
cmp edx, 3
jne 0x666f63
cmp word [ebx], 0x4547
jne 0x666fa9
cmp byte [ebx + 2], 0x54
je 0x666fa2
jmp 0x666fa9
cmp edx, 4
jne 0x666fa9
cmp dword [ebx], 0x44414548
je 0x666fa2
jmp 0x666fa9
cmp edx, 5
jne 0x666f87
cmp dword [ebx], 0x43415254
jne 0x666fa9
cmp byte [ebx + 4], 0x45
je 0x666fa2
jmp 0x666fa9
cmp edx, 7
jne 0x666fa9
cmp dword [ebx], 0x4954504f
jne 0x666fa9
cmp word [ebx + 4], 0x4e4f
jne 0x666fa9
cmp byte [ebx + 6], 0x53
jne 0x666fa9
mov ecx, 1
jmp 0x667025
mov eax, dword [ecx + 0x1c]
lea edx, [0x70dbe0]
mov dword [esp], edx
mov dword [esp + 4], eax
lea eax, [0x71e658]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0xf
call fcn.00468cf0
movzx eax, byte [esp + 0x14]
test al, al
je 0x666fe0
mov eax, 1
jmp 0x667010
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x1c]
lea ecx, [0x70dbe0]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x71f607]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x11
call fcn.00468cf0
movzx eax, byte [esp + 0x14]
test al, al
je 0x66701f
mov eax, dword [esp + 0x24]
mov ecx, 1
jmp 0x667025
mov eax, dword [esp + 0x24]
xor ecx, ecx
test cl, cl
je 0x667079
lea ecx, [0x78ad10]
cmp eax, ecx
jne 0x66703c
mov byte [esp + 0x2c], 1
add esp, 0x18
ret
cmp dword [0x913740], eax
jne 0x667067
mov ecx, dword [0x913744]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00404430
movzx eax, byte [esp + 0xc]
test al, al
jne 0x667070
mov byte [esp + 0x2c], 0
add esp, 0x18
ret
mov byte [esp + 0x2c], 1
add esp, 0x18
ret
mov byte [esp + 0x2c], 0
add esp, 0x18
ret
mov byte [esp + 0x2c], 0
add esp, 0x18
ret
mov byte [esp + 0x2c], 0
add esp, 0x18
ret
mov byte [esp + 0x2c], 1
add esp, 0x18
ret
call fcn.00470430
jmp fcn.00666da0