Function at 0x4f9194
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x4f919c
push ecx
push ebx
push esi
push edi
mov ebx, eax
mov esi, dword [0x53d50c]
xor eax, eax
push ebp
push 0x4f94f8
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
push 0x4f9514
lea edx, [ebp - 0xc]
mov eax, dword [esi]
call fcn.004ef0e8
push dword [ebp - 0xc]
push 0x4f9588
lea edx, [ebp - 0x10]
mov eax, dword [esi]
call fcn.004ef0fc
push dword [ebp - 0x10]
push 0x4f959c
lea edx, [ebp - 0x14]
mov eax, dword [esi]
call fcn.004eef34
push dword [ebp - 0x14]
push 0x4f95cc
lea eax, [ebp - 8]
mov edx, 7
call fcn.00404da8
mov ecx, dword [ebp - 8]
mov eax, dword [esi]
mov edx, dword [ebx + 0x378]
call fcn.004eeaa4
test al, al
je 0x4f94d0
mov edx, 0x4f95d8
mov eax, dword [ebx + 0x378]
call fcn.004832e4
mov edx, dword [eax]
call dword [edx + 0x58]
mov edi, eax
lea eax, [ebp - 0x18]
push eax
mov edx, 0x4f95e8
mov eax, dword [ebx + 0x378]
call fcn.004832e4
mov edx, dword [eax]
call dword [edx + 0x54]
fstp xword [ebp - 0x2c]
wait
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 3
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, 0x4f95f4
call fcn.0040a424
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x320]
call fcn.00446fdc
lea eax, [ebp - 0x30]
push eax
mov edx, 0x4f9604
mov eax, dword [ebx + 0x378]
call fcn.004832e4
mov edx, dword [eax]
call dword [edx + 0x54]
fstp xword [ebp - 0x2c]
wait
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 3
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, 0x4f95f4
call fcn.0040a424
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx + 0x324]
call fcn.00446fdc
lea eax, [ebp - 0x34]
push eax
mov edx, 0x4f9610
mov eax, dword [ebx + 0x378]
call fcn.004832e4
mov edx, dword [eax]
call dword [edx + 0x54]
fstp xword [ebp - 0x2c]
wait
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 3
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, 0x4f95f4
call fcn.0040a424
mov edx, dword [ebp - 0x34]
mov eax, dword [ebx + 0x328]
call fcn.00446fdc
push 0x4f9620
lea edx, [ebp - 0x3c]
mov eax, dword [esi]
call fcn.004ef0e8
push dword [ebp - 0x3c]
push 0x4f9588
lea edx, [ebp - 0x40]
mov eax, dword [esi]
call fcn.004ef0fc
push dword [ebp - 0x40]
push 0x4f965c
push 0x4f9684
lea edx, [ebp - 0x44]
mov eax, dword [esi]
call fcn.004eef34
push dword [ebp - 0x44]
push 0x4f95cc
lea eax, [ebp - 0x38]
mov edx, 8
call fcn.00404da8
mov ecx, dword [ebp - 0x38]
mov eax, dword [esi]
mov edx, dword [ebx + 0x378]
call fcn.004eeaa4
mov edx, 0x4f9698
mov eax, dword [ebx + 0x378]
call fcn.004832e4
mov edx, dword [eax]
call dword [edx + 0x58]
add edi, eax
mov edx, 0x4f9698
mov eax, dword [ebx + 0x378]
call fcn.004832e4
lea edx, [ebp - 0x48]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebx + 0x31c]
call fcn.00446fdc
lea edx, [ebp - 0x4c]
mov eax, edi
call fcn.00409600
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebx + 0x318]
call fcn.00446fdc
push 0x4f96a8
lea edx, [ebp - 0x54]
mov eax, dword [esi]
call fcn.004ef0e8
push dword [ebp - 0x54]
push 0x4f9588
lea edx, [ebp - 0x58]
mov eax, dword [esi]
call fcn.004ef0fc
push dword [ebp - 0x58]
push 0x4f9704
push 0x4f972c
lea edx, [ebp - 0x5c]
mov eax, dword [esi]
call fcn.004eef34
push dword [ebp - 0x5c]
push 0x4f95cc
lea eax, [ebp - 0x50]
mov edx, 8
call fcn.00404da8
mov ecx, dword [ebp - 0x50]
mov eax, dword [esi]
mov edx, dword [ebx + 0x378]
call fcn.004eeaa4
lea eax, [ebp - 0x60]
push eax
mov edx, 0x4f974c
mov eax, dword [ebx + 0x378]
call fcn.004832e4
mov edx, dword [eax]
call dword [edx + 0x54]
fstp xword [ebp - 0x2c]
wait
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 3
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, 0x4f95f4
call fcn.0040a424
mov edx, dword [ebp - 0x60]
mov eax, dword [ebx + 0x368]
call fcn.00446fdc
lea eax, [ebp - 0x64]
push eax
mov edx, 0x4f9604
mov eax, dword [ebx + 0x378]
call fcn.004832e4
mov edx, dword [eax]
call dword [edx + 0x54]
fstp xword [ebp - 0x2c]
wait
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 3
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, 0x4f95f4
call fcn.0040a424
mov edx, dword [ebp - 0x64]
mov eax, dword [ebx + 0x36c]
call fcn.00446fdc
mov edx, 0x4f9758
mov eax, dword [ebx + 0x378]
call fcn.004832e4
lea edx, [ebp - 0x6c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x68]
call fcn.0040925c
mov edx, dword [ebp - 0x68]
mov eax, dword [ebx + 0x370]
call fcn.00446fdc
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f94ff
lea eax, [ebp - 0x6c]
mov edx, 0x10
call fcn.00404a54
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.00404a54
ret