Function at 0x5a8ce0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
xor ebx, ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x5a8d18
xor edx, edx
mov dword [eax], edx
xor eax, eax
push ebp
push 0x5a8fd5
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.005a87e8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
setne byte [ebp - 9]
cmp byte [ebp - 9], 0
je 0x5a8f88
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [0x5a8fe8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.005a8650
mov eax, dword [ebp - 0x1c]
xor edx, edx
call fcn.00405700
je 0x5a8f88
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
call fcn.00404e98
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.00479120
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x10]
call fcn.004055bc
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 4]
add eax, 0xfffffffa
cmp eax, 0x11
ja case.0x5a8da6.7
movzx eax, byte [eax + 0x5a8dad]
jmp dword [eax*4 + 0x5a8dbf]
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0xf
lea ecx, [ebp - 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dx, 0x27
call fcn.00478cc4
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xf
lea edx, [ebp - 0x38]
mov ecx, 1
mov eax, 0x5a8ff0
call fcn.0040b910
jmp 0x5a8f3f
mov ecx, dword [0x5a90e0]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.005a85a8
mov ebx, eax
test ebx, ebx
setne byte [ebp - 9]
cmp byte [ebp - 9], 0
je 0x5a8f3f
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0xf
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.005a87e8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x40]
mov dx, 0x27
call fcn.00478cc4
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xf
lea edx, [ebp - 0x38]
mov ecx, 1
mov eax, 0x5a90e8
call fcn.0040b910
jmp 0x5a8f3f
mov ecx, dword [0x5a90e0]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.005a85a8
mov ebx, eax
test ebx, ebx
setne byte [ebp - 9]
cmp byte [ebp - 9], 0
je 0x5a8f3f
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0xf
lea ecx, [ebp - 0x5c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dx, 0x27
call fcn.00478cc4
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x4c], 0xf
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.005a87e8
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x60]
mov dx, 0x27
call fcn.00478cc4
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], 0xf
lea edx, [ebp - 0x58]
mov ecx, 2
mov eax, 0x5a91b4
call fcn.0040b910
jmp 0x5a8f3f
push ebp
mov al, 6
call fcn.005a8b3c
pop ecx
jmp 0x5a8f3f
push ebp
mov al, 0x13
call fcn.005a8b3c
pop ecx
jmp 0x5a8f3f
push ebp
mov al, 6
call fcn.005a8958
pop ecx
jmp 0x5a8f3f
push ebp
mov al, 0x13
call fcn.005a8958
pop ecx
jmp 0x5a8f3f
mov byte [ebp - 9], 0
cmp byte [ebp - 9], 0
je 0x5a8f88
movzx eax, byte [ebp + 8]
push eax
push 0
push 0x5a9298
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 0x18]
call fcn.005a555c
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x5a8f88
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
xor edx, edx
call fcn.00405700
je 0x5a8f88
mov eax, dword [ebp - 0x20]
mov edx, 0x5a92a8
call fcn.004055e8
mov eax, dword [ebp - 0x20]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a8fdc
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.00405408
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.00405408
lea eax, [ebp - 0x28]
call fcn.00404c00
lea eax, [ebp - 0x24]
call fcn.00404c00
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00405408
lea eax, [ebp - 0x10]
call fcn.004053f0
ret