Function at 0x540db0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x540db8
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x541075
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x54108c
lea edx, [ebp - 0x20]
mov eax, dword [ebx + 0x348]
call fcn.00485264
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.00408d54
push dword [ebp - 0x1c]
push 0x541154
lea edx, [ebp - 0x28]
mov eax, dword [ebx + 0x354]
call fcn.00485264
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.00408d54
push dword [ebp - 0x24]
push 0x54116c
lea eax, [ebp - 4]
mov edx, 5
call fcn.00404958
lea edx, [ebp - 0x30]
mov eax, dword [ebx + 0x374]
call fcn.004461c8
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.00408d54
cmp dword [ebp - 0x2c], 0
je 0x540e71
push dword [ebp - 4]
push 0x541178
lea edx, [ebp - 0x34]
mov eax, dword [ebx + 0x374]
call fcn.004461c8
push dword [ebp - 0x34]
push 0x54116c
lea eax, [ebp - 4]
mov edx, 4
call fcn.00404958
lea eax, [ebp - 4]
mov edx, 0x541190
call fcn.004048a0
lea edx, [ebp - 0x3c]
mov eax, dword [ebx + 0x35c]
call fcn.004461c8
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.00408d54
cmp dword [ebp - 0x38], 0
je 0x540ed3
push dword [ebp - 4]
push 0x5411b0
lea edx, [ebp - 0x44]
mov eax, dword [ebx + 0x35c]
call fcn.004461c8
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
call fcn.00408d54
push dword [ebp - 0x40]
push 0x54116c
lea eax, [ebp - 4]
mov edx, 4
call fcn.00404958
push dword [ebp - 4]
push 0x5411cc
push 0x5411e8
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404958
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 0x540f73
mov esi, 1
lea eax, [ebp - 0x48]
push eax
mov ecx, esi
mov edx, 4
mov eax, dword [ebx + 0x360]
call fcn.004bc6bc
mov eax, dword [ebp - 0x48]
call fcn.0055c1b0
fadd qword [ebp - 0x10]
fstp qword [ebp - 0x10]
wait
lea eax, [ebp - 0x4c]
push eax
mov ecx, esi
mov edx, 5
mov eax, dword [ebx + 0x360]
call fcn.004bc6bc
mov eax, dword [ebp - 0x4c]
call fcn.0055c1b0
fadd qword [ebp - 0x18]
fstp qword [ebp - 0x18]
wait
inc esi
dec edi
jne 0x540f25
push 0x541204
fld qword [ebp - 0x10]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x54]
mov eax, 0x541214
call fcn.0040a820
push dword [ebp - 0x54]
push 0x541224
push 0x541234
fld qword [ebp - 0x18]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x58]
mov eax, 0x541214
call fcn.0040a820
push dword [ebp - 0x58]
push 0x541224
push 0x541244
fld qword [ebp - 0x10]
fadd qword [ebp - 0x18]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x5c]
mov eax, 0x541214
call fcn.0040a820
push dword [ebp - 0x5c]
push 0x541254
lea eax, [ebp - 0x50]
mov edx, 9
call fcn.00404958
mov edx, dword [ebp - 0x50]
mov eax, dword [ebx + 0x364]
call fcn.004461f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54107c
lea eax, [ebp - 0x5c]
mov edx, 6
call fcn.00404604
lea eax, [ebp - 0x44]
call fcn.004045e0
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]
mov edx, 2
call fcn.00404604
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]
call fcn.004045e0
lea eax, [ebp - 0x1c]
call fcn.004045e0
lea eax, [ebp - 4]
call fcn.004045e0
ret