Function at 0x5fff50
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x5fff58
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6003bb
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, dword [ebx + 0x374]
mov ecx, dword [eax]
call dword [ecx + 0x64]
xor edx, edx
mov eax, dword [ebx + 0x370]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov dl, 1
mov eax, dword [ebx + 0x378]
mov ecx, dword [eax]
call dword [ecx + 0x64]
lea eax, [ebp - 8]
mov edx, 0x6003d4
call fcn.00404bd0
mov eax, dword [0x669de8]
mov eax, dword [eax]
mov esi, dword [eax + 0x64]
mov eax, esi
call fcn.00483d8c
mov eax, esi
call fcn.004d882c
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea edx, [ebp - 0x20]
mov eax, dword [ebx + 0x318]
call fcn.00488108
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
call fcn.00405bc0
lea eax, [ebp - 0x1c]
push eax
mov eax, esi
call fcn.004d6c60
mov edx, 0x600410
call fcn.004ced68
pop edx
call fcn.004d0010
mov eax, esi
call fcn.00483d80
mov edx, 0x600428
mov eax, esi
call fcn.00484d94
lea edx, [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebx + 0x348]
mov edx, dword [eax]
call dword [edx + 0xc4]
test al, al
je 0x60003d
mov eax, dword [0x669a3c]
mov eax, dword [eax]
mov dword [eax + 0x490], 0xa
jmp 0x60004e
mov eax, dword [0x669a3c]
mov eax, dword [eax]
mov dword [eax + 0x490], 0x14
mov ecx, ebx
mov dl, 1
mov eax, dword [0x5fc960]
call fcn.00461750
mov edx, dword [0x669bb8]
mov dword [edx], eax
mov eax, dword [0x669a3c]
mov eax, dword [eax]
mov edx, dword [eax + 0x464]
mov eax, dword [0x669bb8]
mov eax, dword [eax]
mov eax, dword [eax + 0x394]
call fcn.00532d04
mov eax, dword [0x669bb8]
mov eax, dword [eax]
mov esi, dword [eax + 0x478]
mov eax, esi
call fcn.00483d8c
lea edx, [ebp - 0x34]
mov eax, dword [ebx + 0x318]
call fcn.00488108
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
call fcn.00405bc0
lea eax, [ebp - 0x30]
push eax
mov eax, esi
call fcn.004d6c60
mov edx, 0x600410
call fcn.004ced68
pop edx
call fcn.004d0010
mov eax, esi
call fcn.00483d80
mov eax, dword [0x669bb8]
mov eax, dword [eax]
mov esi, dword [eax + 0x490]
lea edx, [ebp - 0x38]
mov eax, dword [ebx + 0x398]
call fcn.00448cdc
cmp dword [ebp - 0x38], 0
jne 0x600109
mov eax, esi
call fcn.004d882c
mov ecx, 0x600438
mov edx, 5
mov edi, dword [eax]
call dword [edi + 0x20]
mov eax, dword [ebx + 0x324]
mov edx, dword [eax]
call dword [edx + 0xc4]
test al, al
je 0x600131
mov eax, esi
call fcn.004d882c
mov ecx, 0x6004a0
mov edx, 6
mov edi, dword [eax]
call dword [edi + 0x20]
mov eax, dword [ebx + 0x328]
mov edx, dword [eax]
call dword [edx + 0xc4]
test al, al
je 0x600159
mov eax, esi
call fcn.004d882c
mov ecx, 0x6004bc
mov edx, 6
mov edi, dword [eax]
call dword [edi + 0x20]
lea edx, [ebp - 0x3c]
mov eax, dword [ebx + 0x398]
call fcn.00448cdc
cmp dword [ebp - 0x3c], 0
jne 0x6001a3
lea edx, [ebp - 0x50]
mov eax, dword [ebx + 0x318]
call fcn.00488108
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
call fcn.00405bc0
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.004d6c60
mov edx, 0x600410
call fcn.004ced68
pop edx
call fcn.004d0010
jmp 0x6001d7
lea edx, [ebp - 0x64]
mov eax, dword [ebx + 0x398]
call fcn.00448cdc
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 0x60]
call fcn.00405bc0
lea eax, [ebp - 0x60]
push eax
mov eax, esi
call fcn.004d6c60
mov edx, 0x6004d4
call fcn.004ced68
pop edx
call fcn.004d0010
mov eax, esi
call fcn.00483d80
mov eax, dword [0x669bb8]
mov eax, dword [eax]
mov esi, dword [eax + 0x4cc]
mov eax, dword [ebx + 0x324]
mov edx, dword [eax]
call dword [edx + 0xc4]
test al, al
je 0x600213
mov eax, esi
call fcn.004d882c
mov ecx, 0x6004ec
mov edx, 5
mov edi, dword [eax]
call dword [edi + 0x20]
mov eax, dword [ebx + 0x328]
mov edx, dword [eax]
call dword [edx + 0xc4]
test al, al
je 0x60023b
mov eax, esi
call fcn.004d882c
mov ecx, 0x600504
mov edx, 5
mov esi, dword [eax]
call dword [esi + 0x20]
mov eax, dword [0x669bb8]
mov eax, dword [eax]
mov eax, dword [eax + 0x490]
mov edx, dword [eax]
call dword [edx + 0x14c]
test eax, eax
jne 0x600289
mov eax, 0x600520
call fcn.00661d7c
mov dl, 1
mov eax, dword [ebx + 0x370]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov dl, 1
mov eax, dword [ebx + 0x374]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [0x669bb8]
mov eax, dword [eax]
call fcn.00465a20
jmp 0x60034e
mov eax, dword [ebp - 4]
dec eax
je 0x60029a
dec eax
je 0x6002ae
dec eax
je 0x6002f9
jmp 0x600328
mov eax, dword [0x669bb8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f0]
call fcn.005274e8
jmp 0x600328
push 0x600544
lea edx, [ebp - 0x68]
mov eax, dword [ebx + 0x314]
call fcn.00448cdc
push dword [ebp - 0x68]
push 0x60055c
mov eax, dword [0x669bb8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f0]
add eax, 0x2d8
mov edx, 3
call fcn.00404eb0
mov eax, dword [0x669bb8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f0]
call fcn.00527238
jmp 0x600328
mov edx, dword [0x669a3c]
mov edx, dword [edx]
mov edx, dword [edx + 0x48c]
mov eax, dword [0x669bb8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f0]
mov ecx, dword [eax + 0x2d4]
mov dword [ecx + 0xc], edx
mov edx, dword [0x669bb8]
call fcn.00527238
mov eax, dword [0x669bb8]
mov eax, dword [eax]
call fcn.00465a20
mov dl, 1
mov eax, dword [ebx + 0x374]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov dl, 1
mov eax, dword [ebx + 0x370]
mov ecx, dword [eax]
call dword [ecx + 0x64]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6003c2
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.00404b5c
lea eax, [ebp - 0x60]
call fcn.00405c34
lea eax, [ebp - 0x50]
call fcn.00404b38
lea eax, [ebp - 0x4c]
call fcn.00405c34
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.00404b5c
lea eax, [ebp - 0x34]
call fcn.00404b38
lea eax, [ebp - 0x30]
call fcn.00405c34
lea eax, [ebp - 0x20]
call fcn.00404b38
lea eax, [ebp - 0x1c]
call fcn.00405c34
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404b5c
ret