Function at 0x6e4a8c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x6e4a94
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x6e4ee7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x30c]
call fcn.004b9d34
mov eax, dword [ebx + 0x754]
call fcn.004b9d34
mov eax, dword [ebx + 0x30c]
call fcn.004db940
mov edx, 0x6e4efc
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebx + 0x754]
call fcn.004db940
mov edx, dword [ebx + 0x8a8]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebx + 0x498]
mov eax, dword [eax + 0x218]
cmp eax, 1
jne 0x6e4bf3
lea ecx, [ebp - 4]
mov edx, 0x6e51c8
mov eax, 0x6e51d4
call fcn.006a0278
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.00409bec
dec eax
jne 0x6e4b8a
mov eax, dword [ebx + 0x30c]
call fcn.004db940
push eax
push 0x6e51e4
push dword [ebx + 0x874]
push 0x6e520c
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404b70
mov edx, dword [ebp - 8]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx + 0x754]
call fcn.004db940
push eax
push 0x6e5258
push dword [ebx + 0x878]
push 0x6e527c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404b70
mov edx, dword [ebp - 0xc]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x6e4d27
mov eax, dword [ebx + 0x30c]
call fcn.004db940
push eax
push 0x6e5288
push dword [ebx + 0x874]
push 0x6e52b0
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404b70
mov edx, dword [ebp - 0x10]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx + 0x754]
call fcn.004db940
push eax
push 0x6e52fc
push dword [ebx + 0x878]
push 0x6e5324
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404b70
mov edx, dword [ebp - 0x14]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x6e4d27
cmp eax, 2
jne 0x6e4cea
lea ecx, [ebp - 0x18]
mov edx, 0x6e51c8
mov eax, 0x6e51d4
call fcn.006a0278
mov eax, dword [ebp - 0x18]
xor edx, edx
call fcn.00409bec
dec eax
jne 0x6e4c84
mov eax, dword [ebx + 0x30c]
call fcn.004db940
push eax
push 0x6e5330
push dword [ebx + 0x878]
push 0x6e52b0
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404b70
mov edx, dword [ebp - 0x1c]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx + 0x754]
call fcn.004db940
push eax
push 0x6e5358
push dword [ebx + 0x878]
push 0x6e5380
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404b70
mov edx, dword [ebp - 0x20]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x6e4d27
mov eax, dword [ebx + 0x30c]
call fcn.004db940
push eax
push 0x6e538c
push dword [ebx + 0x878]
push 0x6e53b0
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404b70
mov edx, dword [ebp - 0x24]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx + 0x754]
call fcn.004db940
push eax
push 0x6e53fc
push dword [ebx + 0x878]
push 0x6e5324
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00404b70
mov edx, dword [ebp - 0x28]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x6e4d27
mov eax, dword [ebx + 0x30c]
call fcn.004db940
push eax
push 0x6e5420
push dword [ebx + 0x878]
push 0x6e544c
push dword [ebx + 0x874]
push 0x6e5458
lea eax, [ebp - 0x2c]
mov edx, 5
call fcn.00404b70
mov edx, dword [ebp - 0x2c]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx + 0x30c]
call fcn.004db940
mov edx, 0x6e54a4
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x30]
mov eax, dword [ebx + 0x3d0]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x30]
push eax
mov edx, 0x6e54e4
mov eax, dword [ebx + 0x30c]
call fcn.004dafc4
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebx + 0x30c]
call fcn.004db940
lea edx, [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebx + 0x30c]
call fcn.004b9d28
mov eax, dword [ebx + 0x754]
call fcn.004db940
mov edx, 0x6e54f4
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x38]
mov eax, dword [ebx + 0x3d0]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x38]
push eax
mov edx, 0x6e5528
mov eax, dword [ebx + 0x754]
call fcn.004dafc4
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebx + 0x754]
call fcn.004b9d28
lea edx, [ebp - 0x3c]
mov eax, dword [ebx + 0x49c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
cmp dword [ebp - 0x3c], 0
je 0x6e4dea
mov eax, dword [ebx + 0x4d8]
mov byte [eax + 0x40], 1
jmp 0x6e4df4
mov eax, dword [ebx + 0x4d8]
mov byte [eax + 0x40], 0
lea edx, [ebp - 0x40]
mov eax, dword [ebx + 0x49c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
cmp dword [ebp - 0x40], 0
je 0x6e4e14
mov eax, dword [ebx + 0x4dc]
mov byte [eax + 0x40], 1
jmp 0x6e4e1e
mov eax, dword [ebx + 0x4dc]
mov byte [eax + 0x40], 0
mov eax, dword [ebx + 0x304]
call fcn.004bc0e8
test al, al
jne 0x6e4e3d
lea edx, [ebp - 0x44]
mov eax, ebx
call fcn.006e19cc
cmp dword [ebp - 0x44], 0
je 0x6e4e4c
xor edx, edx
mov eax, dword [ebx + 0x468]
mov ecx, dword [eax]
call dword [ecx + 0x64]
jmp 0x6e4e59
mov dl, 1
mov eax, dword [ebx + 0x468]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebx + 0x820]
call fcn.004b9d34
mov edx, 0x6e5538
mov eax, dword [ebx + 0x304]
call fcn.004bae30
lea edx, [ebp - 0x48]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x48]
push eax
mov edx, 0x6e5548
mov eax, dword [ebx + 0x820]
call fcn.004dafc4
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebx + 0x820]
call fcn.004b9d28
mov eax, dword [ebx + 0x820]
call fcn.004bc0e8
test al, al
jne 0x6e4ebf
mov dl, 1
mov eax, dword [ebx + 0x81c]
mov ecx, dword [eax]
call dword [ecx + 0x64]
jmp 0x6e4ecc
xor edx, edx
mov eax, dword [ebx + 0x81c]
mov ecx, dword [eax]
call dword [ecx + 0x64]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6e4eee
lea eax, [ebp - 0x48]
mov edx, 0x12
call fcn.00404804
ret