Function at 0x180062770
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov qword [rsp + 0x130], rbx
mov rdi, rcx
xor ebx, ebx
cmp byte [rcx + 0x34], bl
sete bl
call fcn.18005b2d0
xor r8d, r8d
mov edx, ebx
mov ecx, eax
call fcn.18005b5c0
cmp byte [rdi + 0x34], 0
mov rbx, qword [rsp + 0x130]
je 0x180062ccb
movaps xmmword [rsp + 0x110], xmm6
lea rcx, [rsp + 0x40]
movaps xmmword [rsp + 0x100], xmm7
movaps xmmword [rsp + 0xf0], xmm8
movaps xmmword [rsp + 0xb0], xmm12
movaps xmmword [rsp + 0xa0], xmm15
call fcn.180059960
mov edx, dword [rdi + 0x450]
lea rcx, [rsp + 0x60]
mov r8d, 1
call fcn.1800595b0
mov edx, dword [rdi + 0x450]
lea rcx, [rsp + 0x60]
xorps xmm6, xmm6
xorps xmm8, xmm8
xor r8d, r8d
movups xmm1, xmmword [rax]
movsd xmm7, qword [rax + 0x10]
movaps xmm0, xmm1
shufps xmm1, xmm1, 0xaa
subss xmm1, dword [rsp + 0x48]
subss xmm0, dword [rsp + 0x40]
cvtss2sd xmm8, xmm1
cvtss2sd xmm6, xmm0
call fcn.1800595b0
mulsd xmm8, xmm8
xorps xmm0, xmm0
movsd qword [rbp - 0x70], xmm7
xorps xmm1, xmm1
subss xmm7, dword [rsp + 0x50]
mulsd xmm6, xmm6
cvtss2sd xmm0, xmm7
addsd xmm8, xmm6
addsd xmm8, xmm0
ucomisd xmm1, xmm8
ja 0x180062877
sqrtpd xmm0, xmm8
jmp 0x180062880
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
mov ecx, dword [rdi + 0x450]
xorps xmm12, xmm12
cvtsd2ss xmm12, xmm0
movaps xmmword [rsp + 0xe0], xmm9
divss xmm12, dword [0x1801a5c40]
movaps xmmword [rsp + 0xd0], xmm10
call fcn.180058690
mov ecx, dword [rdi + 0x450]
call fcn.1800586e0
mov ecx, dword [rdi + 0x450]
call fcn.180058640
movss xmm3, dword [rsp + 0x70]
movss xmm2, dword [rsp + 0x68]
movss xmm1, dword [rsp + 0x60]
mov ecx, dword [rdi + 0x450]
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
call fcn.18005b7b0
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.1800599b0
xor edx, edx
lea rcx, [rsp + 0x60]
movss xmm7, dword [rax + 0x10]
call fcn.1800599b0
xor edx, edx
lea rcx, [rsp + 0x40]
movss xmm6, dword [rax + 8]
call fcn.1800599b0
mov ecx, dword [rdi + 0x450]
movaps xmm3, xmm7
mov dword [rsp + 0x28], 1
movaps xmm2, xmm6
mov dword [rsp + 0x20], 2
movss xmm1, dword [rax]
call fcn.18005bae0
mov ecx, 0x53
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movss xmm8, dword [0x1801a4fa0]
movsd xmm15, qword [0x1801db168]
test ax, ax
jne 0x180062985
mov edx, 0x10c
mov ecx, 2
call fcn.18005a880
test eax, eax
je 0x180062b0d
mov edx, 0xa0
movaps xmmword [rsp + 0xc0], xmm11
lea rcx, [section..data]
call fcn.1800e1480
test al, al
jne 0x1800629b4
mov edx, 0x15
lea ecx, [rdx - 0x13]
call fcn.18005a880
test eax, eax
je 0x1800629c5
cvtps2pd xmm0, xmm12
subsd xmm0, qword [0x1801db1a0]
cvtpd2ps xmm12, xmm0
mov edx, 0x20
lea rcx, [section..data]
call fcn.1800e1480
test al, al
jne 0x1800629eb
mov edx, 0x16
lea ecx, [rdx - 0x14]
call fcn.18005a880
test eax, eax
je 0x1800629fc
cvtps2pd xmm0, xmm12
addsd xmm0, qword [0x1801db178]
cvtpd2ps xmm12, xmm0
mulss xmm12, dword [0x1801db13c]
lea rcx, [rbp - 0x80]
xor edx, edx
movss xmm11, dword [rdi + 0x38]
mulss xmm12, xmm11
subss xmm12, dword [0x1801db154]
mulss xmm11, xmm12
call fcn.1800599b0
xorps xmm10, xmm10
movups xmm0, xmmword [rax]
movsd xmm1, qword [rax + 0x10]
cvtss2sd xmm0, xmm0
mulsd xmm0, xmm15
cvtsd2ss xmm10, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
mulsd xmm0, xmm15
cvtpd2ps xmm6, xmm0
movaps xmm0, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mov edx, dword [rdi + 0x450]
lea rcx, [rsp + 0x40]
movaps xmm7, xmm0
mov r8d, 1
andps xmm7, xmm8
call fcn.1800595b0
movaps xmm0, xmm6
movups xmm9, xmmword [rax]
movsd xmm8, qword [rax + 0x10]
movaps xmmword [rsp + 0x60], xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mulss xmm0, xmm7
mulss xmm0, xmm11
subss xmm9, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movss xmm6, dword [rsp + 0x68]
mulss xmm0, xmm7
mulss xmm0, xmm11
addss xmm6, xmm0
movaps xmm0, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mov ecx, dword [rdi + 0x450]
movaps xmm2, xmm6
mulss xmm0, xmm11
movaps xmm1, xmm9
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
addss xmm8, xmm0
movaps xmm3, xmm8
call fcn.18005b7b0
movss xmm8, dword [0x1801a4fa0]
movaps xmm11, xmmword [rsp + 0xc0]
mov ecx, 0x57
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x180062b34
mov edx, 0x10d
mov ecx, 2
call fcn.18005a880
test eax, eax
je 0x180062c8e
mov edx, 0xa0
lea rcx, [section..data]
call fcn.1800e1480
test al, al
jne 0x180062b5a
mov edx, 0x15
lea ecx, [rdx - 0x13]
call fcn.18005a880
test eax, eax
je 0x180062b6b
cvtps2pd xmm0, xmm12
addsd xmm0, qword [0x1801db1a0]
cvtpd2ps xmm12, xmm0
mov edx, 0x20
lea rcx, [section..data]
call fcn.1800e1480
test al, al
jne 0x180062b91
mov edx, 0x16
lea ecx, [rdx - 0x14]
call fcn.18005a880
test eax, eax
je 0x180062ba2
cvtps2pd xmm0, xmm12
subsd xmm0, qword [0x1801db178]
cvtpd2ps xmm12, xmm0
addss xmm12, dword [0x1801a4d54]
xor edx, edx
lea rcx, [rbp - 0x80]
mulss xmm12, dword [rdi + 0x38]
call fcn.1800599b0
xorps xmm10, xmm10
movups xmm0, xmmword [rax]
movsd xmm1, qword [rax + 0x10]
cvtss2sd xmm0, xmm0
mulsd xmm0, xmm15
cvtsd2ss xmm10, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
mulsd xmm0, xmm15
cvtpd2ps xmm6, xmm0
movaps xmm0, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mov edx, dword [rdi + 0x450]
lea rcx, [rsp + 0x40]
movaps xmm7, xmm0
mov r8d, 1
andps xmm7, xmm8
call fcn.1800595b0
movaps xmm0, xmm6
movups xmm9, xmmword [rax]
movsd xmm8, qword [rax + 0x10]
movaps xmmword [rsp + 0x60], xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mulss xmm0, xmm7
mulss xmm0, xmm12
subss xmm9, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movss xmm6, dword [rsp + 0x68]
mulss xmm0, xmm7
mulss xmm0, xmm12
addss xmm6, xmm0
movaps xmm0, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mov ecx, dword [rdi + 0x450]
movaps xmm2, xmm6
mulss xmm0, xmm12
movaps xmm1, xmm9
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
addss xmm8, xmm0
movaps xmm3, xmm8
call fcn.18005b7b0
movaps xmm10, xmmword [rsp + 0xd0]
movaps xmm9, xmmword [rsp + 0xe0]
movaps xmm12, xmmword [rsp + 0xb0]
movaps xmm8, xmmword [rsp + 0xf0]
movaps xmm7, xmmword [rsp + 0x100]
movaps xmm6, xmmword [rsp + 0x110]
movaps xmm15, xmmword [rsp + 0xa0]
mov rdi, qword [rsp + 0x138]
add rsp, 0x120
pop rbp
ret