Function at 0x56a4f8
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x56a500
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ca0
mov esi, dword [0x577f04]
xor eax, eax
push ebp
push 0x56a7b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x578964]
mov eax, dword [eax]
mov dx, 0xffef
call fcn.00487c2c
lea eax, [esi + 4]
call fcn.004047f0
lea eax, [esi + 8]
mov edx, 0x56a7c8
call fcn.00404844
lea eax, [esi + 0xc]
mov edx, 0x56a7d4
call fcn.00404844
lea eax, [esi + 0x10]
call fcn.004047f0
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, 0x56a7e0
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
call fcn.004bb454
mov edx, 0x56a810
call fcn.004b35d8
push eax
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.00416390
lea edx, [ebp - 0x14]
pop eax
call fcn.004b485c
mov eax, ebx
call fcn.004a50c4
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14c]
test eax, eax
jle 0x56a665
mov eax, ebx
call fcn.004a75f4
mov edx, 0x56a81c
mov eax, ebx
call fcn.004a61cc
lea edx, [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x18]
lea eax, [esi + 4]
call fcn.00404844
mov edx, 0x56a82c
mov eax, ebx
call fcn.004a61cc
lea edx, [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x1c]
lea eax, [esi + 8]
call fcn.00404844
mov edx, 0x56a83c
mov eax, ebx
call fcn.004a61cc
lea edx, [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x20]
lea eax, [esi + 0xc]
call fcn.00404844
mov edx, 0x56a850
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 + 0x10]
call fcn.00404844
mov dl, 1
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 4]
lea eax, [esi + 0x14]
mov edx, 0x56a860
call fcn.00404844
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.00409260
mov eax, dword [ebp - 0x28]
mov edx, 0x56a8b8
call fcn.00404bfc
jne 0x56a6a7
lea eax, [esi + 0x14]
mov edx, 0x56a8c8
call fcn.00404844
jmp 0x56a762
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, 0x56a7e0
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
call fcn.004bb454
mov edx, 0x56a810
call fcn.004b35d8
push eax
mov ecx, dword [esi + 0xc]
lea eax, [ebp - 0x3c]
mov edx, 0x56a924
call fcn.00404afc
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
call fcn.00416390
lea edx, [ebp - 0x38]
pop eax
call fcn.004b485c
mov eax, ebx
call fcn.004a50c4
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14c]
test eax, eax
jle 0x56a759
mov eax, ebx
call fcn.004a75f4
mov edx, 0x56a850
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 + 0x14]
call fcn.00404844
mov dl, 1
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 4]
mov eax, dword [0x578964]
mov eax, dword [eax]
xor edx, edx
call fcn.00487c2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56a7b7
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.00404814
lea eax, [ebp - 0x38]
call fcn.00411c44
lea eax, [ebp - 0x28]
mov edx, 5
call fcn.00404814
lea eax, [ebp - 0x14]
call fcn.00411c44
lea eax, [ebp - 4]
call fcn.004047f0
ret