Function at 0x4ec8c0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x4ec8c9
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c50
mov eax, dword [ebp - 8]
call fcn.00404c50
mov eax, dword [ebp - 0xc]
call fcn.00404c50
mov eax, dword [ebp + 0x3c]
call fcn.00404c50
mov eax, dword [ebp + 0x38]
call fcn.00404c50
xor eax, eax
push ebp
push 0x4ecd5f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4ecd23
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x521338], 0
jne 0x4ec952
xor edx, edx
mov eax, 0x4ecd78
call fcn.004ec5b8
test al, al
jne 0x4ec952
mov eax, 0x4ecd88
call fcn.00438228
mov byte [ebp - 0xd], 0
call fcn.004041e8
jmp 0x4ecd2a
lea edx, [ebp - 0x20]
mov eax, dword [ebp + 0x38]
call fcn.00408e7c
mov edx, dword [ebp - 0x20]
lea eax, [ebp + 0x38]
call fcn.00404838
cmp dword [ebp + 0x3c], 0
je 0x4ec9c7
cmp dword [ebp + 0x38], 0
je 0x4ec9c7
mov eax, dword [ebp + 0x38]
mov edx, 0x4ecda8
call fcn.00404bac
je 0x4ec9c7
push 0x4ecdb8
push dword [ebp + 0x38]
push 0x4ecdf4
push dword [ebp - 0xc]
push 0x4ece14
push dword [ebp - 4]
push 0x4ece30
push dword [ebp - 8]
push 0x4ece48
push dword [ebp + 0x3c]
push 0x4ece64
push 0x4ece70
lea eax, [ebp - 0x18]
mov edx, 0xc
call fcn.00404b20
jmp 0x4ecab2
cmp dword [ebp + 0x3c], 0
jne 0x4eca11
cmp dword [ebp + 0x38], 0
je 0x4ec9e2
mov eax, dword [ebp + 0x38]
mov edx, 0x4ecda8
call fcn.00404bac
jne 0x4eca11
push 0x4ece9c
push dword [ebp - 0xc]
push 0x4ece14
push dword [ebp - 4]
push 0x4ece30
push dword [ebp - 8]
push 0x4ece70
lea eax, [ebp - 0x18]
mov edx, 7
call fcn.00404b20
jmp 0x4ecab2
cmp dword [ebp + 0x3c], 0
jne 0x4eca60
cmp dword [ebp + 0x38], 0
je 0x4eca60
mov eax, dword [ebp + 0x38]
mov edx, 0x4ecda8
call fcn.00404bac
je 0x4eca60
push 0x4ecdb8
push dword [ebp + 0x38]
push 0x4ecdf4
push dword [ebp - 0xc]
push 0x4ece14
push dword [ebp - 4]
push 0x4ece30
push dword [ebp - 8]
push 0x4eced4
lea eax, [ebp - 0x18]
mov edx, 9
call fcn.00404b20
jmp 0x4ecab2
cmp dword [ebp + 0x3c], 0
je 0x4ecab2
cmp dword [ebp + 0x38], 0
je 0x4eca7b
mov eax, dword [ebp + 0x38]
mov edx, 0x4ecda8
call fcn.00404bac
jne 0x4ecab2
push 0x4ecf04
push dword [ebp - 0xc]
push 0x4ece14
push dword [ebp - 4]
push 0x4ece30
push dword [ebp - 8]
push 0x4ece48
push dword [ebp + 0x3c]
push 0x4ece64
push 0x4ece70
lea eax, [ebp - 0x18]
mov edx, 0xa
call fcn.00404b20
mov edx, dword [ebp - 0x18]
mov eax, dword [0x521338]
call fcn.004e4724
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
call fcn.004e4ebc
test eax, eax
jle 0x4ecd09
mov edx, 0x4ecf3c
mov eax, dword [ebp - 0x14]
call fcn.004e4ecc
mov edx, eax
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
call fcn.004e546c
mov edx, 0x4ecf4c
mov eax, dword [ebp - 0x14]
call fcn.004e4ecc
mov edx, eax
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0x14]
call fcn.004e546c
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp + 0x24]
call fcn.004047f4
mov edx, 0x4ecf5c
mov eax, dword [ebp - 0x14]
call fcn.004e4ecc
mov edx, eax
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x14]
call fcn.004e546c
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp + 0x2c]
call fcn.004047f4
lea eax, [ebp - 0x18]
mov edx, 0x4ecf70
call fcn.00404838
push dword [ebp - 0x18]
push 0x4ed044
push dword [ebp - 0x1c]
push 0x4ed054
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00404b20
mov edx, dword [ebp - 0x18]
mov eax, dword [0x521338]
call fcn.004e4724
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
call fcn.004e4ebc
test eax, eax
jle 0x4ecd03
mov edx, 0x4ed080
mov eax, dword [ebp - 0x14]
call fcn.004e4ecc
mov edx, eax
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
call fcn.004e546c
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp + 0x34]
call fcn.004047f4
mov edx, 0x4ed090
mov eax, dword [ebp - 0x14]
call fcn.004e4ecc
mov edx, eax
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 0x14]
call fcn.004e546c
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp + 0x30]
call fcn.004047f4
mov edx, 0x4ed0a4
mov eax, dword [ebp - 0x14]
call fcn.004e4ecc
mov edx, eax
lea ecx, [ebp - 0x34]
mov eax, dword [ebp - 0x14]
call fcn.004e546c
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp + 0x20]
call fcn.004047f4
mov edx, 0x4ed0b4
mov eax, dword [ebp - 0x14]
call fcn.004e4ecc
mov edx, eax
lea ecx, [ebp - 0x3c]
mov eax, dword [ebp - 0x14]
call fcn.004e546c
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.004ec4cc
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp + 0x1c]
call fcn.004047f4
mov edx, 0x4ed0c4
mov eax, dword [ebp - 0x14]
call fcn.004e4ecc
mov edx, eax
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 0x14]
call fcn.004e546c
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp + 0x28]
call fcn.004047f4
mov edx, 0x4ed0dc
mov eax, dword [ebp - 0x14]
call fcn.004e4ecc
mov edx, eax
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 0x14]
call fcn.004e546c
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp + 0x18]
call fcn.004047f4
mov edx, 0x4ed0f0
mov eax, dword [ebp - 0x14]
call fcn.004e4ecc
mov edx, eax
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0x14]
call fcn.004e546c
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 0x14]
call fcn.004047f4
mov edx, 0x4ed100
mov eax, dword [ebp - 0x14]
call fcn.004e4ecc
mov edx, eax
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp - 0x14]
call fcn.004e546c
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 0x10]
call fcn.004047f4
mov edx, 0x4ed114
mov eax, dword [ebp - 0x14]
call fcn.004e4ecc
mov edx, eax
lea ecx, [ebp - 0x50]
mov eax, dword [ebp - 0x14]
call fcn.004e546c
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 0xc]
call fcn.004047f4
mov edx, 0x4ed128
mov eax, dword [ebp - 0x14]
call fcn.004e4ecc
mov edx, eax
lea ecx, [ebp - 0x54]
mov eax, dword [ebp - 0x14]
call fcn.004e546c
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp + 8]
call fcn.004047f4
mov byte [ebp - 0xd], 1
jmp 0x4ecd0d
mov byte [ebp - 0xd], 0
jmp 0x4ecd0d
mov byte [ebp - 0xd], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ecd2a
mov eax, dword [ebp - 0x14]
call fcn.00403970
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ecd66
lea eax, [ebp - 0x54]
mov edx, 0x10
call fcn.004047c4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004047c4
lea eax, [ebp + 0x38]
mov edx, 2
call fcn.004047c4
ret