Function at 0x140054200
Capabilities:
Create thread
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
movaps xmmword [rax - 0x78], xmm12
mov rcx, qword [0x14006ba78]
add rcx, 0x310
call fcn.140056cb0
mov rdi, rax
mov ecx, dword [0x14006b394]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ebx, 0x6e
mov r14d, 2
xorps xmm8, xmm8
test ax, ax
je 0x140054414
cmp qword [0x14006bb88], 0
je 0x140054414
mov eax, dword [0x14006c4d8]
test eax, eax
jne 0x140054289
mov r8d, ebx
jmp 0x1400542ae
cmp eax, 1
jne 0x140054296
mov r8d, 0x42
jmp 0x1400542ae
cmp eax, r14d
jne 0x1400542a3
mov r8d, 7
jmp 0x1400542ae
mov r8d, dword [rbp + 0x67]
cmp eax, 3
cmove r8d, r14d
mov rdx, rdi
lea rcx, [rbp - 0x59]
call fcn.140049790
movups xmm10, xmmword [rbp - 0x59]
movaps xmmword [rbp - 0x79], xmm10
movsd xmm12, qword [rbp - 0x49]
movsd qword [rbp - 0x69], xmm12
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x59]
call fcn.1400499c0
movsd xmm1, qword [rax]
movsd xmm2, qword [rax + 8]
cmp byte [0x14006c4d5], 0
je 0x1400543de
cmp qword [0x14006bba8], 0
je 0x1400543de
xorps xmm0, xmm0
movss xmm3, dword [0x14006bb7c]
comiss xmm3, xmm0
jbe 0x1400543de
movss xmm9, dword [0x14006ba9c]
comiss xmm9, xmm0
jbe 0x1400543de
movaps xmm0, xmm3
andps xmm0, xmmword [0x140062e10]
movss xmm4, dword [0x14006ba98]
divss xmm4, xmm0
cvtps2pd xmm6, xmm4
movaps xmm7, xmm6
mulsd xmm7, qword [0x14006c450]
movsd xmm2, qword [0x1400628b0]
mulsd xmm7, xmm2
addsd xmm7, xmm10
movaps xmm3, xmm6
mulsd xmm3, qword [0x14006c458]
mulsd xmm3, xmm2
unpckhpd xmm10, xmm10
addsd xmm3, xmm10
mulss xmm9, dword [0x1400629c4]
movaps xmm0, xmm9
andps xmm0, xmmword [0x140062e10]
mulss xmm0, dword [0x1400627e4]
mulss xmm4, dword [0x140062904]
mulss xmm0, xmm4
cvtps2pd xmm1, xmm0
mulsd xmm6, qword [0x14006c460]
mulsd xmm6, xmm2
addsd xmm6, xmm12
addsd xmm1, xmm6
unpcklpd xmm7, xmm3
movaps xmmword [rbp - 0x79], xmm7
movsd qword [rbp - 0x49], xmm1
movsd qword [rbp - 0x69], xmm1
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x59]
call fcn.1400499c0
movsd xmm1, qword [rax]
movsd xmm2, qword [rax + 8]
ucomisd xmm2, xmm8
jp 0x1400543ff
jne 0x1400543ff
ucomisd xmm1, xmm8
jp 0x1400543f0
je 0x140054414
test rdi, rdi
je 0x140054414
cmp qword [0x14006ba78], 0
je 0x140054414
movaps xmm0, xmm1
unpcklpd xmm0, xmm2
movdqa xmmword [rbp - 0x79], xmm0
lea rdx, [rbp - 0x79]
call fcn.140049dc0
cmp byte [0x14006c4ca], 0
je 0x140054492
cmp qword [0x14006bb30], 0
je 0x140054492
mov ecx, 8
call fcn.140058bf4
lea rcx, [0x14004bd60]
mov qword [rax], rcx
mov qword [rbp + 0x67], rax
lea rcx, [rbp - 0x71]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400586b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x79], rax
test rax, rax
je 0x1400544cf
cmp dword [rbp - 0x71], 0
je 0x1400544c3
movaps xmm0, xmmword [rbp - 0x79]
movdqa xmmword [rbp - 0x59], xmm0
lea rcx, [rbp - 0x59]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400544c3
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x79], xmm0
cmp byte [0x14006c4d6], 0
je 0x14005463d
cmp qword [0x14006ba78], 0
je 0x14005463d
mov eax, dword [0x14006c4d8]
test eax, eax
je 0x1400544f8
cmp eax, 1
jne 0x1400544e2
mov ebx, 0x42
jmp 0x1400544f8
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x71], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
cmp eax, 2
jne 0x1400544ee
mov ebx, 7
jmp 0x1400544f8
mov ebx, dword [rbp + 0x67]
cmp eax, 3
cmove ebx, r14d
mov r8d, ebx
mov rdx, rdi
lea rcx, [rbp - 0x39]
call fcn.140049790
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x79], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rbp - 0x69], xmm1
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x59]
call fcn.1400499c0
movsd xmm7, qword [rax]
movsd xmm6, qword [rax + 8]
comisd xmm7, xmm8
jbe 0x14005463d
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
comisd xmm0, xmm7
jbe 0x14005463d
comisd xmm6, xmm8
jbe 0x14005463d
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
comisd xmm0, xmm6
jbe 0x14005463d
mov rax, qword [0x14006ba60]
mov rcx, qword [rax + 0x4ba0]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rcx]
call fcn.140007e20
mov r10, rax
movss xmm0, dword [0x14006b0e0]
movss dword [rbp - 0x79], xmm0
movss xmm1, dword [0x14006b0e4]
movss dword [rbp - 0x75], xmm1
movss xmm0, dword [0x14006b0e8]
movss dword [rbp - 0x71], xmm0
movss xmm1, dword [0x14006b0ec]
mov rcx, qword [0x14006ba60]
mulss xmm1, dword [rcx + 0x3900]
movss dword [rbp - 0x6d], xmm1
cvtpd2ps xmm0, xmm7
movss dword [rbp + 0x67], xmm0
cvtpd2ps xmm1, xmm6
movss dword [rbp + 0x6b], xmm1
movss xmm0, dword [rcx + 0x10]
mulss xmm0, dword [0x1400627e4]
movss dword [rbp + 0x6f], xmm0
movss xmm1, dword [rcx + 0x14]
mulss xmm1, dword [0x1400627e4]
movss dword [rbp + 0x73], xmm1
lea rcx, [rbp - 0x79]
call fcn.140003f70
mov r9d, eax
movss xmm0, dword [0x140062824]
movss dword [rsp + 0x20], xmm0
lea r8, [rbp + 0x67]
lea rdx, [rbp + 0x6f]
mov rcx, r10
call fcn.140029de0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x30]
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 xmm12, xmmword [r11 - 0x60]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret