Function at 0x140001690
Capabilities:
Create thread
Log keystrokes via polling
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x140034040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xor esi, esi
xorps xmm0, xmm0
movups xmmword [0x1400348e8], xmm0
movups xmmword [0x1400348f8], xmm0
movups xmmword [0x140034908], xmm0
lea r14, [0x140003d70]
lea r15, [fcn.140002c30]
movss xmm6, dword [0x14002e704]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x140034918]
lea rcx, [0x1400348e8]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140001731
lea rcx, [0x1400348e8]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x1400348e8]
call qword [sym.imp.USER32.dll_DispatchMessageW]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x140001e04
mov rcx, qword [0x1400348e0]
cmp rbx, rcx
jne 0x140001794
mov edx, 3
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindow]
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [0x140034918]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x1400348e0]
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x31], rsi
lea rdx, [rbp - 0x21]
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rbp - 0x31]
mov rcx, qword [0x1400348e0]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp - 0x31]
mov dword [rbp - 0x21], eax
mov eax, dword [rbp - 0x2d]
mov dword [rbp - 0x1d], eax
mov rcx, qword [0x140034988]
mov rax, qword [0x1400348e0]
mov qword [rcx + 0x108], rax
mov dword [rcx + 0x18], 0x3c888889
mov ecx, dword [rbp - 0x15]
mov edx, dword [rbp - 0x19]
mov eax, dword [0x140034e60]
cmp dword [rbp - 0x21], eax
jne 0x14000180e
cmp edx, dword [0x140034e68]
jne 0x14000180e
mov eax, dword [0x140034e64]
cmp dword [rbp - 0x1d], eax
jne 0x14000180e
cmp ecx, dword [0x140034e6c]
je 0x14000186f
movups xmm0, xmmword [rbp - 0x21]
movups xmmword [0x140034e60], xmm0
mov dword [0x1400340c8], edx
mov dword [0x1400340c4], ecx
mov dword [0x140034930], edx
mov dword [0x140034934], ecx
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov r9d, dword [rbp - 0x2d]
mov r8d, dword [rbp - 0x31]
xor edx, edx
mov rcx, qword [0x140034918]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140034970]
mov rax, qword [rcx]
lea rdx, [0x140034930]
call qword [rax + 0x80]
cmp qword [0x1400349c8], 0
jne 0x14000187e
call fcn.1400258a0
mov rdi, qword [0x140034988]
lea rdx, [rbp - 0x41]
mov rcx, qword [0x1400349e8]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp - 0x35]
sub eax, dword [rbp - 0x3d]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [rbp - 0x39]
sub eax, dword [rbp - 0x41]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm0
movss dword [rdi + 0x14], xmm1
lea rcx, [rbp + 0x27]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rbp + 0x27]
mov rax, rcx
sub rax, qword [0x1400349f0]
xorps xmm1, xmm1
cvtsi2ss xmm1, rax
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x1400349f8]
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x1400349f0], rcx
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x130], al
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x131], al
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x132], al
mov byte [rdi + 0x133], 0
mov rcx, qword [0x140034988]
lea rbx, [rcx + 0x118]
cmp byte [rcx + 0x3af], 0
je 0x140001985
cvttss2si eax, dword [rbx]
mov dword [rbp - 0x29], eax
cvttss2si eax, dword [rcx + 0x11c]
mov dword [rbp - 0x25], eax
lea rdx, [rbp - 0x29]
mov rcx, qword [0x1400349e8]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp - 0x25]
mov ecx, dword [rbp - 0x29]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rbx], 0xff7fffff
mov dword [rbx + 4], 0xff7fffff
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x1400349e8]
jne 0x1400019dd
lea rcx, [rbp - 0x49]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1400019dd
lea rdx, [rbp - 0x49]
mov rcx, qword [0x1400349e8]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1400019dd
movd xmm1, dword [rbp - 0x45]
cvtdq2ps xmm1, xmm1
movd xmm0, dword [rbp - 0x49]
cvtdq2ps xmm0, xmm0
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xd0], 0
je 0x1400019ed
mov eax, 0xffffffff
jmp 0x1400019fa
mov rax, qword [0x140034988]
mov eax, dword [rax + 0x1d70]
cmp dword [0x1400341f8], eax
je 0x140001a0d
mov dword [0x1400341f8], eax
call fcn.140025a10
call fcn.14000a370
cmp byte [0x1400340c0], 0
je 0x140001b06
mov ecx, 8
call fcn.140027820
mov qword [rax], r14
mov qword [rbp + 7], rax
lea rcx, [rbp - 1]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140002630]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 9], rax
test rax, rax
je 0x140001df5
cmp dword [rbp - 1], 0
je 0x140001de9
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp + 7], xmm0
lea rcx, [rbp + 7]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140001de9
xorps xmm0, xmm0
movdqa xmmword [rbp - 9], xmm0
mov ecx, 8
call fcn.140027820
mov qword [rax], r15
mov qword [rbp + 7], rax
lea rcx, [rbp + 0x1f]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140002630]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x17], rax
test rax, rax
je 0x140001dda
cmp dword [rbp + 0x1f], 0
je 0x140001dce
movaps xmm0, xmmword [rbp + 0x17]
movdqa xmmword [rbp + 7], xmm0
lea rcx, [rbp + 7]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140001dce
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x17], xmm0
mov byte [0x1400340c0], al
cmp dword [rbp - 1], eax
jne 0x140001dc7
call fcn.140002e10
call fcn.14000b500
mov rcx, qword [0x140034970]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 7
call qword [rax + 0x1c8]
mov rcx, qword [0x140034970]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0x1b
call qword [rax + 0x1c8]
mov rcx, qword [0x140034970]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0xae
call qword [rax + 0x1c8]
mov rcx, qword [0x140034970]
mov rax, qword [rcx]
mov dword [rsp + 0x30], esi
movss dword [rsp + 0x28], xmm6
mov dword [rsp + 0x20], esi
mov r9d, 1
xor r8d, r8d
xor edx, edx
call qword [rax + 0x158]
mov rcx, qword [0x140034970]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140001bc5
call fcn.14000b9b0
mov rax, qword [0x140034988]
add rax, 0x1c70
mov rcx, rsi
cmp byte [rax], cl
cmovne rcx, rax
call fcn.140024fa0
mov rcx, qword [0x140034970]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140034970]
mov rax, qword [rcx]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x140001c88
mov rcx, qword [0x140034970]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x140001c88
cmp qword [0x1400349d8], 0
je 0x140001c6c
mov rcx, qword [0x1400349e0]
test rcx, rcx
je 0x140001c28
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400349e0], rsi
mov rcx, qword [0x1400349d0]
test rcx, rcx
je 0x140001c41
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400349d0], rsi
mov rbx, qword [0x140034988]
mov rcx, qword [0x1400349c8]
test rcx, rcx
je 0x140001c5a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400349c8], rsi
mov rax, qword [rbx + 0xa0]
mov qword [rax + 8], rsi
mov rcx, qword [0x140034970]
mov rax, qword [rcx]
lea rdx, [0x140034930]
call qword [rax + 0x80]
call fcn.1400258a0
cmp dword [0x1400348f0], 0x12
jne 0x1400016f1
cmp qword [0x1400349d8], 0
je 0x140001cfc
mov rcx, qword [0x1400349e0]
test rcx, rcx
je 0x140001cb8
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400349e0], rsi
mov rcx, qword [0x1400349d0]
test rcx, rcx
je 0x140001cd1
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400349d0], rsi
mov rbx, qword [0x140034988]
mov rcx, qword [0x1400349c8]
test rcx, rcx
je 0x140001cea
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400349c8], rsi
mov rax, qword [rbx + 0xa0]
mov qword [rax + 8], rsi
mov qword [0x1400349d8], rsi
mov qword [0x1400349e8], rsi
mov rbx, qword [0x140034988]
mov rcx, rbx
call fcn.14000ac90
cmp qword [0x140034988], rbx
jne 0x140001d29
mov qword [0x140034988], rsi
test rbx, rbx
je 0x140001d51
mov rcx, rbx
call fcn.140016580
mov rax, qword [0x140034988]
test rax, rax
je 0x140001d48
dec dword [rax + 0x3c8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x140034970]
test rcx, rcx
je 0x140001d73
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140034970]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140034920]
test rcx, rcx
je 0x140001d85
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140034918]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rax, qword [0x1400348f8]
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140027800
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x1f], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 1], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ecx, 8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3