Function at 0x6be6a8
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x6be6b0
push ebx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6bea12
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x244], 0
jne 0x6be6e2
mov eax, dword [ebp - 4]
add eax, 0x244
call fcn.00404c94
mov eax, dword [ebp - 4]
cmp dword [eax + 0x230], 0
jne 0x6be8b1
lea eax, [ebp - 0x14]
mov edx, dword [0x6f0198]
call fcn.00404ef8
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00409d4c
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov edx, 0x6bea28
call fcn.00404fbc
push 0x6beabc
lea eax, [ebp - 0x1c]
mov edx, dword [0x6f0198]
call fcn.00404ef8
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.00409d4c
push dword [ebp - 0x18]
push 0x6beb44
mov eax, dword [ebp - 4]
add eax, 0x234
mov edx, 3
call fcn.00405030
mov eax, dword [ebp - 4]
cmp byte [eax + 0x24c], 0
je 0x6be790
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 0x28], 0x41
mov byte [ebp - 0x24], 2
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x234]
xor ecx, ecx
call fcn.0040b41c
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0xc]
mov edx, 0x6beb50
call fcn.00404fbc
jmp 0x6be7bf
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 0x28], 0x41
mov byte [ebp - 0x24], 2
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x234]
xor ecx, ecx
call fcn.0040b41c
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0xc]
mov edx, 0x6bebc8
call fcn.00404fbc
mov eax, dword [ebp - 4]
cmp byte [eax + 0x24d], 0
je 0x6be801
push dword [ebp - 0xc]
push 0x6bec44
lea eax, [ebp - 0x34]
mov edx, dword [0x6f0660]
call fcn.00404ef8
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.00409d4c
push dword [ebp - 0x30]
push 0x6beb44
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.00405030
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x244]
call fcn.00409c78
cmp dword [ebp - 0x38], 0
je 0x6be836
push dword [ebp - 0xc]
push 0x6becb0
mov eax, dword [ebp - 4]
push dword [eax + 0x244]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405030
xor ecx, ecx
mov dl, 1
mov eax, dword [0x6aea18]
call fcn.006aedd0
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x230], ebx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x224]
mov eax, ebx
call fcn.006afc60
mov eax, dword [0x6f02e8]
mov eax, dword [eax]
mov edx, dword [eax + 0x58]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x230]
call fcn.006afc70
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x230]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x230]
mov edx, 0x6becc0
call fcn.006afdc8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x230]
mov edx, 0x6becd4
call fcn.006afdf0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x243], 0
je 0x6be90a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x230]
mov edx, 0x6bece4
call fcn.006afd8c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x230]
mov eax, dword [eax + 0x3c]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x230]
mov edx, 0x6becf4
call fcn.006afcc0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x230]
mov edx, 0x6bed08
call fcn.006afce8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x230]
xor edx, edx
call fcn.006afe94
mov eax, dword [ebp - 4]
cmp byte [eax + 0x241], 0
je 0x6be936
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x230]
mov dl, 1
call fcn.006afe94
mov eax, dword [ebp - 4]
cmp byte [eax + 0x242], 0
je 0x6be94f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x230]
mov byte [eax + 0x70], 1
mov dx, 0xfff5
mov eax, dword [ebp - 4]
call fcn.004875ac
xor eax, eax
push ebp
push 0x6be98f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x230]
call fcn.006afb60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6be996
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004875ac
ret