Function at 0x18007c520
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
lea rax, [rbp + 0x88]
movabs rcx, 0xff00ff00ff00ff00
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x20], rax
mov r15, qword [rax]
xor r15, rcx
mov qword [rbp - 0x30], r15
xor r13d, r13d
mov qword [rax], r13
lea rcx, [0x1801de580]
call fcn.180077a70
test al, al
je 0x18007caee
xor r12b, r12b
xorps xmm6, xmm6
movss dword [rsp + 0x60], xmm6
xorps xmm7, xmm7
movss dword [rsp + 0x64], xmm7
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r13
mov rax, qword [0x1801de590]
movabs rsi, 0x2aaaaaaaaaaaaaab
cmp qword [rax + 0x268], r13
je 0x18007ca89
movss xmm11, dword [0x1800e2e9c]
cmp byte [0x1801dd8d0], r12b
je 0x18007c6ed
mov rax, qword [0x1801dd320]
mov rax, qword [rax + 0x48b8]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax]
call fcn.180010430
mov rbx, rax
mov rcx, qword [0x1801dd320]
mov dword [rsp + 0x50], 0x3f800000
mov qword [rsp + 0x54], 0x3e10624e
movss xmm1, dword [rcx + 0x37c8]
movss dword [rsp + 0x5c], xmm1
lea rcx, [rsp + 0x50]
call fcn.18000bba0
mov edi, eax
mov eax, dword [0x1801dd424]
cdq
sub eax, edx
sar eax, 1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [0x1801dd420]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbp + 0x90], xmm0
movss dword [rbp + 0x94], xmm1
test edi, 0xff000000
je 0x18007c6ed
movss xmm0, dword [0x1800e2e18]
movss xmm2, dword [0x1801dd710]
comiss xmm0, xmm2
ja 0x18007c6ed
subss xmm2, xmm0
mov dword [rsp + 0x20], 0x30
xor r9d, r9d
lea rdx, [rbp + 0x90]
mov rcx, rbx
call fcn.18002fb70
mov r8d, dword [rbx + 0x78]
dec r8d
mov dword [rbx + 0x78], r8d
movss dword [rsp + 0x28], xmm11
mov dword [rsp + 0x20], 1
mov r9d, edi
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
call fcn.18002e640
mov dword [rbx + 0x78], r13d
cmp byte [0x1801dd6a0], 0
je 0x18007ca89
lea rcx, [rsp + 0x70]
call fcn.180002250
mov rdi, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
cmp rdi, rcx
je 0x18007c961
mov ebx, r13d
sub rcx, rdi
mov rax, rsi
imul rcx
mov rsi, rdx
sar rsi, 2
mov rax, rsi
shr rax, 0x3f
add rsi, rax
je 0x18007c961
movsd xmm10, qword [0x1800e2eb8]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x38], 0
lea rdx, [rsp + 0x30]
lea rcx, [rdi + 8]
call fcn.18005b290
test al, al
je 0x18007c947
mov eax, dword [0x1801dd420]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss xmm8, dword [rsp + 0x30]
movaps xmm1, xmm8
subss xmm1, xmm0
mov eax, dword [0x1801dd424]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss xmm9, dword [rsp + 0x34]
movaps xmm7, xmm9
subss xmm7, xmm0
cvtps2pd xmm0, xmm1
movaps xmm1, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm6, xmm0
cvtps2pd xmm0, xmm7
movaps xmm1, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm1, xmm0
addsd xmm1, xmm6
xorps xmm0, xmm0
ucomisd xmm0, xmm1
ja 0x18007c7e0
xorps xmm0, xmm0
sqrtsd xmm0, xmm1
jmp 0x18007c7e8
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [0x1800f0040]
comiss xmm0, xmm1
jbe 0x18007c947
movss xmm0, dword [0x1801dd710]
comiss xmm0, xmm1
jb 0x18007c947
movss dword [0x1800f0040], xmm1
movss dword [0x1801de520], xmm8
movss dword [0x1801de524], xmm9
movss xmm0, dword [rsp + 0x38]
movss dword [0x1801de528], xmm0
movss xmm1, dword [rdi + 8]
movss dword [0x1801de530], xmm1
movss xmm0, dword [rdi + 0xc]
movss dword [0x1801de534], xmm0
movss xmm1, dword [rdi + 0x10]
movss dword [0x1801de538], xmm1
movss xmm7, dword [0x1801dd748]
lea rdx, [rbp - 0x18]
mov rcx, qword [0x1801de598]
call fcn.180071b20
movsd xmm6, qword [rax]
movsd xmm0, qword [rdi + 8]
movsd qword [rbp - 0x60], xmm0
mov eax, dword [rdi + 0x10]
mov dword [rbp - 0x58], eax
lea rdx, [rsp + 0x50]
mov rcx, qword [0x1801de598]
call fcn.180071e00
movsd xmm0, qword [rax]
movsd qword [rbp - 0x70], xmm0
mov eax, dword [rax + 8]
mov dword [rbp - 0x68], eax
lea r9, [rbp - 0x70]
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x40]
mov rcx, qword [0x1801de5a0]
call fcn.1800726f0
lea r8, [rbp - 0x40]
lea rdx, [rsp + 0x40]
mov rcx, qword [0x1801de5a0]
call fcn.180072a30
movss xmm2, dword [rsp + 0x40]
movsd qword [rbp - 0x50], xmm6
subss xmm2, xmm6
movss dword [rsp + 0x40], xmm2
movss xmm1, dword [rsp + 0x44]
subss xmm1, dword [rbp - 0x4c]
movss dword [rsp + 0x44], xmm1
mov dword [rsp + 0x48], 0
divss xmm2, xmm7
addss xmm2, xmm6
divss xmm1, xmm7
addss xmm1, dword [rbp - 0x4c]
movss dword [0x1801de510], xmm2
movss dword [0x1801de514], xmm1
mov dword [0x1801de518], 0
lea rdx, [rsp + 0x60]
lea rcx, [0x1801de4f0]
call fcn.18005b290
movzx r12d, al
inc ebx
movsxd rcx, ebx
cmp rcx, rsi
jb 0x18007c743
movss xmm7, dword [rsp + 0x64]
movss xmm6, dword [rsp + 0x60]
cmp byte [0x1801dd940], 0
je 0x18007c9bb
test r12b, r12b
je 0x18007c9bb
movaps xmm0, xmmword [0x1800e31e0]
movups xmmword [rsp + 0x50], xmm0
mov eax, dword [0x1801dd424]
cdq
sub eax, edx
sar eax, 1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [0x1801dd420]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
movss dword [rsp + 0x20], xmm11
movaps xmm3, xmm7
movaps xmm2, xmm6
call fcn.180003dc0
mov eax, dword [0x1801dd588]
test eax, eax
jne 0x18007ca7d
movss xmm6, dword [0x1801de510]
movss xmm7, dword [0x1801de514]
movss xmm8, dword [0x1801de518]
mov rbx, qword [0x1801de598]
lea r14, [rbp + 0x88]
mov rsi, qword [r14]
mov qword [r14], r13
mov ecx, dword [0x1801dd780]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x18007ca1b
cmp dword [0x1801dd550], 0
jne 0x18007ca1b
cmp byte [0x1801dd6a0], 0
jne 0x18007ca40
mov ecx, dword [0x1801dd780]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x18007ca71
cmp dword [0x1801dd550], 2
jne 0x18007ca71
cmp byte [0x1801dd6a0], 0
je 0x18007ca71
movss xmm0, dword [0x1800f0040]
ucomiss xmm0, dword [0x1800e2fac]
jp 0x18007ca53
je 0x18007ca78
movss dword [rbx + 0x2a5c], xmm6
movss dword [rbx + 0x2a60], xmm7
movss dword [rbx + 0x2a64], xmm8
mov qword [r14], rsi
jmp 0x18007ca8e
mov byte [0x1801dd898], 0
mov qword [r14], rsi
jmp 0x18007ca8e
cmp eax, 1
jne 0x18007ca8e
call fcn.180001320
jmp 0x18007ca8e
mov rdi, qword [rsp + 0x70]
test rdi, rdi
je 0x18007caee
mov rcx, qword [rbp - 0x80]
sub rcx, rdi
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 3
mov rax, rdi
cmp rdx, 0x1000
jb 0x18007cae5
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18007cae5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.18007f624
nop
movabs rax, 0xff00ff00ff00ff00
xor r15, rax
lea rax, [rbp + 0x88]
mov qword [rax], r15
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
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]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret