Function at 0x140066b60
Capabilities:
Check for foreground window switch
Create thread
Encode data using xor
Log keystrokes via polling
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x140080040]
xor rax, rsp
mov qword [rbp + 0x3f], rax
xor r14d, r14d
cmp qword [0x140080d80], r14
jne 0x140066d72
mov ebx, dword [0x140080088]
nop
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [str.gCDL9]
movsd xmm0, qword [str._XL_mUXR32B]
mov dword [rbp + 0x17], eax
movzx eax, byte [0x14007541c]
xor byte [rbp + 0x18], 0x36
xor al, 0x39
xor byte [rbp + 0x19], 0x37
xor byte [rbp + 0x1a], 0x38
cmp byte [0x140075415], r14b
mov byte [rbp + 0x1b], al
mov eax, dword [0x140075410]
mov dword [rbp + 0x27], eax
movzx eax, word [0x140075414]
mov word [rbp + 0x2b], ax
mov byte [rbp + 0x17], 0x52
movsd qword [rbp + 0x1f], xmm0
je 0x140066d54
mov r8d, r14d
cmp ebx, 2
jl 0x140066d0b
movdqa xmm2, xmmword [0x140075a80]
mov r8d, 8
movdqa xmm3, xmmword [0x140075a90]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x140075c80]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140075ad0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [str._XL_mUXR32B]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140075b10]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.5555555555555555]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rbp + 0x1f], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140075ad0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp + 0x23]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140075b10]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.5555555555555555]
xorps xmm2, xmm0
movd dword [rbp + 0x23], xmm2
movsxd rax, r8d
lea r9, [rbp + 0x1f]
add r9, rax
nop word [rax + rax]
mov eax, 0x92492493
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x35
xor byte [r9 - 1], al
cmp r8d, 0xe
jl 0x140066d20
lea rdx, [rbp + 0x17]
lea rcx, [rbp + 0x1f]
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [0x140080d80], rax
test rax, rax
je 0x140066ba0
mov ecx, 0x3a98
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r9d, r9d
mov qword [rsp + 0x28], r14
lea r8, [0x140066380]
mov dword [rsp + 0x20], r14d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call qword [sym.imp.USER32.dll_GetDesktopWindow]
xorps xmm0, xmm0
mov qword [rbp - 0x39], 0x50
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x29], xmm0
lea rax, [0x140066a00]
movdqu xmmword [rbp - 0x19], xmm1
lea rbx, str.conhost
movdqu xmmword [rbp - 9], xmm0
lea rcx, [rbp - 0x39]
mov qword [rbp - 0x31], rax
mov qword [rbp + 0xf], r14
mov qword [rbp + 7], rbx
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rcx, qword [0x140080d80]
test rcx, rcx
je 0x1400675c2
mov qword [rsp + 0x100], rsi
lea rdx, [0x140080d88]
mov qword [rsp + 0x108], rdi
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x140080d80]
lea rdx, [rbp + 0x17]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov ecx, dword [0x140080d90]
lea r8, str.conhost1
mov eax, dword [rbp + 0x17]
mov r9d, 0x90000000
mov qword [rsp + 0x58], r14
mov rdx, rbx
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov dword [0x140080d88], eax
mov eax, dword [rbp + 0x1b]
mov dword [0x140080d8c], eax
mov eax, dword [0x140080d94]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [0x140080e9c], ecx
xor ecx, ecx
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
mov dword [0x140080e98], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rcx, rax
mov qword [0x140081088], rax
lea rdx, [0x1400736e8]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [0x140081088]
mov edx, 0xffffffec
mov r8d, 0x800a0
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x140081088]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140081088]
call qword [sym.imp.USER32.dll_UpdateWindow]
call fcn.140066460
movss xmm6, dword [0x1400754e4]
xorps xmm0, xmm0
movups xmmword [0x140080d40], xmm0
movups xmmword [0x140080d50], xmm0
movups xmmword [0x140080d60], xmm0
nop dword [rax + rax]
mov rdx, qword [0x140081088]
lea rcx, [0x140080d40]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140066f40
lea rcx, [0x140080d40]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x140080d40]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x140080d80]
cmp rax, rcx
jne 0x140066f8f
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x140081088]
xor r9d, r9d
mov dword [rsp + 0x30], 3
mov rdx, rax
mov dword [rsp + 0x28], r14d
xor r8d, r8d
mov dword [rsp + 0x20], r14d
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140080d80]
xorps xmm0, xmm0
mov qword [rbp + 0x17], r14
lea rdx, [rbp + 0x2f]
movups xmmword [rbp + 0x2f], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x140080d80]
lea rdx, [rbp + 0x17]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp + 0x17]
lea rcx, [rbp + 0x1f]
mov rbx, qword [0x140080cf0]
mov dword [rbp + 0x2f], eax
mov eax, dword [rbp + 0x1b]
mov dword [rbp + 0x33], eax
mov rax, qword [0x140080d80]
mov qword [rbx + 0xe38], rax
mov dword [rbx + 0x18], 0x3d088889
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rbp + 0x1f]
mov ecx, 1
sub eax, dword [rbp + 0x17]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe48], xmm0
mov eax, dword [rbp + 0x23]
sub eax, dword [rbp + 0x1b]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe4c], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14006703d
mov byte [rbx + 0xe50], 1
mov eax, dword [rbx + 0xe4c]
mov dword [rbx + 0x3818], eax
mov byte [rbx + 0x3868], 1
jmp 0x140067044
mov byte [rbx + 0xe50], r14b
mov eax, dword [0x1400810d0]
mov ecx, dword [rbp + 0x3b]
mov edx, dword [rbp + 0x37]
cmp dword [rbp + 0x2f], eax
jne 0x140067070
cmp edx, dword [0x1400810d8]
jne 0x140067070
mov eax, dword [0x1400810d4]
cmp dword [rbp + 0x33], eax
jne 0x140067070
cmp ecx, dword [0x1400810dc]
je 0x1400670d1
movups xmm0, xmmword [rbp + 0x2f]
mov r9d, dword [rbp + 0x1b]
mov r8d, dword [rbp + 0x17]
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov dword [0x140080e9c], edx
mov dword [0x140080e98], ecx
mov dword [0x140080d00], edx
xor edx, edx
mov dword [0x140080d04], ecx
mov rcx, qword [0x140081088]
movups xmmword [0x1400810d0], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140081090]
lea rdx, [0x140080d00]
mov rax, qword [rcx]
call qword [rax + 0x80]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x140080d80]
mov rax, qword [0x140080cf0]
sete byte [0x140080e76]
test rax, rax
je 0x1400670fa
mov rcx, qword [rax + 0x98]
jmp 0x1400670fd
mov rcx, r14
cmp qword [rcx + 0x18], r14
jne 0x14006711e
test rax, rax
je 0x14006711e
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x14006711e
cmp qword [rcx], r14
je 0x14006711e
call fcn.14003fa10
call fcn.140040680
call fcn.140017dc0
mov rcx, qword [0x140080de0]
call fcn.1400620a0
call fcn.140019aa0
mov rcx, qword [0x140081090]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x140081090]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [0x140081090]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140081090]
mov r9d, 1
mov dword [rsp + 0x30], r14d
xor r8d, r8d
movss dword [rsp + 0x28], xmm6
xor edx, edx
mov dword [rsp + 0x20], r14d
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x140081090]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x1400671f7
call fcn.140019ec0
mov rax, qword [0x140080cf0]
mov rcx, qword [rax + 0x4b10]
mov rax, qword [rcx]
mov rcx, r14
add rax, 0x48
cmp byte [rax], r14b
cmovne rcx, rax
call fcn.14003f450
mov rcx, qword [0x140081090]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140081090]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r14
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x1400672d5
mov rcx, qword [0x140081090]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x1400672d5
mov rbx, qword [0x140080cf0]
test rbx, rbx
je 0x14006729c
mov rbx, qword [rbx + 0x98]
test rbx, rbx
je 0x14006729c
cmp qword [rbx], r14
je 0x14006729c
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140067267
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 8], r14
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14006727a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x10], r14
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14006729c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x140080cf0]
mov qword [rbx + 0x18], r14
mov rcx, qword [rax + 0x38]
mov qword [rcx + 8], r14
mov rcx, qword [0x140081090]
lea rdx, [0x140080d00]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov r8, qword [0x140080cf0]
test r8, r8
je 0x1400672dc
mov rax, qword [r8 + 0x98]
test rax, rax
je 0x1400672dc
cmp qword [rax], r14
je 0x1400672dc
call fcn.14003fa10
mov r8, qword [0x140080cf0]
cmp dword [0x140080d48], 0x12
jne 0x140066f00
test r8, r8
je 0x1400672f7
mov rsi, qword [r8 + 0x98]
jmp 0x1400672fa
mov rsi, r14
lea rdi, [r8 + 8]
test r8, r8
je 0x14006736a
mov rbx, qword [r8 + 0x98]
test rbx, rbx
je 0x14006736a
cmp qword [rbx], r14
je 0x14006736a
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14006732e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r8, qword [0x140080cf0]
mov qword [rbx + 8], r14
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140067348
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r8, qword [0x140080cf0]
mov qword [rbx + 0x10], r14
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14006736a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r8, qword [0x140080cf0]
mov qword [rbx + 0x18], r14
mov rax, qword [r8 + 0x38]
mov qword [rax + 8], r14
mov rcx, qword [rsi]
test rcx, rcx
je 0x14006737f
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r8, qword [0x140080cf0]
and dword [rdi + 4], 0xfffffff7
mov qword [rdi + 0x80], r14
mov qword [rdi + 0x90], r14
test r8, r8
je 0x1400673f6
movsx rdx, word [r8 + 0x60b8]
mov r9d, dword [r8 + 0x3f60]
lea rcx, [rdx*8 + 0x60bc]
add rcx, r8
cmp dword [rcx], r9d
je 0x1400673eb
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60b8], cx
movsx rax, cx
lea rcx, [rax*8 + 0x60bc]
add rcx, r8
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60b4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r8, qword [0x140080cf0]
mov rsi, qword [rsp + 0x100]
test r8, r8
je 0x14006741c
mov rdi, qword [r8 + 0x90]
jmp 0x14006741f
mov rdi, r14
mov rcx, qword [rdi + 0x38]
lea rbx, [r8 + 8]
test rcx, rcx
je 0x140067439
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r8, qword [0x140080cf0]
and dword [rbx + 4], 0xfffffff8
mov qword [rbx + 0x78], r14
mov qword [rbx + 0x88], r14
test r8, r8
je 0x1400674ad
movsx rdx, word [r8 + 0x60b8]
mov r9d, dword [r8 + 0x3f60]
lea rcx, [rdx*8 + 0x60bc]
add rcx, r8
cmp dword [rcx], r9d
je 0x1400674a2
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60b8], cx
movsx rax, cx
lea rcx, [rax*8 + 0x60bc]
add rcx, r8
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60b4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x140080cf0]
mov qword [0x140080cf0], rbx
call fcn.1400159f0
mov rdi, qword [rsp + 0x108]
mov qword [0x140080cf0], r14
test rbx, rbx
je 0x14006755b
mov rcx, rbx
call fcn.14002d340
mov r8, qword [0x140080cf0]
test r8, r8
je 0x140067552
movsx r10, word [r8 + 0x60b8]
lea rdx, [r8 + 0x60bc]
mov r9d, dword [r8 + 0x3f60]
lea rdx, [rdx + r10*8]
cmp dword [rdx], r9d
je 0x140067547
lea ecx, [r10 + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
lea rdx, [r8 + 0x60bc]
sub ecx, eax
mov word [r8 + 0x60b8], cx
movsx rax, cx
lea rdx, [rdx + rax*8]
mov dword [rdx], r9d
mov dword [rdx + 4], r14d
inc word [rdx + 6]
inc dword [r8 + 0x60b4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x140080de8]
test rcx, rcx
je 0x14006757d
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140080de8]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140080d70]
test rcx, rcx
je 0x14006758f
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140081088]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140068890
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3