Function at 0xb2f51c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0xb2f8b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.004051ec
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x661654]
call fcn.00662c60
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x34]
mov eax, dword [ebp - 0x10]
call fcn.00692cf0
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x64fe28]
call fcn.006505ec
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.00672a4c
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x6633e4]
call fcn.00663758
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
call fcn.0068acc4
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x38]
xor eax, eax
push ebp
push 0xb2f88f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0xb2f81f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
cmp dword [eax + 0x10], 0
jne 0xb2f630
mov eax, dword [ebp - 0x14]
call fcn.00652ce4
mov edx, 0xb2f8cc
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x14]
call fcn.004e35a4
mov edx, 0xb2f8f4
mov eax, dword [ebp - 0x14]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x58]
inc eax
mov edx, dword [ebp - 8]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x10], 0
jne 0xb2f626
mov eax, dword [ebp - 8]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 0x14]
call fcn.004e35b0
jmp 0xb2f6a3
mov eax, dword [ebp - 0x14]
call fcn.00652ce4
mov edx, 0xb2f900
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, 0xb2f93c
mov eax, dword [ebp - 0x14]
call fcn.00652db0
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
call fcn.00682cb8
mov eax, dword [ebp - 0x14]
call fcn.004e35a4
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x14c]
test eax, eax
setg byte [ebp - 0x19]
mov eax, dword [ebp - 0x14]
call fcn.004e35b0
cmp byte [ebp - 0x19], 0
je 0xb2f6a3
mov eax, dword [ebp - 4]
add eax, 0x48
mov edx, 0xb2f950
call fcn.00405240
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00404bec
jmp 0xb2f896
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
jne 0xb2f6e6
mov eax, dword [ebp - 0x14]
call fcn.00652ce4
mov edx, 0xb2f978
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x14]
call fcn.004e35a4
mov edx, 0xb2f9b0
mov eax, dword [ebp - 0x14]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x58]
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x14]
call fcn.004e35b0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x80]
mov edx, 0xb2f9c0
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, 0xb2faa8
mov eax, dword [ebp - 0x18]
call fcn.0068b2b0
mov edx, dword [ebp - 8]
mov edx, dword [edx + 4]
call fcn.00682cb8
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov ecx, 0x50
mov edx, 1
call fcn.0040570c
mov eax, dword [ebp - 0x28]
push eax
mov edx, 0xb2fab8
mov eax, dword [ebp - 0x18]
call fcn.0068b2b0
pop edx
call fcn.0068332c
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
mov ecx, 0x19
mov edx, 1
call fcn.0040570c
mov eax, dword [ebp - 0x2c]
push eax
mov edx, 0xb2fad4
mov eax, dword [ebp - 0x18]
call fcn.0068b2b0
pop edx
call fcn.0068332c
mov edx, 0xb2f93c
mov eax, dword [ebp - 0x18]
call fcn.0068b2b0
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
call fcn.00682cb8
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
mov ecx, 0x19
mov edx, 1
call fcn.0040570c
mov eax, dword [ebp - 0x30]
push eax
mov edx, 0xb2faec
mov eax, dword [ebp - 0x18]
call fcn.0068b2b0
pop edx
call fcn.0068332c
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
mov ecx, 0x19
mov edx, 1
call fcn.0040570c
mov eax, dword [ebp - 0x34]
push eax
mov edx, 0xb2fb04
mov eax, dword [ebp - 0x18]
call fcn.0068b2b0
pop edx
call fcn.0068332c
mov edx, 0xb2fb1c
mov eax, dword [ebp - 0x18]
call fcn.0068b2b0
mov edx, dword [ebp - 8]
mov edx, dword [edx + 8]
call fcn.00682cb8
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x34]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x3c]
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0xb2f855
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb2f896
mov eax, dword [ebp - 0x10]
call fcn.006928a0
test al, al
je 0xb2f876
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 0x14]
call fcn.0040429c
mov eax, dword [ebp - 0x18]
call fcn.0040429c
mov eax, dword [ebp - 0x10]
call fcn.0040429c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb2f8b8
lea eax, [ebp - 0x34]
mov edx, 5
call fcn.00405210
ret