Function at 0x140006e08
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x608]
sub rsp, 0x6f0
mov rax, qword [0x140012aa8]
xor rax, rsp
mov qword [rbp + 0x5e0], rax
xor esi, esi
mov dword [rbp - 0x60], 0x104
test ecx, ecx
mov qword [rbp - 0x68], rsi
lea rax, str..mht
mov qword [rsp + 0x30], rsi
mov ebx, ecx
mov qword [rsp + 0x50], rsi
lea rdx, str..htm
mov qword [rbp - 0x70], rsi
cmovne rdx, rax
mov qword [rbp - 0x78], rsi
lea rax, [rbp - 0x68]
mov qword [rbp - 0x80], rsi
mov r14d, 0x20019
mov qword [rsp + 0x20], rax
mov r15, 0xffffffff80000000
mov qword [rsp + 0x78], rsi
mov r9d, r14d
mov qword [rsp + 0x70], rsi
xor r8d, r8d
mov qword [rsp + 0x48], rsi
mov rcx, r15
mov qword [rsp + 0x68], rsi
mov edi, esi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x58], rsi
call fcn.14000c684
test eax, eax
je 0x140006eef
lea rax, str..mhtml
test ebx, ebx
lea rdx, str..html
mov r9d, r14d
cmovne rdx, rax
mov rcx, r15
lea rax, [rbp - 0x68]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call fcn.14000c684
test eax, eax
jne 0x1400071e5
mov rcx, qword [rbp - 0x68]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
lea rax, [rbp - 0x50]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.14000c6f0
test eax, eax
jne 0x1400071e5
lea rax, [rsp + 0x30]
mov r9d, r14d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x50]
mov rcx, r15
call fcn.14000c684
test eax, eax
jne 0x1400071e5
lea rax, [rsp + 0x50]
mov r9d, r14d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x140010770]
mov rcx, r15
call fcn.14000c684
test eax, eax
jne 0x1400071e5
mov rcx, qword [rsp + 0x50]
lea rax, [rbp - 0x70]
mov r9d, r14d
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.42042206_2D85_11D3_8CFF_005004838597
call fcn.14000c684
test eax, eax
jne 0x1400071e5
mov rcx, qword [rbp - 0x70]
lea rax, [rbp - 0x78]
mov r9d, r14d
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.Old_Icon
call fcn.14000c684
test eax, eax
jne 0x1400071e5
mov rcx, qword [rbp - 0x78]
lea rax, [rsp + 0x48]
mov r9d, r14d
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rbp - 0x50]
call fcn.14000c684
test eax, eax
jne 0x1400071e5
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x68]
lea r15, str.DefaultIcon
mov dword [rsp + 0x38], 0x104
mov rdx, r15
mov qword [rsp + 0x20], rax
mov r9d, r14d
xor r8d, r8d
call fcn.14000c684
test eax, eax
jne 0x14000709e
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
lea rax, [rbp + 0x1c0]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.14000c6f0
test eax, eax
jne 0x14000709e
cmp word [rbp + 0x1c0], si
je 0x14000709e
mov rcx, qword [rsp + 0x30]
lea rax, [rbp - 0x80]
mov r9d, 0x2001f
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, r15
call fcn.14000c684
test eax, eax
jne 0x1400071e5
mov eax, dword [rsp + 0x38]
mov r9d, 1
mov rcx, qword [rbp - 0x80]
xor r8d, r8d
mov dword [rsp + 0x28], eax
xor edx, edx
lea rax, [rbp + 0x1c0]
mov qword [rsp + 0x20], rax
call sub.ADVAPI32.dll_RegSetValueExW
test eax, eax
je 0x1400070ab
jmp 0x1400071e5
mov rcx, qword [rsp + 0x30]
mov rdx, r15
call fcn.140002424
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x60]
lea r15, str.ShellEx
mov dword [rsp + 0x40], 0x104
mov rdx, r15
mov qword [rsp + 0x20], rax
mov r9d, r14d
xor r8d, r8d
call fcn.14000c684
test eax, eax
jne 0x1400071be
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x58]
mov r9d, r14d
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.IconHandler
call fcn.14000c684
test eax, eax
jne 0x1400071be
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
lea rax, [rbp + 0x3d0]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call fcn.14000c6f0
test eax, eax
jne 0x1400071be
cmp word [rbp + 0x3d0], si
je 0x1400071be
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x78]
mov r9d, 0x2001f
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, r15
call fcn.14000c684
test eax, eax
jne 0x1400071e5
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x70]
mov r9d, 0x2001f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.IconHandler
call fcn.14000c684
test eax, eax
jne 0x1400071e5
mov eax, dword [rsp + 0x40]
mov r9d, 1
mov rcx, qword [rsp + 0x70]
xor r8d, r8d
mov dword [rsp + 0x28], eax
xor edx, edx
lea rax, [rbp + 0x3d0]
mov qword [rsp + 0x20], rax
call sub.ADVAPI32.dll_RegSetValueExW
test eax, eax
je 0x1400071cb
jmp 0x1400071e5
mov rcx, qword [rsp + 0x30]
mov rdx, r15
call fcn.140002424
test ebx, ebx
jne 0x1400071e0
mov rcx, qword [rsp + 0x50]
lea rdx, str.42042206_2D85_11D3_8CFF_005004838597
call fcn.140002424
mov edi, 1
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400071f5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x58], rsi
test rcx, rcx
je 0x14000720a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x60], rsi
test rcx, rcx
je 0x14000721f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x68], rsi
test rcx, rcx
je 0x140007234
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x48], rsi
test rcx, rcx
je 0x140007249
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x70], rsi
test rcx, rcx
je 0x14000725e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x80]
mov qword [rsp + 0x78], rsi
test rcx, rcx
je 0x140007272
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x78]
mov qword [rbp - 0x80], rsi
test rcx, rcx
je 0x140007285
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x70]
mov qword [rbp - 0x78], rsi
test rcx, rcx
je 0x140007298
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x50]
mov qword [rbp - 0x70], rsi
test rcx, rcx
je 0x1400072ac
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x50], rsi
test rcx, rcx
je 0x1400072c1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x68]
mov qword [rsp + 0x30], rsi
test rcx, rcx
je 0x1400072d5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rbp + 0x5e0]
xor rcx, rsp
call fcn.14000db20
lea r11, [rsp + 0x6f0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret