Function at 0x1400ef470
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x1401c7808]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r15d, r9d
mov r14d, r8d
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x60], rcx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
movzx eax, byte [rbp + 0x1e0]
mov dword [rsp + 0x60], eax
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x70]
call fcn.14012f310
lea edx, [r12 + 1]
lea rcx, [rbp + 0x70]
call fcn.140018940
nop
lea rdx, [0x140162858]
lea rcx, [rbp + 0x80]
call fcn.1400154f0
mov rcx, rax
mov edx, r14d
call fcn.140062e80
mov rcx, rax
lea rdx, [0x140168840]
call fcn.1400154f0
mov rcx, rax
mov edx, r15d
call fcn.140062e80
mov rcx, rax
lea rdx, str.HIPM
call fcn.1400154f0
nop
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r12w
mov dword [rsp + 0x30], 4
mov rcx, qword [rbp + 0xf8]
test cl, 2
jne 0x1400ef57c
mov rax, qword [rbp + 0xc8]
mov r8, qword [rax]
test r8, r8
je 0x1400ef57c
mov rax, qword [rbp + 0xa8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0xf0]
cmovb r8, qword [rbp + 0xf0]
sub r8, rdx
jmp 0x1400ef5ad
test cl, 4
jne 0x1400ef5bb
mov rax, qword [rbp + 0xc0]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400ef5bb
mov rax, qword [rbp + 0xa0]
mov rdx, qword [rax]
mov rax, qword [rbp + 0xd8]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, rcx
sar r8, 1
lea rcx, [rsp + 0x38]
call fcn.140012c70
nop
lea r8, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae r8, qword [rsp + 0x38]
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor edx, edx
lea r9d, [rdx + 4]
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov esi, eax
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x1400ef631
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ef62c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ef87d
call fcn.14013b860
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x70]
call fcn.14012f310
mov edx, 1
lea rcx, [rsp + 0x70]
call fcn.140018940
nop
lea rdx, [0x140162858]
lea rcx, [rbp - 0x80]
call fcn.1400154f0
mov rcx, rax
mov edx, r14d
call fcn.140062e80
mov rcx, rax
lea rdx, [0x140168840]
call fcn.1400154f0
mov rcx, rax
mov edx, r15d
call fcn.140062e80
mov rcx, rax
lea rdx, str.DIPM
call fcn.1400154f0
nop
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r12w
mov dword [rsp + 0x30], 0x12
mov rcx, qword [rbp - 8]
test cl, 2
jne 0x1400ef6de
mov rax, qword [rbp - 0x38]
mov r8, qword [rax]
test r8, r8
je 0x1400ef6de
mov rax, qword [rbp - 0x58]
mov rdx, qword [rax]
cmp r8, qword [rbp - 0x10]
cmovb r8, qword [rbp - 0x10]
sub r8, rdx
jmp 0x1400ef706
test cl, 4
jne 0x1400ef714
mov rax, qword [rbp - 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400ef714
mov rax, qword [rbp - 0x60]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x28]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, rcx
sar r8, 1
lea rcx, [rsp + 0x38]
call fcn.140012c70
nop
lea r8, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae r8, qword [rsp + 0x38]
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor edx, edx
lea r9d, [rdx + 4]
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov edi, eax
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x1400ef78a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ef785
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ef877
call fcn.14013b860
test esi, esi
je 0x1400ef7e0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x38]
call sym.RstMwService.exe_public:_void___cdecl_CConsolidatedError::constructor_void____ptr64
nop
lea r9, str.Hipm_registry_set_failed
mov r8d, esi
mov edx, 1
lea rcx, [rsp + 0x38]
call sym.RstMwService.exe_public:_void___cdecl_CConsolidatedError::SetError_enum_CConsolidatedError::ISDI2_ERROR_TYPE__unsigned_long_int__char_const____ptr64____ptr64
lea rdx, [rsp + 0x38]
mov rcx, rbx
call sym.RstMwService.exe_public:_void___cdecl_CConsolidatedError::constructor_class_CConsolidatedError_const____ptr64____ptr64
nop
lea rcx, [rsp + 0x38]
call sym.RstMwService.exe_public:_void___cdecl_CConsolidatedError::destructor_void____ptr64
jmp 0x1400ef83f
test edi, edi
je 0x1400ef836
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x38]
call sym.RstMwService.exe_public:_void___cdecl_CConsolidatedError::constructor_void____ptr64
nop
lea r9, str.Dipm_registry_set_failed
mov r8d, edi
mov edx, 1
lea rcx, [rsp + 0x38]
call sym.RstMwService.exe_public:_void___cdecl_CConsolidatedError::SetError_enum_CConsolidatedError::ISDI2_ERROR_TYPE__unsigned_long_int__char_const____ptr64____ptr64
lea rdx, [rsp + 0x38]
mov rcx, rbx
call sym.RstMwService.exe_public:_void___cdecl_CConsolidatedError::constructor_class_CConsolidatedError_const____ptr64____ptr64
nop
lea rcx, [rsp + 0x38]
call sym.RstMwService.exe_public:_void___cdecl_CConsolidatedError::destructor_void____ptr64
jmp 0x1400ef83f
mov rcx, rbx
call sym.RstMwService.exe_public:_void___cdecl_CConsolidatedError::constructor_void____ptr64
nop
lea rcx, [rsp + 0x70]
call fcn.140017d70
nop
lea rcx, [rbp + 0x70]
call fcn.140017d70
mov rax, rbx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14013b830
add rsp, 0x280
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140107b20
nop
call fcn.140107b20
int3