Function at 0xb51c50
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0xb51ff5
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0xb51fdf
xor ecx, ecx
mov dl, 1
mov eax, dword [0x661654]
call fcn.00662c60
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x28]
call fcn.00692cf0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x64fe28]
call fcn.006505ec
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
call fcn.00672a4c
xor ecx, ecx
mov dl, 1
mov eax, dword [0x6633e4]
call fcn.00663758
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x30]
call fcn.0068acc4
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx + 0x38]
xor eax, eax
push ebp
push 0xb51f95
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x140], 0
jne 0xb51e1c
mov eax, dword [ebp - 0x2c]
call fcn.00652ce4
mov edx, 0xb52010
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, 0xb52060
mov eax, dword [ebp - 0x2c]
call fcn.00652db0
mov edx, dword [ebp - 8]
call fcn.00682cb8
mov eax, dword [ebp - 0x2c]
call fcn.004e35a4
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x14c]
test eax, eax
setg byte [ebp - 0x21]
mov edx, 0xb52078
mov eax, dword [ebp - 0x2c]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x4c]
fistp qword [ebp - 0x18]
wait
mov eax, dword [ebp - 0x2c]
call fcn.004e35b0
cmp byte [ebp - 0x21], 0
je 0xb51dd4
mov eax, dword [ebp - 0x2c]
call fcn.00652ce4
mov edx, 0xb5208c
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, 0xb520f4
mov eax, dword [ebp - 0x2c]
call fcn.00652db0
mov edx, dword [ebp - 8]
call fcn.00682cb8
mov eax, dword [ebp - 0x2c]
call fcn.004e35a4
mov edx, 0xb52108
mov eax, dword [ebp - 0x2c]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x4c]
fistp qword [ebp - 0x20]
wait
mov eax, dword [ebp - 0x2c]
call fcn.004e35b0
cmp byte [ebp + 8], 0
jne 0xb51dc8
fild qword [ebp - 0x18]
fild qword [ebp - 0x20]
fsubp st(1)
fistp qword [ebp - 0x18]
wait
jmp 0xb51dd4
fild qword [ebp - 0x18]
fild qword [ebp - 0x20]
faddp st(1)
fistp qword [ebp - 0x18]
wait
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x80]
mov edx, 0xb52114
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, 0xb520f4
mov eax, dword [ebp - 0x30]
call fcn.0068b2b0
mov edx, dword [ebp - 8]
call fcn.00682cb8
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov edx, 0xb52160
mov eax, dword [ebp - 0x30]
call fcn.0068b2b0
call fcn.00682ac0
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x34]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x140], 0
je 0xb51f83
mov eax, dword [ebp - 0x2c]
call fcn.00652ce4
mov edx, 0xb52170
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, 0xb52060
mov eax, dword [ebp - 0x2c]
call fcn.00652db0
mov edx, dword [ebp - 8]
call fcn.00682cb8
mov eax, dword [ebp - 0x2c]
call fcn.004e35a4
mov edx, 0xb521c0
mov eax, dword [ebp - 0x2c]
call fcn.004e481c
lea edx, [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x2c]
call fcn.004e35b0
mov eax, dword [ebp - 0x2c]
call fcn.00652ce4
mov edx, 0xb521d4
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, 0xb52218
mov eax, dword [ebp - 0x2c]
call fcn.00652db0
mov edx, dword [ebp - 0xc]
call fcn.00682cb8
mov eax, dword [ebp - 0x2c]
call fcn.004e35a4
mov edx, 0xb5222c
mov eax, dword [ebp - 0x2c]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
call fcn.004e35b0
mov eax, dword [ebp - 0x2c]
call fcn.00652ce4
mov edx, 0xb5223c
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, 0xb522b8
mov eax, dword [ebp - 0x2c]
call fcn.00652db0
mov edx, dword [ebp - 0x34]
call fcn.0068332c
mov edx, 0xb522d0
mov eax, dword [ebp - 0x2c]
call fcn.00652db0
mov edx, dword [ebp - 0x38]
call fcn.00682cb8
mov eax, dword [ebp - 0x2c]
call fcn.004e35a4
mov edx, 0xb522e4
mov eax, dword [ebp - 0x2c]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x4c]
fistp qword [ebp - 0x18]
wait
mov eax, dword [ebp - 0x2c]
call fcn.004e35b0
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x80]
mov edx, 0xb522f8
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, 0xb520f4
mov eax, dword [ebp - 0x30]
call fcn.0068b2b0
mov edx, dword [ebp - 8]
call fcn.00682cb8
mov edx, 0xb52360
mov eax, dword [ebp - 0x30]
call fcn.0068b2b0
mov edx, dword [ebp - 0xc]
call fcn.00682cb8
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov edx, 0xb52160
mov eax, dword [ebp - 0x30]
call fcn.0068b2b0
call fcn.00682ac0
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
call dword [edx + 0x34]
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx + 0x3c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0xb51fc7
mov eax, dword [ebp - 0x30]
call fcn.0040429c
mov eax, dword [ebp - 0x2c]
call fcn.0040429c
mov eax, dword [ebp - 0x28]
call fcn.0040429c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb51ffc
lea eax, [ebp - 0x34]
call fcn.004051ec
ret