Function at 0x4fe708
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xe
push 0
push 0
dec ecx
jne 0x4fe710
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x4feb1c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
push 0x4feb34
lea edx, [ebp - 0xc]
mov eax, dword [0x53d50c]
mov eax, dword [eax]
call fcn.004eef34
push dword [ebp - 0xc]
push 0x4fec0c
lea edx, [ebp - 0x10]
mov eax, dword [0x53d50c]
mov eax, dword [eax]
call fcn.004ef0e8
push dword [ebp - 0x10]
push 0x4fec24
lea edx, [ebp - 0x14]
mov eax, dword [0x53d50c]
mov eax, dword [eax]
call fcn.004ef0fc
push dword [ebp - 0x14]
push 0x4fec38
lea eax, [ebp - 8]
mov edx, 7
call fcn.00404da8
mov eax, dword [0x53d50c]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
mov edx, dword [ebx + 0x3ac]
call fcn.004eeaa4
test al, al
je 0x4feaf4
mov eax, dword [ebx + 0x3ac]
call fcn.00484674
mov eax, dword [ebx + 0x320]
mov eax, dword [eax + 0x22c]
call fcn.004a9030
jmp 0x4feab4
mov eax, dword [ebx + 0x320]
mov eax, dword [eax + 0x22c]
call fcn.004a8ed4
mov esi, eax
mov edx, 0x4fec5c
mov eax, dword [ebx + 0x3ac]
call fcn.004832e4
lea edx, [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.0040925c
mov edx, dword [ebp - 0x18]
mov eax, esi
call fcn.004a8974
mov edx, 0x4fec6c
mov eax, dword [ebx + 0x3ac]
call fcn.004832e4
lea edx, [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.0040925c
mov edx, dword [ebp - 0x20]
mov eax, dword [esi + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4fec7c
mov eax, dword [ebx + 0x3ac]
call fcn.004832e4
lea edx, [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 8]
call fcn.0040925c
lea eax, [ebp - 0x30]
push eax
mov ecx, 4
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00404f40
push dword [ebp - 0x30]
push 0x4fec8c
lea eax, [ebp - 0x34]
push eax
mov ecx, 2
mov edx, 5
mov eax, dword [ebp - 8]
call fcn.00404f40
push dword [ebp - 0x34]
push 0x4fec8c
lea eax, [ebp - 0x38]
push eax
mov ecx, 2
mov edx, 7
mov eax, dword [ebp - 8]
call fcn.00404f40
push dword [ebp - 0x38]
lea eax, [ebp - 0x2c]
mov edx, 5
call fcn.00404da8
mov edx, dword [ebp - 0x2c]
mov eax, dword [esi + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x3c]
push eax
mov edx, 0x4fec98
mov eax, dword [ebx + 0x3ac]
call fcn.004832e4
mov edx, dword [eax]
call dword [edx + 0x54]
fstp xword [ebp - 0x50]
wait
lea eax, [ebp - 0x50]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 3
lea edx, [ebp - 0x44]
xor ecx, ecx
mov eax, 0x4feca8
call fcn.0040a424
mov edx, dword [ebp - 0x3c]
mov eax, dword [esi + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x54]
push eax
mov edx, 0x4fecb8
mov eax, dword [ebx + 0x3ac]
call fcn.004832e4
mov edx, dword [eax]
call dword [edx + 0x54]
fstp xword [ebp - 0x50]
wait
lea eax, [ebp - 0x50]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 3
lea edx, [ebp - 0x44]
xor ecx, ecx
mov eax, 0x4feca8
call fcn.0040a424
mov edx, dword [ebp - 0x54]
mov eax, dword [esi + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x58]
push eax
mov edx, 0x4fecc4
mov eax, dword [ebx + 0x3ac]
call fcn.004832e4
mov edx, dword [eax]
call dword [edx + 0x54]
fstp xword [ebp - 0x50]
wait
lea eax, [ebp - 0x50]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 3
lea edx, [ebp - 0x44]
xor ecx, ecx
mov eax, 0x4feca8
call fcn.0040a424
mov edx, dword [ebp - 0x58]
mov eax, dword [esi + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4fecd0
mov eax, dword [ebx + 0x3ac]
call fcn.004832e4
lea edx, [ebp - 0x60]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
call fcn.0040925c
mov edx, dword [ebp - 0x5c]
mov eax, dword [esi + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4fece4
mov eax, dword [ebx + 0x3ac]
call fcn.004832e4
lea edx, [ebp - 0x64]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x64]
mov edx, 0x4fecf8
call fcn.00404e2c
jne 0x4fe9e8
mov edx, 0x4fed04
mov eax, dword [esi + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4fe9f5
mov edx, 0x4fed10
mov eax, dword [esi + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4fed1c
mov eax, dword [ebx + 0x3ac]
call fcn.004832e4
lea edx, [ebp - 0x68]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x68]
mov edx, 0x4fed2c
call fcn.00404e2c
jne 0x4fea2b
mov edx, 0x4fed38
mov eax, dword [esi + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4fea38
mov edx, 0x4fed48
mov eax, dword [esi + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4fed58
mov eax, dword [ebx + 0x3ac]
call fcn.004832e4
lea edx, [ebp - 0x70]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x6c]
call fcn.0040925c
mov edx, dword [ebp - 0x6c]
mov eax, dword [esi + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4fed6c
mov eax, dword [ebx + 0x3ac]
call fcn.004832e4
lea edx, [ebp - 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x74]
mov edx, 0x4fecf8
call fcn.00404e2c
jne 0x4fea9c
mov edx, 0x4fed7c
mov eax, dword [esi + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4feaa9
mov edx, 0x4fed8c
mov eax, dword [esi + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx + 0x3ac]
call fcn.0048498c
mov eax, dword [ebx + 0x3ac]
cmp byte [eax + 0xa1], 0
je 0x4fe7c3
mov eax, dword [ebx + 0x320]
call fcn.004ac434
test eax, eax
jne 0x4feaf0
xor edx, edx
mov eax, dword [ebx + 0x348]
mov ecx, dword [eax]
call dword [ecx + 0x64]
xor edx, edx
mov eax, dword [ebx + 0x34c]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4feb23
lea eax, [ebp - 0x74]
mov edx, 9
call fcn.00404a54
lea eax, [ebp - 0x3c]
mov edx, 0xe
call fcn.00404a54
ret