Function at 0x1400e4de0
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 [0x140300040]
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 0x1400e4e2c
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 0x1400e4ebe
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x1400e4e69
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp + 7], r12
lea rax, [rbp + 0xf]
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 0x1400e4ebe
mov eax, 0x331203
mov dword [r15], eax
xor bl, bl
jmp 0x1400e50f7
call fcn.14002dc40
mov dword [rbp - 0x35], eax
lea rax, [rbp - 0x31]
mov qword [rbp - 0x19], rax
mov rcx, qword [rsi + 8]
sub rcx, 0x18
call fcn.140019180
add rax, 0x18
mov qword [rbp - 0x31], rax
mov r9d, InitCommonControls
mov r8, r14
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 1]
call fcn.1400e54f0
nop
mov ebx, 1
mov dword [rbp - 0x39], ebx
mov rdi, qword [rax]
cmp qword [rbp + 7], 0
je 0x1400e504b
test rdi, rdi
je 0x1400e504b
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, [0x1402a0e04]
mov rcx, qword [rbp + 7]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400e504b
lea rax, [rbp - 0x29]
mov qword [rbp - 0x19], rax
mov rcx, qword [rsi + 0x10]
sub rcx, 0x18
call fcn.140019180
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.1400e54f0
nop
mov ebx, 3
mov dword [rbp - 0x39], ebx
mov rdi, qword [rax]
cmp qword [rbp + 7], 0
je 0x1400e504b
test rdi, rdi
je 0x1400e504b
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, [0x1402a1ff0]
mov rcx, qword [rbp + 7]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400e504b
lea rax, [rbp - 0x21]
mov qword [rbp - 0x19], rax
mov rcx, qword [rsi]
sub rcx, 0x18
call fcn.140019180
add rax, 0x18
mov qword [rbp - 0x21], rax
lea r9d, [rbx + 1]
lea r8, [rbp - 0x35]
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x11]
call fcn.1400e54f0
nop
mov ebx, 7
mov dword [rbp - 0x39], ebx
mov rdi, qword [rax]
cmp qword [rbp + 7], 0
je 0x1400e504b
test rdi, rdi
je 0x1400e504b
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, [0x1402a1ff4]
mov rcx, qword [rbp + 7]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400e504b
xor sil, sil
jmp 0x1400e504e
mov sil, 1
mov edi, 0xffffffff
test bl, 4
je 0x1400e5085
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 0x1400e5082
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
mov ebx, dword [rbp - 0x39]
test bl, 2
je 0x1400e50b7
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 0x1400e50b4
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
mov ebx, dword [rbp - 0x39]
test bl, 1
je 0x1400e50e4
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 0x1400e50e4
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038ca6.0]
test sil, sil
je 0x1400e50f5
mov eax, 0x331204
mov dword [r15], eax
xor bl, bl
jmp 0x1400e50f7
mov bl, 1
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x1400e5106
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.1401f74b0
add rsp, 0xb0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret