Function at 0x56d550
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x56d558
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ca0
xor eax, eax
push ebp
push 0x56d8b7
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4b04f4]
call fcn.004bcf8c
mov ebx, eax
mov eax, ebx
call fcn.004bd110
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [0x578948]
mov eax, dword [eax]
mov edx, dword [eax + 0x58]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x26c]
mov eax, ebx
call fcn.004bd110
mov edx, 0x56d8d0
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
call fcn.004bb454
mov edx, 0x56d944
call fcn.004b35d8
push eax
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 4]
call fcn.00416390
lea edx, [ebp - 0x1c]
pop eax
call fcn.004b485c
mov eax, ebx
call fcn.004bb454
mov edx, 0x56d94c
call fcn.004b35d8
push eax
lea eax, [ebp - 0x2c]
mov edx, 0x56d958
call fcn.00416390
lea edx, [ebp - 0x2c]
pop eax
call fcn.004b485c
mov eax, ebx
call fcn.004bb454
mov edx, 0x56d964
call fcn.004b35d8
push eax
lea eax, [ebp - 0x3c]
mov edx, 0x56d970
call fcn.00416390
lea edx, [ebp - 0x3c]
pop eax
call fcn.004b485c
mov eax, ebx
call fcn.004bb454
mov edx, 0x56d97c
call fcn.004b35d8
push eax
lea eax, [ebp - 0x4c]
mov edx, 0x56d988
call fcn.00416390
lea edx, [ebp - 0x4c]
pop eax
call fcn.004b485c
mov eax, ebx
call fcn.004a50c4
mov eax, dword [0x57803c]
xor edx, edx
mov dword [eax], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14c]
mov edx, dword [0x577eb4]
mov dword [edx], eax
mov eax, dword [0x577eb4]
mov eax, dword [eax]
push eax
mov eax, dword [0x578574]
mov ecx, 1
mov edx, dword [0x4d0c54]
call fcn.00406040
add esp, 4
mov eax, dword [0x577eb4]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004a75f4
xor edi, edi
lea eax, [ebp - 0xc]
call fcn.004047f0
mov eax, dword [0x577eb4]
cmp dword [eax], 0
jle 0x56d869
jmp 0x56d85c
lea eax, [edi + edi*8]
mov edx, dword [0x578574]
mov edx, dword [edx]
lea esi, [edx + eax*8]
mov edx, 0x56d998
mov eax, ebx
call fcn.004a61cc
lea edx, [ebp - 0x50]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x50]
lea eax, [esi + 8]
call fcn.00404844
mov eax, dword [ebp - 0xc]
mov edx, dword [esi + 8]
call fcn.00404bfc
je 0x56d855
inc edi
lea eax, [ebp - 0xc]
mov edx, dword [esi + 8]
call fcn.00404888
mov edx, 0x56d9a8
mov eax, ebx
call fcn.004a61cc
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [esi], eax
mov edx, 0x56d9b4
mov eax, ebx
call fcn.004a61cc
lea edx, [ebp - 0x54]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x54]
lea eax, [esi + 4]
call fcn.00404844
mov edx, 0x56d9c8
mov eax, ebx
call fcn.004a61cc
lea edx, [ebp - 0x58]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x58]
lea eax, [esi + 0xc]
call fcn.00404844
mov edx, 0x56d9d4
mov eax, ebx
call fcn.004a61cc
lea edx, [ebp - 0x5c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x5c]
lea eax, [esi + 0x10]
call fcn.00404844
mov edx, 0x56d9e4
mov eax, ebx
call fcn.004a61cc
lea edx, [ebp - 0x60]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x60]
lea eax, [esi + 0x14]
call fcn.00404844
mov edx, 0x56d9f0
mov eax, ebx
call fcn.004a61cc
mov edx, dword [eax]
call dword [edx + 0x50]
fstp qword [esi + 0x18]
wait
mov edx, 0x56da04
mov eax, ebx
call fcn.004a61cc
mov edx, dword [eax]
call dword [edx + 0x50]
fstp qword [esi + 0x20]
wait
mov edx, 0x56da14
mov eax, ebx
call fcn.004a61cc
lea edx, [ebp - 0x64]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x64]
lea eax, [esi + 0x30]
call fcn.00404844
mov edx, 0x56da24
mov eax, ebx
call fcn.004a61cc
mov edx, dword [eax]
call dword [edx + 0x4c]
fistp qword [esi + 0x38]
wait
mov edx, 0x56da34
mov eax, ebx
call fcn.004a61cc
mov edx, dword [eax]
call dword [edx + 0x4c]
fistp qword [esi + 0x40]
wait
mov edx, 0x56da44
mov eax, ebx
call fcn.004a61cc
lea edx, [ebp - 0x68]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x68]
lea eax, [esi + 0x2c]
call fcn.00404844
mov edx, 0x56da54
mov eax, ebx
call fcn.004a61cc
lea edx, [ebp - 0x6c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x6c]
lea eax, [esi + 0x28]
call fcn.00404844
mov eax, ebx
call fcn.004a790c
cmp byte [ebx + 0xa1], 0
je 0x56d6cb
mov dl, 1
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 4]
mov eax, dword [0x577eb4]
mov dword [eax], edi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56d8be
lea eax, [ebp - 0x6c]
mov edx, 8
call fcn.00404814
lea eax, [ebp - 0x4c]
mov edx, dword [0x40112c]
mov ecx, 4
call fcn.00405574
lea eax, [ebp - 0xc]
call fcn.004047f0
lea eax, [ebp - 4]
call fcn.004047f0
ret