Function at 0x1400558c0
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 [0x14006ca78]
add rcx, 0x310
call fcn.140057c80
mov rdi, rax
mov ecx, dword [0x14006c394]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ebx, 0x6e
mov r14d, 2
xorps xmm8, xmm8
test ax, ax
je 0x140055ad4
cmp qword [0x14006cb88], 0
je 0x140055ad4
mov eax, dword [0x14006d4d8]
test eax, eax
jne 0x140055949
mov r8d, ebx
jmp 0x14005596e
cmp eax, 1
jne 0x140055956
mov r8d, 0x42
jmp 0x14005596e
cmp eax, r14d
jne 0x140055963
mov r8d, 7
jmp 0x14005596e
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 [0x14006d4d5], 0
je 0x140055a9e
cmp qword [0x14006cba8], 0
je 0x140055a9e
xorps xmm0, xmm0
movss xmm3, dword [0x14006cb7c]
comiss xmm3, xmm0
jbe 0x140055a9e
movss xmm9, dword [0x14006ca9c]
comiss xmm9, xmm0
jbe 0x140055a9e
movaps xmm0, xmm3
andps xmm0, xmmword [0x140063c40]
movss xmm4, dword [0x14006ca98]
divss xmm4, xmm0
cvtps2pd xmm6, xmm4
movaps xmm7, xmm6
mulsd xmm7, qword [0x14006d450]
movsd xmm2, qword [0x1400636a0]
mulsd xmm7, xmm2
addsd xmm7, xmm10
movaps xmm3, xmm6
mulsd xmm3, qword [0x14006d458]
mulsd xmm3, xmm2
unpckhpd xmm10, xmm10
addsd xmm3, xmm10
mulss xmm9, dword [0x1400637b4]
movaps xmm0, xmm9
andps xmm0, xmmword [0x140063c40]
mulss xmm0, dword [0x1400635d4]
mulss xmm4, dword [0x1400636f4]
mulss xmm0, xmm4
cvtps2pd xmm1, xmm0
mulsd xmm6, qword [0x14006d460]
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 0x140055abf
jne 0x140055abf
ucomisd xmm1, xmm8
jp 0x140055ab0
je 0x140055ad4
test rdi, rdi
je 0x140055ad4
cmp qword [0x14006ca78], 0
je 0x140055ad4
movaps xmm0, xmm1
unpcklpd xmm0, xmm2
movdqa xmmword [rbp - 0x79], xmm0
lea rdx, [rbp - 0x79]
call fcn.140049dc0
cmp byte [0x14006d4c9], 0
je 0x140055b52
cmp qword [0x14006cb30], 0
je 0x140055b52
mov ecx, 8
call fcn.140059bc4
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, [0x140059680]
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 0x140055b8f
cmp dword [rbp - 0x71], 0
je 0x140055b83
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 0x140055b83
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x79], xmm0
cmp byte [0x14006d4d6], 0
je 0x140055cfd
cmp qword [0x14006ca78], 0
je 0x140055cfd
mov eax, dword [0x14006d4d8]
test eax, eax
je 0x140055bb8
cmp eax, 1
jne 0x140055ba2
mov ebx, 0x42
jmp 0x140055bb8
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 0x140055bae
mov ebx, 7
jmp 0x140055bb8
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 0x140055cfd
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
comisd xmm0, xmm7
jbe 0x140055cfd
comisd xmm6, xmm8
jbe 0x140055cfd
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
comisd xmm0, xmm6
jbe 0x140055cfd
mov rax, qword [0x14006ca60]
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 [0x14006c0e0]
movss dword [rbp - 0x79], xmm0
movss xmm1, dword [0x14006c0e4]
movss dword [rbp - 0x75], xmm1
movss xmm0, dword [0x14006c0e8]
movss dword [rbp - 0x71], xmm0
movss xmm1, dword [0x14006c0ec]
mov rcx, qword [0x14006ca60]
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 [0x1400635d4]
movss dword [rbp + 0x6f], xmm0
movss xmm1, dword [rcx + 0x14]
mulss xmm1, dword [0x1400635d4]
movss dword [rbp + 0x73], xmm1
lea rcx, [rbp - 0x79]
call fcn.140003f70
mov r9d, eax
movss xmm0, dword [0x140063614]
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