Function at 0x5526d0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x5526d8
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x552a12
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, 0x552a28
call fcn.00404678
mov eax, dword [ebx + 0x37c]
mov edx, dword [eax]
call dword [edx + 0xc4]
test al, al
je 0x55271e
lea eax, [ebp - 8]
mov edx, 0x552a34
call fcn.004048a0
mov eax, dword [ebx + 0x380]
mov edx, dword [eax]
call dword [edx + 0xc4]
test al, al
je 0x55273d
lea eax, [ebp - 8]
mov edx, 0x552a44
call fcn.004048a0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 8]
call fcn.00404898
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00404af0
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
mov ecx, 0x552a54
call fcn.004048e4
push 0x552a60
lea edx, [ebp - 0x24]
mov eax, dword [ebx + 0x348]
call fcn.00485264
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408d54
push dword [ebp - 0x20]
push 0x552b50
lea edx, [ebp - 0x2c]
mov eax, dword [ebx + 0x354]
call fcn.00485264
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.00408d54
push dword [ebp - 0x28]
push 0x552b68
push 0x552b74
push dword [ebp - 8]
push 0x552b8c
push 0x552b98
push 0x552bb8
lea eax, [ebp - 4]
mov edx, 0xa
call fcn.00404958
lea edx, [ebp - 0x34]
mov eax, dword [ebx + 0x35c]
call fcn.004461c8
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.00408d54
cmp dword [ebp - 0x30], 0
je 0x552829
push dword [ebp - 4]
push 0x552bd8
lea edx, [ebp - 0x3c]
mov eax, dword [ebx + 0x35c]
call fcn.004461c8
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.00408d54
push dword [ebp - 0x38]
push 0x552bf4
lea eax, [ebp - 4]
mov edx, 4
call fcn.00404958
lea edx, [ebp - 0x44]
mov eax, dword [ebx + 0x374]
call fcn.004461c8
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
call fcn.00408d54
cmp dword [ebp - 0x40], 0
je 0x552873
push dword [ebp - 4]
push 0x552c00
lea edx, [ebp - 0x48]
mov eax, dword [ebx + 0x374]
call fcn.004461c8
push dword [ebp - 0x48]
push 0x552b68
lea eax, [ebp - 4]
mov edx, 4
call fcn.00404958
lea eax, [ebp - 4]
mov edx, 0x552c18
call fcn.004048a0
push 0
xor ecx, ecx
mov edx, dword [ebx + 0x360]
mov eax, dword [ebp - 4]
call fcn.0055bc44
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x360]
mov edi, dword [eax + 0x24c]
dec edi
test edi, edi
jle 0x552906
mov esi, 1
lea eax, [ebp - 0x4c]
push eax
mov ecx, esi
mov edx, 7
mov eax, dword [ebx + 0x360]
call fcn.004bc6bc
mov eax, dword [ebp - 0x4c]
call fcn.0055c1b0
fadd qword [ebp - 0x10]
fstp qword [ebp - 0x10]
wait
lea eax, [ebp - 0x50]
push eax
mov ecx, esi
mov edx, 8
mov eax, dword [ebx + 0x360]
call fcn.004bc6bc
mov eax, dword [ebp - 0x50]
call fcn.0055c1b0
fadd qword [ebp - 0x18]
fstp qword [ebp - 0x18]
wait
inc esi
dec edi
jne 0x5528b8
push 0x552c34
fld qword [ebp - 0x10]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x58]
mov eax, 0x552c48
call fcn.0040a820
push dword [ebp - 0x58]
push 0x552c58
push 0x552c68
fld qword [ebp - 0x18]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x5c]
mov eax, 0x552c48
call fcn.0040a820
push dword [ebp - 0x5c]
push 0x552c58
push 0x552c78
fld qword [ebp - 0x10]
fadd qword [ebp - 0x18]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x60]
mov eax, 0x552c48
call fcn.0040a820
push dword [ebp - 0x60]
push 0x552c8c
lea eax, [ebp - 0x54]
mov edx, 9
call fcn.00404958
mov edx, dword [ebp - 0x54]
mov eax, dword [ebx + 0x378]
call fcn.004461f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x552a19
lea eax, [ebp - 0x60]
mov edx, 6
call fcn.00404604
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404604
lea eax, [ebp - 0x40]
call fcn.004045e0
lea eax, [ebp - 0x3c]
call fcn.004045e0
lea eax, [ebp - 0x38]
call fcn.004045e0
lea eax, [ebp - 0x34]
call fcn.004045e0
lea eax, [ebp - 0x30]
call fcn.004045e0
lea eax, [ebp - 0x2c]
call fcn.004045e0
lea eax, [ebp - 0x28]
call fcn.004045e0
lea eax, [ebp - 0x24]
call fcn.004045e0
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00404604
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404604
ret