Function at 0x65fd98
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x65fda0
push ecx
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x660078
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x66a0d8]
mov eax, dword [eax]
xor edx, edx
call fcn.00466a18
mov eax, dword [eax + 8]
mov edx, 0x660090
call fcn.00404f34
jne 0x65fde7
mov eax, 0x6600a4
call fcn.00661d7c
jmp 0x660042
push 0x6600c4
mov eax, dword [0x66a0d8]
mov eax, dword [eax]
xor edx, edx
call fcn.00466a18
lea edx, [ebp - 0xc]
call fcn.00448cdc
push dword [ebp - 0xc]
push 0x6600d0
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404eb0
mov eax, dword [ebp - 8]
call fcn.00661e0c
test al, al
je 0x660042
lea eax, [ebp - 4]
mov edx, 0x6600f4
call fcn.00404bd0
mov eax, dword [0x669de8]
mov eax, dword [eax]
mov ebx, dword [eax + 0x5c]
mov eax, ebx
call fcn.00483d8c
mov eax, ebx
call fcn.004d882c
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
call fcn.004d6c60
mov edx, 0x660134
call fcn.004ced68
push eax
lea eax, [ebp - 0x1c]
mov edx, dword [esi + 0x45c]
call fcn.00405bc0
lea edx, [ebp - 0x1c]
pop eax
call fcn.004d0010
mov eax, dword [0x66a0d8]
mov eax, dword [eax]
xor edx, edx
call fcn.00466a18
mov edx, dword [eax + 8]
lea eax, [ebp - 0x2c]
call fcn.00405bc0
lea eax, [ebp - 0x2c]
push eax
mov eax, ebx
call fcn.004d6c60
mov edx, 0x660140
call fcn.004ced68
pop edx
call fcn.004d0010
mov eax, ebx
call fcn.00483d80
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14c]
test eax, eax
jne 0x65fed5
mov eax, 0x660154
call fcn.00661d7c
jmp 0x660042
mov edx, 0x660184
mov eax, ebx
call fcn.00484d94
mov edx, dword [eax]
call dword [edx + 0x58]
mov edi, eax
xor eax, eax
push ebp
push 0x66001f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x669de8]
mov eax, dword [eax]
mov eax, dword [eax + 0x58]
call fcn.004ccc18
lea eax, [ebp - 4]
mov edx, 0x660190
call fcn.00404bd0
mov eax, dword [0x669de8]
mov eax, dword [eax]
mov ebx, dword [eax + 0x5c]
mov eax, ebx
call fcn.004d882c
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
call fcn.004d6c60
mov edx, 0x660134
call fcn.004ced68
push eax
lea eax, [ebp - 0x3c]
mov edx, dword [esi + 0x45c]
call fcn.00405bc0
lea edx, [ebp - 0x3c]
pop eax
call fcn.004d0010
mov eax, ebx
call fcn.004d6c60
mov edx, 0x6601c4
call fcn.004ced68
push eax
lea eax, [ebp - 0x4c]
mov edx, edi
mov cl, 0xfc
call fcn.00405b7c
lea edx, [ebp - 0x4c]
pop eax
call fcn.004d0010
mov eax, ebx
call fcn.004d8754
lea eax, [ebp - 4]
mov edx, 0x6601d4
call fcn.00404bd0
mov eax, dword [0x669de8]
mov eax, dword [eax]
mov ebx, dword [eax + 0x5c]
mov eax, ebx
call fcn.004d882c
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
call fcn.004d6c60
mov edx, 0x660134
call fcn.004ced68
push eax
lea eax, [ebp - 0x5c]
mov edx, dword [esi + 0x45c]
call fcn.00405bc0
lea edx, [ebp - 0x5c]
pop eax
call fcn.004d0010
mov eax, ebx
call fcn.004d6c60
mov edx, 0x6601c4
call fcn.004ced68
push eax
lea eax, [ebp - 0x6c]
mov edx, edi
mov cl, 0xfc
call fcn.00405b7c
lea edx, [ebp - 0x6c]
pop eax
call fcn.004d0010
mov eax, ebx
call fcn.004d8754
mov eax, dword [0x669de8]
mov eax, dword [eax]
mov eax, dword [eax + 0x58]
call fcn.004ccc38
mov eax, esi
call fcn.0065a748
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x660042
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x66007f
lea eax, [ebp - 0x6c]
mov edx, dword [0x40113c]
mov ecx, 6
call fcn.0040572c
lea eax, [ebp - 0xc]
call fcn.00404b38
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404b5c
ret