Function at 0x180036700
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x278]
sub rsp, 0x340
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
movaps xmmword [rax - 0x98], xmm11
movaps xmmword [rax - 0xa8], xmm12
movaps xmmword [rax - 0xb8], xmm13
movaps xmmword [rax - 0xc8], xmm14
movaps xmmword [rax - 0xd8], xmm15
mov rax, qword [0x18011d040]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov r14, rdx
mov r13, rcx
movzx eax, byte [0x1801200c3]
mov byte [rcx + 0x31], al
test al, al
je 0x18003847a
movzx eax, byte [0x1801200d8]
test al, al
jne 0x18003847a
cmp byte [0x1801200c0], al
jne 0x1800367c0
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x1800367c0
mov qword [rsp + 0x20], 0x64
jmp 0x180038483
cmp byte [0x1801200bf], 0
je 0x180036836
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180036836
lea rdx, [rbp + 0xa0]
mov rcx, qword [r13 + 0x40]
call fcn.180086de0
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x1800367f7
mov rax, qword [rax]
cmp r8, 5
jne 0x18003682a
lea rdx, str.BLOCK
mov rcx, rax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18003682a
lea rcx, [rbp + 0xa0]
call fcn.180005da0
mov qword [rsp + 0x20], 0x32
jmp 0x180038483
lea rcx, [rbp + 0xa0]
call fcn.180005da0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xe8], xmm1
xor r12d, r12d
mov qword [rbp + 0xf8], r12
mov ecx, dword [0x18011fee8]
mov rax, qword gs:[0x58]
mov ebx, 4
mov r15, qword [rax + rcx*8]
mov eax, dword [r15 + rbx]
cmp dword [0x180121c48], eax
jle 0x18003689c
lea rcx, [0x180121c48]
call fcn.1800a7540
cmp dword [0x180121c48], 0xffffffff
jne 0x18003689c
lea rcx, [0x1800aea10]
call fcn.1800a7408
lea rcx, [0x180121c48]
call fcn.1800a74d4
xorps xmm8, xmm8
mov eax, dword [r15 + rbx]
cmp dword [0x180121c4c], eax
jle 0x1800368e2
lea rcx, [0x180121c4c]
call fcn.1800a7540
cmp dword [0x180121c4c], 0xffffffff
jne 0x1800368e2
mov qword [0x180121c50], 0
mov dword [0x180121c58], 0
lea rcx, [0x180121c4c]
call fcn.1800a74d4
movss xmm0, dword [0x18011d390]
mulss xmm0, dword [0x18010733c]
movss dword [rsp + 0x3c], xmm0
movd xmm0, dword [0x18011d398]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x180107290]
movss dword [rbp + 0xe4], xmm0
mov esi, 0xffffffff
movss xmm14, dword [0x180107680]
movss xmm6, dword [0x180107650]
movss xmm7, dword [0x180107408]
movss xmm11, dword [0x180107340]
movss xmm13, dword [0x1801073dc]
movsd xmm15, qword [0x180107358]
movss xmm12, dword [0x180107420]
cmp byte [0x1801200bd], 0
je 0x180036a8a
mov rcx, qword [0x180120178]
test rcx, rcx
je 0x180036a8a
lea rdx, [rbp + 0xc0]
call fcn.180082b10
movsd xmm0, qword [rax]
movsd qword [0x180121c50], xmm0
mov ecx, dword [rax + 8]
mov dword [0x180121c58], ecx
mov rbx, qword [r14]
movss xmm9, dword [0x180121c50]
movaps xmm11, xmm9
subss xmm11, dword [rbx + 0x24]
movd xmm10, ecx
movaps xmm13, xmm10
subss xmm13, dword [rbx + 0x2c]
movaps xmm1, xmm11
movaps xmm0, xmm13
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2f
mulss xmm0, xmm7
divss xmm0, dword [0x180107340]
subss xmm0, dword [0x1801073dc]
movss xmm1, dword [rbx + 0x48]
subss xmm1, xmm0
xorps xmm1, xmm14
addss xmm1, xmm7
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
movaps xmm1, xmm15
call sub.api_ms_win_crt_math_l1_1_0.dll_fmod
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
comiss xmm8, xmm1
jbe 0x180036a0c
addss xmm1, xmm12
subss xmm1, xmm7
andps xmm1, xmm6
movd xmm0, dword [0x18011d398]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jb 0x180036a78
movss xmm6, dword [0x180121c54]
movaps xmm0, xmm6
subss xmm0, dword [rbx + 0x28]
mulss xmm11, xmm11
mulss xmm0, xmm0
addss xmm11, xmm0
mulss xmm13, xmm13
addss xmm11, xmm13
xorps xmm0, xmm0
ucomiss xmm0, xmm11
ja 0x180036a5e
xorps xmm0, xmm0
sqrtss xmm0, xmm11
jmp 0x180036a67
movaps xmm0, xmm11
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm1, dword [0x18011d394]
comiss xmm1, xmm0
jae 0x180036f90
movss xmm13, dword [0x1801073dc]
movss xmm11, dword [0x180107340]
movss xmm10, dword [0x180107464]
mov qword [0x180120178], r12
mov rbx, qword [0x180120180]
mov qword [0x180120180], r12
test rbx, rbx
je 0x180036ad6
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180036ad6
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180036ad6
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
lea rdx, [rbp + 0x178]
mov rcx, qword [r13 + 0x40]
call fcn.1800877c0
nop
mov rdi, qword [rbp + 0x178]
cmp rdi, qword [rbp + 0x180]
je 0x180036e0a
nop dword [rax + rax]
lea rdx, [rsp + 0x28]
mov rcx, qword [rdi]
call fcn.180082b10
mov rbx, qword [rdi]
mov r8, qword [rbx]
mov edx, 0x28
mov rcx, qword [rbx + 0x10]
call fcn.1800885b0
test rax, rax
jne 0x180036b2c
movaps xmm9, xmm8
jmp 0x180036b3f
mov r8, rax
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rbx]
call fcn.18003b100
movaps xmm9, xmm0
lea rdx, [rbp + 0x90]
mov rcx, qword [r13 + 0x40]
call fcn.180086cb0
nop
lea rdx, [rbp + 0xcc]
mov rcx, qword [rax]
call fcn.180082b10
movss xmm1, dword [rax + 4]
subss xmm1, dword [rsp + 0x2c]
movss xmm2, dword [rax]
subss xmm2, dword [rsp + 0x28]
movss xmm0, dword [rax + 8]
subss xmm0, dword [rsp + 0x30]
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm2, xmm1
mulss xmm0, xmm0
addss xmm2, xmm0
xorps xmm0, xmm0
ucomiss xmm0, xmm2
ja 0x180036ba4
xorps xmm6, xmm6
sqrtss xmm6, xmm2
jmp 0x180036baf
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm6, xmm0
movss dword [rsp + 0x38], xmm6
mov rbx, qword [rbp + 0x98]
test rbx, rbx
je 0x180036bea
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180036bea
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180036bea
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
comiss xmm6, dword [0x18011d394]
ja 0x180036df2
movss xmm0, dword [0x180107278]
comiss xmm0, xmm6
ja 0x180036df2
mov rbx, qword [rdi]
mov r8, qword [rbx]
mov edx, 0x21
mov rcx, qword [rbx + 0x10]
call fcn.1800885b0
test rax, rax
je 0x180036c41
mov r8, rax
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rbx]
call fcn.180083190
test al, al
je 0x180036c41
cmp byte [0x1801200c1], 0
je 0x180036df2
mov rbx, qword [r14]
movss xmm1, dword [rsp + 0x28]
subss xmm1, dword [rbx + 0x24]
movss xmm0, dword [rsp + 0x30]
subss xmm0, dword [rbx + 0x2c]
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2f
mulss xmm0, xmm7
divss xmm0, xmm11
subss xmm0, xmm13
movss xmm1, dword [rbx + 0x48]
subss xmm1, xmm0
xorps xmm1, xmm14
addss xmm1, xmm7
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
movaps xmm1, xmm15
call sub.api_ms_win_crt_math_l1_1_0.dll_fmod
xorps xmm6, xmm6
cvtsd2ss xmm6, xmm0
comiss xmm8, xmm6
jbe 0x180036ca0
addss xmm6, xmm12
subss xmm6, xmm7
andps xmm6, xmmword [0x180107650]
mov eax, dword [0x18011d398]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm6, xmm0
ja 0x180036df2
mov rax, qword [rdi + 8]
test rax, rax
je 0x180036cd3
lock inc dword [rax + 8]
mov rax, qword [rdi]
mov qword [rbp - 0x40], rax
mov rcx, qword [rdi + 8]
mov qword [rbp - 0x38], rcx
movss xmm1, dword [rsp + 0x28]
movss xmm0, dword [rsp + 0x2c]
unpcklps xmm1, xmm0
movsd qword [rsp + 0x28], xmm1
movsd qword [rbp - 0x30], xmm1
mov r8d, dword [rsp + 0x30]
mov dword [rbp - 0x28], r8d
mov rdx, qword [rbp + 0xf0]
cmp rdx, qword [rbp + 0xf8]
je 0x180036d41
movss xmm0, dword [rsp + 0x38]
movss dword [rdx], xmm0
mov qword [rdx + 8], rax
mov qword [rdx + 0x10], rcx
mov rcx, r12
mov qword [rbp - 0x38], rcx
movsd qword [rdx + 0x18], xmm1
mov dword [rdx + 0x20], r8d
add qword [rbp + 0xf0], 0x28
jmp 0x180036d5a
lea r9, [rbp - 0x40]
lea r8, [rsp + 0x38]
lea rcx, [rbp + 0xe8]
call fcn.180038630
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x180036d8d
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180036d8d
mov rbx, qword [rbp - 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180036d8d
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
call qword [rax + 8]
cmp dword [0x18011d39c], 2
jne 0x180036dad
movss xmm0, dword [rbp + 0xe4]
comiss xmm0, xmm6
jbe 0x180036df2
movss dword [rbp + 0xe4], xmm6
jmp 0x180036dc0
cmp dword [0x18011d39c], 0
jne 0x180036df2
comiss xmm10, xmm9
jbe 0x180036df2
movaps xmm10, xmm9
movss xmm0, dword [rsp + 0x28]
movss dword [0x180121c50], xmm0
movss xmm1, dword [rsp + 0x2c]
movss xmm0, dword [rsp + 0x30]
movss dword [0x180121c54], xmm1
movss dword [0x180121c58], xmm0
mov rdx, rdi
call fcn.180005f60
add rdi, 0x10
cmp rdi, qword [rbp + 0x180]
jne 0x180036b00
mov rdi, qword [rbp + 0x178]
test rdi, rdi
je 0x180036e5c
mov rdx, qword [rbp + 0x180]
mov rcx, rdi
call fcn.180006040
mov rdx, qword [rbp + 0x188]
sub rdx, rdi
and rdx, 0xfffffffffffffff0
mov rax, rdi
cmp rdx, 0x1000
jb 0x180036e54
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180036e54
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1800a7420
mov rdi, qword [rbp + 0xe8]
cmp rdi, qword [rbp + 0xf0]
je 0x180036f9e
cmp dword [0x18011d39c], 1
jne 0x180036fb6
lea rbx, [rdi + 0x28]
cmp rbx, qword [rbp + 0xf0]
je 0x180036f4c
mov rax, qword [r14]
movss xmm6, dword [rax + 0x48]
movss xmm9, dword [rax + 0x24]
movss xmm10, dword [rax + 0x2c]
nop dword [rax]
nop word [rax + rax]
movss xmm1, dword [rbx + 0x18]
subss xmm1, xmm9
movss xmm0, dword [rbx + 0x20]
subss xmm0, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2f
mulss xmm0, xmm7
divss xmm0, xmm11
subss xmm0, xmm13
movaps xmm1, xmm6
subss xmm1, xmm0
xorps xmm1, xmm14
addss xmm1, xmm7
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
movaps xmm1, xmm15
call sub.api_ms_win_crt_math_l1_1_0.dll_fmod
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
comiss xmm8, xmm1
jbe 0x180036f08
addss xmm1, xmm12
subss xmm1, xmm7
andps xmm1, xmmword [0x180107650]
movss xmm0, dword [rdi]
comiss xmm0, dword [rbx]
jbe 0x180036f2d
movss xmm0, dword [rbp + 0xe4]
comiss xmm0, xmm1
jbe 0x180036f2d
mov cl, 1
jmp 0x180036f2f
xor cl, cl
mov rax, rbx
test cl, cl
cmove rax, rdi
mov rdi, rax
add rbx, 0x28
cmp rbx, qword [rbp + 0xf0]
jne 0x180036eb0
lea rdx, [rdi + 8]
call fcn.180005f60
lea rdx, [rbp + 0xd8]
mov rcx, qword [rdi + 8]
call fcn.180082b10
movsd xmm0, qword [rax]
movsd qword [0x180121c50], xmm0
mov eax, dword [rax + 8]
mov dword [0x180121c58], eax
movd xmm10, eax
movss xmm9, dword [0x180121c50]
movss xmm6, dword [0x180121c54]
cmp qword [0x180120178], 0
jne 0x180037049
mov qword [rsp + 0x20], 0xa
lea rcx, [rsp + 0x20]
call fcn.1800048b0
jmp 0x1800383f8
movss xmm10, dword [0x180121c58]
cmp dword [0x18011d39c], 0
jne 0x180036f7f
mov rbx, qword [r14]
movss xmm9, dword [0x180121c50]
movaps xmm1, xmm9
subss xmm1, dword [rbx + 0x24]
movaps xmm0, xmm10
subss xmm0, dword [rbx + 0x2c]
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2f
mulss xmm0, xmm7
divss xmm0, xmm11
subss xmm0, xmm13
movss xmm1, dword [rbx + 0x48]
subss xmm1, xmm0
xorps xmm1, xmm14
addss xmm1, xmm7
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
movaps xmm1, xmm15
call sub.api_ms_win_crt_math_l1_1_0.dll_fmod
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
comiss xmm8, xmm1
jbe 0x18003702c
addss xmm1, xmm12
subss xmm1, xmm7
andps xmm1, xmmword [0x180107650]
comiss xmm1, dword [rbp + 0xe4]
jbe 0x180036f88
jmp 0x180036f9e
mov rax, qword [r14]
movsd xmm0, qword [rax + 0x24]
movsd qword [rbp + 0x100], xmm0
mov edi, dword [rax + 0x2c]
mov dword [rbp + 0x108], edi
cmp byte [0x1801200be], 0
je 0x1800371e7
movaps xmm3, xmm10
movss xmm2, dword [0x180107280]
movaps xmm1, xmm6
movaps xmm0, xmm9
addss xmm3, xmm2
subss xmm10, xmm2
subss xmm0, xmm2
addss xmm9, xmm2
cmp dword [0x1801200d0], 2
jne 0x1800370d3
addss xmm1, dword [0x180107278]
subss xmm6, dword [0x1801072f0]
movss dword [rbp - 0x70], xmm0
movss dword [rbp - 0x6c], xmm6
movss dword [rbp - 0x68], xmm10
movss dword [rbp - 0x64], xmm9
movss dword [rbp - 0x60], xmm1
movss dword [rbp - 0x5c], xmm3
lea rax, [rbp - 0x70]
jmp 0x1800370ff
addss xmm1, dword [0x180107308]
movss dword [rbp - 0x58], xmm0
movss dword [rbp - 0x54], xmm6
movss dword [rbp - 0x50], xmm10
movss dword [rbp - 0x4c], xmm9
movss dword [rbp - 0x48], xmm1
movss dword [rbp - 0x44], xmm3
lea rax, [rbp - 0x58]
movups xmm2, xmmword [rax]
movups xmmword [rbp + 0x160], xmm2
movsd xmm3, qword [rax + 0x10]
movss xmm1, dword [rbp + 0x100]
comiss xmm2, xmm1
seta al
lea rcx, [rbp + 0x160]
lea rdx, [rbp + 0x100]
test al, al
cmove rcx, rdx
movaps xmm0, xmm2
shufps xmm0, xmm2, 0xff
comiss xmm1, xmm0
seta al
lea r9, [rbp + 0x16c]
test al, al
cmove r9, rcx
movaps xmm0, xmm2
shufps xmm0, xmm2, 0x55
movss xmm1, dword [rbp + 0x104]
comiss xmm0, xmm1
seta al
lea rcx, [rbp + 0x164]
lea rdx, [rbp + 0x104]
test al, al
cmove rcx, rdx
comiss xmm1, xmm3
seta al
lea r8, [rbp + 0x170]
test al, al
cmove r8, rcx
shufps xmm2, xmm2, 0xaa
movd xmm1, edi
comiss xmm2, xmm1
seta al
lea rdx, [rbp + 0x168]
lea rcx, [rbp + 0x108]
test al, al
cmove rdx, rcx
movaps xmm0, xmm3
shufps xmm0, xmm0, 0x55
movsd qword [rbp + 0x170], xmm3
comiss xmm1, xmm0
seta al
lea rcx, [rbp + 0x174]
test al, al
cmove rcx, rdx
movss xmm6, dword [r9]
movss xmm10, dword [r8]
movss xmm9, dword [rcx]
movss xmm13, dword [0x180107340]
jmp 0x1800376bb
movss xmm4, dword [0x1801072f0]
cmp dword [0x1801200d0], 3
jne 0x180037204
addss xmm6, xmm4
movss dword [0x180121c54], xmm6
movaps xmm3, xmm10
movss xmm2, dword [0x180107280]
addss xmm3, xmm2
movaps xmm1, xmm6
subss xmm1, xmm4
movaps xmm0, xmm9
subss xmm0, xmm2
movss dword [rbp - 0x20], xmm0
movss dword [rbp - 0x1c], xmm1
movss dword [rbp - 0x18], xmm3
subss xmm10, xmm2
movss dword [rbp - 0x14], xmm0
movss dword [rbp - 0x10], xmm1
movss dword [rbp - 0xc], xmm10
addss xmm6, dword [0x180107278]
addss xmm9, xmm2
movss dword [rbp - 8], xmm9
movss dword [rbp - 4], xmm6
movss dword [rbp], xmm10
movss dword [rbp + 4], xmm9
movss dword [rbp + 8], xmm6
movss dword [rbp + 0xc], xmm3
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x138], xmm0
mov qword [rbp + 0x148], r12
mov edx, 4
lea rcx, [rbp + 0x138]
call fcn.1800323d0
mov rbx, qword [rbp + 0x138]
mov r8d, 0x30
lea rdx, [rbp - 0x20]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
add rbx, 0x30
mov qword [rbp + 0x140], rbx
mov rax, qword [r14]
movss xmm6, dword [rax + 0x48]
movss xmm1, dword [0x180121c50]
movss xmm10, dword [rbp + 0x100]
subss xmm1, xmm10
movss xmm0, dword [0x180121c58]
movd xmm11, edi
subss xmm0, xmm11
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2f
mulss xmm0, xmm7
movss xmm13, dword [0x180107340]
divss xmm0, xmm13
subss xmm0, dword [0x1801073dc]
movaps xmm1, xmm6
subss xmm1, xmm0
xorps xmm1, xmm14
addss xmm1, xmm7
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
movaps xmm1, xmm15
call sub.api_ms_win_crt_math_l1_1_0.dll_fmod
xorps xmm9, xmm9
cvtsd2ss xmm9, xmm0
comiss xmm8, xmm9
jbe 0x18003733e
addss xmm9, xmm12
subss xmm9, xmm7
mov rdi, qword [rbp + 0x138]
sub rbx, rdi
movabs rax, 0x2aaaaaaaaaaaaaab
imul rbx
mov rbx, rdx
sar rbx, 1
mov rax, rbx
shr rax, 0x3f
add rbx, rax
je 0x1800384ef
movss xmm1, dword [rdi]
subss xmm1, xmm10
movss xmm0, dword [rdi + 8]
subss xmm0, xmm11
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2f
mulss xmm0, xmm7
divss xmm0, xmm13
subss xmm0, dword [0x1801073dc]
movaps xmm1, xmm6
subss xmm1, xmm0
xorps xmm1, xmm14
addss xmm1, xmm7
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
movaps xmm1, xmm15
call sub.api_ms_win_crt_math_l1_1_0.dll_fmod
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
comiss xmm8, xmm1
jbe 0x1800373ca
addss xmm1, xmm12
subss xmm1, xmm7
movss dword [rbp - 0x80], xmm1
cmp rbx, 1
jbe 0x1800384ef
movss xmm1, dword [rdi + 0xc]
subss xmm1, xmm10
movss xmm0, dword [rdi + 0x14]
subss xmm0, xmm11
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2f
mulss xmm0, xmm7
divss xmm0, xmm13
subss xmm0, dword [0x1801073dc]
movaps xmm1, xmm6
subss xmm1, xmm0
xorps xmm1, xmm14
addss xmm1, xmm7
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
movaps xmm1, xmm15
call sub.api_ms_win_crt_math_l1_1_0.dll_fmod
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
comiss xmm8, xmm1
jbe 0x180037438
addss xmm1, xmm12
subss xmm1, xmm7
movss dword [rbp - 0x7c], xmm1
cmp rbx, 2
jbe 0x1800384ef
movss xmm1, dword [rdi + 0x18]
subss xmm1, xmm10
movss xmm0, dword [rdi + 0x20]
subss xmm0, xmm11
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2f
mulss xmm0, xmm7
divss xmm0, xmm13
subss xmm0, dword [0x1801073dc]
movaps xmm1, xmm6
subss xmm1, xmm0
xorps xmm1, xmm14
addss xmm1, xmm7
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
movaps xmm1, xmm15
call sub.api_ms_win_crt_math_l1_1_0.dll_fmod
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
comiss xmm8, xmm1
jbe 0x1800374a6
addss xmm1, xmm12
subss xmm1, xmm7
movss dword [rbp - 0x78], xmm1
cmp rbx, 3
jbe 0x1800384ef
movss xmm1, dword [rdi + 0x24]
subss xmm1, xmm10
movss xmm0, dword [rdi + 0x2c]
subss xmm0, xmm11
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2f
mulss xmm0, xmm7
divss xmm0, xmm13
subss xmm0, dword [0x1801073dc]
subss xmm6, xmm0
xorps xmm6, xmm14
addss xmm6, xmm7
xorps xmm0, xmm0
cvtss2sd xmm0, xmm6
movaps xmm1, xmm15
call sub.api_ms_win_crt_math_l1_1_0.dll_fmod
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
comiss xmm8, xmm1
jbe 0x180037511
addss xmm1, xmm12
subss xmm1, xmm7
movss dword [rbp - 0x74], xmm1
mov ecx, 0x10
call fcn.1800a7430
mov qword [rbp + 0x120], rax
lea rbx, [rax + 0x10]
mov qword [rbp + 0x130], rbx
mov r8d, 0x10
lea rdx, [rbp - 0x80]
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov r8, qword [rbp + 0x120]
mov rax, r8
comiss xmm8, xmm9
jbe 0x18003758e
cmp r8, rbx
je 0x180037584
lea rcx, [r8 + 4]
cmp rcx, rbx
je 0x180037584
nop word [rax + rax]
movss xmm0, dword [rcx]
comiss xmm0, dword [rax]
cmova rax, rcx
add rcx, 4
cmp rcx, rbx
jne 0x180037570
movss xmm0, dword [rax]
comiss xmm0, xmm8
jmp 0x1800375b8
cmp r8, rbx
je 0x1800375b4
lea rcx, [r8 + 4]
cmp rcx, rbx
je 0x1800375b4
nop dword [rax]
movss xmm0, dword [rax]
comiss xmm0, dword [rcx]
cmova rax, rcx
add rcx, 4
cmp rcx, rbx
jne 0x1800375a0
comiss xmm8, dword [rax]
jbe 0x180037638
mov qword [rsp + 0x20], 0xa
lea rcx, [rsp + 0x20]
call fcn.1800048b0
mov rcx, qword [rbp + 0x120]
test rcx, rcx
je 0x180037627
mov rax, qword [rbp + 0x130]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180037610
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003768e
call fcn.1800a7420
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x120], xmm0
mov qword [rbp + 0x130], r12
lea rcx, [rbp + 0x138]
call fcn.1800321b0
jmp 0x1800383f8
movss xmm6, dword [0x180121c50]
movss xmm10, dword [0x180121c54]
movss xmm9, dword [0x180121c58]
test r8, r8
je 0x1800376af
mov rax, qword [rbp + 0x130]
sub rax, r8
sar rax, 2
lea rdx, [rax*4]
mov rax, r8
cmp rdx, 0x1000
jb 0x180037695
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180037695
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.1800a7420
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x120], xmm0
mov qword [rbp + 0x130], r12
lea rcx, [rbp + 0x138]
call fcn.1800321b0
mov rbx, qword [r14]
subss xmm6, dword [rbx + 0x24]
subss xmm10, dword [rbx + 0x28]
subss xmm9, dword [rbx + 0x2c]
movaps xmm1, xmm9
mulss xmm1, xmm9
movaps xmm0, xmm6
mulss xmm0, xmm6
addss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm0, xmm1
ja 0x1800376f6
xorps xmm11, xmm11
sqrtss xmm11, xmm1
jmp 0x180037702
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm11, xmm0
movaps xmm1, xmm6
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2f
movaps xmm6, xmm0
mulss xmm6, xmm7
divss xmm6, xmm13
subss xmm6, dword [0x1801073dc]
movaps xmm1, xmm11
movaps xmm0, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2f
movaps xmm10, xmm0
xorps xmm10, xmm14
mulss xmm10, xmm7
divss xmm10, xmm13
movss xmm1, dword [rbx + 0x48]
movss xmm9, dword [rbx + 0x44]
subss xmm1, xmm6
xorps xmm1, xmm14
addss xmm1, xmm7
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
movaps xmm1, xmm15
call sub.api_ms_win_crt_math_l1_1_0.dll_fmod
xorps xmm6, xmm6
cvtsd2ss xmm6, xmm0
comiss xmm8, xmm6
jbe 0x18003777a
addss xmm6, xmm12
subss xmm6, xmm7
subss xmm9, xmm10
xorps xmm9, xmm14
addss xmm9, xmm7
xorps xmm0, xmm0
cvtss2sd xmm0, xmm9
movaps xmm1, xmm15
call sub.api_ms_win_crt_math_l1_1_0.dll_fmod
xorps xmm9, xmm9
cvtsd2ss xmm9, xmm0
comiss xmm8, xmm9
jbe 0x1800377b1
addss xmm9, xmm12
subss xmm9, xmm7
lea rcx, [0x180120420]
call fcn.180005a50
mov eax, eax
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
subss xmm0, xmm8
addss xmm0, xmm8
movss xmm7, dword [0x180107224]
mulss xmm0, xmm7
mulss xmm0, dword [0x180107360]
subss xmm0, dword [0x180107320]
addss xmm6, xmm0
lea rcx, [0x180120420]
call fcn.180005a50
mov eax, eax
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
subss xmm0, xmm8
addss xmm0, xmm8
mulss xmm0, xmm7
mulss xmm0, dword [0x180107360]
subss xmm0, dword [0x180107320]
addss xmm9, xmm0
lea rcx, [0x180120420]
call fcn.180005a50
mov ecx, eax
imul r14, rcx, 0x65
cmp r14d, 0x43
ja 0x180037868
nop word [rax + rax]
lea rcx, [0x180120420]
call fcn.180005a50
mov ecx, eax
imul r14, rcx, 0x65
cmp r14d, 0x44
jb 0x180037850
shr r14, 0x20
mov ebx, 4
mov eax, dword [r15 + rbx]
cmp dword [0x180121c5c], eax
jle 0x1800378b8
lea rcx, [0x180121c5c]
call fcn.1800a7540
cmp dword [0x180121c5c], 0xffffffff
jne 0x1800378b8
mov qword [0x180121c60], r12
lea rcx, [rbp + 0x28]
call fcn.180005e10
mov rdx, qword [rax]
mov qword [0x180121c60], rdx
lea rcx, [0x180121c5c]
call fcn.1800a74d4
mov eax, dword [r15 + rbx]
cmp dword [0x180121c68], eax
jle 0x1800378ff
lea rcx, [0x180121c68]
call fcn.1800a7540
cmp dword [0x180121c68], 0xffffffff
jne 0x1800378ff
mov qword [0x180121c70], r12
lea rcx, [rbp + 0x30]
call fcn.180005e10
mov rdx, qword [rax]
mov qword [0x180121c70], rdx
lea rcx, [0x180121c68]
call fcn.1800a74d4
lea rcx, [rbp + 0x38]
call fcn.180005e10
mov rcx, qword [rax]
sub rcx, qword [0x180121c60]
movabs r12, 0x431bde82d7b634db
mov rax, r12
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
xorps xmm0, xmm0
cvtsi2ss xmm0, rdx
movss xmm12, dword [0x180107424]
comiss xmm0, xmm12
jb 0x18003799e
movss xmm0, dword [0x18011d3f4]
movss dword [0x18011d3f8], xmm0
lea rcx, [0x180120420]
call fcn.180005a50
mov eax, eax
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
subss xmm0, xmm8
addss xmm0, xmm8
mulss xmm0, xmm7
addss xmm0, dword [0x180107290]
movss dword [0x18011d3f4], xmm0
lea rcx, [rbp + 0x40]
call fcn.180005e10
mov rcx, qword [rax]
mov qword [0x180121c60], rcx
lea rcx, [rbp + 0x48]
call fcn.180005e10
mov rcx, qword [rax]
sub rcx, qword [0x180121c60]
mov rax, r12
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
xorps xmm0, xmm0
cvtsi2ss xmm0, rdx
divss xmm0, xmm12
movss dword [rbp + 0x118], xmm0
movss xmm13, dword [0x1801072d4]
mov dword [rsp + 0x4c], 0x3f800000
mov dword [rsp + 0x44], 0
comiss xmm8, xmm0
seta al
lea rdx, [rsp + 0x44]
lea rcx, [rbp + 0x118]
test al, al
cmove rdx, rcx
comiss xmm0, xmm13
seta al
lea rcx, [rsp + 0x4c]
test al, al
cmove rcx, rdx
movss xmm1, dword [rcx]
movaps xmm0, xmm1
addss xmm0, xmm1
movss xmm15, dword [0x18010733c]
movaps xmm2, xmm15
subss xmm2, xmm0
mulss xmm1, xmm1
mulss xmm2, xmm1
movss xmm0, dword [0x18011d3f4]
subss xmm0, dword [0x18011d3f8]
mulss xmm2, xmm0
addss xmm2, dword [0x18011d3f8]
movss dword [0x18011d3f0], xmm2
movss xmm11, dword [0x18010744c]
cmp byte [0x180120170], 0
je 0x180037ab8
lea rcx, [rbp + 0x20]
call fcn.180005e10
mov rcx, qword [rax]
sub rcx, qword [0x180121c70]
mov rax, r12
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
xorps xmm0, xmm0
cvtsi2ss xmm0, rdx
comiss xmm0, dword [0x180107388]
jbe 0x180037af7
movss xmm2, dword [0x18011d3f0]
movaps xmm0, xmm11
movss xmm14, dword [rsp + 0x3c]
divss xmm0, xmm14
mulss xmm0, xmm2
divss xmm6, xmm0
movss dword [0x18012016c], xmm6
mov byte [0x180120170], 1
lea rcx, [rbp + 0x80]
call fcn.180005e10
mov rcx, qword [rax]
mov qword [0x180121c70], rcx
jmp 0x180037afe
movss xmm14, dword [rsp + 0x3c]
xorps xmm0, xmm0
movups xmmword [rbp + 0x150], xmm0
lea rdx, [rbp + 0x150]
mov rcx, qword [r13 + 0x40]
call fcn.180086cb0
nop
mov rdi, qword [rbp + 0x150]
test rdi, rdi
jne 0x180037b3b
mov qword [rbp + 0x10], 0xa
lea rcx, [rbp + 0x10]
call fcn.1800048b0
jmp 0x1800383b9
mov r8, qword [rdi]
mov edx, 8
mov rcx, qword [rdi + 0x10]
call fcn.180088d80
mov r8, rax
test rax, rax
jne 0x180037b5a
movaps xmm10, xmm8
jmp 0x180037b72
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov r9, qword [rax + 0x330]
mov rdx, qword [rdi + 0x10]
call r9
movaps xmm10, xmm0
movss xmm6, dword [0x18012016c]
addss xmm6, xmm10
mov rbx, qword [rdi]
mov r8, rbx
mov edx, 8
mov rcx, qword [rdi + 0x10]
call fcn.180088d80
mov r8, qword [rbx]
mov r9, qword [r8 + 0x378]
movaps xmm3, xmm6
mov r8, rax
mov rdx, qword [rdi + 0x10]
mov rcx, rbx
call r9
movss xmm6, dword [0x18012016c]
addss xmm6, xmm10
mov rbx, qword [rdi]
mov r8, rbx
mov edx, 0xa
mov rcx, qword [rdi + 0x10]
call fcn.180088d80
mov r8, qword [rbx]
mov r9, qword [r8 + 0x378]
movaps xmm3, xmm6
mov r8, rax
mov rdx, qword [rdi + 0x10]
mov rcx, rbx
call r9
mov ebx, 4
mov eax, dword [r15 + rbx]
cmp dword [0x180121c78], eax
jle 0x180037c38
lea rcx, [0x180121c78]
call fcn.1800a7540
cmp dword [0x180121c78], 0xffffffff
jne 0x180037c38
mov qword [0x180121c80], 0
lea rcx, [rbp + 0x18]
call fcn.180005e10
mov rdx, qword [rax]
mov qword [0x180121c80], rdx
lea rcx, [0x180121c78]
call fcn.1800a74d4
mov eax, dword [r15 + rbx]
cmp dword [0x180121c88], eax
jle 0x180037c83
lea rcx, [0x180121c88]
call fcn.1800a7540
cmp dword [0x180121c88], 0xffffffff
jne 0x180037c83
mov qword [0x180121c90], 0
lea rcx, [rbp + 0x50]
call fcn.180005e10
mov rdx, qword [rax]
mov qword [0x180121c90], rdx
lea rcx, [0x180121c88]
call fcn.1800a74d4
mov eax, dword [r15 + rbx]
cmp dword [0x180121c98], eax
jle 0x180037cec
lea rcx, [0x180121c98]
call fcn.1800a7540
cmp dword [0x180121c98], 0xffffffff
jne 0x180037cec
lea rcx, [0x180120420]
call fcn.180005a50
mov eax, eax
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
subss xmm0, xmm8
addss xmm0, xmm8
mulss xmm0, xmm7
mulss xmm0, dword [0x180107250]
subss xmm0, dword [0x180107248]
movss dword [0x180121c9c], xmm0
lea rcx, [0x180121c98]
call fcn.1800a74d4
mov eax, dword [r15 + rbx]
cmp dword [0x180121ca0], eax
jle 0x180037d2d
lea rcx, [0x180121ca0]
call fcn.1800a7540
cmp dword [0x180121ca0], 0xffffffff
jne 0x180037d2d
mov dword [0x180121ca8], 0x43fa0000
mov dword [0x180121cac], 0x44480000
lea rcx, [0x180121ca0]
call fcn.1800a74d4
mov eax, dword [r15 + rbx]
cmp dword [0x180121cb0], eax
jle 0x180037d6a
lea rcx, [0x180121cb0]
call fcn.1800a7540
cmp dword [0x180121cb0], 0xffffffff
jne 0x180037d6a
movss xmm0, dword [0x180121ca8]
movss dword [0x180121cb4], xmm0
lea rcx, [0x180121cb0]
call fcn.1800a74d4
mov eax, dword [r15 + rbx]
cmp dword [0x180121cb8], eax
jle 0x180037da7
lea rcx, [0x180121cb8]
call fcn.1800a7540
cmp dword [0x180121cb8], 0xffffffff
jne 0x180037da7
movss xmm0, dword [0x180121cac]
movss dword [0x180121cbc], xmm0
lea rcx, [0x180121cb8]
call fcn.1800a74d4
mov eax, dword [r15 + rbx]
cmp dword [0x180121cc0], eax
jle 0x180037de4
lea rcx, [0x180121cc0]
call fcn.1800a7540
cmp dword [0x180121cc0], 0xffffffff
jne 0x180037de4
movss xmm0, dword [0x180121ca8]
movss dword [0x180121cc4], xmm0
lea rcx, [0x180121cc0]
call fcn.1800a74d4
mov eax, dword [r15 + rbx]
cmp dword [0x180121cc8], eax
jle 0x180037e21
lea rcx, [0x180121cc8]
call fcn.1800a7540
cmp dword [0x180121cc8], 0xffffffff
jne 0x180037e21
movss xmm0, dword [0x180121cac]
movss dword [0x180121ccc], xmm0
lea rcx, [0x180121cc8]
call fcn.1800a74d4
mov eax, dword [r15 + rbx]
cmp dword [0x180121cd0], eax
jle 0x180037e96
lea rcx, [0x180121cd0]
call fcn.1800a7540
cmp dword [0x180121cd0], 0xffffffff
jne 0x180037e96
lea rcx, [0x180120420]
call fcn.180005a50
mov eax, eax
xorps xmm2, xmm2
cvtsi2ss xmm2, rax
subss xmm2, xmm8
addss xmm2, xmm8
mulss xmm2, xmm7
movss xmm0, dword [0x180121ccc]
subss xmm0, dword [0x180121cc4]
mulss xmm2, xmm0
addss xmm2, dword [0x180121cc4]
movss dword [0x180121cd4], xmm2
lea rcx, [0x180121cd0]
call fcn.1800a74d4
mov r8, qword [rdi]
mov edx, 9
mov rcx, qword [rdi + 0x10]
call fcn.180088d80
mov r8, rax
test rax, rax
jne 0x180037eb5
movaps xmm10, xmm8
jmp 0x180037ecd
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov r9, qword [rax + 0x330]
mov rdx, qword [rdi + 0x10]
call r9
movaps xmm10, xmm0
lea rcx, [rbp + 0x58]
call fcn.180005e10
mov rcx, qword [rax]
sub rcx, qword [0x180121c80]
mov rax, r12
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
xorps xmm0, xmm0
cvtsi2ss xmm0, rdx
comiss xmm0, dword [0x180121cd4]
jbe 0x180037fb0
movss xmm0, dword [0x180121c9c]
movss dword [0x180120168], xmm0
lea rcx, [0x180120420]
call fcn.180005a50
mov eax, eax
xorps xmm2, xmm2
cvtsi2ss xmm2, rax
subss xmm2, xmm8
addss xmm2, xmm8
mulss xmm2, xmm7
movss xmm0, dword [0x180121ccc]
subss xmm0, dword [0x180121cc4]
mulss xmm2, xmm0
addss xmm2, dword [0x180121cc4]
movss dword [0x180121cd4], xmm2
lea rcx, [0x180120420]
call fcn.180005a50
mov eax, eax
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
subss xmm0, xmm8
addss xmm0, xmm8
mulss xmm0, xmm7
mulss xmm0, dword [0x18010724c]
subss xmm0, dword [0x180107244]
movss dword [0x180121c9c], xmm0
lea rcx, [rbp + 0x60]
call fcn.180005e10
mov rcx, qword [rax]
mov qword [0x180121c80], rcx
lea rcx, [rbp + 0x68]
call fcn.180005e10
mov rcx, qword [rax]
sub rcx, qword [0x180121c80]
mov rax, r12
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
xorps xmm0, xmm0
cvtsi2ss xmm0, rdx
divss xmm0, dword [0x180121cd4]
movss dword [rbp + 0x110], xmm0
mov dword [rsp + 0x58], 0x3f800000
mov dword [rsp + 0x50], 0
comiss xmm8, xmm0
seta al
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x110]
test al, al
cmove rdx, rcx
comiss xmm0, xmm13
seta al
lea rcx, [rsp + 0x58]
test al, al
cmove rcx, rdx
movss xmm1, dword [rcx]
movaps xmm0, xmm1
addss xmm0, xmm1
subss xmm15, xmm0
mulss xmm1, xmm1
mulss xmm15, xmm1
movss xmm0, dword [0x180121c9c]
subss xmm0, dword [0x180120168]
mulss xmm15, xmm0
addss xmm15, dword [0x180120168]
movss dword [0x180120164], xmm15
mov dword [rsp + 0x64], 0x3f800000
mov dword [rsp + 0x5c], 0
lea rcx, [rbp + 0x88]
call fcn.180005e10
mov rcx, qword [rax]
sub rcx, qword [0x180121c90]
mov rax, r12
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
xorps xmm0, xmm0
cvtsi2ss xmm0, rdx
divss xmm0, dword [0x18010740c]
movss dword [rsp + 0x60], xmm0
comiss xmm8, xmm0
seta al
lea rdx, [rsp + 0x5c]
lea rcx, [rsp + 0x60]
test al, al
cmove rdx, rcx
comiss xmm0, xmm13
seta al
lea rcx, [rsp + 0x64]
test al, al
cmove rcx, rdx
movss xmm2, dword [rcx]
movss xmm1, dword [0x180121ca8]
movss xmm0, dword [0x180121cb4]
call fcn.1800307e0
movss dword [0x180121cc4], xmm0
mov dword [rsp + 0x40], 0x3f800000
mov dword [rsp + 0x68], 0
lea rcx, [rbp + 0x70]
call fcn.180005e10
mov rcx, qword [rax]
sub rcx, qword [0x180121c90]
mov rax, r12
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
xorps xmm0, xmm0
cvtsi2ss xmm0, rdx
divss xmm0, dword [0x18010740c]
movss dword [rsp + 0x6c], xmm0
comiss xmm8, xmm0
seta al
lea r8, [rsp + 0x68]
lea rcx, [rsp + 0x6c]
test al, al
cmove r8, rcx
comiss xmm0, xmm13
seta al
lea rdx, [rsp + 0x40]
test al, al
cmove rdx, r8
movss xmm2, dword [rdx]
movss xmm1, dword [0x180121cac]
movss xmm0, dword [0x180121cbc]
call fcn.1800307e0
movss dword [0x180121ccc], xmm0
cmp r14d, 5
jae 0x180038297
lea rcx, [0x180120420]
call fcn.180005a50
mov eax, eax
xorps xmm3, xmm3
cvtsi2ss xmm3, rax
subss xmm3, xmm8
addss xmm3, xmm8
mulss xmm3, xmm7
mulss xmm3, dword [0x180107400]
movss xmm2, dword [0x180107418]
addss xmm3, xmm2
mov dword [rsp + 0x74], 0x43c80000
mov dword [rsp + 0x70], 0x437a0000
movaps xmm0, xmm3
subss xmm0, dword [0x180107388]
movss dword [rsp + 0x54], xmm0
comiss xmm2, xmm0
seta al
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x54]
test al, al
cmove rdx, rcx
comiss xmm0, xmm12
seta al
lea rcx, [rsp + 0x74]
test al, al
cmove rcx, rdx
movss xmm0, dword [rcx]
movss dword [0x180121cb4], xmm0
mov dword [rsp + 0x48], 0x43c80000
mov dword [rsp + 0x78], 0x437a0000
addss xmm3, dword [0x180107388]
movss dword [rsp + 0x7c], xmm3
comiss xmm2, xmm3
seta al
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x7c]
test al, al
cmove rdx, rcx
comiss xmm3, xmm12
seta al
lea rcx, [rsp + 0x48]
test al, al
cmove rcx, rdx
movss xmm0, dword [rcx]
movss dword [0x180121cbc], xmm0
lea rcx, [rbp + 0x78]
call fcn.180005e10
mov rcx, qword [rax]
mov qword [0x180121c90], rcx
movss xmm6, dword [0x180120164]
addss xmm6, xmm10
mov rbx, qword [rdi]
mov r8, rbx
mov edx, 9
mov rcx, qword [rdi + 0x10]
call fcn.180088d80
mov r8, qword [rbx]
mov r9, qword [r8 + 0x378]
movaps xmm3, xmm6
mov r8, rax
mov rdx, qword [rdi + 0x10]
mov rcx, rbx
call r9
movss xmm6, dword [0x180120164]
addss xmm6, xmm10
mov rbx, qword [rdi]
mov r8, rbx
mov edx, 0xb
mov rcx, qword [rdi + 0x10]
call fcn.180088d80
mov r8, qword [rbx]
mov r9, qword [r8 + 0x378]
movaps xmm3, xmm6
mov r8, rax
mov rdx, qword [rdi + 0x10]
mov rcx, rbx
call r9
cmp byte [0x1801200c2], 0
jne 0x1800383b9
mov r8, qword [rdi]
mov edx, 9
mov rcx, qword [rdi + 0x10]
call fcn.180088d80
mov r8, rax
test rax, rax
je 0x18003834b
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov r9, qword [rax + 0x330]
mov rdx, qword [rdi + 0x10]
call r9
movaps xmm8, xmm0
divss xmm11, xmm14
divss xmm9, xmm11
addss xmm9, xmm8
mov rbx, qword [rdi]
mov r8, rbx
mov edx, 9
mov rcx, qword [rdi + 0x10]
call fcn.180088d80
mov r8, qword [rbx]
mov r9, qword [r8 + 0x378]
movaps xmm3, xmm9
mov r8, rax
mov rdx, qword [rdi + 0x10]
mov rcx, rbx
call r9
mov rbx, qword [rdi]
mov r8, rbx
mov edx, 0xb
mov rcx, qword [rdi + 0x10]
call fcn.180088d80
mov r8, qword [rbx]
mov r9, qword [r8 + 0x378]
movaps xmm3, xmm9
mov r8, rax
mov rdx, qword [rdi + 0x10]
mov rcx, rbx
call r9
nop
mov rcx, qword [rbp + 0x158]
test rcx, rcx
je 0x1800383f8
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1800383f8
mov rbx, qword [rbp + 0x158]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x1800383f8
mov rcx, qword [rbp + 0x158]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rbp + 0xe8]
test rcx, rcx
je 0x18003848d
mov rdx, qword [rbp + 0xf0]
call fcn.1800385b0
mov rcx, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xe8]
sub rcx, r8
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*4]
shl rdx, 3
mov rax, r8
cmp rdx, 0x1000
jb 0x180038470
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180038470
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.1800a7420
jmp 0x18003848d
mov qword [rsp + 0x20], 0xfa
lea rcx, [rsp + 0x20]
call fcn.1800048b0
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1800a7090
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180038590
nop
int3