Function at 0x7f585c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x7f5864
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x7f61e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x320]
call fcn.00696724
test al, al
je 0x7f58a8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x320]
mov edx, dword [eax]
call dword [edx + 0x3c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x320]
mov edx, dword [eax]
call dword [edx + 0x38]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x324]
call fcn.00656d98
mov edx, 0x7f6200
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x324]
mov edx, 0x7f6240
call fcn.00656e64
mov edx, dword [ebp - 4]
call fcn.00686a74
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x324]
call fcn.004ecb98
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x324]
call fcn.0067a804
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x324]
call fcn.004ef294
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x324]
mov edx, dword [eax]
call dword [edx + 0x14c]
test eax, eax
jne 0x7f5977
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x39c]
xor edx, edx
call fcn.004878d8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x320]
mov edx, dword [eax]
call dword [edx + 0x3c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x324]
call fcn.004ecba4
jmp 0x7f61a7
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax - 0x10], edx
mov dword [eax - 0xc], edx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax - 0x18], edx
mov dword [eax - 0x14], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x324]
mov edx, 0x7f6250
call fcn.004ede10
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [0x805e0c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x324]
mov edx, 0x7f6260
call fcn.004ede10
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [0x805e10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x324]
mov edx, 0x7f6274
call fcn.004ede10
mov edx, dword [eax]
call dword [edx + 0x4c]
fdiv dword [0x7f627c]
mov eax, dword [ebp + 8]
fstp qword [eax - 0x20]
wait
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x324]
mov edx, 0x7f6288
call fcn.004ede10
mov edx, dword [eax]
call dword [edx + 0x4c]
mov eax, dword [ebp + 8]
fistp qword [eax - 0x10]
wait
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x324]
mov edx, 0x7f629c
call fcn.004ede10
mov edx, dword [eax]
call dword [edx + 0x4c]
mov eax, dword [ebp + 8]
fistp qword [eax - 0x28]
wait
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x324]
mov edx, 0x7f62b4
call fcn.004ede10
lea edx, [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
add eax, 0xfffffed8
mov ecx, 0xff
call fcn.00404efc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x324]
mov edx, 0x7f62c8
call fcn.004ede10
mov edx, dword [eax]
call dword [edx + 0x4c]
fdiv dword [0x7f627c]
mov eax, dword [ebp + 8]
fstp qword [eax - 0x18]
wait
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x324]
mov edx, 0x7f62d8
call fcn.004ede10
mov edx, dword [eax]
call dword [edx + 0x58]
test eax, eax
mov eax, dword [ebp + 8]
sete byte [eax - 0x129]
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax - 0x138], edx
mov dword [eax - 0x134], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x324]
mov edx, 0x7f62ec
call fcn.004ede98
test eax, eax
je 0x7f5b11
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x324]
mov edx, 0x7f62ec
call fcn.004ede10
mov edx, dword [eax]
call dword [edx + 0x54]
fmul dword [0x7f627c]
mov eax, dword [ebp + 8]
fistp qword [eax - 0x138]
wait
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x324]
mov edx, 0x7f6304
call fcn.004ede10
lea edx, [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
add eax, 0xfffffec4
call fcn.00404cf8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x324]
mov edx, 0x7f6318
call fcn.004ede10
lea edx, [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
add eax, 0xfffffec0
call fcn.00404cf8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x324]
mov edx, 0x7f632c
call fcn.004ede98
test eax, eax
je 0x7f5bd3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x324]
mov edx, 0x7f632c
call fcn.004ede10
mov edx, dword [eax]
call dword [edx + 0x4c]
mov eax, dword [ebp + 8]
fistp qword [eax - 0x148]
wait
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x324]
mov edx, 0x7f6340
call fcn.004ede10
mov edx, dword [eax]
call dword [edx + 0x4c]
mov eax, dword [ebp + 8]
fistp qword [eax - 0x150]
wait
jmp 0x7f5bf5
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax - 0x148], edx
mov dword [eax - 0x144], edx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax - 0x150], edx
mov dword [eax - 0x14c], edx
mov eax, dword [ebp + 8]
fld qword [eax - 0x20]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x20]
mov eax, 0x7f6358
call fcn.0040c244
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x7f6368
call fcn.00404f6c
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x39c]
call fcn.004878d8
mov eax, dword [ebp + 8]
add eax, 0xfffffeac
call fcn.00404c60
mov eax, dword [ebp + 8]
fild qword [eax - 0x28]
fcomp dword [0x7f6374]
fnstsw ax
sahf
je 0x7f5c99
mov eax, dword [ebp + 8]
push dword [eax - 0x154]
push 0x7f6380
mov eax, dword [ebp + 8]
fild qword [eax - 0x28]
fdiv dword [0x7f627c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x24]
mov eax, 0x7f6358
call fcn.0040c244
push dword [ebp - 0x24]
push 0x7f6394
mov eax, dword [ebp + 8]
add eax, 0xfffffeac
mov edx, 4
call fcn.00404fe0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 4]
call fcn.007f9c5c
mov eax, dword [ebp + 8]
fistp qword [eax - 0x160]
wait
mov eax, dword [ebp + 8]
fild qword [eax - 0x160]
fcomp dword [0x7f6374]
fnstsw ax
sahf
je 0x7f5d3d
mov eax, dword [ebp + 8]
fild qword [eax - 0x160]
fcomp dword [0x7f6374]
fnstsw ax
sahf
jae 0x7f5cf0
mov eax, dword [ebp + 8]
add eax, 0xfffffeac
mov edx, 0x7f63a0
call fcn.00404f28
mov eax, dword [ebp + 8]
jmp 0x7f5d05
mov eax, dword [ebp + 8]
add eax, 0xfffffeac
mov edx, 0x7f63b4
call fcn.00404f28
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
fild qword [eax - 0x160]
fdiv dword [0x7f627c]
fabs
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x28]
mov eax, 0x7f6358
call fcn.0040c244
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp + 8]
add eax, 0xfffffeac
call fcn.00404f28
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
fild qword [eax - 0x138]
fcomp dword [0x7f6374]
fnstsw ax
sahf
je 0x7f5de7
push 0
mov eax, dword [0x8061ac]
mov eax, dword [eax]
mov ecx, 0x7f63c8
mov edx, 0x7f63dc
mov ebx, dword [eax]
call dword [ebx + 0x10]
test al, al
je 0x7f5de7
push 0x7f63ec
mov eax, dword [ebp + 8]
fild qword [eax - 0x138]
fdiv dword [0x7f627c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x2c]
mov eax, 0x7f6358
call fcn.0040c244
push dword [ebp - 0x2c]
push 0x7f6400
mov eax, dword [ebp + 8]
fld qword [eax - 0x20]
fmul dword [0x7f627c]
mov eax, dword [ebp + 8]
fild qword [eax - 0x138]
fsubp st(1)
fdiv dword [0x7f627c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x30]
mov eax, 0x7f6358
call fcn.0040c244
push dword [ebp - 0x30]
mov eax, dword [ebp + 8]
add eax, 0xfffffeac
mov edx, 4
call fcn.00404fe0
lea edx, [ebp - 0x34]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x39c]
call fcn.004878a8
lea eax, [ebp - 0x34]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x154]
call fcn.00404f28
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x39c]
call fcn.004878d8
mov eax, dword [ebp + 8]
add eax, 0xfffffed8
mov edx, 0x7f6414
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00403330
jne 0x7f5e73
lea edx, [ebp - 0x38]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x39c]
call fcn.004878a8
lea eax, [ebp - 0x38]
mov edx, 0x7f6424
call fcn.00404f28
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x39c]
call fcn.004878d8
jmp 0x7f5f4e
mov eax, dword [ebp + 8]
add eax, 0xfffffed8
mov edx, 0x7f6430
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00403330
jne 0x7f5f4e
mov eax, dword [ebp + 8]
fild qword [eax - 0x148]
fcomp dword [0x7f6374]
fnstsw ax
sahf
je 0x7f5f4e
mov eax, dword [ebp + 8]
fild qword [eax - 0x150]
fcomp dword [0x7f6374]
fnstsw ax
sahf
je 0x7f5f4e
lea edx, [ebp - 0x40]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x39c]
call fcn.004878a8
push dword [ebp - 0x40]
push 0x7f6440
mov eax, dword [ebp + 8]
fild qword [eax - 0x148]
fdiv dword [0x7f627c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x44]
mov eax, 0x7f6358
call fcn.0040c244
push dword [ebp - 0x44]
push 0x7f6454
mov eax, dword [ebp + 8]
fild qword [eax - 0x150]
fdiv dword [0x7f627c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x48]
mov eax, 0x7f6358
call fcn.0040c244
push dword [ebp - 0x48]
lea eax, [ebp - 0x3c]
mov edx, 5
call fcn.00404fe0
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x39c]
call fcn.004878d8
mov eax, dword [ebp + 8]
cmp dword [eax - 0x13c], 0
je 0x7f5fb5
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x13c]
mov edx, 0x7f6468
call fcn.0040506c
je 0x7f5fb5
lea edx, [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x39c]
call fcn.004878a8
push dword [ebp - 0x50]
push 0x7f6474
mov eax, dword [ebp + 8]
push dword [eax - 0x13c]
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.00404fe0
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x39c]
call fcn.004878d8
mov eax, dword [ebp + 8]
cmp dword [eax - 0x140], 0
je 0x7f6007
lea edx, [ebp - 0x58]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x39c]
call fcn.004878a8
push dword [ebp - 0x58]
push 0x7f6488
mov eax, dword [ebp + 8]
push dword [eax - 0x140]
lea eax, [ebp - 0x54]
mov edx, 3
call fcn.00404fe0
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x39c]
call fcn.004878d8
mov eax, dword [ebp + 8]
cmp byte [eax - 0x129], 0
je 0x7f602b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x390]
mov edx, 0x7f649c
call fcn.004878d8
jmp 0x7f6041
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x390]
mov edx, 0x7f64c0
call fcn.004878d8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x324]
call fcn.004ecba4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x320]
mov edx, dword [eax]
call dword [edx + 0x3c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x334]
call fcn.004ecce4
test al, al
je 0x7f6089
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x334]
call fcn.004ecba4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x338]
call fcn.00696724
test al, al
je 0x7f60af
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x338]
mov edx, dword [eax]
call dword [edx + 0x3c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, 0x7f64e4
call fcn.007f82f8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x338]
mov edx, dword [eax]
call dword [edx + 0x38]
xor eax, eax
push ebp
push 0x7f6109
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x334]
mov eax, dword [eax + 0x38c]
call fcn.00699b64
mov edx, 0x7f64f4
mov ecx, dword [eax]
call dword [ecx + 0x2c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x7f6178
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x334]
mov edx, 0x7f6240
call fcn.00656e64
mov edx, dword [ebp - 4]
call fcn.00686a74
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x334]
call fcn.004ecb98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7f61f0
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00404c84
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404c84
lea eax, [ebp - 0x40]
mov edx, 4
call fcn.00404c84
lea eax, [ebp - 0x30]
mov edx, 9
call fcn.00404c84
ret