Function at 0x550f54
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xf
push 0
push 0
dec ecx
jne 0x550f5c
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x551376
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, esi
mov dl, 1
mov eax, dword [0x54d814]
call fcn.00461750
mov edx, dword [0x6698b4]
mov dword [edx], eax
xor eax, eax
push ebp
push 0x551321
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, 0x55138c
call fcn.00404bd0
mov eax, dword [0x669de8]
mov eax, dword [eax]
mov ebx, dword [eax + 0x5c]
mov eax, ebx
call fcn.00483d8c
mov eax, ebx
call fcn.004d882c
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea edx, [ebp - 0x20]
mov eax, dword [esi + 0x30c]
call fcn.00488108
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
call fcn.00405bc0
lea eax, [ebp - 0x1c]
push eax
mov eax, ebx
call fcn.004d6c60
mov edx, 0x5513e8
call fcn.004ced68
pop edx
call fcn.004d0010
mov eax, ebx
call fcn.00483d80
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14c]
test eax, eax
jne 0x551027
mov eax, 0x551400
call fcn.00661d7c
call fcn.00404584
jmp 0x551328
mov eax, dword [0x6698b4]
mov eax, dword [eax]
mov dword [eax + 0x350], 0xffffffff
mov eax, dword [0x6698b4]
mov eax, dword [eax]
mov dword [eax + 0x354], 0xffffffff
xor edi, edi
mov byte [ebp - 5], 1
jmp 0x551183
mov edx, 0x551434
mov eax, ebx
call fcn.00484d94
lea edx, [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x24]
mov edx, 0x55144c
call fcn.00404f34
je 0x55109a
mov edx, 0x551434
mov eax, ebx
call fcn.00484d94
lea edx, [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x28]
mov edx, 0x551458
call fcn.00404f34
jne 0x551101
inc edi
mov edx, 0x551434
mov eax, ebx
call fcn.00484d94
lea edx, [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x2c]
mov edx, 0x55144c
call fcn.00404f34
jne 0x5510cb
mov eax, dword [0x6698b4]
mov eax, dword [eax]
mov dword [eax + 0x350], edi
mov edx, 0x551434
mov eax, ebx
call fcn.00484d94
lea edx, [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x30]
mov edx, 0x551458
call fcn.00404f34
jne 0x55117c
mov eax, dword [0x6698b4]
mov eax, dword [eax]
mov dword [eax + 0x354], edi
jmp 0x55117c
mov edx, 0x551434
mov eax, ebx
call fcn.00484d94
lea edx, [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.004094e8
cmp dword [ebp - 0x34], 0
jne 0x55114b
mov edx, 0x551464
mov eax, ebx
call fcn.00484d94
lea edx, [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.004094e8
cmp dword [ebp - 0x3c], 0
je 0x55117c
cmp byte [ebp - 5], 0
je 0x551158
inc edi
mov byte [ebp - 5], 0
jmp 0x55117c
mov edx, 0x551474
mov eax, ebx
call fcn.00484d94
lea edx, [ebp - 0x44]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x44]
mov edx, 0x551484
call fcn.00404f34
jne 0x55117c
inc edi
mov eax, ebx
call fcn.0048643c
cmp byte [ebx + 0xa1], 0
je 0x551054
mov eax, dword [0x6698b4]
mov eax, dword [eax]
mov dword [eax + 0x34c], edi
lea edx, [ebp - 0x48]
mov eax, dword [esi + 0x30c]
call fcn.00488108
mov edx, dword [ebp - 0x48]
mov eax, dword [0x6698b4]
mov eax, dword [eax]
mov eax, dword [eax + 0x330]
call fcn.00532d04
mov eax, dword [esi + 0x348]
mov edx, dword [eax]
call dword [edx + 0xc4]
test al, al
je 0x5511e8
mov eax, dword [0x6698b4]
mov eax, dword [eax]
mov eax, dword [eax + 0x330]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x64]
jmp 0x5511fc
mov eax, dword [0x6698b4]
mov eax, dword [eax]
mov eax, dword [eax + 0x330]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [0x6698b4]
mov eax, dword [eax]
mov eax, dword [eax + 0x340]
call fcn.00483d8c
mov eax, dword [0x6698b4]
mov eax, dword [eax]
mov eax, dword [eax + 0x340]
call fcn.004d6c60
mov edx, 0x55148c
call fcn.004ced68
push eax
mov eax, dword [esi + 0x328]
call fcn.0050c714
mov edx, eax
lea eax, [ebp - 0x58]
mov cl, 0xfc
call fcn.00405b7c
lea edx, [ebp - 0x58]
pop eax
call fcn.004d0010
mov eax, dword [0x6698b4]
mov eax, dword [eax]
mov eax, dword [eax + 0x340]
call fcn.004d6c60
mov edx, 0x55149c
call fcn.004ced68
push eax
mov eax, dword [esi + 0x314]
call fcn.0050c714
mov edx, eax
lea eax, [ebp - 0x68]
mov cl, 0xfc
call fcn.00405b7c
lea edx, [ebp - 0x68]
pop eax
call fcn.004d0010
mov eax, dword [0x6698b4]
mov eax, dword [eax]
mov eax, dword [eax + 0x340]
call fcn.004d6c60
mov edx, 0x5514ac
call fcn.004ced68
push eax
mov eax, dword [esi + 0x318]
call fcn.0050c714
mov edx, eax
lea eax, [ebp - 0x78]
mov cl, 0xfc
call fcn.00405b7c
lea edx, [ebp - 0x78]
pop eax
call fcn.004d0010
mov eax, dword [0x6698b4]
mov eax, dword [eax]
mov eax, dword [eax + 0x340]
call fcn.00483d80
cmp dword [ebp - 4], 1
jne 0x5512ef
mov eax, dword [0x6698b4]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f0]
call fcn.005274e8
cmp dword [ebp - 4], 2
jne 0x551307
mov eax, dword [0x6698b4]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f0]
call fcn.00527238
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x551328
mov eax, dword [0x6698b4]
mov eax, dword [eax]
call fcn.00465a20
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55137d
lea eax, [ebp - 0x78]
mov edx, dword [0x40113c]
mov ecx, 3
call fcn.0040572c
lea eax, [ebp - 0x48]
call fcn.00404b38
lea eax, [ebp - 0x44]
mov edx, 9
call fcn.00404b5c
lea eax, [ebp - 0x20]
call fcn.00404b38
lea eax, [ebp - 0x1c]
call fcn.00405c34
lea eax, [ebp - 0xc]
call fcn.00404b38
ret