Function at 0x4660b0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1f
push 0
push 0
dec ecx
jne 0x4660b8
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x38]
mov edx, dword [0x4687b4]
call fcn.004043f0
lea eax, [ebp - 0x54]
mov edx, dword [0x4687b4]
call fcn.004043f0
lea eax, [ebp - 0xc4]
mov edx, dword [0x4657f4]
call fcn.004043f0
xor eax, eax
push ebp
push 0x466940
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x14], 0x52
jne 0x466649
lea eax, [ebp - 0xc4]
call fcn.004658f4
lea eax, [ebp - 0x10]
call fcn.00403c18
mov byte [ebp - 0x19], 0
lea edx, [ebp - 0xcc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00408354
mov ecx, dword [ebp - 0xcc]
lea eax, [ebp - 0xc8]
mov edx, 0x466958
call fcn.00403ee4
mov edx, dword [ebp - 0xc8]
mov cl, 1
mov eax, dword [0x46cde0]
call fcn.00461eb4
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x46621e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
cmp dword [eax + 0xc], 0
jne 0x466208
cmp dword [eax + 8], 1
jne 0x466208
lea ecx, [ebp - 0xd0]
mov edx, 0x466a00
mov eax, dword [ebp - 8]
call fcn.00462208
mov edx, dword [ebp - 0xd0]
lea eax, [ebp - 0xb4]
call fcn.00403cb0
lea ecx, [ebp - 0xd4]
mov edx, 0x466a10
mov eax, dword [ebp - 8]
call fcn.00462208
mov edx, dword [ebp - 0xd4]
lea eax, [ebp - 0xa8]
call fcn.00403cb0
lea ecx, [ebp - 0xd8]
mov edx, 0x466a20
mov eax, dword [ebp - 8]
call fcn.00462208
mov edx, dword [ebp - 0xd8]
lea eax, [ebp - 0xbc]
call fcn.00403cb0
lea ecx, [ebp - 0x10]
mov edx, 0x466a30
mov eax, dword [ebp - 8]
call fcn.00462208
mov byte [ebp - 0x19], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466225
mov eax, dword [ebp - 8]
call fcn.00402eb4
ret
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0x46
jne 0x466697
test bl, bl
je 0x4668da
lea edx, [ebp - 0xec]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00408354
mov ecx, dword [ebp - 0xec]
lea eax, [ebp - 0xe8]
mov edx, 0x466b34
call fcn.00403ee4
mov edx, dword [ebp - 0xe8]
xor ecx, ecx
mov eax, dword [0x46cde0]
call fcn.00461eb4
jmp 0x4668da
lea eax, [ebp - 0xc4]
call fcn.004658f4
lea eax, [ebp - 0x14]
mov edx, dword [0x4687d4]
call fcn.00404f4c
lea eax, [ebp - 0x38]
xor ecx, ecx
mov edx, 0x1c
call fcn.00402ba0
lea eax, [ebp - 0x54]
xor ecx, ecx
mov edx, 0x1c
call fcn.00402ba0
mov byte [ebp - 0x19], 0
lea edx, [ebp - 0xf4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00408354
mov ecx, dword [ebp - 0xf4]
lea eax, [ebp - 0xf0]
mov edx, 0x466b5c
call fcn.00403ee4
mov edx, dword [ebp - 0xf0]
mov cl, 1
mov eax, dword [0x46cde0]
call fcn.00461eb4
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x466765
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
cmp dword [eax + 0xc], 0
jne 0x46674f
cmp dword [eax + 8], 1
jne 0x46674f
mov edx, 0x466b98
mov eax, dword [ebp - 8]
call fcn.004623b4
mov dword [ebp - 0x78], eax
mov edx, 0x466ba8
mov eax, dword [ebp - 8]
call fcn.004623b4
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x19], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46676c
mov eax, dword [ebp - 8]
call fcn.00402eb4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466947
lea eax, [ebp - 0xfc]
mov edx, 0xe
call fcn.00403c3c
lea eax, [ebp - 0xc4]
mov edx, dword [0x4657f4]
call fcn.004044bc
lea eax, [ebp - 0x54]
mov edx, dword [0x4687b4]
mov ecx, 2
call fcn.004044e8
lea eax, [ebp - 0x14]
mov edx, dword [0x4687d4]
call fcn.00404f4c
lea eax, [ebp - 0x10]
call fcn.00403c18
lea eax, [ebp - 0xc]
mov edx, dword [0x467500]
call fcn.00404f4c
ret