Function at 0x4f6418
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x4f6420
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4f6810
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4f6828
lea edx, [ebp - 0x20]
mov eax, dword [0x4fbe64]
mov eax, dword [eax]
call fcn.004c3464
push dword [ebp - 0x20]
push 0x4f6858
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404bf8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x31c]
mov eax, dword [0x4fbe64]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
call fcn.004c3164
test al, al
je 0x4f67e8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
cmp byte [eax + 0xa1], 0
je 0x4f64c8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f4]
mov eax, dword [eax + 0x248]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f4]
mov eax, dword [eax + 0x248]
mov edx, 0x4f6864
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4f67e8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
mov edx, 0x4f68cc
call fcn.00499604
lea edx, [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x60]
lea ecx, [ebp - 0x24]
mov edx, 0x4f68d8
mov eax, dword [ebp - 0xc]
call fcn.004b0ef8
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0xc]
call fcn.00404918
mov byte [ebp - 0x11], 0
mov eax, dword [0x4fbe64]
mov eax, dword [eax]
call fcn.004c34c8
movzx eax, ax
mov dword [ebp - 0x18], eax
mov eax, dword [0x4fbe64]
mov eax, dword [eax]
call fcn.004c34d0
movzx eax, ax
mov dword [ebp - 0x1c], eax
xor esi, esi
test esi, esi
jne 0x4f653d
mov eax, dword [0x4fbe64]
mov eax, dword [eax]
call fcn.004c34d0
movzx eax, ax
jmp 0x4f6542
mov eax, 1
mov ebx, eax
cmp ebx, 0xc
jg 0x4f65ea
mov eax, dword [0x4fbe64]
mov eax, dword [eax]
call fcn.004c34c8
movzx edi, ax
add edi, esi
lea edx, [ebp - 0x30]
mov eax, dword [0x4fbe64]
mov eax, dword [eax]
call fcn.004c3464
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.00409170
lea eax, [ebp - 0x2c]
push eax
mov cx, 1
mov edx, ebx
mov eax, edi
call fcn.0040b270
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x34]
mov eax, 0x4f68e8
call fcn.0040c2b0
mov edx, dword [ebp - 0x34]
pop eax
call fcn.00404b40
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
mov edx, 0x20
call fcn.004b0ff4
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0xc]
call fcn.00404c7c
jne 0x4f65e0
mov eax, dword [0x4fbe64]
mov eax, dword [eax]
call fcn.004c34c8
movzx eax, ax
add eax, esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x11], 1
jmp 0x4f65ea
inc ebx
cmp ebx, 0xd
jne 0x4f654d
cmp byte [ebp - 0x11], 0
jne 0x4f65fa
inc esi
cmp esi, 0xb
jne 0x4f6528
cmp byte [ebp - 0x11], 0
jne 0x4f6632
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f4]
mov eax, dword [eax + 0x248]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f4]
mov eax, dword [eax + 0x248]
mov edx, 0x4f68f8
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4f67e8
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
call fcn.004094f4
mov eax, dword [ebp - 0x10]
call fcn.00404b38
cmp eax, 2
jge 0x4f665a
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov edx, 0x4f6974
call fcn.00404b84
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 0x18]
call fcn.004094f4
push dword [ebp - 0x3c]
push dword [ebp - 0x10]
push 0x4f6980
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00404bf8
mov eax, dword [ebp - 0x38]
call fcn.00409594
mov ebx, eax
lea edx, [ebp - 0x40]
mov eax, dword [0x4fbe64]
mov eax, dword [eax]
call fcn.004c34a0
mov eax, dword [ebp - 0x40]
call fcn.00409594
sub ebx, eax
cmp ebx, 0x190
jge 0x4f6705
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f4]
mov eax, dword [eax + 0x248]
mov edx, dword [eax]
call dword [edx + 0x44]
push 0x4f698c
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x18]
call fcn.004094f4
push dword [ebp - 0x48]
push 0x4f69a4
push dword [ebp - 0x10]
push 0x4f69b0
lea eax, [ebp - 0x44]
mov edx, 5
call fcn.00404bf8
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f4]
mov eax, dword [eax + 0x248]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4f67e8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x31c]
mov eax, dword [0x4fbe64]
mov eax, dword [eax]
mov ecx, 0x4f69f0
call fcn.004c3164
test al, al
je 0x4f67e8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
cmp byte [eax + 0xa1], 0
jne 0x4f67e8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f4]
mov eax, dword [eax + 0x248]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
mov edx, 0x4f6a38
call fcn.00499604
lea edx, [ebp - 0x50]
mov ecx, dword [eax]
call dword [ecx + 0x60]
push dword [ebp - 0x50]
push 0x4f6a48
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
mov edx, 0x4f6a54
call fcn.00499604
lea edx, [ebp - 0x54]
mov ecx, dword [eax]
call dword [ecx + 0x60]
push dword [ebp - 0x54]
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.00404bf8
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f4]
mov eax, dword [eax + 0x248]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
mov edx, 0x4f6a64
call fcn.00499604
lea edx, [ebp - 0x58]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f4]
mov eax, dword [eax + 0x248]
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f6817
lea eax, [ebp - 0x58]
mov edx, 0xf
call fcn.004048a4
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004048a4
ret