Function at 0x140032370
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1400922d0]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rcx
cmp edx, 0xffffde33
je 0x1400324f0
cmp edx, 0xffffde44
je 0x1400323b4
mov eax, 0x80004001
jmp 0x1400325fe
xor edi, edi
cmp qword [rcx + 0x5b8], rdi
je 0x1400324e6
mov eax, 0x2008
cmp word [r8], ax
jne 0x1400324f7
mov rdx, qword [r8 + 8]
lea rcx, [rbp - 0x28]
mov qword [rbp - 0x28], rdi
call fcn.14003906c
call fcn.140002950
mov rcx, rax
test rax, rax
je 0x14003261f
mov rax, qword [rax]
call qword [rax + 0x18]
mov rcx, qword [rbx + 0x5b8]
add rax, 0x18
mov qword [rbp - 0x30], rax
mov rax, qword [rcx]
call qword [rax + 0x78]
mov rcx, qword [rbx + 0x5b8]
lea rdx, [rbp - 0x30]
xor r8d, r8d
mov r9, qword [rcx]
test al, al
je 0x14003242d
call qword [r9 + 0x80]
jmp 0x140032431
call qword [r9 + 0x48]
mov esi, eax
test eax, eax
js 0x140032498
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
call fcn.140039504
mov esi, eax
test eax, eax
js 0x140032498
mov rdx, qword [rbp - 0x30]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x14003246e
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rbp - 0x28]
mov eax, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x140032518
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140032518
mov rdx, qword [rbp - 0x30]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x1400324bc
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rbp - 0x28]
mov eax, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x1400325fc
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400325fc
mov eax, 0x80004005
jmp 0x1400325fe
cmp word [r8], 0xb
je 0x140032501
mov eax, 0x80070057
jmp 0x1400325fe
xor edi, edi
cmp word [r8 + 8], di
mov r14d, edi
setne r14b
cmp r14d, dword [0x140092f70]
jne 0x14003251f
xor eax, eax
jmp 0x1400325fe
mov rdx, qword [rcx + 0x80]
lea r8, str.General
lea rcx, [rbp - 0x10]
mov qword [rbp - 0x20], rdi
xor r9d, r9d
mov qword [rbp - 0x10], rdi
call fcn.140028408
mov r8, qword [rbp - 0x10]
lea rcx, [rbp - 0x20]
mov r9d, 0x2001f
mov rdx, 0xffffffff80000001
call fcn.140004698
mov esi, eax
test eax, eax
js 0x1400325c9
mov rbx, qword [rbp - 0x20]
mov dword [rbp - 0x18], r14d
test rbx, rbx
jne 0x140032575
mov esi, 0x8000ffff
jmp 0x1400325c9
mov r9d, 4
lea rax, [rbp - 0x18]
mov dword [rsp + 0x28], r9d
lea rdx, str.IsPerMonitorAware
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
movzx esi, ax
mov rcx, rbx
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, dword [0x140092f70]
test esi, esi
cmovns eax, r14d
mov dword [0x140092f70], eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x20], rdi
mov rdx, qword [rbp - 0x10]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x1400325ed
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1400325fc
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140001020
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov ecx, 0x80004005
call fcn.1400327c0
int3