Function at 0x1400e3f70
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 [0x1401b3838]
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.140121c70
lea edx, [r12 + 3]
lea r8d, [r12 + 1]
lea rcx, [rbp + 0x70]
call fcn.140017d60
nop
lea rdx, [0x140150fb8]
lea rcx, [rbp + 0x80]
call fcn.140014970
mov rcx, rax
mov edx, r14d
call fcn.14005c4a0
mov rcx, rax
lea rdx, [0x1401574b0]
call fcn.140014970
mov rcx, rax
mov edx, r15d
call fcn.14005c4a0
mov rcx, rax
lea rdx, str.HIPM
call fcn.140014970
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 0x1400e4081
mov rax, qword [rbp + 0xc8]
mov r8, qword [rax]
test r8, r8
je 0x1400e4081
mov rax, qword [rbp + 0xa8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0xf0]
cmovb r8, qword [rbp + 0xf0]
sub r8, rdx
jmp 0x1400e40b2
test cl, 4
jne 0x1400e40c0
mov rax, qword [rbp + 0xc0]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400e40c0
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.140011bc0
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 0x1400e4136
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e4131
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e4386
call fcn.14012d3b0
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x70]
call fcn.140121c70
mov edx, 3
lea r8d, [rdx - 2]
lea rcx, [rsp + 0x70]
call fcn.140017d60
nop
lea rdx, [0x140150fb8]
lea rcx, [rbp - 0x80]
call fcn.140014970
mov rcx, rax
mov edx, r14d
call fcn.14005c4a0
mov rcx, rax
lea rdx, [0x1401574b0]
call fcn.140014970
mov rcx, rax
mov edx, r15d
call fcn.14005c4a0
mov rcx, rax
lea rdx, str.DIPM
call fcn.140014970
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 0x1400e41e7
mov rax, qword [rbp - 0x38]
mov r8, qword [rax]
test r8, r8
je 0x1400e41e7
mov rax, qword [rbp - 0x58]
mov rdx, qword [rax]
cmp r8, qword [rbp - 0x10]
cmovb r8, qword [rbp - 0x10]
sub r8, rdx
jmp 0x1400e420f
test cl, 4
jne 0x1400e421d
mov rax, qword [rbp - 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400e421d
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.140011bc0
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 0x1400e4293
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e428e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e4380
call fcn.14012d3b0
test esi, esi
je 0x1400e42e9
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 0x1400e4348
test edi, edi
je 0x1400e433f
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 0x1400e4348
mov rcx, rbx
call sym.RstMwService.exe_public:_void___cdecl_CConsolidatedError::constructor_void____ptr64
nop
lea rcx, [rsp + 0x70]
call fcn.140017230
nop
lea rcx, [rbp + 0x70]
call fcn.140017230
mov rax, rbx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14012d380
add rsp, 0x280
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1400fd3f0
nop
call fcn.1400fd3f0
int3