Function at 0x140004ef4
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x600]
sub rsp, 0x700
mov rax, qword [0x140012aa8]
xor rax, rsp
mov qword [rbp + 0x5f0], rax
mov eax, 0x104
mov rbx, rcx
xor ecx, ecx
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x58], eax
mov r12, r8
lea rax, [rsp + 0x50]
mov qword [rbp - 0x50], rcx
mov qword [rsp + 0x40], rax
mov r13d, edx
lea rax, [rbp - 0x50]
mov qword [rbp - 0x58], rcx
mov qword [rsp + 0x38], rax
lea rdx, str.DefaultIcon
mov qword [rsp + 0x30], rcx
mov r14d, ecx
mov qword [rsp + 0x78], rcx
mov edi, ecx
mov qword [rbp - 0x60], rcx
mov esi, ecx
mov qword [rsp + 0x70], rcx
mov r15d, ecx
mov qword [rbp - 0x68], rcx
xor r9d, r9d
mov qword [rsp + 0x68], rcx
xor r8d, r8d
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x78], rcx
mov qword [rbp - 0x80], rcx
mov qword [rsp + 0x60], rcx
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ecx
mov rcx, rbx
call fcn.14000c590
test eax, eax
jne 0x14000544c
mov rcx, qword [rbp - 0x50]
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rbp - 0x40]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.14000c6f0
lea rcx, str.__1_
test eax, eax
jne 0x140005009
cmp dword [rsp + 0x54], 0xa
jne 0x140004fff
mov rdx, rcx
lea rcx, [rbp - 0x40]
call fcn.14000b6d8
test eax, eax
jne 0x140005009
mov r15d, dword [rsp + 0x50]
mov edi, 1
mov rcx, qword [rbp - 0x50]
lea rax, str.__1_
mov dword [rsp + 0x28], 8
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
call sub.ADVAPI32.dll_RegSetValueExW
test eax, eax
jne 0x14000544c
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, str.ShellEx
lea rax, [rbp - 0x58]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, rbx
and qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x2001f
and dword [rsp + 0x20], esi
call fcn.14000c590
xor ebx, ebx
test eax, eax
jne 0x14000544e
mov rcx, qword [rbp - 0x58]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rdx, str.IconHandler
lea rax, [rsp + 0x78]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ebx
call fcn.14000c590
test eax, eax
jne 0x14000544e
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rbp + 0x1d0]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.14000c6f0
lea rcx, str.42042206_2D85_11D3_8CFF_005004838597
test eax, eax
jne 0x140005113
cmp dword [rsp + 0x58], 0x4e
jne 0x14000510e
mov rdx, rcx
lea rcx, [rbp + 0x1d0]
call fcn.14000b6d8
test eax, eax
jne 0x140005113
mov esi, 1
mov rcx, qword [rsp + 0x78]
lea rax, str.42042206_2D85_11D3_8CFF_005004838597
mov dword [rsp + 0x28], 0x4c
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
call sub.ADVAPI32.dll_RegSetValueExW
test eax, eax
jne 0x14000544e
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, [0x140010770]
lea rax, [rbp - 0x60]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, 0xffffffff80000000
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ebx
call fcn.14000c590
test eax, eax
jne 0x14000544e
mov rcx, qword [rbp - 0x60]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rdx, str.42042206_2D85_11D3_8CFF_005004838597
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ebx
call fcn.14000c590
test eax, eax
jne 0x14000544e
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rdx, str.Old_Icon
lea rax, [rbp - 0x68]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ebx
call fcn.14000c590
test eax, eax
jne 0x14000544e
mov rcx, qword [rbp - 0x68]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
xor r9d, r9d
lea rax, [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rdx, r12
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ebx
call fcn.14000c590
test eax, eax
jne 0x14000544e
mov r12d, 0x2001f
test edi, edi
je 0x1400052c2
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rdx, str.DefaultIcon
lea rax, [rbp - 0x70]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], ebx
call fcn.14000c590
test eax, eax
jne 0x14000544e
mov eax, dword [rsp + 0x54]
mov r9d, r15d
mov rcx, qword [rbp - 0x70]
xor r8d, r8d
mov dword [rsp + 0x28], eax
xor edx, edx
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
call sub.ADVAPI32.dll_RegSetValueExW
test eax, eax
jne 0x14000544e
test esi, esi
je 0x14000537d
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rdx, str.ShellEx
lea rax, [rbp - 0x78]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], ebx
call fcn.14000c590
test eax, eax
jne 0x14000544e
mov rcx, qword [rbp - 0x78]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rdx, str.IconHandler
lea rax, [rbp - 0x80]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], ebx
call fcn.14000c590
test eax, eax
jne 0x14000544e
mov eax, dword [rsp + 0x58]
mov edi, 1
mov rcx, qword [rbp - 0x80]
mov r9d, edi
mov dword [rsp + 0x28], eax
xor r8d, r8d
lea rax, [rbp + 0x1d0]
xor edx, edx
mov qword [rsp + 0x20], rax
call sub.ADVAPI32.dll_RegSetValueExW
test eax, eax
jne 0x14000544e
jmp 0x140005382
mov edi, 1
test r13d, r13d
jne 0x140005447
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rdx, [0x140012178]
lea rax, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], ebx
call fcn.14000c590
test eax, eax
jne 0x14000544e
mov r8d, edi
lea rcx, [rbp + 0x3e0]
mov edx, 0x104
call fcn.1400031b8
test eax, eax
je 0x14000544e
lea rcx, [rbp + 0x3e0]
call fcn.14000b568
mov rcx, qword [rsp + 0x60]
add eax, eax
mov dword [rsp + 0x28], eax
mov r9d, edi
lea rax, [rbp + 0x3e0]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call sub.ADVAPI32.dll_RegSetValueExW
test eax, eax
jne 0x14000544e
mov rcx, qword [rsp + 0x60]
lea rax, str.Apartment
mov dword [rsp + 0x28], 0x12
lea rdx, str.ThreadingModel
mov r9d, edi
mov qword [rsp + 0x20], rax
xor r8d, r8d
call sub.ADVAPI32.dll_RegSetValueExW
test eax, eax
jne 0x14000544e
mov r14d, edi
jmp 0x14000544e
xor ebx, ebx
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000545e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x80]
mov qword [rsp + 0x60], rbx
test rcx, rcx
je 0x140005472
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x78]
mov qword [rbp - 0x80], rbx
test rcx, rcx
je 0x140005485
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x70]
mov qword [rbp - 0x78], rbx
test rcx, rcx
je 0x140005498
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x68]
mov qword [rbp - 0x70], rbx
test rcx, rcx
je 0x1400054ac
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x68]
mov qword [rsp + 0x68], rbx
test rcx, rcx
je 0x1400054c0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x70]
mov qword [rbp - 0x68], rbx
test rcx, rcx
je 0x1400054d4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x60]
mov qword [rsp + 0x70], rbx
test rcx, rcx
je 0x1400054e8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x78]
mov qword [rbp - 0x60], rbx
test rcx, rcx
je 0x1400054fc
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x58]
mov qword [rsp + 0x78], rbx
test rcx, rcx
je 0x140005510
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x50]
mov qword [rbp - 0x58], rbx
test rcx, rcx
je 0x140005523
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, r14d
mov rcx, qword [rbp + 0x5f0]
xor rcx, rsp
call fcn.14000db20
mov rbx, qword [rsp + 0x748]
add rsp, 0x700
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret