Function at 0x140246a10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
push rbx
push r12
push r13
sub rsp, 0x9d0
cmp dword [rcx], 1
mov r13d, r8d
mov r12, rdx
mov rbx, rcx
jge 0x140246a46
mov eax, 1
add rsp, 0x9d0
pop r13
pop r12
pop rbx
ret
mov qword [rsp + 0x9c8], rbp
mov qword [rsp + 0x9b8], rdi
mov qword [rsp + 0x9a8], r15
movaps xmmword [rsp + 0x990], xmm6
movaps xmmword [rsp + 0x970], xmm8
movaps xmmword [rsp + 0x960], xmm9
lea rcx, [rsp + 0x1b0]
mov r8d, 0x750
call sub.MSVCR90.dll_memcpy
lea r15, [rbx + 0xfc]
xorps xmm6, xmm6
movss xmm8, dword [0x140339228]
mov rcx, r15
movaps xmm3, xmm8
movaps xmm2, xmm6
movaps xmm1, xmm6
call fcn.140250780
mov rdx, qword [rsp + 0x1e0]
mov r8, r15
add rdx, 0x60
mov rcx, r15
call fcn.14024f8c0
lea rcx, [rbx + 0xf0]
movaps xmm3, xmm6
movaps xmm2, xmm6
movaps xmm1, xmm6
call fcn.140250780
mov rdx, qword [rsp + 0x1e0]
lea r8, [rbx + 0xf0]
lea rcx, [rbx + 0xf0]
add rdx, 0x60
call fcn.14024f820
mov ecx, 1
call fcn.140211770
lea r8, [rsp + 0xb0]
mov edx, 0x1202
movss dword [rsp + 0xb0], xmm6
movss dword [rsp + 0xb4], xmm6
movss dword [rsp + 0xb8], xmm6
mov ecx, 0x408
movss dword [rsp + 0xbc], xmm8
call qword [sym.imp.OPENGL32.dll_glMaterialfv]
lea r8, [rsp + 0xa0]
mov edx, 0x1600
mov ecx, 0x408
movss dword [rsp + 0xa0], xmm6
movss dword [rsp + 0xa4], xmm6
movss dword [rsp + 0xa8], xmm6
movss dword [rsp + 0xac], xmm8
call qword [sym.imp.OPENGL32.dll_glMaterialfv]
mov ecx, 0xb57
call qword [sym.imp.OPENGL32.dll_glEnable]
mov edx, 0x1602
mov ecx, 0x408
call qword [sym.imp.OPENGL32.dll_glColorMaterial]
xor ecx, ecx
call fcn.140211710
xor ecx, ecx
call fcn.1402116b0
xor ecx, ecx
call fcn.1402115c0
mov ecx, 1
movss xmm9, dword [0x140339240]
movaps xmm1, xmm9
call fcn.140211630
xor ebp, ebp
cmp dword [rbx], ebp
mov dword [rsp + 0xa08], ebp
jle 0x1402478cd
movss xmm6, dword [rsp + 0x9f0]
mov qword [rsp + 0x9c0], rsi
mov qword [rsp + 0x9b0], r14
mov r14, qword [rsp + 0x1e0]
movaps xmmword [rsp + 0x980], xmm7
movss xmm7, dword [rsp + 0x9f0]
movaps xmmword [rsp + 0x950], xmm10
movaps xmmword [rsp + 0x940], xmm11
movaps xmmword [rsp + 0x930], xmm12
movsd xmm11, qword [0x140339400]
movsd xmm10, qword [0x1403139d0]
add r14, 0x20
xor ecx, ecx
lea rsi, [rbx + 0x48]
mov qword [rsp + 0xc0], r14
movaps xmmword [rsp + 0x920], xmm13
movaps xmmword [rsp + 0x910], xmm14
movaps xmmword [rsp + 0x900], xmm15
mov qword [rsp + 0x58], rcx
nop dword [rax + rax]
mov rax, qword [rbx + 8]
lea rdi, [rcx + rax]
mov rax, qword [r12 + 0x30]
movss xmm0, dword [rax + 4]
mulss xmm0, xmm9
unpcklps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm11
call sub.MSVCR90.dll_tan
movsd xmm1, qword [0x1403394b0]
divsd xmm1, xmm0
movapd xmm0, xmm1
call sub.MSVCR90.dll_sqrt
cvtsd2ss xmm1, xmm0
movss dword [rbx + 0xe0], xmm1
mulss xmm1, xmm1
movss dword [rbx + 0xe8], xmm1
mov rax, qword [r12 + 0x30]
movss xmm0, dword [rax + 4]
mulss xmm0, xmm9
unpcklps xmm0, xmm0
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm11
call sub.MSVCR90.dll_tan
movsd xmm1, qword [0x1403139d8]
divsd xmm1, xmm0
movapd xmm0, xmm1
call sub.MSVCR90.dll_sqrt
cmp dword [rsp + 0x26c], 0
movss xmm1, dword [rdi + 0x28]
mulss xmm1, xmm9
addss xmm1, dword [rdi + 0x24]
mov dword [rsp + 0x1c0], 0
unpcklps xmm1, xmm1
cvtps2pd xmm1, xmm1
mulsd xmm0, xmm1
mulsd xmm0, qword [0x1403396c8]
cvtsd2ss xmm1, xmm0
movss dword [rbx + 0xe4], xmm1
movss dword [rsp + 0x220], xmm1
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [rbx + 0xec], xmm0
je 0x140246d66
lea rcx, [rsp + 0x1b0]
mov edx, 1
call fcn.140232080
jmp 0x140246d75
lea rcx, [rsp + 0x1b0]
xor edx, edx
call fcn.140232080
lea r9, [rsp + 0x1b0]
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
mov dword [rbx + 0xd0], 0
call fcn.1402468e0
movsxd rdx, dword [rbx + 0xd0]
mov rcx, qword [rbx + 0xd8]
lea r9, [0x1402469f0]
mov r8d, 8
call fcn.1402372a0
lea rcx, [rsp + 0xf0]
call fcn.14024ee30
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0xf0]
mov r8, r14
call fcn.14024ee80
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x130]
call fcn.14024f170
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x170]
call fcn.14024f090
mov ecx, 0x1700
call qword [sym.imp.OPENGL32.dll_glMatrixMode]
lea rcx, [rsp + 0x170]
call qword [sym.imp.OPENGL32.dll_glLoadMatrixf]
lea rcx, [rsp + 0xd8]
call fcn.140227fb0
mov rdx, qword [r12 + 0x30]
lea r8, [rsp + 0xd8]
lea rcx, [rsp + 0xc8]
add rdx, 0x20
call fcn.14024f8c0
mov edx, dword [rdi + 0x34]
lea rax, [r12 + 0x74]
lea r8, [rsp + 0xc8]
mov r9d, r13d
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.140220fd0
mov rcx, rsi
call fcn.140213790
mov edx, dword [rbx + 0x78]
mov r12d, dword [rbx + 0x68]
mov r13d, dword [rbx + 0x98]
mov r14d, dword [rbx + 0xa8]
add rdx, rax
add r12, rax
add r13, rax
add r14, rax
mov qword [rsp + 0x60], rdx
mov qword [rbx + 0x20], rdx
mov edx, dword [rbx + 0x70]
add rdx, rax
xor eax, eax
mov qword [rbx + 0x18], r12
cmp dword [rbx + 0xd0], eax
mov qword [rbx + 0x30], r13
mov qword [rbx + 0x38], r14
mov qword [rsp + 0x68], rdx
mov qword [rbx + 0x28], rdx
mov dword [rbx + 0x10], eax
mov dword [rbx + 0x40], eax
mov dword [rsp + 0x9f0], eax
jle 0x140247815
mov rcx, rax
mov qword [rsp + 0x70], rax
nop dword [rax + rax]
mov rax, qword [rbx + 0xd8]
movss xmm2, dword [rbx + 0xe0]
mov rsi, qword [rcx + rax]
movss xmm1, dword [rsi + 0x60]
comiss xmm2, xmm1
jbe 0x140246f03
movaps xmm2, xmm8
jmp 0x140246f1f
movss xmm0, dword [rbx + 0xe4]
subss xmm1, xmm2
subss xmm0, xmm2
movaps xmm2, xmm8
divss xmm1, xmm0
subss xmm2, xmm1
movss xmm0, dword [rsi + 0x3c]
mulss xmm0, dword [rdi + 0x20]
mulss xmm0, xmm2
unpcklps xmm0, xmm0
cvtps2pd xmm0, xmm0
call sub.MSVCR90.dll_ceil
mov eax, dword [rsi + 0x40]
lea rcx, [rsp + 0x40]
mov dword [rcx], eax
mov eax, dword [rsi + 0x44]
lea rdx, [rsp + 0x40]
cvttsd2si ebp, xmm0
mov dword [rcx + 4], eax
mov eax, dword [rsi + 0x48]
mov r8, r15
mov dword [rcx + 8], eax
lea rcx, [rsp + 0x30]
call fcn.140250580
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.1402506a0
test eax, eax
jne 0x1402477ce
mov eax, dword [rsi]
mov r9d, dword [rsi + 0x58]
mov r10d, dword [rsi + 0x5c]
lea rcx, [rsp + 0x78]
mov dword [0x14037758c], r9d
mov dword [0x140377590], r10d
mov dword [rcx], eax
mov eax, dword [rsi + 4]
mov dword [rcx + 4], eax
mov eax, dword [rsi + 8]
mov dword [rcx + 8], eax
mov eax, dword [rsi + 0xc]
lea rcx, [rsp + 0x84]
mov dword [rcx], eax
mov eax, dword [rsi + 0x10]
mov dword [rcx + 4], eax
mov eax, dword [rsi + 0x14]
mov dword [rcx + 8], eax
mov eax, dword [rsi + 0x18]
lea rcx, [rsp + 0x90]
mov dword [rcx], eax
mov eax, dword [rsi + 0x1c]
mov dword [rcx + 4], eax
mov eax, dword [rsi + 0x20]
mov dword [rcx + 8], eax
test ebp, ebp
jle 0x1402477ce
movss xmm15, dword [rsp + 0x98]
mov r15d, ebp
nop dword [rax]
movzx ecx, r9w
shr r9d, 0x10
pxor xmm0, xmm0
movzx edx, r10w
shr r10d, 0x10
imul ecx, ecx, 0x9069
add ecx, r9d
mov eax, ecx
imul edx, edx, 0x4650
add edx, r10d
shl eax, 0x10
movzx r8d, cx
shr ecx, 0x10
add eax, edx
movzx r9d, dx
shr edx, 0x10
imul r8d, r8d, 0x9069
add r8d, ecx
cvtsi2sd xmm0, rax
imul r9d, r9d, 0x4650
mov eax, r8d
shl eax, 0x10
add r9d, edx
add eax, r9d
mulsd xmm0, xmm10
cvtsd2ss xmm3, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, xmm10
cvtsd2ss xmm4, xmm0
movaps xmm1, xmm4
addss xmm1, xmm3
comiss xmm1, xmm8
jbe 0x14024708b
movaps xmm0, xmm8
movaps xmm1, xmm8
subss xmm0, xmm3
subss xmm1, xmm4
movaps xmm3, xmm0
movaps xmm4, xmm1
movd xmm0, dword [rdi + 0x28]
movd xmm1, dword [rdi + 0x24]
movss xmm11, dword [rsp + 0x84]
movss xmm12, dword [rsp + 0x88]
movss xmm13, dword [rsp + 0x8c]
pxor xmm2, xmm2
movzx ecx, r8w
shr r8d, 0x10
movzx edx, r9w
shr r9d, 0x10
imul ecx, ecx, 0x9069
add ecx, r8d
imul edx, edx, 0x4650
mov eax, ecx
add edx, r9d
movzx r8d, cx
mulss xmm11, xmm4
movaps xmm5, xmm8
mulss xmm12, xmm4
mulss xmm13, xmm4
shl eax, 0x10
shr ecx, 0x10
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
subss xmm5, xmm3
add eax, edx
imul r8d, r8d, 0x9069
add r8d, ecx
movzx ecx, dx
shr edx, 0x10
movzx r9d, r8w
cvtsi2sd xmm2, rax
mov eax, r8d
subss xmm5, xmm4
shl eax, 0x10
shr r8d, 0x10
imul ecx, ecx, 0x4650
add ecx, edx
add eax, ecx
movzx r10d, cx
shr ecx, 0x10
imul r9d, r9d, 0x9069
add r9d, r8d
mov dword [0x14037758c], r9d
mulsd xmm2, xmm10
mulsd xmm2, xmm0
imul r10d, r10d, 0x4650
add r10d, ecx
movd xmm0, dword [rdi + 0x30]
mov dword [0x140377590], r10d
addsd xmm2, xmm1
movd xmm1, dword [rdi + 0x2c]
cvtps2pd xmm0, xmm0
cvtsd2ss xmm14, xmm2
pxor xmm2, xmm2
cvtps2pd xmm1, xmm1
cvtsi2sd xmm2, rax
mov eax, r9d
shl eax, 0x10
add eax, r10d
shr eax, 0x1e
mov dword [rsp + 0x50], eax
mulsd xmm2, xmm10
mulsd xmm2, xmm0
movss xmm0, dword [rsp + 0x78]
mulss xmm0, xmm3
addsd xmm2, xmm1
movss xmm1, dword [rsp + 0x90]
mulsd xmm2, qword [0x140339290]
mulss xmm1, xmm5
addss xmm11, xmm0
movss xmm0, dword [rsp + 0x7c]
mulss xmm0, xmm3
addss xmm11, xmm1
movss xmm1, dword [rsp + 0x94]
cvtsd2ss xmm9, xmm2
mulss xmm1, xmm5
addss xmm12, xmm0
movss xmm0, dword [rsp + 0x80]
mulss xmm0, xmm3
addss xmm12, xmm1
addss xmm13, xmm0
movaps xmm1, xmm15
movaps xmm2, xmm11
subss xmm2, dword [rbx + 0xf0]
mulss xmm1, xmm5
addss xmm13, xmm1
movaps xmm1, xmm12
mulss xmm2, xmm2
subss xmm1, dword [rbx + 0xf4]
movaps xmm0, xmm13
subss xmm0, dword [rbx + 0xf8]
mulss xmm1, xmm1
addss xmm1, xmm2
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [rbx + 0xec]
ja 0x1402477bd
mov rdx, qword [rdi + 0x78]
test rdx, rdx
jne 0x140247268
cmp qword [rdi + 0x58], rdx
je 0x1402472a2
movaps xmm0, xmm3
mulss xmm3, dword [rsi + 0x30]
movaps xmm1, xmm5
movaps xmm6, xmm4
movaps xmm7, xmm4
mulss xmm0, dword [rsi + 0x24]
mulss xmm1, dword [rsi + 0x2c]
mulss xmm5, dword [rsi + 0x38]
mulss xmm6, dword [rsi + 0x28]
mulss xmm7, dword [rsi + 0x34]
addss xmm6, xmm0
addss xmm7, xmm3
addss xmm6, xmm1
addss xmm7, xmm5
test rdx, rdx
je 0x140247332
movd xmm0, dword [rdi + 0x70]
movzx ecx, r9w
shr r9d, 0x10
imul ecx, ecx, 0x9069
cvtdq2ps xmm0, xmm0
add r9d, ecx
movzx ecx, r10w
shr r10d, 0x10
mov dword [0x14037758c], r9d
imul ecx, ecx, 0x4650
add r10d, ecx
mov ecx, dword [rdi + 0x88]
mulss xmm0, xmm7
mov dword [0x140377590], r10d
cvttss2si eax, xmm0
movd xmm0, dword [rdi + 0x6c]
and eax, dword [rdi + 0x84]
cvtdq2ps xmm0, xmm0
shl eax, cl
movsxd rcx, eax
add rdx, rcx
mulss xmm0, xmm6
cvttss2si eax, xmm0
movsxd r8, eax
movsxd rax, dword [rdi + 0x80]
and r8, rax
mov eax, r9d
shl eax, 0x10
add eax, r10d
shr eax, 0x18
cmp al, byte [r8 + rdx]
ja 0x1402477bd
mov r8, qword [rdi + 0x58]
test r8, r8
je 0x140247379
mov ecx, dword [rdi + 0x68]
movd xmm0, dword [rdi + 0x54]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm7
cvttss2si eax, xmm0
movd xmm0, dword [rdi + 0x50]
cvtdq2ps xmm0, xmm0
and eax, dword [rdi + 0x64]
shl eax, cl
movsxd rdx, eax
mulss xmm0, xmm6
cvttss2si eax, xmm0
movsxd rcx, eax
movsxd rax, dword [rdi + 0x60]
and rcx, rax
add rdx, rcx
mov ebp, dword [r8 + rdx*4]
jmp 0x14024737c
or ebp, 0xffffffff
cmp dword [rbx + 0x40], 0x7ce
jle 0x140247410
mov r8d, dword [rbx + 0x10]
lea rcx, [rbx + 0x48]
xor edx, edx
call fcn.140213800
mov r11d, dword [rbx + 0x10]
mov r8d, dword [rbx + 0x40]
lea rcx, [rbx + 0x48]
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], r11d
call fcn.14021e010
lea rcx, [rbx + 0x48]
call fcn.140213790
mov r12d, dword [rbx + 0x68]
mov edx, dword [rbx + 0x78]
mov r8d, dword [rbx + 0x70]
mov r13d, dword [rbx + 0x98]
mov r14d, dword [rbx + 0xa8]
mov r9d, dword [0x14037758c]
mov r10d, dword [0x140377590]
add r12, rax
add rdx, rax
add r8, rax
add r13, rax
add r14, rax
xor eax, eax
mov qword [rbx + 0x18], r12
mov qword [rbx + 0x20], rdx
mov qword [rbx + 0x28], r8
mov qword [rbx + 0x30], r13
mov dword [rbx + 0x10], eax
mov dword [rbx + 0x40], eax
mov qword [rbx + 0x38], r14
jmp 0x14024741c
mov rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x68]
xor eax, eax
movss xmm1, dword [rsp + 0x30]
movaps xmm0, xmm11
add r12, 0x30
mulss xmm1, xmm9
subss xmm0, xmm1
movss dword [r12 - 0x30], xmm0
movss xmm2, dword [rsp + 0x34]
movaps xmm0, xmm12
mulss xmm2, xmm9
subss xmm0, xmm2
movss dword [r12 - 0x2c], xmm0
movss xmm1, dword [rsp + 0x38]
movaps xmm0, xmm13
mulss xmm1, xmm9
subss xmm0, xmm1
movss dword [r12 - 0x28], xmm0
movss xmm1, dword [rsp + 0x40]
movss xmm0, dword [rsp + 0x30]
mulss xmm0, xmm9
mulss xmm1, xmm14
addss xmm1, xmm11
subss xmm1, xmm0
movss dword [r12 - 0x24], xmm1
movss xmm2, dword [rsp + 0x44]
movss xmm0, dword [rsp + 0x34]
mulss xmm0, xmm9
mulss xmm2, xmm14
addss xmm2, xmm12
subss xmm2, xmm0
movss dword [r12 - 0x20], xmm2
movss xmm1, dword [rsp + 0x48]
movss xmm0, dword [rsp + 0x38]
mulss xmm0, xmm9
mulss xmm1, xmm14
addss xmm1, xmm13
subss xmm1, xmm0
movss dword [r12 - 0x1c], xmm1
movss xmm2, dword [rsp + 0x40]
movss xmm0, dword [rsp + 0x30]
mulss xmm0, xmm9
mulss xmm2, xmm14
addss xmm2, xmm11
addss xmm2, xmm0
movss dword [r12 - 0x18], xmm2
movss xmm1, dword [rsp + 0x44]
movss xmm0, dword [rsp + 0x34]
mulss xmm0, xmm9
mulss xmm1, xmm14
addss xmm1, xmm12
addss xmm1, xmm0
movss dword [r12 - 0x14], xmm1
movss xmm2, dword [rsp + 0x48]
movss xmm0, dword [rsp + 0x38]
mulss xmm0, xmm9
mulss xmm2, xmm14
movsd xmm14, qword [0x140339360]
addss xmm2, xmm13
addss xmm2, xmm0
movss dword [r12 - 0x10], xmm2
movss xmm0, dword [rsp + 0x30]
mulss xmm0, xmm9
addss xmm0, xmm11
movss dword [r12 - 0xc], xmm0
movss xmm1, dword [rsp + 0x34]
mulss xmm1, xmm9
addss xmm1, xmm12
movss dword [r12 - 8], xmm1
movss xmm0, dword [rsp + 0x38]
movd xmm1, dword [rsp + 0x50]
cvtdq2pd xmm1, xmm1
mulss xmm0, xmm9
addss xmm0, xmm13
mulsd xmm1, xmm14
movss dword [r12 - 4], xmm0
cvtsd2ss xmm0, xmm1
addsd xmm1, xmm14
mov dword [rdx + 4], eax
movss dword [rdx], xmm0
movss dword [rdx + 8], xmm0
cvtsd2ss xmm0, xmm1
mov dword [rdx + 0xc], 0x3f800000
movss dword [rdx + 0x10], xmm0
mov dword [rdx + 0x14], 0x3f800000
movss dword [rdx + 0x18], xmm0
mov dword [rdx + 0x1c], eax
mov dword [r8], ebp
mov dword [r8 + 4], ebp
mov dword [r8 + 8], ebp
mov dword [r8 + 0xc], ebp
add rdx, 0x20
movss xmm0, dword [rsp + 0x40]
movss dword [r13], xmm0
movss xmm1, dword [rsp + 0x44]
add r8, 0x10
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], r8
add r13, 0x30
movss dword [r13 - 0x2c], xmm1
movss xmm0, dword [rsp + 0x48]
movss dword [r13 - 0x28], xmm0
movss xmm1, dword [rsp + 0x40]
movss dword [r13 - 0x24], xmm1
movss xmm0, dword [rsp + 0x44]
movss dword [r13 - 0x20], xmm0
movss xmm1, dword [rsp + 0x48]
movss dword [r13 - 0x1c], xmm1
movss xmm0, dword [rsp + 0x40]
movss dword [r13 - 0x18], xmm0
movss xmm1, dword [rsp + 0x44]
movss dword [r13 - 0x14], xmm1
movss xmm0, dword [rsp + 0x48]
movss dword [r13 - 0x10], xmm0
movss xmm1, dword [rsp + 0x40]
movss dword [r13 - 0xc], xmm1
movss xmm0, dword [rsp + 0x44]
movss dword [r13 - 8], xmm0
movss xmm1, dword [rsp + 0x48]
movaps xmm0, xmm11
movss dword [r13 - 4], xmm1
movss xmm2, dword [rsp + 0x30]
mulss xmm2, xmm9
subss xmm0, xmm2
movss dword [r14], xmm0
movss xmm1, dword [rsp + 0x34]
movaps xmm0, xmm12
mulss xmm1, xmm9
subss xmm0, xmm1
movss dword [r14 + 4], xmm0
movss xmm2, dword [rsp + 0x38]
movaps xmm0, xmm13
mulss xmm2, xmm9
subss xmm0, xmm2
movss dword [r14 + 8], xmm0
movss xmm1, dword [rsp + 0x30]
movaps xmm0, xmm11
mulss xmm1, xmm9
subss xmm0, xmm1
movss dword [r14 + 0xc], xmm0
movss xmm2, dword [rsp + 0x34]
movaps xmm0, xmm12
mulss xmm2, xmm9
subss xmm0, xmm2
movss dword [r14 + 0x10], xmm0
movss xmm1, dword [rsp + 0x38]
movaps xmm0, xmm13
mulss xmm1, xmm9
subss xmm0, xmm1
movss dword [r14 + 0x14], xmm0
movss xmm1, dword [rsp + 0x30]
mulss xmm1, xmm9
addss xmm1, xmm11
movss dword [r14 + 0x18], xmm1
movss xmm0, dword [rsp + 0x34]
mulss xmm0, xmm9
addss xmm0, xmm12
movss dword [r14 + 0x1c], xmm0
movss xmm1, dword [rsp + 0x38]
mulss xmm1, xmm9
addss xmm1, xmm13
movss dword [r14 + 0x20], xmm1
movss xmm0, dword [rsp + 0x30]
mulss xmm0, xmm9
addss xmm0, xmm11
add r14, 0x30
movss dword [r14 - 0xc], xmm0
movss xmm1, dword [rsp + 0x34]
mulss xmm1, xmm9
addss xmm1, xmm12
movss dword [r14 - 8], xmm1
movss xmm0, dword [rsp + 0x38]
mulss xmm0, xmm9
addss xmm0, xmm13
movss dword [r14 - 4], xmm0
add dword [rbx + 0x10], 4
add dword [rbx + 0x40], 2
sub r15, 1
jne 0x140246ff0
lea r15, [rbx + 0xfc]
mov edx, dword [rsp + 0x9f0]
mov rcx, qword [rsp + 0x70]
inc edx
add rcx, 8
cmp edx, dword [rbx + 0xd0]
mov dword [rsp + 0x9f0], edx
mov qword [rsp + 0x70], rcx
jl 0x140246ee0
movss xmm9, dword [0x140339240]
movsd xmm11, qword [0x140339400]
mov ebp, dword [rsp + 0xa08]
lea rsi, [rbx + 0x48]
mov r8d, dword [rbx + 0x10]
xor edx, edx
mov rcx, rsi
call fcn.140213800
mov r8d, dword [rbx + 0x40]
test r8d, r8d
je 0x140247840
mov eax, dword [rbx + 0x10]
xor r9d, r9d
xor edx, edx
mov rcx, rsi
mov dword [rsp + 0x20], eax
call fcn.14021e010
call fcn.140221150
mov rcx, qword [rsp + 0x58]
mov r12, qword [rsp + 0x9f8]
mov r13d, dword [rsp + 0xa00]
mov r14, qword [rsp + 0xc0]
inc ebp
add rcx, 0x90
cmp ebp, dword [rbx]
mov dword [rsp + 0xa08], ebp
mov qword [rsp + 0x58], rcx
jl 0x140246c70
movaps xmm15, xmmword [rsp + 0x900]
movaps xmm14, xmmword [rsp + 0x910]
movaps xmm13, xmmword [rsp + 0x920]
mov r14, qword [rsp + 0x9b0]
mov rsi, qword [rsp + 0x9c0]
movaps xmm12, xmmword [rsp + 0x930]
movaps xmm11, xmmword [rsp + 0x940]
movaps xmm10, xmmword [rsp + 0x950]
movaps xmm7, xmmword [rsp + 0x980]
mov ecx, 0xb57
call qword [sym.imp.OPENGL32.dll_glDisable]
mov r15, qword [rsp + 0x9a8]
mov rdi, qword [rsp + 0x9b8]
movaps xmm9, xmmword [rsp + 0x960]
movaps xmm8, xmmword [rsp + 0x970]
movaps xmm6, xmmword [rsp + 0x990]
mov rbp, qword [rsp + 0x9c8]
xor eax, eax
add rsp, 0x9d0
pop r13
pop r12
pop rbx
ret