Function at 0x1400e29f0
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xb0
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r15, r8
mov r14, rdx
mov rsi, rcx
xor r12d, r12d
mov dword [rbp - 0x39], r12d
mov qword [rbp + 7], r12
mov qword [rbp + 7], r12
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x1400e2a3c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp + 7], r12
lea rax, [rbp + 7]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
lea rdx, str.SOFTWAREBandizipl
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400e2ace
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x1400e2a79
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp + 7], r12
lea rax, [rbp + 0x13]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 7]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SOFTWAREBandizipl
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x1400e2ace
mov eax, 0x331203
mov dword [r15], eax
xor bl, bl
jmp 0x1400e2d07
call fcn.14002db30
mov dword [rbp + 0xf], eax
lea rax, [rbp - 0x31]
mov qword [rbp - 0x19], rax
mov rcx, qword [rsi + 8]
sub rcx, 0x18
call fcn.1400191a0
add rax, 0x18
mov qword [rbp - 0x31], rax
mov r9d, InitCommonControls
mov r8, r14
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 1]
call fcn.1400e3100
nop
mov ebx, 1
mov dword [rbp - 0x39], ebx
mov rdi, qword [rax]
cmp qword [rbp + 7], 0
je 0x1400e2c5b
test rdi, rdi
je 0x1400e2c5b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov r9d, ebx
xor r8d, r8d
lea rdx, [0x14029b384]
mov rcx, qword [rbp + 7]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400e2c5b
lea rax, [rbp - 0x29]
mov qword [rbp - 0x19], rax
mov rcx, qword [rsi + 0x10]
sub rcx, 0x18
call fcn.1400191a0
add rax, 0x18
mov qword [rbp - 0x29], rax
lea r9d, [rbx + 0xf]
mov r8, r14
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 9]
call fcn.1400e3100
nop
mov ebx, 3
mov dword [rbp - 0x39], ebx
mov rdi, qword [rax]
cmp qword [rbp + 7], 0
je 0x1400e2c5b
test rdi, rdi
je 0x1400e2c5b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
lea r9d, [rbx - 2]
xor r8d, r8d
lea rdx, [0x14029c550]
mov rcx, qword [rbp + 7]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400e2c5b
lea rax, [rbp - 0x21]
mov qword [rbp - 0x19], rax
mov rcx, qword [rsi]
sub rcx, 0x18
call fcn.1400191a0
add rax, 0x18
mov qword [rbp - 0x21], rax
lea r9d, [rbx + 1]
lea r8, [rbp + 0xf]
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x11]
call fcn.1400e3100
nop
mov ebx, 7
mov dword [rbp - 0x39], ebx
mov rdi, qword [rax]
cmp qword [rbp + 7], 0
je 0x1400e2c5b
test rdi, rdi
je 0x1400e2c5b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
lea r9d, [rbx - 6]
xor r8d, r8d
lea rdx, [0x14029c554]
mov rcx, qword [rbp + 7]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400e2c5b
xor sil, sil
jmp 0x1400e2c5e
mov sil, 1
mov edi, 0xffffffff
test bl, 4
je 0x1400e2c95
and ebx, 0xfffffffb
mov dword [rbp - 0x39], ebx
mov rdx, qword [rbp - 0x11]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400e2c92
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
mov ebx, dword [rbp - 0x39]
test bl, 2
je 0x1400e2cc7
and ebx, 0xfffffffd
mov dword [rbp - 0x39], ebx
mov rdx, qword [rbp - 9]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400e2cc4
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
mov ebx, dword [rbp - 0x39]
test bl, 1
je 0x1400e2cf4
and ebx, 0xfffffffe
mov dword [rbp - 0x39], ebx
mov rdx, qword [rbp - 1]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400e2cf4
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
test sil, sil
je 0x1400e2d05
mov eax, 0x331204
mov dword [r15], eax
xor bl, bl
jmp 0x1400e2d07
mov bl, 1
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x1400e2d16
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
mov qword [rbp + 7], r12
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1401f3bf0
add rsp, 0xb0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret