Function at 0x5ac580
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5ac986
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x320]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xcc]
mov edx, eax
mov eax, dword [ebx + 0x23c]
mov ecx, dword [eax]
call dword [ecx + 0x18]
dec eax
mov dword [ebp - 8], eax
xor edi, edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
mov ebx, dword [eax + 0x24c]
dec ebx
test ebx, ebx
jle 0x5ac5f5
mov esi, 1
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
mov ecx, esi
mov edx, edi
call fcn.0048e098
inc esi
dec ebx
jne 0x5ac5dd
inc edi
cmp edi, 6
jne 0x5ac5c4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
mov edx, 2
call fcn.0048bf04
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x360]
mov eax, dword [eax + 0x23c]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x360]
mov eax, dword [eax + 0x23c]
mov edx, 0x5ac99c
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 8]
sub eax, 5
jae 0x5ac8cd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x354]
mov dl, 1
call fcn.00459d98
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x358]
mov dl, 1
call fcn.00459d98
mov eax, dword [0x5b71ec]
mov eax, dword [eax]
mov eax, dword [eax + 0x60]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x178]
xor eax, eax
push ebp
push 0x5ac859
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x5ac811
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5b71ec]
mov eax, dword [eax]
mov eax, dword [eax + 0x60]
mov edx, 0x5ac9ac
mov ecx, dword [eax]
call dword [ecx + 0x2b0]
mov eax, dword [ebp - 8]
cmp eax, 4
ja case.default.0x5ac6ba
jmp dword [eax*4 + 0x5ac6c1]
mov eax, dword [0x5b71ec]
mov eax, dword [eax]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + 0x1c4]
mov edx, 0x5aca18
call fcn.00550cb0
mov edx, 0x5aca28
call fcn.00551f1c
jmp case.default.0x5ac6ba
mov eax, dword [0x5b71ec]
mov eax, dword [eax]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + 0x1c4]
mov edx, 0x5aca18
call fcn.00550cb0
mov edx, 0x5aca34
call fcn.00551f1c
jmp case.default.0x5ac6ba
mov eax, dword [0x5b71ec]
mov eax, dword [eax]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + 0x1c4]
mov edx, 0x5aca18
call fcn.00550cb0
mov edx, 0x5aca40
call fcn.00551f1c
jmp case.default.0x5ac6ba
mov eax, dword [0x5b71ec]
mov eax, dword [eax]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + 0x1c4]
mov edx, 0x5aca18
call fcn.00550cb0
mov edx, 0x5aca4c
call fcn.00551f1c
jmp case.default.0x5ac6ba
mov eax, dword [0x5b71ec]
mov eax, dword [eax]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + 0x1c4]
mov edx, 0x5aca18
call fcn.00550cb0
mov edx, 0x5aca58
call fcn.00551f1c
mov eax, dword [0x5b71ec]
mov eax, dword [eax]
mov eax, dword [eax + 0x60]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x178]
jmp 0x5ac7f4
mov eax, dword [0x5b71ec]
mov eax, ebx
mov edx, 0x5aca64
call fcn.00553a88
lea edx, [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.00409a4c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x360]
mov eax, dword [eax + 0x23c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x5b71ec]
mov eax, dword [eax]
mov eax, dword [eax + 0x60]
call fcn.0055512c
mov eax, dword [0x5b71ec]
mov eax, dword [eax]
mov ebx, dword [eax + 0x60]
cmp byte [ebx + 0xa1], 0
je 0x5ac7aa
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5ac837
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ac860
mov eax, dword [0x5b71ec]
mov eax, dword [eax]
mov eax, dword [eax + 0x60]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x178]
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x354]
xor edx, edx
call fcn.00459d98
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x358]
xor edx, edx
call fcn.00459d98
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x35c]
xor edx, edx
call fcn.00459d98
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x360]
xor edx, edx
call fcn.00459d98
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x360]
mov edx, 0xff00000f
call fcn.0045a018
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x348]
xor edx, edx
call fcn.00459d98
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
xor edx, edx
call fcn.00459d98
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
mov edx, 0x7f
call fcn.00459658
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x354]
mov dl, 1
call fcn.0043c570
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ac98d
lea eax, [ebp - 0x14]
call fcn.00404b14
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404b38
ret