Function at 0x4cd02c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x4cd034
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x2c], eax
xor eax, eax
push ebp
push 0x4cd3af
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
push ebp
push 0x4cd370
push dword fs:[ecx]
mov dword fs:[ecx], esp
lea eax, [ebp - 4]
call fcn.00478a8c
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00478db0
cmp dword [ebp - 8], 0
je 0x4cd0ae
xor eax, eax
push ebp
push 0x4cd0a4
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.004b8e7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cd0ae
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x4cd3cc
mov edx, 0x4cd3f4
mov eax, 0x80000002
call fcn.00462994
test al, al
je 0x4cd366
lea eax, [ebp - 0x10]
mov ecx, 0x4cd430
mov edx, dword [ebp - 0xc]
call fcn.00408b50
mov eax, dword [ebp - 0x10]
call fcn.004703e0
test al, al
je 0x4cd366
xor ecx, ecx
push ebp
push 0x4cd35c
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 [0x4c2174]
call fcn.004c58bc
mov dword [ebp - 0x30], eax
xor ecx, ecx
push ebp
push 0x4cd34b
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov edx, 0x4cd460
mov eax, dword [ebp - 0x30]
call fcn.004c5f90
mov ebx, eax
cmp dword [ebx + 8], 0
jbe 0x4cd335
lea ecx, [ebp - 0x20]
mov edx, 0x4cd4e0
mov eax, ebx
call fcn.004c6eb4
mov edx, 0x4cd4fc
mov eax, dword [ebp - 0x30]
call fcn.004c5df4
cmp dword [ebp - 0x2c], 0
je 0x4cd2eb
lea eax, [ebp - 0x14]
mov edx, 0x4cd5c4
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 0x4cd2eb
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 0x4cd2e3
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 0x4cd1d0
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, 0x4cd61c
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, 0x4cd630
call fcn.00408e6c
dec eax
jne 0x4cd2eb
lea eax, [ebp - 0x18]
mov ecx, 1
mov edx, 1
call fcn.00408d08
mov edx, dword [ebp - 0x18]
mov eax, 0x4cd640
call fcn.00408e6c
test eax, eax
jle 0x4cd2eb
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x4cd24f
sub edx, 4
mov edx, dword [edx]
lea ecx, [ebp - 0x18]
xchg ecx, eax
xchg ecx, edx
call fcn.00408d08
movzx eax, byte [0x4cd648]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x4cd658
mov edx, 0x4cd66c
mov eax, 0x4cd67c
call fcn.00424ccc
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.00408e6c
test eax, eax
jne 0x4cd2eb
cmp dword [ebp - 0x18], 0
je 0x4cd29c
lea eax, [ebp - 0x18]
mov edx, 0x4cd6bc
call fcn.00408af8
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push 0x4cd6cc
push dword [ebp - 0x20]
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00408bd8
push dword [ebp - 0x14]
push 0x4cd630
push dword [ebp - 0x18]
push 0x4cd640
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 0x4cd2eb
inc ebx
dec esi
jne 0x4cd184
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0xc]
call fcn.004248f4
push dword [ebp - 0x4c]
push 0x4cd6dc
push 0x4cd67c
push 0x4cd700
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00408bd8
mov eax, dword [ebp - 0x24]
call fcn.004703e0
test al, al
je 0x4cd335
call fcn.00420dc4
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp - 0x24]
call fcn.004ccf90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cd352
mov eax, dword [ebp - 0x30]
call fcn.00405e74
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cd37a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cd3b6
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