Function at 0x140018e80
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x140073058]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov ebx, edx
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xor edi, edi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x78], edx
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetServicesLITSSVCIC
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140018f2e
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 4]
xor r8d, r8d
lea rdx, [0x140067b40]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], rdi
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.HARDWAREDESCRIPTIONSystemBIOS
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140019136
lea rax, [rsp + 0x74]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x70]
xor r8d, r8d
lea rdx, str.BIOSVersion
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140019136
lea rax, [rsp + 0x74]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
xor r8d, r8d
lea rdx, str.BIOSVersion
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140019136
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x80], rdi
lea rax, [rbp - 0x78]
mov qword [rsp + 0x50], rax
mov cl, 1
call fcn.140028acc
mov qword [rbp - 0x60], rax
lea rcx, [rbp - 0x78]
call fcn.1400047d0
nop
lea r8, [0x140067b54]
lea rdx, str.R1R.
lea rcx, [rbp - 0x80]
call fcn.140004b80
nop
cmp ebx, 7
jne 0x14001902f
mov dword [rsp + 0x50], 0x6000
jmp 0x140019060
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x50]
call fcn.140004a20
test al, al
je 0x14001904a
mov dword [rsp + 0x50], 0x6000
jmp 0x140019060
cmp ebx, 9
jne 0x140019059
mov dword [rsp + 0x50], 0x8000
jmp 0x140019060
shl ebx, 0xc
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetServicesLITSSVCIC
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400190cc
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Version
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14001910c
mov eax, 0xffffffff
lock xadd dword [rcx + 0x2c], eax
cmp eax, 1
jne 0x14001910c
mov rbx, qword [rbp - 0x80]
test rbx, rbx
je 0x14001910c
nop dword [rax]
mov rcx, rbx
lea rax, [rbx + 0x10]
mov rbx, qword [rax]
mov qword [rax], rdi
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
test rbx, rbx
jne 0x1400190f0
mov qword [rbp - 0x80], rdi
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x140019136
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140019136
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140019147
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140019157
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.14002a740
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret