Function at 0x140001650
Capabilities:
Execute command
Log keystrokes via polling
Write and execute a file
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xor r12b, r12b
lea rcx, [rbp - 0x29]
call fcn.1400011c0
mov r13d, dword [rbp - 0x29]
xor edi, edi
mov qword [rbp + 0xf], rdi
mov qword [rbp + 0x1f], rdi
mov qword [rbp + 0x27], 0xf
mov byte [rbp + 0xf], dil
lea rdx, str.Hello_World_cidia_was_here__n_Account____
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002040
mov rcx, rax
mov edx, r13d
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___unsigned_int____ptr64]
mov rcx, rax
lea rdx, str._n_Spoof__n_Block__n_Auto_
call fcn.140002040
mov rcx, rax
lea rdx, [0x140002210]
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 rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp + 0xf]
mov rcx, rbx
call fcn.140002540
lea rdx, [rbp + 0xf]
cmp qword [rbp + 0x27], 0x10
setae r15b
mov r14, qword [rbp + 0xf]
cmovae rdx, r14
mov rsi, qword [rbp + 0x1f]
cmp rsi, 5
jne 0x140001761
mov ecx, edi
lea r8, str.spoof
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x140001758
cmp rcx, 5
jne 0x140001740
mov eax, edi
jmp 0x14000175d
sbb eax, eax
or eax, 1
test eax, eax
je 0x1400017a1
lea rdx, [rbp + 0xf]
test r15b, r15b
cmovne rdx, r14
cmp rsi, 5
jne 0x140001805
mov rcx, rdi
lea r8, str.Spoof
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x140001798
cmp rcx, 5
jne 0x140001780
mov eax, edi
jmp 0x14000179d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140001805
call fcn.140001430
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp - 0x29]
call fcn.1400011c0
lea rdx, str.new_account_id___
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002040
mov rcx, rax
mov r13d, dword [rbp - 0x29]
mov edx, r13d
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___unsigned_int____ptr64]
mov rcx, rax
lea rdx, [0x140002210]
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 ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x140004484]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, [rbp + 0xf]
test r15b, r15b
cmovne rdx, r14
cmp rsi, 5
jne 0x140001841
mov rcx, rdi
lea r8, str.block
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x140001838
cmp rcx, 5
jne 0x140001820
mov eax, edi
jmp 0x14000183d
sbb eax, eax
or eax, 1
test eax, eax
je 0x140001885
lea rdx, [rbp + 0xf]
test r15b, r15b
cmovne rdx, r14
cmp rsi, 5
jne 0x140001a05
mov rcx, rdi
lea r8, str.Block
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x140001878
cmp rcx, 5
jne 0x140001860
mov eax, edi
jmp 0x14000187d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140001a05
lea rcx, [0x140004484]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov dword [rbp - 0x19], edi
mov qword [rbp - 0x11], rdi
mov qword [rbp - 1], rdi
mov qword [rbp + 7], 0xf
mov byte [rbp - 0x11], 0
mov r8d, 0x2c
lea rcx, [rbp - 0x11]
call fcn.140001ea0
nop
mov rcx, qword [rbp - 1]
mov rdx, qword [rbp + 7]
mov rax, rdx
sub rax, rcx
cmp rax, 0xa
jb 0x140001900
lea rax, [rcx + 0xa]
mov qword [rbp - 1], rax
lea rbx, [rbp - 0x11]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x11]
add rbx, rcx
mov r8d, 0xa
lea rdx, str.ros_id.dat
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0xa], 0
jmp 0x140001917
mov qword [rsp + 0x20], 0xa
mov edx, 0xa
lea rcx, [rbp - 0x11]
call fcn.1400023b0
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 0x10
cmovae rdx, qword [rbp - 0x11]
lea r8, [0x140004480]
lea rcx, [rbp - 0x21]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov r9, qword [rbp - 0x21]
mov ebx, 1
lea r8d, [rbx + 3]
mov edx, ebx
lea rcx, [rbp - 0x19]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
nop
mov rdx, qword [rbp + 7]
cmp rdx, 0x10
jb 0x1400019a4
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000199f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001d1b
call fcn.14000277c
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp - 0x29]
call fcn.1400011c0
lea rdx, str.new_account_id___
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002040
mov rcx, rax
mov r13d, dword [rbp - 0x29]
mov edx, r13d
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___unsigned_int____ptr64]
mov rcx, rax
lea rdx, [0x140002210]
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 ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x140004484]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x140001a0a
mov ebx, 1
lea rdx, [rbp + 0xf]
test r15b, r15b
cmovne rdx, r14
cmp rsi, 4
jne 0x140001a57
mov rcx, rdi
lea r8, str.auto
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x140001a48
cmp rcx, 4
jne 0x140001a30
mov eax, edi
jmp 0x140001a4d
sbb eax, eax
or eax, 1
movzx r12d, r12b
test eax, eax
cmove r12d, ebx
lea rbx, [rbp + 0xf]
test r15b, r15b
cmovne rbx, r14
cmp rsi, 5
jb 0x140001aec
lea rdi, [rsi + rbx]
lea r8, [rdi - 4]
sub r8, rbx
mov edx, 0x62
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140001aec
nop dword [rax]
xor edx, edx
lea r8, str.block
nop dword [rax]
movzx ecx, byte [rax + rdx]
inc rdx
cmp cl, byte [r8 + rdx - 1]
jne 0x140001ab8
cmp rdx, 5
jne 0x140001aa0
xor ecx, ecx
jmp 0x140001abd
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x140001adf
inc rax
lea r8, [rdi - 4]
sub r8, rax
mov edx, 0x62
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x140001a90
jmp 0x140001aec
sub rax, rbx
cmp rax, 0xffffffffffffffff
jne 0x140001c16
lea rbx, [rbp + 0xf]
test r15b, r15b
cmovne rbx, r14
cmp rsi, 5
jb 0x140001b7c
lea rdi, [rsi + rbx]
lea r8, [rdi - 4]
sub r8, rbx
mov edx, 0x73
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140001b7c
nop word [rax + rax]
xor edx, edx
lea r8, str.spoof
nop dword [rax]
movzx ecx, byte [rax + rdx]
inc rdx
cmp cl, byte [r8 + rdx - 1]
jne 0x140001b48
cmp rdx, 5
jne 0x140001b30
xor ecx, ecx
jmp 0x140001b4d
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x140001b6f
inc rax
lea r8, [rdi - 4]
sub r8, rax
mov edx, 0x73
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x140001b20
jmp 0x140001b7c
sub rax, rbx
cmp rax, 0xffffffffffffffff
jne 0x140001c16
lea rbx, [rbp + 0xf]
test r15b, r15b
cmovne rbx, r14
cmp rsi, 4
jb 0x140001c08
lea rdi, [rsi + rbx]
lea r8, [rdi - 3]
sub r8, rbx
mov edx, 0x61
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140001c08
nop word [rax + rax]
xor ecx, ecx
lea r8, str.auto
nop dword [rax]
movzx edx, byte [rax + rcx]
inc rcx
cmp dl, byte [r8 + rcx - 1]
jne 0x140001bd8
cmp rcx, 4
jne 0x140001bc0
xor ecx, ecx
jmp 0x140001bdd
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x140001bff
inc rax
lea r8, [rdi - 3]
sub r8, rax
mov edx, 0x61
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x140001bb0
jmp 0x140001c08
sub rax, rbx
cmp rax, 0xffffffffffffffff
jne 0x140001c16
lea rcx, [0x140004484]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
test r15b, r15b
je 0x140001c4f
mov rdx, qword [rbp + 0x27]
inc rdx
mov rax, r14
cmp rdx, 0x1000
jb 0x140001c47
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001d22
mov rcx, r14
call fcn.14000277c
test r12b, r12b
je 0x140001692
lea rdx, str._Account____
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002040
mov rcx, rax
mov edx, r13d
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___unsigned_int____ptr64]
mov rcx, rax
lea rdx, [0x140002210]
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 rcx, rax
lea rdx, [0x140002210]
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]
xor edi, edi
lea esi, [rdi + 1]
nop dword [rax]
lea rcx, [0x140004484]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov dword [rbp - 0x19], edi
mov qword [rbp - 0x11], rdi
mov qword [rbp - 1], rdi
mov qword [rbp + 7], 0xf
mov byte [rbp - 0x11], 0
mov r8d, 0x2c
lea rcx, [rbp - 0x11]
call fcn.140001ea0
nop
mov rcx, qword [rbp - 1]
mov rdx, qword [rbp + 7]
mov rax, rdx
sub rax, rcx
cmp rax, 0xa
jb 0x140001d29
lea rax, [rcx + 0xa]
mov qword [rbp - 1], rax
lea rbx, [rbp - 0x11]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x11]
add rbx, rcx
mov r8d, 0xa
lea rdx, str.ros_id.dat
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0xa], 0
jmp 0x140001d40
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov qword [rsp + 0x20], 0xa
mov edx, 0xa
lea rcx, [rbp - 0x11]
call fcn.1400023b0
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 0x10
cmovae rdx, qword [rbp - 0x11]
lea r8, [0x140004480]
lea rcx, [rbp - 0x21]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov r9, qword [rbp - 0x21]
mov r8d, 4
mov rdx, rsi
lea rcx, [rbp - 0x19]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
nop
mov rdx, qword [rbp + 7]
cmp rdx, 0x10
jb 0x140001dc7
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001dc2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001de0
call fcn.14000277c
lea rcx, [rbp - 0x29]
call fcn.1400011c0
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
jmp 0x140001ca0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3