Function at 0x4ccd54
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x4ccd5c
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x2c], eax
xor eax, eax
push ebp
push 0x4cd0d7
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
push ebp
push 0x4cd098
push dword fs:[ecx]
mov dword fs:[ecx], esp
lea eax, [ebp - 4]
call fcn.00478a88
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00478dac
cmp dword [ebp - 8], 0
je 0x4ccdd6
xor eax, eax
push ebp
push 0x4ccdcc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4e96ac]
mov edx, dword [ebp - 8]
call fcn.00407e40
mov eax, dword [ebp - 8]
call fcn.004b8ba4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ccdd6
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x4cd0f4
mov edx, 0x4cd11c
mov eax, 0x80000002
call fcn.00462990
test al, al
je 0x4cd08e
lea eax, [ebp - 0x10]
mov ecx, 0x4cd158
mov edx, dword [ebp - 0xc]
call fcn.00408b50
mov eax, dword [ebp - 0x10]
call fcn.004703dc
test al, al
je 0x4cd08e
xor ecx, ecx
push ebp
push 0x4cd084
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0
push 0
push 0
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x4c1e9c]
call fcn.004c55e4
mov dword [ebp - 0x30], eax
xor ecx, ecx
push ebp
push 0x4cd073
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov edx, 0x4cd188
mov eax, dword [ebp - 0x30]
call fcn.004c5cb8
mov ebx, eax
cmp dword [ebx + 8], 0
jbe 0x4cd05d
lea ecx, [ebp - 0x20]
mov edx, 0x4cd208
mov eax, ebx
call fcn.004c6bdc
mov edx, 0x4cd224
mov eax, dword [ebp - 0x30]
call fcn.004c5b1c
cmp dword [ebp - 0x2c], 0
je 0x4cd013
lea eax, [ebp - 0x14]
mov edx, 0x4cd2ec
call fcn.00407e88
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x4cd013
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x34]
mov edx, ebx
mov eax, dword [ebp - 0x2c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
call fcn.00408e6c
test eax, eax
jle 0x4cd00b
lea ecx, [ebp - 0x28]
mov edx, ebx
mov eax, dword [ebp - 0x2c]
mov esi, dword [eax]
call dword [esi + 0xc]
lea ecx, [ebp - 0x38]
mov edx, ebx
mov eax, dword [ebp - 0x2c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x4ccef8
sub esi, 4
mov esi, dword [esi]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x44]
mov edx, ebx
mov eax, dword [ebp - 0x2c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x44]
mov eax, 0x4cd344
call fcn.00408e6c
mov edx, eax
add edx, 2
mov ecx, esi
mov eax, dword [ebp - 0x28]
call fcn.00408cc0
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x18]
call fcn.0041d054
mov edx, dword [ebp - 0x18]
mov eax, 0x4cd358
call fcn.00408e6c
dec eax
jne 0x4cd013
lea eax, [ebp - 0x18]
mov ecx, 1
mov edx, 1
call fcn.00408d08
mov edx, dword [ebp - 0x18]
mov eax, 0x4cd368
call fcn.00408e6c
test eax, eax
jle 0x4cd013
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x4ccf77
sub edx, 4
mov edx, dword [edx]
lea ecx, [ebp - 0x18]
xchg ecx, eax
xchg ecx, edx
call fcn.00408d08
movzx eax, byte [0x4cd370]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x4cd380
mov edx, 0x4cd394
mov eax, 0x4cd3a4
call fcn.00424ccc
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.00408e6c
test eax, eax
jne 0x4cd013
cmp dword [ebp - 0x18], 0
je 0x4ccfc4
lea eax, [ebp - 0x18]
mov edx, 0x4cd3e4
call fcn.00408af8
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push 0x4cd3f4
push dword [ebp - 0x20]
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00408bd8
push dword [ebp - 0x14]
push 0x4cd358
push dword [ebp - 0x18]
push 0x4cd368
lea eax, [ebp - 0x48]
mov edx, 4
call fcn.00408bd8
mov ecx, dword [ebp - 0x48]
mov edx, ebx
mov eax, dword [ebp - 0x2c]
mov esi, dword [eax]
call dword [esi + 0x20]
jmp 0x4cd013
inc ebx
dec esi
jne 0x4cceac
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0xc]
call fcn.004248f4
push dword [ebp - 0x4c]
push 0x4cd404
push 0x4cd3a4
push 0x4cd428
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00408bd8
mov eax, dword [ebp - 0x24]
call fcn.004703dc
test al, al
je 0x4cd05d
call fcn.00420dc4
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp - 0x24]
call fcn.004cccb8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cd07a
mov eax, dword [ebp - 0x30]
call fcn.00405e74
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cd0a2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cd0de
lea eax, [ebp - 0x4c]
mov edx, 4
call fcn.00407ac0
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.00407ac0
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.00407ac0
ret