Function at 0x140002030
Capabilities:
Log keystrokes via application hook
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rax, qword [0x14000a010]
xor rax, rsp
mov qword [rbp + 0x47], rax
lea rcx, str.Phoenix_Z___by_zJhery
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1400012e0]
lea ecx, [r9 + 0xd]
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov r14, rax
xor ebx, ebx
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], 0xf
mov byte [rbp - 0x29], bl
lea r8d, [rbx + 0x11]
lea rdx, str.configuracion.txt
lea rcx, [rbp - 0x29]
call fcn.140003540
nop
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x39], xmm1
lea ecx, [rbx + 0x60]
call fcn.140004c20
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp - 0x39], rax
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x29]
call fcn.140001800
test al, al
je 0x14000220e
mov qword [rbp - 0x69], rbx
mov qword [rbp - 0x59], rbx
mov qword [rbp - 0x51], 0xf
mov byte [rbp - 0x69], bl
lea r8d, [rbx + 6]
lea rdx, str.teclas
lea rcx, [rbp - 0x69]
call fcn.140003540
nop
lea r8, [rbp - 0x69]
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x39]
call fcn.140003de0
mov rdx, qword [rax]
add rdx, 0x40
lea rcx, [rbp - 9]
call fcn.140003000
nop
mov rdx, qword [rbp - 0x51]
cmp rdx, 0x10
jb 0x140002172
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000216d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000216d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004eac
mov qword [rbp - 0x59], rbx
mov qword [rbp - 0x51], 0xf
mov byte [rbp - 0x69], 0
mov rsi, qword [rbp + 0xf]
mov rdi, qword [rbp - 9]
cmp qword [rbp + 7], 0
je 0x1400021d4
lea rax, [rbp - 9]
cmp rsi, 0x10
cmovae rax, rdi
movzx ebx, byte [rax]
lea rdx, str.Teclas:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003830
mov rcx, rax
movzx edx, bl
call fcn.140003a40
mov rcx, rax
lea rdx, [0x140003a00]
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]
mov byte [0x14000a048], bl
cmp rsi, 0x10
jb 0x14000220e
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140002206
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002206
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140004eac
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x17]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x14000224e
lea rcx, [rbp + 0x17]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x17]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x17]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x140002224
mov rcx, r14
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
nop
mov rcx, qword [rbp - 0x39]
mov rdi, qword [rcx + 8]
cmp byte [rdi + 0x19], 0
jne 0x1400022a7
nop word [rax + rax]
mov r8, qword [rdi + 0x10]
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x39]
call fcn.140004a50
mov rbx, rdi
mov rdi, qword [rdi]
lea rcx, [rbx + 0x20]
call fcn.140004ae0
mov edx, 0x60
mov rcx, rbx
call fcn.140004eac
cmp byte [rdi + 0x19], 0
je 0x140002270
mov rcx, qword [rbp - 0x39]
mov edx, 0x60
call fcn.140004eac
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x1400022f0
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400022eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400022eb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004eac
xor eax, eax
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140004c00
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret