Function at 0x140027620
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Persist via windows service
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x1401a4080]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rbx, rcx
xor r14d, r14d
lea rcx, [rbp + 0x20]
call fcn.140021780
nop
movabs rdi, 0x7ffffffffffffffe
mov rax, rdi
mov rcx, qword [rbp + 0x30]
sub rax, rcx
cmp rax, 0x22
jb 0x140027da3
lea rax, [rbp + 0x20]
cmp qword [rbp + 0x38], 7
cmova rax, qword [rbp + 0x20]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], Ordinal_35
lea r9, str.SYSTEMCurrentControlSetServices_
lea rcx, [rbp + 0x80]
call fcn.1400258f0
nop
mov rcx, qword [rbx + 0x10]
mov rax, rdi
sub rax, rcx
cmp rax, 4
jb 0x140027da9
cmp qword [rbx + 0x18], 7
jbe 0x1400276cf
mov rbx, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 4
lea r9, [0x140184478]
lea rcx, [rbp + 0x40]
call fcn.1400258f0
nop
lea rdx, [rbp + 0x80]
cmp qword [rbp + 0x98], 7
cmova rdx, qword [rbp + 0x80]
lea r8, [rbp + 0x10]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x140027748
movdqa xmm0, xmmword [0x140187250]
mov dword [rsp + 0x50], 0x65732065
mov dword [rsp + 0x54], 0x63697672
mov dword [rsp + 0x58], 0x656b2065
mov word [rsp + 0x5c], 0x79
jmp 0x1400277c2
mov eax, dword [rbp + 0x50]
add eax, eax
lea rcx, [rbp + 0x40]
cmp qword [rbp + 0x58], 7
cmova rcx, qword [rbp + 0x40]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 2
lea r8, str.ImagePath
xor edx, edx
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov rcx, qword [rbp + 0x10]
test eax, eax
je 0x140027835
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movdqa xmm0, xmmword [0x140187260]
movdqa xmm1, xmmword [0x140187000]
mov dword [rsp + 0x60], 0x74736967
mov dword [rsp + 0x64], 0x76207972
mov dword [rsp + 0x68], 0x65756c61
mov byte [rsp + 0x6c], 0
movdqu xmmword [rsp + 0x50], xmm1
movdqu xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x41]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140024b70
lea rdx, [0x140024dd0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor bl, bl
mov rdx, qword [rbp + 0x58]
cmp rdx, 7
jbe 0x140027cbc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027cb7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140027cb7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov dword [rsp + 0x28], 4
lea rax, reloc.WS2_32.dll_accept
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, str.Type
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov rcx, qword [rbp + 0x10]
test eax, eax
je 0x140027891
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movdqa xmm0, xmmword [0x140187270]
movdqa xmm1, xmmword [0x1401871a0]
mov dword [rsp + 0x60], 0x61762079
mov dword [rsp + 0x64], 0x65756c
jmp 0x1400277bc
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [0x140184390]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rsi, rax
test rax, rax
je 0x1400277e9
lea rdx, str.RtlAdjustPrivilege
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
lea rdx, str.NtLoadDriver
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
lea r9, [rbp + 0x18]
xor r8d, r8d
mov dl, 1
mov ecx, 0xa
call rbx
test eax, eax
jns 0x1400279c2
movdqa xmm0, xmmword [0x140186830]
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x140186e60]
movdqa xmmword [rbp - 0x80], xmm1
movdqa xmm0, xmmword [0x140186ae0]
movdqa xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [str.5.1.___IG]
movdqa xmmword [rbp - 0x60], xmm1
movdqa xmm0, xmmword [0x140186870]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x1401868d0]
movdqa xmmword [rbp - 0x40], xmm1
mov dword [rbp - 0x30], 0x15081306
mov word [rbp - 0x2c], 0x49
mov rdx, r14
nop dword [rax]
movzx eax, byte [rsp + 0x70]
xor byte [rsp + rdx + 0x71], al
movzx eax, byte [rsp + 0x70]
xor byte [rsp + rdx + 0x72], al
movzx eax, byte [rsp + 0x70]
xor byte [rsp + rdx + 0x73], al
movzx eax, byte [rsp + 0x70]
xor byte [rsp + rdx + 0x74], al
movzx eax, byte [rsp + 0x70]
xor byte [rsp + rdx + 0x75], al
movzx eax, byte [rsp + 0x70]
xor byte [rsp + rdx + 0x76], al
movzx eax, byte [rsp + 0x70]
xor byte [rsp + rdx + 0x77], al
movzx eax, byte [rsp + 0x70]
xor byte [rsp + rdx + 0x78], al
movzx eax, byte [rsp + 0x70]
xor byte [rsp + rdx + 0x79], al
movzx eax, byte [rsp + 0x70]
xor byte [rsp + rdx + 0x7a], al
add rdx, 0xa
cmp rdx, 0x64
jb 0x140027950
mov byte [rbp - 0x2b], 0
lea rdx, [rsp + 0x71]
jmp 0x1400277cd
mov rcx, qword [rbp + 0x30]
sub rdi, rcx
cmp rdi, 0x34
jb 0x140027d9d
lea rax, [rbp + 0x20]
cmp qword [rbp + 0x38], 7
cmova rax, qword [rbp + 0x20]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], Ordinal_60
lea r9, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp + 0x60]
call fcn.1400258f0
nop
lea rdx, [rbp + 0x60]
cmp qword [rbp + 0x78], 7
cmova rdx, qword [rbp + 0x60]
lea rcx, [rbp + 0xa0]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rcx, [rbp + 0xa0]
call rsi
mov ebx, eax
cmp eax, 0xc0000603
jne 0x140027c90
movdqa xmm0, xmmword [0x140186b00]
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x140186b20]
movdqa xmmword [rbp - 0x80], xmm1
movdqa xmm0, xmmword [0x140186a10]
movdqa xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x140186a30]
movdqa xmmword [rbp - 0x60], xmm1
movdqa xmm0, xmmword [0x140186a60]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x140186a20]
movdqa xmmword [rbp - 0x40], xmm1
movdqa xmm0, xmmword [str.___.__l:9_____.__data_destroyed_egister_n_nchoose_._keyauth__auto___keyauth__auto_V_keyauth__auto_m_keyauth__auto]
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmm1, xmmword [0x1401869c0]
movdqa xmmword [rbp - 0x20], xmm1
movdqa xmm0, xmmword [0x1401869e0]
movdqa xmmword [rbp - 0x10], xmm0
movdqa xmm1, xmmword [str.8_l__8__l___:__]
movdqa xmmword [rbp], xmm1
mov rdx, r14
nop dword [rax]
movzx eax, byte [rsp + 0x70]
xor byte [rsp + rdx + 0x71], al
movzx eax, byte [rsp + 0x70]
xor byte [rsp + rdx + 0x72], al
add rdx, 2
cmp rdx, 0x9e
jb 0x140027ac0
mov byte [rbp + 0xf], 0
lea rdx, [rsp + 0x71]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140024b70
lea rdx, [0x140024dd0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
movdqa xmm0, xmmword [0x140186850]
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x140186910]
movdqa xmmword [rbp - 0x80], xmm1
movdqa xmm0, xmmword [0x1401868a0]
movdqa xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x1401869b0]
movdqa xmmword [rbp - 0x60], xmm1
movdqa xmm0, xmmword [0x1401869d0]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x140186860]
movdqa xmmword [rbp - 0x40], xmm1
movdqa xmm0, xmmword [0x140186bd0]
movdqa xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x20], 0x133f2035
mov dword [rbp - 0x1c], 0x1b151a12
mov byte [rbp - 0x18], 0
mov rdx, r14
nop word [rax + rax]
movzx eax, byte [rsp + 0x70]
xor byte [rsp + rdx + 0x71], al
movzx eax, byte [rsp + 0x70]
xor byte [rsp + rdx + 0x72], al
movzx eax, byte [rsp + 0x70]
xor byte [rsp + rdx + 0x73], al
movzx eax, byte [rsp + 0x70]
xor byte [rsp + rdx + 0x74], al
movzx eax, byte [rsp + 0x70]
xor byte [rsp + rdx + 0x75], al
movzx eax, byte [rsp + 0x70]
xor byte [rsp + rdx + 0x76], al
movzx eax, byte [rsp + 0x70]
xor byte [rsp + rdx + 0x77], al
movzx eax, byte [rsp + 0x70]
xor byte [rsp + rdx + 0x78], al
movzx eax, byte [rsp + 0x70]
xor byte [rsp + rdx + 0x79], al
movzx eax, byte [rsp + 0x70]
xor byte [rsp + rdx + 0x7a], al
movzx eax, byte [rsp + 0x70]
xor byte [rsp + rdx + 0x7b], al
movzx eax, byte [rsp + 0x70]
xor byte [rsp + rdx + 0x7c], al
movzx eax, byte [rsp + 0x70]
xor byte [rsp + rdx + 0x7d], al
movzx eax, byte [rsp + 0x70]
xor byte [rsp + rdx + 0x7e], al
movzx eax, byte [rsp + 0x70]
xor byte [rsp + rdx + 0x7f], al
movzx eax, byte [rsp + 0x70]
xor byte [rbp + rdx - 0x80], al
movzx eax, byte [rsp + 0x70]
xor byte [rbp + rdx - 0x7f], al
add rdx, 0x11
cmp rdx, 0x77
jb 0x140027b80
mov byte [rbp - 0x18], 0
lea rdx, [rsp + 0x71]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140024b70
lea rdx, [0x140024dd0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
shr ebx, 0x1f
xor bl, 1
mov rdx, qword [rbp + 0x78]
cmp rdx, 7
jbe 0x140027ca1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027c9c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140027c9c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
cmp ebx, 0xc000010e
jne 0x140027c4c
mov bl, 1
jmp 0x140027c52
call fcn.1401433c4
mov qword [rbp + 0x70], r14
mov qword [rbp + 0x78], 7
mov word [rbp + 0x60], r14w
jmp 0x1400277eb
call fcn.1401433c4
mov qword [rbp + 0x50], r14
mov qword [rbp + 0x58], 7
mov word [rbp + 0x40], r14w
mov rdx, qword [rbp + 0x98]
cmp rdx, 7
jbe 0x140027d16
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027d11
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140027d11
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401433c4
mov qword [rbp + 0x90], r14
mov qword [rbp + 0x98], 7
mov word [rbp + 0x80], r14w
mov rdx, qword [rbp + 0x38]
cmp rdx, 7
jbe 0x140027d73
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027d6e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140027d6e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401433c4
movzx eax, bl
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.140143120
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.140002110
nop
call fcn.140002110
nop
call fcn.140002110
int3