Function at 0x4fe250
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x4fe258
push ecx
push ebx
push esi
push edi
mov edi, eax
mov esi, dword [0x53d50c]
xor eax, eax
push ebp
push 0x4fe596
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0x4fe5b0
lea edx, [ebp - 0xc]
mov eax, dword [esi]
call fcn.004eef34
push dword [ebp - 0xc]
push 0x4fe610
lea edx, [ebp - 0x10]
mov eax, dword [esi]
call fcn.004ef0e8
push dword [ebp - 0x10]
push 0x4fe628
lea edx, [ebp - 0x14]
mov eax, dword [esi]
call fcn.004ef0fc
push dword [ebp - 0x14]
push 0x4fe63c
lea eax, [ebp - 8]
mov edx, 7
call fcn.00404da8
mov ecx, dword [ebp - 8]
mov eax, dword [esi]
mov edx, dword [edi + 0x3ac]
call fcn.004eeaa4
test al, al
je 0x4fe559
lea eax, [ebp - 0x18]
push eax
mov edx, 0x4fe654
mov eax, dword [edi + 0x3ac]
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, 0x4fe660
call fcn.0040a424
mov edx, dword [ebp - 0x18]
mov eax, dword [edi + 0x310]
call fcn.00446fdc
lea eax, [ebp - 0x30]
push eax
mov edx, 0x4fe670
mov eax, dword [edi + 0x3ac]
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, 0x4fe660
call fcn.0040a424
mov edx, dword [ebp - 0x30]
mov eax, dword [edi + 0x314]
call fcn.00446fdc
mov edx, 0x4fe67c
mov eax, dword [edi + 0x3ac]
call fcn.004832e4
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 4], eax
push 0x4fe688
lea edx, [ebp - 0x38]
mov eax, dword [esi]
call fcn.004eef34
push dword [ebp - 0x38]
push 0x4fe610
lea edx, [ebp - 0x3c]
mov eax, dword [esi]
call fcn.004ef0e8
push dword [ebp - 0x3c]
push 0x4fe628
lea edx, [ebp - 0x40]
mov eax, dword [esi]
call fcn.004ef0fc
push dword [ebp - 0x40]
push 0x4fe6c8
lea eax, [ebp - 0x34]
mov edx, 7
call fcn.00404da8
mov ecx, dword [ebp - 0x34]
mov eax, dword [esi]
mov edx, dword [edi + 0x3ac]
call fcn.004eeaa4
mov edx, 0x4fe6e0
mov eax, dword [edi + 0x3ac]
call fcn.004832e4
lea edx, [ebp - 0x44]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x44]
mov eax, dword [edi + 0x31c]
call fcn.00446fdc
lea edx, [ebp - 0x4c]
mov eax, dword [edi + 0x31c]
call fcn.00446fac
mov eax, dword [ebp - 0x4c]
call fcn.004096a0
add eax, dword [ebp - 4]
lea edx, [ebp - 0x48]
call fcn.00409600
mov edx, dword [ebp - 0x48]
mov eax, dword [edi + 0x318]
call fcn.00446fdc
push 0x4fe5b0
lea edx, [ebp - 0x54]
mov eax, dword [esi]
call fcn.004eef34
push dword [ebp - 0x54]
push 0x4fe610
lea edx, [ebp - 0x58]
mov eax, dword [esi]
call fcn.004ef0e8
push dword [ebp - 0x58]
push 0x4fe628
lea edx, [ebp - 0x5c]
mov eax, dword [esi]
call fcn.004ef0fc
push dword [ebp - 0x5c]
push 0x4fe6f0
lea eax, [ebp - 0x50]
mov edx, 7
call fcn.00404da8
mov ecx, dword [ebp - 0x50]
mov eax, dword [esi]
mov edx, dword [edi + 0x3ac]
call fcn.004eeaa4
test al, al
je 0x4fe559
mov eax, dword [edi + 0x3ac]
call fcn.00484674
lea eax, [ebp - 0x60]
push eax
mov edx, 0x4fe654
mov eax, dword [edi + 0x3ac]
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, 0x4fe660
call fcn.0040a424
mov edx, dword [ebp - 0x60]
mov eax, dword [edi + 0x334]
call fcn.00446fdc
lea eax, [ebp - 0x64]
push eax
mov edx, 0x4fe670
mov eax, dword [edi + 0x3ac]
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, 0x4fe660
call fcn.0040a424
mov edx, dword [ebp - 0x64]
mov eax, dword [edi + 0x338]
call fcn.00446fdc
mov edx, 0x4fe67c
mov eax, dword [edi + 0x3ac]
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 [edi + 0x33c]
call fcn.00446fdc
mov eax, dword [edi + 0x3ac]
call fcn.004822dc
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fe59d
lea eax, [ebp - 0x6c]
mov edx, 8
call fcn.00404a54
lea eax, [ebp - 0x4c]
call fcn.00404a30
lea eax, [ebp - 0x48]
mov edx, 7
call fcn.00404a54
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.00404a54
ret