Function at 0x4f1f58
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x15
push 0
push 0
dec ecx
jne 0x4f1f60
push ebx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4f23da
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4ee424]
call fcn.004f54d4
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4f219b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x12c]
mov dword [edx + 0x40], eax
lea eax, [ebp - 0x14]
call fcn.004043c0
push eax
lea eax, [ebp - 0x10]
call fcn.004043c0
mov ecx, eax
mov eax, dword [ebp + 8]
mov edx, dword [eax - 8]
mov eax, dword [0x60a1f0]
call fcn.004f5444
cmp dword [ebp - 0x10], 0
je 0x4f1ffa
push 1
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x10]
call fcn.00404458
jmp 0x4f200e
lea eax, [ebp - 0x10]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0x40]
mov edx, dword [edx + 0x60]
call fcn.00404458
push 1
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x14]
call fcn.00404458
push 0x4f23f0
push dword [ebp - 0x14]
push 0x4f2448
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x10]
call fcn.004c38c0
push dword [ebp - 0x38]
push 0x4f2474
lea eax, [ebp - 0x34]
mov edx, 5
call fcn.00404740
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x12c]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea eax, [ebp - 0x48]
xor edx, edx
call fcn.00415338
lea ecx, [ebp - 0x48]
mov edx, 0x1b
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x19c]
lea eax, [ebp - 0x58]
mov dl, 1
call fcn.00415338
lea ecx, [ebp - 0x58]
mov edx, 0x19
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x19c]
lea eax, [ebp - 0x68]
mov dl, 1
call fcn.00415338
lea ecx, [ebp - 0x68]
mov edx, 0x16
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x19c]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x54]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x30]
test eax, eax
jne 0x4f20e5
call fcn.00403e08
jmp 0x4f2374
xor eax, eax
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.004cb4c4
xor eax, eax
push ebp
push 0x4f217e
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0xac]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x28]
test al, al
jne 0x4f215f
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0xc]
mov dx, 1
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x90]
lea eax, [ebp - 0x70]
lea edx, [ebp - 0x28]
call fcn.004142d0
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x6c]
call fcn.00408d34
mov eax, dword [ebp - 0x6c]
mov edx, 0x4f2480
call fcn.004047cc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
sete byte [eax]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f2185
cmp dword [ebp - 0xc], 0
je 0x4f217d
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.004cb4f4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f23e1
lea eax, [ebp - 0xa8]
mov edx, dword [0x401160]
mov ecx, 3
call fcn.00404fb8
lea eax, [ebp - 0x78]
mov edx, 4
call fcn.004043e4
lea eax, [ebp - 0x68]
mov edx, dword [0x401160]
mov ecx, 3
call fcn.00404fb8
lea eax, [ebp - 0x38]
mov edx, 4
call fcn.004043e4
lea eax, [ebp - 0x28]
call fcn.00410c50
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004043e4
ret