Function at 0x140008da8
Capabilities:
Query or enumerate registry value
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 [0x14007c010]
xor rax, rsp
mov qword [rbp + 0x5f0], rax
xor eax, eax
mov r12d, edx
mov qword [rbp - 0x50], rax
lea rdx, str.DefaultIcon
mov qword [rbp - 0x58], rax
mov r15d, eax
mov qword [rsp + 0x78], rax
mov dil, al
mov qword [rbp - 0x60], rax
mov sil, al
mov qword [rsp + 0x70], rax
mov r14d, eax
mov qword [rbp - 0x68], rax
mov r13, r8
mov qword [rsp + 0x68], rax
mov rbx, rcx
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x60], rax
mov eax, 0x104
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x58], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x38], rax
call fcn.14000e42c
xor ecx, ecx
test eax, eax
jne 0x140009233
movzx eax, byte [rbp - 0x40]
lea r9, [rsp + 0x50]
cmp dword [rsp + 0x50], 1
cmove eax, ecx
mov rcx, qword [rbp - 0x50]
mov byte [rbp - 0x40], al
xor r8d, r8d
lea rax, [rsp + 0x54]
xor edx, edx
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea r10, str.__1_
test eax, eax
jne 0x140008eb5
cmp dword [rsp + 0x54], 0xa
jne 0x140008ead
mov rdx, r10
lea rcx, [rbp - 0x40]
call fcn.14000dab8
test eax, eax
jne 0x140008eb5
mov r14d, dword [rsp + 0x50]
mov dil, 1
mov rcx, qword [rbp - 0x50]
mov r9d, 1
mov dword [rsp + 0x28], 8
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], r10
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140009233
lea rax, [rsp + 0x50]
mov rcx, rbx
mov qword [rsp + 0x40], rax
lea rdx, str.ShellEx
lea rax, [rbp - 0x58]
mov qword [rsp + 0x38], rax
call fcn.14000e42c
xor ebx, ebx
test eax, eax
jne 0x140009235
mov rcx, qword [rbp - 0x58]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rdx, str.IconHandler
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
call fcn.14000e42c
test eax, eax
jne 0x140009235
movzx eax, byte [rbp + 0x1d0]
lea r9, [rsp + 0x50]
cmp dword [rsp + 0x50], 1
mov rcx, qword [rsp + 0x78]
cmove eax, ebx
xor r8d, r8d
mov byte [rbp + 0x1d0], al
xor edx, edx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1d0]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea r10, str.42042206_2D85_11D3_8CFF_005004838597
test eax, eax
jne 0x140008f9f
cmp dword [rsp + 0x58], 0x4e
jne 0x140008f9c
mov rdx, r10
lea rcx, [rbp + 0x1d0]
call fcn.14000dab8
test eax, eax
jne 0x140008f9f
mov sil, 1
mov rcx, qword [rsp + 0x78]
mov r9d, 1
mov dword [rsp + 0x28], 0x4c
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], r10
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140009235
lea rax, [rsp + 0x50]
mov rcx, 0xffffffff80000000
mov qword [rsp + 0x40], rax
lea rdx, [0x140048430]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x38], rax
call fcn.14000e42c
test eax, eax
jne 0x140009235
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]
mov qword [rsp + 0x38], rax
call fcn.14000e42c
test eax, eax
jne 0x140009235
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rdx, str.Old_Icon
lea rax, [rbp - 0x68]
mov qword [rsp + 0x38], rax
call fcn.14000e42c
test eax, eax
jne 0x140009235
mov rcx, qword [rbp - 0x68]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rdx, r13
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
call fcn.14000e42c
test eax, eax
jne 0x140009235
test dil, dil
je 0x1400090d4
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rdx, str.DefaultIcon
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
call fcn.14000e42c
test eax, eax
jne 0x140009235
mov eax, dword [rsp + 0x54]
mov r9d, r14d
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 qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140009235
test sil, sil
je 0x140009169
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rdx, str.ShellEx
lea rax, [rbp - 0x78]
mov qword [rsp + 0x38], rax
call fcn.14000e42c
test eax, eax
jne 0x140009235
mov rcx, qword [rbp - 0x78]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rdx, str.IconHandler
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rax
call fcn.14000e42c
test eax, eax
jne 0x140009235
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 qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140009235
jmp 0x14000916e
mov edi, 1
test r12d, r12d
jne 0x14000922e
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rdx, str.InprocServer32
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
call fcn.14000e42c
test eax, eax
jne 0x140009235
mov r8d, edi
lea rcx, [rbp + 0x3e0]
call fcn.14000bdb8
test eax, eax
je 0x140009235
lea rax, [rbp + 0x3e0]
mov ecx, ebx
cmp word [rbp + 0x3e0], bx
je 0x1400091d4
lea rax, [rax + 2]
add ecx, edi
cmp word [rax], bx
jne 0x1400091c9
lea eax, [rcx + rcx]
mov r9d, edi
mov rcx, qword [rsp + 0x60]
xor r8d, r8d
mov dword [rsp + 0x28], eax
xor edx, edx
lea rax, [rbp + 0x3e0]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140009235
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 qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140009235
mov r15d, edi
jmp 0x140009235
xor ebx, ebx
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140009245
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x80]
mov qword [rsp + 0x60], rbx
test rcx, rcx
je 0x140009259
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x78]
mov qword [rbp - 0x80], rbx
test rcx, rcx
je 0x14000926c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x70]
mov qword [rbp - 0x78], rbx
test rcx, rcx
je 0x14000927f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x68]
mov qword [rbp - 0x70], rbx
test rcx, rcx
je 0x140009293
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x68]
mov qword [rsp + 0x68], rbx
test rcx, rcx
je 0x1400092a7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x70]
mov qword [rbp - 0x68], rbx
test rcx, rcx
je 0x1400092bb
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x60]
mov qword [rsp + 0x70], rbx
test rcx, rcx
je 0x1400092cf
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x78]
mov qword [rbp - 0x60], rbx
test rcx, rcx
je 0x1400092e3
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x58]
mov qword [rsp + 0x78], rbx
test rcx, rcx
je 0x1400092f7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x50]
mov qword [rbp - 0x58], rbx
test rcx, rcx
je 0x14000930a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, r15d
mov rcx, qword [rbp + 0x5f0]
xor rcx, rsp
call fcn.14003ee60
mov rbx, qword [rsp + 0x748]
add rsp, 0x700
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret