Function at 0x4f1b60
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xf
push 0
push 0
dec ecx
jne 0x4f1b69
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x4f1b88
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4f1b93
xor edx, edx
mov dword [eax], edx
xor eax, eax
push ebp
push 0x4f1ebd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax], 0
mov eax, dword [ebp - 8]
call fcn.004043c0
mov eax, dword [ebp - 0xc]
call fcn.004043c0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x40]
cmp dword [eax + 0x98], 5
jl 0x4f1e6d
mov dl, 1
mov eax, dword [0x4ee424]
call fcn.004f54d4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4f1e66
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 - 0x10]
mov edx, dword [edx + 0x12c]
mov dword [edx + 0x40], eax
lea eax, [ebp - 0x20]
call fcn.004043c0
push eax
lea eax, [ebp - 0x1c]
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 - 0x1c], 0
je 0x4f1c4e
push 1
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x1c]
call fcn.00404458
jmp 0x4f1c62
lea eax, [ebp - 0x1c]
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 - 0x38]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
xor ecx, ecx
mov edx, dword [ebp - 0x20]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x20]
call fcn.00404458
push 0x4f1ed4
push dword [ebp - 0x20]
push 0x4f1f20
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x1c]
call fcn.00408ea8
push dword [ebp - 0x40]
push 0x4f1f40
lea eax, [ebp - 0x3c]
mov edx, 5
call fcn.00404740
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x12c]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea eax, [ebp - 0x50]
xor edx, edx
call fcn.00415338
lea ecx, [ebp - 0x50]
mov edx, 0x1b
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x19c]
lea eax, [ebp - 0x60]
mov dl, 1
call fcn.00415338
lea ecx, [ebp - 0x60]
mov edx, 0x19
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x19c]
lea eax, [ebp - 0x70]
mov dl, 1
call fcn.00415338
lea ecx, [ebp - 0x70]
mov edx, 0x16
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x19c]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x54]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x30]
test eax, eax
jne 0x4f1d39
call fcn.00403e08
jmp 0x4f1e6d
xor eax, eax
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.004cb4c4
xor eax, eax
push ebp
push 0x4f1e49
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0xac]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x28]
test al, al
jne 0x4f1e2a
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x14]
mov dx, 1
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x90]
lea eax, [ebp - 0x78]
lea edx, [ebp - 0x30]
call fcn.004142d0
mov eax, dword [ebp - 0x78]
lea edx, [ebp - 0x74]
call fcn.00408d34
mov eax, dword [ebp - 0x74]
mov edx, 0x4f1f4c
call fcn.004047cc
mov eax, dword [ebp - 4]
sete byte [eax]
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x14]
mov dx, 2
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x90]
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x30]
call fcn.004142d0
mov ecx, dword [ebp - 0x14]
mov dx, 3
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x88]
test al, al
jne 0x4f1e2a
mov ecx, dword [ebp - 0x14]
mov dx, 3
mov eax, dword [ebp - 0x10]
call fcn.004cd160
mov edx, dword [0x4c7d14]
call fcn.00403740
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
jbe 0x4f1e2a
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 0x18]
call fcn.004d4bb8
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 8]
call fcn.00404414
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f1e50
cmp dword [ebp - 0x14], 0
je 0x4f1e48
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.004cb4f4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f1ec4
lea eax, [ebp - 0x7c]
mov edx, 3
call fcn.004043e4
lea eax, [ebp - 0x70]
mov edx, dword [0x401160]
mov ecx, 3
call fcn.00404fb8
lea eax, [ebp - 0x40]
mov edx, 4
call fcn.004043e4
lea eax, [ebp - 0x30]
call fcn.00410c50
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004043e4
ret