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

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x140088040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rcx
xor edi, edi
mov edx, dword [0x140090880]
add rdx, qword [rcx + 0x48]
mov rcx, qword [0x140093928]
test rcx, rcx
je 0x1400642ee
cmp dword [0x140093930], edi
je 0x1400642ee
mov qword [rsp + 0x20], rdi
mov r9d, 4
lea r8, [0x140092648]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400642ee
mov eax, dword [0x140092648]
cmp eax, 0xffffffff
je 0x1400642ee
shr eax, 9
lea eax, [rax*8 + 0x10]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x34], edi
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rdi
mov ecx, 8
call fcn.140068300
mov qword [rsp + 0x40], rax
lea rcx, [rax + 8]
mov qword [rsp + 0x50], rcx
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
add rax, 8
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x40]
mov rdx, qword [0x140093998]
call fcn.140014f90
mov qword [0x140092640], rax
test rax, rax
je 0x1400642ee
mov ecx, dword [0x140092648]
and ecx, 0x1ff
imul edx, ecx, 0x78
add rdx, rax
mov rcx, qword [0x140093928]
test rcx, rcx
je 0x1400642ee
cmp dword [0x140093930], edi
je 0x1400642ee
mov qword [rsp + 0x20], rdi
mov r9d, 8
lea r8, [0x140092650]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400642ee
lea rdx, [0x140092650]
lea rcx, [0x1400906d0]
call fcn.140015250
test al, al
je 0x1400642ee
cmp byte [0x1400880f9], dil
je 0x14006419b
mov eax, dword [0x1400907ec]
cmp dword [rbx + 0x11c], eax
je 0x14006418f
cmp dword [0x1400907d8], edi
jle 0x14006418f
mov byte [0x140092622], 1
jmp 0x1400641b2
mov byte [0x140092622], dil
jmp 0x1400642ee
mov eax, dword [0x1400907d8]
test eax, eax
setg byte [0x140092622]
test eax, eax
jle 0x1400642ee
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140093de4], eax
jle 0x1400641fb
lea rcx, [0x140093de4]
call fcn.140068288
cmp dword [0x140093de4], 0xffffffff
jne 0x1400641fb
lea rcx, [0x140093de8]
call fcn.140005bd0
lea rcx, [0x140093de4]
call fcn.14006821c
lea rcx, [rsp + 0x30]
call fcn.140005bd0
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
sub rcx, qword [0x140093de8]
movsxd rax, dword [0x1400880b4]
mov rdx, qword [0x140092630]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, rax
vmulss xmm1, xmm0, dword [rdx + 0xe0]
vmulss xmm0, xmm1, dword [0x14007aeb0]
vcvttss2si rax, xmm0
imul rax, rax, 0xf4240
sub rax, rcx
je 0x140064255
test rax, rax
jns 0x1400642ee
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr ax, 0xf
test al, al
jne 0x1400642e7
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 2
call qword [sym.imp.USER32.dll_mouse_event]
mov ecx, 8
call fcn.140068300
lea rcx, [0x140063fe0]
mov qword [rax], rcx
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140064350]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140064315
cmp dword [rsp + 0x48], 0
je 0x140064309
vmovups xmm0, xmmword [rsp + 0x40]
vmovdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140064309
mov qword [0x140093de8], rbx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400681c0
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x48], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3