Function at 0x140006ba0
Capabilities:
Create thread
Encode data using xor
Execute command
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x130
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
xor r14d, r14d
mov ecx, 0x10
call fcn.140012988
lea r15, str.NMS_v2
mov qword [rax], r15
lea rcx, [0x140006880]
mov qword [rax + 8], rcx
mov qword [rbp + 0x50], rax
lea rcx, [rbp + 8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x140008150]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp], rax
test rax, rax
je 0x1400077bc
mov ecx, 1
call fcn.140012988
mov rsi, rax
mov qword [rbp + 0x50], rax
lea rcx, str.color_D
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, str._nConnecting
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007a00
mov ebx, 3
lea rdx, [0x14001588c]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007a00
lea rdx, [0x140007be0]
mov rcx, rax
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, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
sub rbx, 1
jne 0x140006c52
lea rcx, [0x140015890]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [0x140015890]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [0x140015890]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [0x140015890]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.color_B
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov r9d, 0x24
mov r8, r15
lea rdx, str.Do_you_want_to_load_the_driver_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x140006df0
mov edx, 0x12c
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Beep]
call fcn.1400088b0
mov qword [0x140023090], rax
cmp rax, 0xffffffffffffffff
je 0x140006df0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r14
mov ecx, 0x2227
call fcn.140012988
test rax, rax
je 0x1400077b5
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
mov qword [rsp + 0x50], rbx
lea rdi, [rbx + 0x2200]
mov qword [rsp + 0x60], rdi
mov r8d, 0x2200
lea rdx, [0x1400230a0]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea r8, [rbx + 0x2200]
mov qword [rsp + 0x58], r8
sub r8, rbx
sub rdi, rbx
lea rax, [rbp + 0x50]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x30], r14d
mov rdx, rbx
mov rcx, qword [0x140023090]
call fcn.14000fc30
test rax, rax
jne 0x14000778b
xor r9d, r9d
lea r8, str.Kernel
lea rdx, str.Successfully_Loaded_Driver
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [0x140023090]
call fcn.140009520
nop
cmp rdi, 0x1000
jb 0x140006de5
mov edi, 0x2227
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x1400077b5
mov rbx, rcx
mov rdx, rdi
mov rcx, rbx
call fcn.1400129c4
lea rdx, str._n_NMS_v2_Injector__n_n_n_Press_F8_In_Lobby_To_Inject__n_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140007a00
xor r9d, r9d
mov r8, r15
lea rdx, str.Press_F8_In_Lobby_To_Inject_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov ebx, 0x133
movdqa xmm7, xmmword [0x14001ea10]
movdqa xmm6, xmmword [0x14001ea00]
nop dword [rax]
mov ecx, 0x77
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140006e30
mov edx, 0x1f4
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, 0x46
xor edx, edx
call fcn.1400016a0
mov word [rsp + 0x78], ax
mov ecx, 0x6f
mov edx, 1
call fcn.1400016a0
mov word [rsp + 0x7a], ax
mov ecx, 0x72
mov edx, 2
call fcn.1400016a0
mov word [rsp + 0x7c], ax
mov ecx, 0x74
mov edx, 3
call fcn.1400016a0
mov word [rsp + 0x7e], ax
mov ecx, 0x6e
mov edx, 4
call fcn.1400016a0
mov word [rbp - 0x80], ax
mov ecx, 0x69
mov edx, 5
call fcn.1400016a0
mov word [rbp - 0x7e], ax
mov ecx, 0x74
mov edx, 6
call fcn.1400016a0
mov word [rbp - 0x7c], ax
mov ecx, 0x65
mov edx, 7
call fcn.1400016a0
mov word [rbp - 0x7a], ax
mov ecx, 0x43
mov edx, 8
call fcn.1400016a0
mov word [rbp - 0x78], ax
mov ecx, 0x6c
mov edx, 9
call fcn.1400016a0
mov word [rbp - 0x76], ax
mov ecx, 0x69
mov edx, 0xa
call fcn.1400016a0
mov word [rbp - 0x74], ax
mov ecx, 0x65
mov edx, 0xb
call fcn.1400016a0
mov word [rbp - 0x72], ax
mov ecx, 0x6e
mov edx, 0xc
call fcn.1400016a0
mov word [rbp - 0x70], ax
mov ecx, 0x74
mov edx, 0xd
call fcn.1400016a0
mov word [rbp - 0x6e], ax
mov ecx, 0x2d
mov edx, 0xe
call fcn.1400016a0
mov word [rbp - 0x6c], ax
mov ecx, 0x57
mov edx, 0xf
call fcn.1400016a0
mov word [rbp - 0x6a], ax
mov ecx, 0x69
mov edx, 0x10
call fcn.1400016a0
mov word [rbp - 0x68], ax
mov ecx, 0x6e
mov edx, 0x11
call fcn.1400016a0
mov word [rbp - 0x66], ax
mov ecx, 0x36
mov edx, 0x12
call fcn.1400016a0
mov word [rbp - 0x64], ax
mov ecx, 0x34
mov edx, 0x13
call fcn.1400016a0
mov word [rbp - 0x62], ax
mov ecx, 0x2d
mov edx, 0x14
call fcn.1400016a0
mov word [rbp - 0x60], ax
mov ecx, 0x53
mov edx, 0x15
call fcn.1400016a0
mov word [rbp - 0x5e], ax
mov ecx, 0x68
mov edx, 0x16
call fcn.1400016a0
mov word [rbp - 0x5c], ax
mov ecx, 0x69
mov edx, 0x17
call fcn.1400016a0
mov word [rbp - 0x5a], ax
mov ecx, 0x70
mov edx, 0x18
call fcn.1400016a0
mov word [rbp - 0x58], ax
mov edx, 0x19
call fcn.1400016a0
mov word [rbp - 0x56], ax
mov ecx, 0x69
mov edx, 0x1a
call fcn.1400016a0
mov word [rbp - 0x54], ax
mov ecx, 0x6e
mov edx, 0x1b
call fcn.1400016a0
mov word [rbp - 0x52], ax
mov ecx, 0x67
mov edx, 0x1c
call fcn.1400016a0
mov word [rbp - 0x50], ax
mov ecx, 0x2e
mov edx, 0x1d
call fcn.1400016a0
mov word [rbp - 0x4e], ax
mov ecx, 0x65
mov edx, 0x1e
call fcn.1400016a0
mov word [rbp - 0x4c], ax
mov ecx, 0x78
mov edx, 0x1f
call fcn.1400016a0
mov word [rbp - 0x4a], ax
mov ecx, 0x65
mov edx, 0x20
call fcn.1400016a0
mov word [rbp - 0x48], ax
xor ecx, ecx
mov edx, 0x21
call fcn.1400016a0
mov word [rbp - 0x46], ax
mov edx, 0x22
movzx ecx, word [0x1400159a4]
call fcn.1400016a0
mov word [rbp - 0x44], ax
mov edx, 0x23
movzx ecx, word [0x1400159a6]
call fcn.1400016a0
mov word [rbp - 0x42], ax
mov edx, 0x24
movzx ecx, word [str.nmsv2.dll]
call fcn.1400016a0
mov word [rbp - 0x40], ax
mov edx, 0x25
movzx ecx, word [0x1400159aa]
call fcn.1400016a0
mov word [rbp - 0x3e], ax
mov edx, 0x26
movzx ecx, word [0x1400159ac]
call fcn.1400016a0
mov word [rbp - 0x3c], ax
mov edx, 0x27
movzx ecx, word [0x1400159ae]
call fcn.1400016a0
mov word [rbp - 0x3a], ax
mov edx, 0x28
movzx ecx, word [0x1400159b0]
call fcn.1400016a0
mov word [rbp - 0x38], ax
mov edx, 0x29
movzx ecx, word [0x1400159b2]
call fcn.1400016a0
mov word [rbp - 0x36], ax
mov edx, 0x2a
movzx ecx, word [0x1400159b4]
call fcn.1400016a0
mov word [rbp - 0x34], ax
mov edx, 0x2b
movzx ecx, word [0x1400159b6]
call fcn.1400016a0
mov word [rbp - 0x32], ax
mov edx, 0x2c
movzx ecx, word [0x1400159b8]
call fcn.1400016a0
mov word [rbp - 0x30], ax
mov edx, 0x2d
movzx ecx, word [0x1400159ba]
call fcn.1400016a0
mov word [rbp - 0x2e], ax
mov edx, 0x2e
movzx ecx, word [0x1400159bc]
call fcn.1400016a0
mov word [rbp - 0x2c], ax
mov edx, 0x2f
movzx ecx, word [0x1400159be]
call fcn.1400016a0
mov word [rbp - 0x2a], ax
mov edx, 0x30
movzx ecx, word [str.Kernel]
call fcn.1400016a0
mov word [rbp - 0x28], ax
mov edx, 0x31
movzx ecx, word [0x1400159c2]
call fcn.1400016a0
mov word [rbp - 0x26], ax
mov edx, 0x32
movzx ecx, word [0x1400159c4]
call fcn.1400016a0
mov word [rbp - 0x24], ax
mov edx, 0x33
movzx ecx, word [0x1400159c6]
call fcn.1400016a0
mov word [rbp - 0x22], ax
mov edx, 0x34
movzx ecx, word [0x1400159c8]
call fcn.1400016a0
mov word [rbp - 0x20], ax
mov edx, 0x35
movzx ecx, word [0x1400159ca]
call fcn.1400016a0
mov word [rbp - 0x1e], ax
mov edx, 0x36
movzx ecx, word [0x1400159cc]
call fcn.1400016a0
mov word [rbp - 0x1c], ax
mov edx, 0x37
movzx ecx, word [0x1400159ce]
call fcn.1400016a0
mov word [rbp - 0x1a], ax
mov edx, 0x38
movzx ecx, word [str.Successfully_Loaded_Driver]
call fcn.1400016a0
mov word [rbp - 0x18], ax
mov edx, 0x39
movzx ecx, word [0x1400159d2]
call fcn.1400016a0
mov word [rbp - 0x16], ax
mov edx, 0x3a
movzx ecx, word [0x1400159d4]
call fcn.1400016a0
mov word [rbp - 0x14], ax
mov edx, 0x3b
movzx ecx, word [0x1400159d6]
call fcn.1400016a0
mov word [rbp - 0x12], ax
mov edx, 0x3c
movzx ecx, word [0x1400159d8]
call fcn.1400016a0
mov word [rbp - 0x10], ax
mov edx, 0x3d
movzx ecx, word [0x1400159da]
call fcn.1400016a0
mov word [rbp - 0xe], ax
mov edx, 0x3e
movzx ecx, word [0x1400159dc]
call fcn.1400016a0
mov word [rbp - 0xc], ax
mov edx, 0x3f
movzx ecx, word [0x1400159de]
call fcn.1400016a0
mov word [rbp - 0xa], ax
mov edx, 0x40
movzx ecx, word [0x1400159e0]
call fcn.1400016a0
mov word [rbp - 8], ax
mov edx, 0x41
movzx ecx, word [0x1400159e2]
call fcn.1400016a0
mov word [rbp - 6], ax
mov edx, 0x42
movzx ecx, word [0x1400159e4]
call fcn.1400016a0
mov word [rbp - 4], ax
xor eax, eax
mov word [rbp - 2], ax
mov edx, r14d
mov rcx, r14
mov r8d, 8
nop word [rax + rax]
movd xmm0, edx
pshufd xmm0, xmm0, 0
paddd xmm0, xmm6
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rsp + rcx*2 + 0x78]
xorps xmm3, xmm0
movq qword [rsp + rcx*2 + 0x78], xmm3
movsxd rax, r8d
lea rcx, [rsp + rax*2 + 0x70]
lea eax, [r8 - 4]
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmm6
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx]
xorps xmm3, xmm0
movq qword [rcx], xmm3
movsxd rax, r8d
movd xmm0, r8d
pshufd xmm0, xmm0, 0
paddd xmm0, xmm6
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rsp + rax*2 + 0x78]
xorps xmm3, xmm0
movq qword [rsp + rax*2 + 0x78], xmm3
movsxd rax, r8d
lea rcx, [rbp - 0x80]
lea rcx, [rcx + rax*2]
lea eax, [r8 + 4]
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmm6
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx]
xorps xmm3, xmm0
movq qword [rcx], xmm3
add edx, 0x10
add r8d, 0x10
movsxd rcx, edx
cmp rcx, 0x40
jb 0x1400073a0
cmp rcx, 0x43
jae 0x1400074b3
nop dword [rax]
lea eax, [rbx + rdx]
xor word [rsp + rcx*2 + 0x78], ax
inc edx
movsxd rcx, edx
cmp rcx, 0x43
jb 0x1400074a0
mov word [rbp - 2], r14w
mov ecx, 0x6e
xor edx, edx
call fcn.1400016a0
mov word [rsp + 0x50], ax
mov ecx, 0x6d
mov edx, 1
call fcn.1400016a0
mov word [rsp + 0x52], ax
mov ecx, 0x73
mov edx, 2
call fcn.1400016a0
mov word [rsp + 0x54], ax
mov ecx, 0x76
mov edx, 3
call fcn.1400016a0
mov word [rsp + 0x56], ax
mov ecx, 0x32
mov edx, 4
call fcn.1400016a0
mov word [rsp + 0x58], ax
mov ecx, 0x2e
mov edx, 5
call fcn.1400016a0
mov word [rsp + 0x5a], ax
mov ecx, 0x64
mov edx, 6
call fcn.1400016a0
mov word [rsp + 0x5c], ax
mov ecx, 0x6c
mov edx, 7
call fcn.1400016a0
mov word [rsp + 0x5e], ax
mov edx, 8
call fcn.1400016a0
mov word [rsp + 0x60], ax
xor ecx, ecx
mov edx, 9
call fcn.1400016a0
mov word [rsp + 0x62], ax
mov edx, 0xa
movzx ecx, word [0x1400159bc]
call fcn.1400016a0
mov word [rsp + 0x64], ax
mov edx, 0xb
movzx ecx, word [0x1400159be]
call fcn.1400016a0
mov word [rsp + 0x66], ax
mov edx, 0xc
movzx ecx, word [str.Kernel]
call fcn.1400016a0
mov word [rsp + 0x68], ax
mov edx, 0xd
movzx ecx, word [0x1400159c2]
call fcn.1400016a0
mov word [rsp + 0x6a], ax
mov edx, 0xe
movzx ecx, word [0x1400159c4]
call fcn.1400016a0
mov word [rsp + 0x6c], ax
mov edx, 0xf
movzx ecx, word [0x1400159c6]
call fcn.1400016a0
mov word [rsp + 0x6e], ax
mov edx, 0x10
movzx ecx, word [0x1400159c8]
call fcn.1400016a0
mov word [rsp + 0x70], ax
mov edx, 0x11
movzx ecx, word [0x1400159ca]
call fcn.1400016a0
mov word [rsp + 0x72], ax
mov edx, 0x12
movzx ecx, word [0x1400159cc]
call fcn.1400016a0
mov word [rsp + 0x74], ax
xor eax, eax
mov word [rsp + 0x76], ax
mov eax, r14d
mov rdx, r14
mov r8d, 8
nop
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmm6
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rsp + rdx*2 + 0x50]
xorps xmm3, xmm0
movq qword [rsp + rdx*2 + 0x50], xmm3
movsxd rcx, r8d
lea rdx, [rsp + rcx*2 + 0x48]
lea ecx, [r8 - 4]
movd xmm0, ecx
pshufd xmm0, xmm0, 0
paddd xmm0, xmm6
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rdx]
xorps xmm3, xmm0
movq qword [rdx], xmm3
movsxd rcx, r8d
movd xmm0, r8d
pshufd xmm0, xmm0, 0
paddd xmm0, xmm6
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rsp + rcx*2 + 0x50]
xorps xmm3, xmm0
movq qword [rsp + rcx*2 + 0x50], xmm3
movsxd rcx, r8d
lea rdx, [rsp + 0x58]
lea rdx, [rdx + rcx*2]
lea ecx, [r8 + 4]
movd xmm0, ecx
pshufd xmm0, xmm0, 0
paddd xmm0, xmm6
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rdx]
xorps xmm3, xmm0
movq qword [rdx], xmm3
add eax, 0x10
add r8d, 0x10
movsxd rdx, eax
cmp rdx, 0x10
jb 0x140007650
cmp rdx, 0x13
jae 0x140007763
nop
lea ecx, [rbx + rax]
xor word [rsp + rdx*2 + 0x50], cx
inc eax
movsxd rdx, eax
cmp rdx, 0x13
jb 0x140007750
mov word [rsp + 0x76], r14w
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140002630
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140006e30
mov rcx, qword [0x140023090]
call fcn.140009520
xor r9d, r9d
lea r8, str.Kernel
lea rdx, str.Successfully_Loaded_Driver
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x140006dbf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov dword [rbp + 8], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3