Function at 0x4aca98
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp - 5], cl
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.004046b4
xor eax, eax
push ebp
push 0x4acd57
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
mov eax, esi
call fcn.004b0730
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4acd20
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x4acb10
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x58]
mov edx, 0x4acd6c
mov ecx, dword [eax]
call dword [ecx + 0x2c]
jmp 0x4acb6c
cmp byte [ebp - 5], 1
jne 0x4acb42
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x58]
mov edx, 0x4acf1c
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.00489c18
mov edx, 0x4ad0f8
call fcn.00488b04
mov edx, dword [ebp - 4]
call fcn.0048827c
jmp 0x4acb6c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x58]
mov edx, 0x4ad110
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.00489c18
mov edx, 0x4ad2e4
call fcn.00488b04
mov edx, dword [ebp - 4]
call fcn.0048827c
mov eax, dword [ebp - 0xc]
call fcn.004894cc
jmp 0x4accfa
test bl, bl
je 0x4acbbe
cmp dword [ebp - 4], 0
jne 0x4acb92
mov eax, dword [esi + 0x38]
mov edx, 0x4ad2f8
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4acbbc
push 0x4ad334
push dword [ebp - 4]
push 0x4ad35c
push 0x4ad368
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00404584
mov edx, dword [ebp - 0x1c]
mov eax, dword [esi + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor ebx, ebx
mov edx, 0x4ad374
mov eax, dword [ebp - 0xc]
call fcn.00489734
call fcn.00486590
dec eax
jne 0x4acbe2
lea eax, [ebp - 0x10]
mov edx, 0x4ad38c
call fcn.0040429c
jmp 0x4acbea
lea eax, [ebp - 0x10]
call fcn.00404204
mov edx, 0x4ad39c
mov eax, dword [ebp - 0xc]
call fcn.00489734
call fcn.00486590
dec eax
jne 0x4acc0e
lea eax, [ebp - 0x14]
mov edx, 0x4ad3b4
call fcn.0040429c
jmp 0x4acc16
lea eax, [ebp - 0x14]
call fcn.00404204
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov edx, 0x4ad3c8
mov eax, dword [ebp - 0xc]
call fcn.00489734
lea edx, [ebp - 0x44]
call fcn.004882cc
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [esi + 0x30]
call fcn.00493c64
lea ecx, [ebp - 0x40]
pop edx
call fcn.00490cd0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov edx, 0x4ad3e0
mov eax, dword [ebp - 0xc]
call fcn.00489734
lea edx, [ebp - 0x4c]
call fcn.004882cc
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [esi + 0x30]
call fcn.00493c64
lea ecx, [ebp - 0x48]
pop edx
call fcn.00490cd0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x3c]
mov ecx, 3
mov eax, 0x4ad3fc
call fcn.00409858
push dword [ebp - 0x18]
mov edx, 0x4ad3c8
mov eax, dword [ebp - 0xc]
call fcn.00489734
lea edx, [ebp - 0x54]
call fcn.004882cc
mov edx, dword [ebp - 0x54]
lea ecx, [ebp - 0x50]
mov eax, esi
call fcn.004a65f8
push dword [ebp - 0x50]
push 0x4ad420
push 0x4ad42c
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00404584
mov eax, dword [esi + 0x38]
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0xc]
call fcn.00489894
mov eax, dword [ebp - 0xc]
call fcn.00489720
test al, al
je 0x4acb79
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4acd27
mov eax, dword [ebp - 0xc]
call fcn.004033d4
ret