Function at 0x5ec9ac
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x5ec9b5
xchg dword [ebp - 4], ecx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404f48
xor eax, eax
push ebp
push 0x5ecd71
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.005ed3b4
mov al, byte [eax + 0x48]
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 4]
call fcn.005ed3b4
mov byte [eax + 0x48], 0
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x57c980]
call fcn.004ffbcc
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x5ecd24
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
call fcn.00404a88
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov ebx, eax
cmp ebx, 0x3eb
jne 0x5ecac1
lea eax, [ebp - 0x14]
call fcn.00404a88
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov ebx, eax
cmp ebx, 0x82
jne 0x5eca91
lea eax, [ebp - 0x14]
call fcn.00404a88
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov ebx, eax
cmp ebx, 0x3fc
jne 0x5eca87
lea eax, [ebp - 0x14]
call fcn.00404a88
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov ebx, eax
jmp 0x5eca91
call fcn.004044b0
jmp 0x5ecd2b
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x14]
call fcn.00409580
mov eax, dword [ebp - 0x20]
mov edx, 0x5ecd88
call fcn.00404ea4
jne 0x5ecae9
lea eax, [ebp - 0x14]
call fcn.00404a88
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov ebx, eax
jmp 0x5ecae9
cmp ebx, 0x3e8
jne 0x5ecadf
lea eax, [ebp - 0x14]
call fcn.00404a88
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov ebx, eax
jmp 0x5ecae9
call fcn.004044b0
jmp 0x5ecd2b
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x14]
call fcn.00409580
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x14]
call fcn.00404b20
cmp ebx, 0x3f7
je 0x5ecb41
cmp ebx, 0x3f2
je 0x5ecb41
cmp ebx, 0x3fe
je 0x5ecb41
cmp ebx, 0x3f4
je 0x5ecb41
mov eax, dword [ebp - 0x14]
mov edx, 0x5ecd98
call fcn.00404ea4
je 0x5ecb41
mov eax, dword [ebp - 0x14]
mov edx, 0x5ecda8
call fcn.00404ea4
jne 0x5ecd00
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.00404b20
lea eax, [ebp - 0x14]
call fcn.00404a88
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov ebx, eax
cmp ebx, 0x3e9
jne 0x5ecba1
mov eax, dword [ebp - 0x18]
mov edx, 0x5ecdb8
call fcn.00404ea4
jne 0x5ecba1
push dword [ebp - 0x18]
push 0x5ecdc8
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404e18
lea eax, [ebp - 0x14]
call fcn.00404a88
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
call fcn.00404b20
lea eax, [ebp - 0x14]
call fcn.00404a88
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x14]
mov edx, 0x5ecdd4
call fcn.00404ea4
jne 0x5ecbea
lea eax, [ebp - 0x14]
call fcn.00404a88
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
call fcn.00404b20
push 1
lea eax, [ebp - 0x28]
push eax
mov eax, dword [0x6440bc]
mov eax, dword [eax]
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
call fcn.00404b20
mov eax, dword [ebp - 4]
call fcn.005ed3b4
mov edx, 0x5ecde0
call fcn.005f6e1c
mov eax, dword [ebp - 4]
call fcn.005ed3b4
push eax
lea eax, [ebp - 0x38]
xor edx, edx
call fcn.00416498
lea ecx, [ebp - 0x38]
mov edx, 0x5ed130
pop eax
call fcn.00577580
mov eax, dword [ebp - 4]
call fcn.005ed3b4
push eax
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x1c]
call fcn.00416498
lea ecx, [ebp - 0x48]
mov edx, 0x5ed13c
pop eax
call fcn.00577580
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0x18]
call fcn.00409580
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
call fcn.00416498
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.005ed3b4
mov edx, 0x5ed14c
pop ecx
call fcn.00577580
mov eax, dword [ebp - 4]
call fcn.005ed3b4
mov edx, 0x5ed130
call fcn.005f6d3c
mov dl, 2
call fcn.004f2e70
mov eax, dword [ebp - 4]
call fcn.005ed3b4
mov edx, 0x5ed130
call fcn.005f6d3c
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 4]
call fcn.005ed3b4
mov edx, dword [eax]
call dword [edx + 0xc4]
mov eax, dword [ebp - 4]
call fcn.005ed3b4
lea ecx, [ebp - 0x6c]
mov edx, 0x5ed130
call fcn.0057752c
lea eax, [ebp - 0x6c]
mov edx, esi
call fcn.004183d0
cmp dword [esi], 0
jne 0x5ecd00
mov eax, esi
mov edx, 0x5ed15c
call fcn.00404adc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ecd2b
mov eax, dword [ebp - 0xc]
call fcn.00403b74
mov eax, dword [ebp - 4]
call fcn.005ed3b4
mov dl, byte [ebp - 0xd]
mov byte [eax + 0x48], dl
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ecd78
lea eax, [ebp - 0x6c]
call fcn.00411e40
lea eax, [ebp - 0x5c]
call fcn.00404a88
lea eax, [ebp - 0x58]
mov edx, dword [0x401144]
mov ecx, 3
call fcn.00405840
lea eax, [ebp - 0x28]
mov edx, 6
call fcn.00404aac
lea eax, [ebp - 8]
call fcn.00404a88
ret