Function at 0x552dac
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x552db4
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x5530db
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.00405f80
mov esi, eax
test esi, esi
jl 0x552e33
inc esi
xor ebx, ebx
lea edi, [ebx + ebx*2]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
test byte [eax + edi*8 + 0x14], 1
je 0x552e2f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp dword [eax + edi*8 + 0xc], 0
je 0x552e2f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp dword [eax + edi*8 + 4], 0
jne 0x552e2f
push dword [ebp - 4]
push 0x5530f4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
push dword [eax + edi*8 + 0xc]
push 0x553110
lea eax, [ebp - 4]
mov edx, 4
call fcn.00404d24
inc ebx
dec esi
jne 0x552de1
cmp dword [ebp - 4], 0
je 0x553093
push 0x55311c
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 8]
call fcn.00552378
pop ecx
push dword [ebp - 8]
push 0x553164
push dword [ebp - 4]
push 0x55317c
lea eax, [ebp - 4]
mov edx, 5
call fcn.00404d24
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.004ef8c0
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.004ab4d4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.00405f80
mov esi, eax
test esi, esi
jl 0x552f4b
inc esi
xor ebx, ebx
lea eax, [ebx + ebx*2]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
test byte [edx + eax*8 + 0x14], 1
je 0x552f43
lea eax, [ebx + ebx*2]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
cmp dword [edx + eax*8 + 0xc], 0
je 0x552f43
lea eax, [ebx + ebx*2]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
cmp dword [edx + eax*8 + 4], 0
jne 0x552f43
mov al, byte [0x5531a8]
push eax
lea eax, [ebp - 0x18]
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 8]
mov edx, dword [ecx + edx*8 + 0xc]
call fcn.00415b10
lea ecx, [ebp - 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, 0x5531b4
mov edi, dword [eax]
call dword [edi + 0x244]
test al, al
je 0x552f43
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x30]
xor edx, edx
call fcn.004a1b38
lea edx, [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x64]
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x1c]
call fcn.004ba150
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + ebx*2]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 8]
lea eax, [ecx + eax*8 + 4]
call fcn.004049cc
inc ebx
dec esi
jne 0x552ea2
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.004ab4e0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.00405f80
mov esi, eax
test esi, esi
jl 0x553093
inc esi
xor ebx, ebx
lea edi, [ebx + ebx*2]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
test byte [eax + edi*8 + 0x14], 1
je 0x55308b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp dword [eax + edi*8 + 0xc], 0
je 0x55308b
lea eax, [ebx + ebx*2]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
cmp dword [edx + eax*8 + 4], 0
je 0x552fc0
lea eax, [ebx + ebx*2]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
mov eax, dword [edx + eax*8 + 4]
mov edx, 0x5531c4
call fcn.00404db0
jne 0x55308b
mov eax, dword [ebp + 8]
cmp dword [eax - 0x14], 0
jne 0x553073
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00553ae8
mov edx, dword [eax + 0x6c]
mov eax, dword [ebp + 8]
add eax, 0xffffffec
call fcn.00404a10
push 1
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x14]
mov eax, dword [0x569a28]
mov eax, dword [eax]
xor ecx, ecx
mov edi, dword [eax]
call dword [edi + 0x24]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp + 8]
add eax, 0xffffffec
call fcn.00404a10
mov eax, dword [ebp + 8]
cmp dword [eax - 0x14], 0
jne 0x553073
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.004ef8c0
mov edx, 0x5531dc
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.004ab4d4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x30]
xor edx, edx
call fcn.004a1b38
lea edx, [ebp - 0x44]
mov ecx, dword [eax]
call dword [ecx + 0x64]
lea eax, [ebp - 0x44]
lea edx, [ebp - 0x34]
call fcn.004ba150
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp + 8]
add eax, 0xffffffec
call fcn.00404a10
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.004ab4e0
lea eax, [ebx + ebx*2]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
lea eax, [edx + eax*8 + 4]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x14]
call fcn.004049cc
inc ebx
dec esi
jne 0x552f6e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5530e2
lea eax, [ebp - 0x44]
call fcn.004114d8
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.0040499c
lea eax, [ebp - 0x2c]
call fcn.004114d8
lea eax, [ebp - 0x1c]
call fcn.00404978
lea eax, [ebp - 0x18]
call fcn.004114d8
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040499c
ret