Function at 0x56de7c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x56de84
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 0x56e1a4
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, 0x56e1c0
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
call fcn.004bb454
mov edx, 0x56e20c
call fcn.004b35d8
push eax
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
call fcn.00416390
lea edx, [ebp - 0x20]
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
lea eax, [ebp - 0x10]
call fcn.004047f0
mov eax, dword [0x577eb4]
cmp dword [eax], 0
jle 0x56e15c
jmp 0x56e14f
lea eax, [edi + edi*8]
mov edx, dword [0x578574]
mov edx, dword [edx]
lea esi, [edx + eax*8]
mov edx, 0x56e218
mov eax, ebx
call fcn.004a61cc
lea edx, [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x24]
lea eax, [esi + 8]
call fcn.00404844
mov edx, 0x56e228
mov eax, ebx
call fcn.004a61cc
lea edx, [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x28]
lea eax, [esi + 0x14]
call fcn.00404844
mov eax, dword [ebp - 0xc]
mov edx, dword [esi + 8]
call fcn.00404bfc
jne 0x56dff1
mov eax, dword [ebp - 0x10]
mov edx, dword [esi + 0x14]
call fcn.00404bfc
je 0x56e148
inc edi
lea eax, [ebp - 0xc]
mov edx, dword [esi + 8]
call fcn.00404888
lea eax, [ebp - 0x10]
mov edx, dword [esi + 0x14]
call fcn.00404888
mov edx, 0x56e234
mov eax, ebx
call fcn.004a61cc
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [esi], eax
mov edx, 0x56e240
mov eax, ebx
call fcn.004a61cc
lea edx, [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x2c]
lea eax, [esi + 4]
call fcn.00404844
mov edx, 0x56e254
mov eax, ebx
call fcn.004a61cc
lea edx, [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x30]
lea eax, [esi + 0xc]
call fcn.00404844
mov edx, 0x56e260
mov eax, ebx
call fcn.004a61cc
lea edx, [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x34]
lea eax, [esi + 0x10]
call fcn.00404844
mov edx, 0x56e228
mov eax, ebx
call fcn.004a61cc
lea edx, [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x38]
lea eax, [esi + 0x14]
call fcn.00404844
mov edx, 0x56e270
mov eax, ebx
call fcn.004a61cc
mov edx, dword [eax]
call dword [edx + 0x50]
fstp qword [esi + 0x18]
wait
mov edx, 0x56e284
mov eax, ebx
call fcn.004a61cc
mov edx, dword [eax]
call dword [edx + 0x50]
fstp qword [esi + 0x20]
wait
mov edx, 0x56e294
mov eax, ebx
call fcn.004a61cc
lea edx, [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x3c]
lea eax, [esi + 0x30]
call fcn.00404844
mov edx, 0x56e2a4
mov eax, ebx
call fcn.004a61cc
mov edx, dword [eax]
call dword [edx + 0x4c]
fistp qword [esi + 0x38]
wait
mov edx, 0x56e2b4
mov eax, ebx
call fcn.004a61cc
mov edx, dword [eax]
call dword [edx + 0x4c]
fistp qword [esi + 0x40]
wait
mov edx, 0x56e2c4
mov eax, ebx
call fcn.004a61cc
lea edx, [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x40]
lea eax, [esi + 0x2c]
call fcn.00404844
mov edx, 0x56e2d4
mov eax, ebx
call fcn.004a61cc
lea edx, [ebp - 0x44]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x44]
lea eax, [esi + 0x28]
call fcn.00404844
mov eax, ebx
call fcn.004a790c
cmp byte [ebx + 0xa1], 0
je 0x56df87
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 0x56e1ab
lea eax, [ebp - 0x44]
mov edx, 9
call fcn.00404814
lea eax, [ebp - 0x20]
call fcn.00411c44
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404814
lea eax, [ebp - 4]
call fcn.004047f0
ret