Function at 0x4a7b64
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a7f13
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x38]
test al, al
jne 0x4a7bba
mov ecx, 0x4a7f30
mov dl, 1
mov eax, dword [0x4a7a34]
call fcn.0040c8c0
call fcn.00403768
xor eax, eax
push ebp
push 0x4a7ecd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00477a64
xor al, 1
mov byte [ebp - 0xd], al
mov eax, dword [ebp + 8]
mov dword [eax], 0xffffffff
xor ecx, ecx
mov dl, 1
mov eax, dword [0x47352c]
call fcn.0047cb6c
mov dword [ebp - 8], eax
cmp byte [ebp - 0xd], 0
je 0x4a7bfd
mov eax, dword [ebp - 4]
call fcn.00478694
xor eax, eax
push ebp
push 0x4a7e8e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x88]
mov eax, dword [ebp - 8]
call fcn.0047c1ac
push 0x4a7f60
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.004093f4
push dword [ebp - 0x14]
push 0x4a7f80
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00403fd8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x238]
mov edx, dword [eax]
call dword [edx + 0x40]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x238]
mov edx, 0x4a7f8c
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x238]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 8]
call fcn.0047d414
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x238]
mov edx, dword [eax]
call dword [edx + 0x40]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x238]
mov edx, 0x4a7fc8
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x238]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 8]
call fcn.00463e44
mov eax, dword [ebp - 8]
cmp byte [eax + 0x91], 0
je 0x4a7ce3
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x18], 0xb
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, 0x4a7ff4
mov dl, 1
mov eax, dword [0x4a7a34]
call fcn.0040c8fc
call fcn.00403768
mov edx, 0x4a8034
mov eax, dword [ebp - 8]
call fcn.00464b04
mov edx, dword [eax]
call dword [edx + 0x54]
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov eax, dword [ebp - 8]
call fcn.00463e50
test esi, esi
je 0x4a7e76
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x238]
mov edx, dword [eax]
call dword [edx + 0x40]
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x40], esi
mov byte [ebp - 0x3c], 0xb
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x34], 0xb
mov dword [ebp - 0x30], esi
mov byte [ebp - 0x2c], 0xb
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
lea edx, [ebp - 0x40]
mov ecx, 3
mov eax, 0x4a804c
call fcn.0040a258
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x238]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 8]
call fcn.00463e44
mov eax, dword [ebp - 8]
mov al, byte [eax + 0x91]
xor al, 1
mov byte [ebp - 0xe], al
mov eax, dword [ebp - 8]
call fcn.00463e50
cmp byte [ebp - 0xe], 0
je 0x4a7e76
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x238]
mov edx, dword [eax]
call dword [edx + 0x40]
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x54], esi
mov byte [ebp - 0x50], 0xb
mov dword [ebp - 0x4c], ebx
mov byte [ebp - 0x48], 0xb
lea edx, [ebp - 0x54]
mov ecx, 1
mov eax, 0x4a8074
call fcn.0040a258
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x238]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 8]
call fcn.00463e44
mov eax, dword [ebp - 8]
cmp byte [eax + 0x91], 0
jne 0x4a7e17
mov edx, 0x4a80a4
mov eax, dword [ebp - 8]
call fcn.00464b04
mov edx, dword [eax]
call dword [edx + 0x7c]
test al, al
je 0x4a7e00
mov eax, dword [ebp + 8]
mov dword [eax], 1
jmp 0x4a7e17
mov edx, 0x4a80a4
mov eax, dword [ebp - 8]
call fcn.00464b04
mov edx, dword [eax]
call dword [edx + 0x54]
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov eax, dword [ebp - 8]
call fcn.00463e50
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x238]
mov edx, dword [eax]
call dword [edx + 0x40]
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, 0x4a80b8
call fcn.0040a258
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x238]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x238]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 8]
call fcn.0047d414
cmp byte [ebp - 0xd], 0
je 0x4a7e84
mov eax, dword [ebp - 4]
call fcn.00477924
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a7eb7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a7ed4
mov eax, dword [ebp - 8]
call fcn.00402fd0
ret