Function at 0x698120
Capabilities:
Access peb ldr_data
Check os version

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a0a90
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
mov eax, dword [0x851070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
mov ecx, dword [ebx + 0xc]
movups xmmword [esi + 0xc], xmm0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0x1c], 0
movups xmm0, xmmword [eax]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x6c], ecx
movups xmmword [esi + 0x20], xmm0
mov dword [ebp - 0x68], 0x7ecd04
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esi + 0x30], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [esi + 0x40], xmm0
mov eax, dword [ecx + 0x40]
shr eax, 0x1c
and al, 3
mov byte [esi + 0x8d], al
mov dword [ebp - 4], 0
mov dword [ebp - 0x68], 0x7ecbd4
mov dword [ebp - 4], 1
mov eax, dword [ecx + 0x40]
shr eax, 0x1c
and eax, 3
cmp dword [esi + 0xd8], 0
mov dword [ebp - 0x60], eax
lea eax, [esi + 0xa4]
jne 0x698258
cmp dword [eax + 0x18], 0
je 0x698296
cmp dword [eax + 0x1c], 0
je 0x698296
mov ecx, dword [eax]
test ecx, ecx
je 0x698296
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
lea eax, [esi + 0xa4]
jne 0x698258
cmp dword [eax + 0x20], 6
jne 0x698258
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00515510
mov byte [ebp - 4], 2
cmp dword [esi + 0xb0], 0
jne 0x698246
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00515550
jmp 0x698296
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00515550
lea eax, [esi + 0xa4]
push 0x88
lea ecx, [esi + 0xe0]
push ecx
push dword [ebp - 0x60]
lea ecx, [ebp - 0x68]
push dword [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x68]
mov eax, dword [eax + 4]
call eax
mov ecx, eax
test ecx, ecx
je 0x698298
cmp dword [ecx + 4], 0
jne 0x698298
lea eax, [esi + 0xe0]
cmp eax, ecx
mov eax, dword [ecx]
jne 0x698292
push 0
jmp 0x698294
push 1
call dword [eax]
xor ecx, ecx
mov dword [esi + 0x168], ecx
test ecx, ecx
je 0x69867e
cmp dword [ecx + 0x10], 0
jle 0x69867e
cmp dword [ecx + 0x14], 0
jle 0x69867e
movups xmm0, xmmword [ecx + 4]
movups xmmword [esi], xmm0
movups xmm0, xmmword [ecx + 0x14]
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [ecx + 0x24]
movups xmmword [esi + 0x20], xmm0
movups xmm0, xmmword [ecx + 0x34]
movups xmmword [esi + 0x30], xmm0
movq xmm0, qword [ecx + 0x44]
movq qword [esi + 0x40], xmm0
mov eax, dword [ecx + 0x4c]
mov byte [esi + 0x8d], al
mov eax, dword [esi + 0x44]
test al, al
jns 0x698301
lea ecx, [esi + 0x20]
call fcn.0063e830
movzx eax, al
mov dword [esi + 0x44], eax
movss xmm3, dword [0x7f16c0]
mov edx, eax
and edx, 0xe
cmp byte [esi + 0x8b], 0
jne 0x69832b
cmp byte [esi + 0x8c], 0
jne 0x69832b
mov byte [ebp - 0x60], 1
mov ecx, eax
jmp 0x6983c7
mov byte [ebp - 0x60], 0
mov ecx, eax
test edx, edx
je 0x6983c7
cmp dword [esi + 0xc], 0
mov edx, dword [esi + 0x10]
je 0x6983c7
test edx, edx
je 0x6983c7
movd xmm0, dword [esi + 0xc]
movaps xmm1, xmm3
cvtdq2ps xmm0, xmm0
mov dword [esi + 0x44], 0x80
mov ecx, 0x80
movaps xmm2, xmm3
divss xmm1, xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
movss xmm0, dword [esi + 0x20]
mulss xmm0, xmm1
movss dword [esi + 0x20], xmm0
movss xmm0, dword [esi + 0x24]
mulss xmm0, xmm1
movss dword [esi + 0x24], xmm0
movss xmm0, dword [esi + 0x28]
mulss xmm0, xmm1
movss dword [esi + 0x28], xmm0
movss xmm0, dword [esi + 0x30]
mulss xmm0, xmm2
movss dword [esi + 0x30], xmm0
movss xmm0, dword [esi + 0x2c]
mulss xmm0, xmm2
movss dword [esi + 0x2c], xmm0
movss xmm0, dword [esi + 0x34]
mulss xmm0, xmm2
movss dword [esi + 0x34], xmm0
test cl, cl
jns 0x6983d9
lea ecx, [esi + 0x20]
call fcn.0063e830
movzx ecx, al
mov dword [esi + 0x44], ecx
mov eax, ecx
and eax, 0xf
cmp al, 3
ja 0x698555
test cl, cl
jns 0x6983f8
lea ecx, [esi + 0x20]
call fcn.0063e830
movzx ecx, al
mov dword [esi + 0x44], ecx
test cl, 0xf
jne 0x698407
lea ecx, [ebp - 0x4c]
call fcn.0063e7e0
jmp 0x698423
lea eax, [ebp - 0x4c]
push eax
lea ecx, [esi + 0x20]
call fcn.0063f4c0
test al, al
je 0x698555
movss xmm3, dword [0x7f16c0]
cmp byte [ebp - 0x60], 0
mov eax, dword [ebp - 0x28]
je 0x6984cd
test al, al
jns 0x698442
lea ecx, [ebp - 0x4c]
call fcn.0063e830
movzx eax, al
mov dword [ebp - 0x28], eax
test al, 2
je 0x69850e
movd xmm0, dword [esi + 0xc]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x1c], xmm0
movd xmm0, dword [esi + 0x10]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x18], xmm0
test al, al
jns 0x698484
lea ecx, [ebp - 0x4c]
call fcn.0063e830
movzx eax, al
mov dword [ebp - 0x28], eax
push 2
lea ecx, [ebp - 0x24]
and eax, 0xf
push ecx
lea ecx, [ebp - 0x5c]
push ecx
mov eax, dword [eax*4 + 0x7c7948]
lea ecx, [ebp - 0x4c]
push ecx
call eax
add esp, 0x10
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x5c]
push eax
call fcn.0063e670
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
cmp eax, dword [esi + 0xc]
jne 0x698555
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
cmp eax, dword [esi + 0x10]
jne 0x698555
jmp 0x69850e
test al, al
jns 0x6984dc
lea ecx, [ebp - 0x4c]
call fcn.0063e830
movzx eax, al
test al, 2
je 0x69850e
movss xmm0, dword [ebp - 0x4c]
subss xmm0, xmm3
call fcn.0051d900
movss xmm1, dword [0x7f158c]
comiss xmm1, xmm0
jb 0x698555
movss xmm0, dword [ebp - 0x3c]
subss xmm0, xmm3
call fcn.0051d900
comiss xmm1, xmm0
jb 0x698555
movss xmm0, dword [ebp - 0x44]
addss xmm0, dword [0x7f1688]
call fcn.0062aa70
xorps xmm0, xmmword [0x7f2030]
movss dword [ebp - 0x64], xmm0
movss xmm0, dword [ebp - 0x38]
addss xmm0, dword [0x7f1688]
call fcn.0062aa70
xorps xmm0, xmmword [0x7f2030]
lea ecx, [esi + 0x20]
movss xmm1, dword [ebp - 0x64]
movaps xmm2, xmm0
call fcn.0063e970
mov eax, dword [esi + 0x44]
test al, al
jns 0x69856a
lea ecx, [esi + 0x20]
call fcn.0063e830
movzx eax, al
mov dword [esi + 0x44], eax
and eax, 0xf
mov eax, dword [eax*4 + 0x7c7908]
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x44]
test al, al
jns 0x69858c
lea ecx, [esi + 0x20]
call fcn.0063e830
movzx ecx, al
mov dword [esi + 0x44], ecx
and al, 0xf
mov byte [esi + 0x8a], al
movss xmm0, dword [esi + 0x20]
mulss xmm0, dword [0x7f1a64]
cvttss2si eax, xmm0
mov dword [esi + 0x80], eax
movss xmm0, dword [esi + 0x20]
mulss xmm0, dword [0x7f1a90]
call fcn.007643de
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], edx
movss xmm0, dword [esi + 0x2c]
mulss xmm0, dword [0x7f1a64]
cvttss2si eax, xmm0
mov dword [esi + 0x84], eax
movss xmm0, dword [esi + 0x2c]
mulss xmm0, dword [0x7f1a90]
call fcn.007643de
mov ecx, dword [ebp - 0x6c]
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], edx
movzx eax, byte [ecx + 0x37]
inc ax
mov dword [esi + 0x90], 0
mov word [esi + 0x88], ax
mov dword [esi + 0x94], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov eax, dword [esi + 0x44]
test al, al
jns 0x698642
lea ecx, [esi + 0x20]
call fcn.0063e830
mov ecx, dword [ebp - 0x6c]
movzx eax, al
mov dword [esi + 0x44], eax
test al, 0xe
sete byte [ebp - 0x64]
cmp byte [esi + 0x8d], 1
jne 0x69866e
cmp byte [esi + 0x8a], 1
jbe 0x698667
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0xc]
test eax, 0xffffc000
je 0x69866e
mov byte [esi + 0x8d], 0
push ecx
push dword [ebp - 0x60]
mov ecx, esi
push dword [ebp - 0x64]
call fcn.006986b0
jmp 0x698680
xor al, al
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x68], 0x7ecd04
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00735c28
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8