Function at 0x180044cb0
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5e8]
sub rsp, 0x6e0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x180168908]
xor rax, rsp
mov qword [rbp + 0x5d0], rax
lea rcx, [rsp + 0x58]
call fcn.180084fb0
nop
mov edi, 1
mov edx, edi
lea rcx, [rsp + 0x58]
call fcn.180089d40
xor eax, eax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
lea rcx, [rbp - 0x78]
call fcn.18006da70
test al, al
je 0x180044fc7
mov r8d, 0x104
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp - 0x78]
call qword [sym.imp.ole32.dll_StringFromGUID2]
lea r9, [rbp + 0x1b0]
lea r8, str.CLSID_s
mov edx, 0x104
lea rcx, [rbp - 0x60]
call fcn.180045010
mov ebx, eax
test eax, eax
js 0x180044fbb
mov ebx, 0x80004005
xor esi, esi
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x60]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x180044fbb
xor r9d, r9d
lea r8, str.desk_band_name
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x58]
call fcn.180086730
nop
cmp qword [rsp + 0x78], rsi
jne 0x180044dd8
lea r8d, [rdi + 0xe]
lea rdx, str.DeskBandToolset
lea rcx, [rsp + 0x68]
call fcn.180019da0
lea rcx, [rsp + 0x68]
mov rdx, qword [rsp + 0x68]
mov r8, qword [rbp - 0x80]
cmp r8, 8
cmovae rcx, rdx
mov rax, 0xffffffffffffffff
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x180044df5
lea eax, [rax*2 + 2]
lea rcx, [rsp + 0x68]
cmp r8, 8
cmovae rcx, rdx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, edi
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
cmove ebx, esi
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x180044e82
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180044e7d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180044ffb
call fcn.1800a4c5c
test ebx, ebx
js 0x180044fbb
lea r9, [rbp + 0x1b0]
lea r8, str.CLSID_sInprocServer32
mov edx, 0x104
lea rcx, [rbp - 0x60]
call fcn.180045010
mov ebx, eax
test eax, eax
js 0x180044fbb
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x60]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test eax, eax
jle 0x180044ef6
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
js 0x180044fbb
mov r8d, 0x104
lea rdx, [rbp + 0x3c0]
mov rcx, qword [0x1801771d0]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x180044f5d
lea rcx, [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x3c0]
mov qword [rsp + 0x20], rax
mov r9d, edi
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test eax, eax
jle 0x180044f5d
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
js 0x180044fb0
movups xmm0, xmmword [str.Apartment]
movups xmmword [rsp + 0x68], xmm0
mov eax, dword [0x180116f50]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x28], 0x14
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, edi
xor r8d, r8d
lea rdx, str.ThreadingModel
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test eax, eax
jle 0x180044fb0
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x58]
call fcn.18008c0b0
mov edi, ebx
lea rcx, [rsp + 0x58]
call fcn.180085140
mov eax, edi
mov rcx, qword [rbp + 0x5d0]
xor rcx, rsp
call fcn.1800a5130
lea r11, [rsp + 0x6e0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1800d79f8
nop
int3