Function at 0xb4ee38
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x22
push 0
push 0
dec ecx
jne 0xb4ee41
push ecx
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0xe8]
mov edx, dword [0x6d6c8c]
call fcn.00405e6c
xor eax, eax
push ebp
push 0xb4f2db
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x661654]
call fcn.00662c60
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x20]
call fcn.00692cf0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x64fe28]
call fcn.006505ec
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
call fcn.00672a4c
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x38]
mov eax, dword [ebp - 0x24]
call fcn.00652ce4
mov edx, 0xb4f2f4
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, 0xb4f38c
mov eax, dword [ebp - 0x24]
call fcn.00652db0
mov edx, dword [ebp - 8]
call fcn.00682cb8
mov eax, dword [ebp - 0x24]
call fcn.004e35a4
mov eax, dword [ebp - 0x24]
call fcn.004e5d78
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x14c]
test eax, eax
setg byte [ebp - 0x15]
cmp byte [ebp - 0x15], 0
je 0xb4ef80
mov edx, 0xb4f3a0
mov eax, dword [ebp - 0x24]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0xc], eax
mov edx, 0xb4f3b0
mov eax, dword [ebp - 0x24]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x10], eax
mov edx, 0xb4f3c4
mov eax, dword [ebp - 0x24]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x14], eax
mov edx, 0xb4f3d4
mov eax, dword [ebp - 0x24]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x30], eax
mov edx, 0xb4f3e8
mov eax, dword [ebp - 0x24]
call fcn.004e481c
mov edx, dword [eax]
call dword [edx + 0x44]
xor al, 1
mov byte [ebp - 0x31], al
mov eax, dword [ebp - 0x24]
call fcn.004e35b0
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x3c]
mov eax, dword [ebp - 0x24]
call fcn.0040429c
mov eax, dword [ebp - 0x20]
call fcn.0040429c
cmp byte [ebp - 0x15], 0
je 0xb4f29c
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x14]
jg 0xb4f29c
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp - 0xc]
jne 0xb4f0e5
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 0x10]
jne 0xb4f0e5
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00b509e8
push 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1d8]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [0xaea2b0]
call fcn.00aea7a0
push 0xb4f404
lea edx, [ebp - 0xf4]
mov eax, dword [ebp - 0xc]
call fcn.0040ae2c
push dword [ebp - 0xf4]
push 0xb4f440
lea edx, [ebp - 0xf8]
mov eax, dword [ebp - 0x10]
call fcn.0040ae2c
push dword [ebp - 0xf8]
push 0xb4f450
lea eax, [ebp - 0x1c]
mov edx, 5
call fcn.0040556c
call fcn.0040d358
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x100]
mov eax, 0xb4f45c
call fcn.0040e1d4
push dword [ebp - 0x100]
push 0xb4f470
call fcn.0040d384
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x104]
mov eax, 0xb4f47c
call fcn.0040e1d4
push dword [ebp - 0x104]
push 0xb4f470
push dword [ebp - 0x1c]
lea eax, [ebp - 0xfc]
mov edx, 5
call fcn.0040556c
mov eax, dword [ebp - 0xfc]
call fcn.00b32d3c
call fcn.0040d3b8
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0x332
push 0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x120]
mov ecx, dword [ebp - 0x30]
mov edx, 4
call fcn.007213dc
jmp 0xb4f29c
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xe4], eax
mov al, byte [ebp - 0x31]
mov byte [ebp - 0x88], al
lea eax, [ebp - 0xe0]
mov edx, 0xb4f490
call fcn.00405284
xor eax, eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
xor eax, eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x30]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov ecx, dword [ebp - 8]
mov eax, dword [0xb20280]
call fcn.00b2e114
fdiv dword [0xb4f494]
fstp qword [ebp - 0xc8]
wait
lea eax, [ebp - 0xc0]
call fcn.004051ec
lea eax, [ebp - 0xbc]
call fcn.004051ec
lea eax, [ebp - 0x40]
call fcn.004051ec
fld qword [ebp - 0xc8]
fmul dword [0xb4f494]
fistp qword [ebp - 0x78]
wait
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xe8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00b50f78
push 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1d4]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [0xaea2b0]
call fcn.00aea7a0
push 0xb4f4a0
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 0xc]
call fcn.0040ae2c
push dword [ebp - 0x108]
push 0xb4f440
lea edx, [ebp - 0x10c]
mov eax, dword [ebp - 0x10]
call fcn.0040ae2c
push dword [ebp - 0x10c]
push 0xb4f450
lea eax, [ebp - 0x1c]
mov edx, 5
call fcn.0040556c
call fcn.0040d358
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x114]
mov eax, 0xb4f45c
call fcn.0040e1d4
push dword [ebp - 0x114]
push 0xb4f470
call fcn.0040d384
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x118]
mov eax, 0xb4f47c
call fcn.0040e1d4
push dword [ebp - 0x118]
push 0xb4f470
push dword [ebp - 0x1c]
lea eax, [ebp - 0x110]
mov edx, 5
call fcn.0040556c
mov eax, dword [ebp - 0x110]
call fcn.00b32d3c
call fcn.0040d3b8
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0x331
push 0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x120]
mov ecx, dword [ebp - 0x30]
mov edx, 4
call fcn.007213dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb4f2e2
lea eax, [ebp - 0x118]
mov edx, 0xc
call fcn.00405210
lea eax, [ebp - 0xe8]
mov edx, dword [0x6d6c8c]
call fcn.00405f3c
lea eax, [ebp - 0x2c]
call fcn.004051ec
lea eax, [ebp - 0x1c]
call fcn.004051ec
ret