Function at 0x1400ea730
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 [0x1401b6838]
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.140123210
lea edx, [r12 + 3]
lea r8d, [r12 + 1]
lea rcx, [rbp + 0x70]
call fcn.140017df0
nop
lea rdx, [0x140153588]
lea rcx, [rbp + 0x80]
call fcn.140014a00
mov rcx, rax
mov edx, r14d
call fcn.140061980
mov rcx, rax
lea rdx, [0x1401597f0]
call fcn.140014a00
mov rcx, rax
mov edx, r15d
call fcn.140061980
mov rcx, rax
lea rdx, str.HIPM
call fcn.140014a00
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 0x1400ea841
mov rax, qword [rbp + 0xc8]
mov r8, qword [rax]
test r8, r8
je 0x1400ea841
mov rax, qword [rbp + 0xa8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0xf0]
cmovb r8, qword [rbp + 0xf0]
sub r8, rdx
jmp 0x1400ea872
test cl, 4
jne 0x1400ea880
mov rax, qword [rbp + 0xc0]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400ea880
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.140011c50
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 0x1400ea8f6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ea8f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400eab46
call fcn.14012e940
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x70]
call fcn.140123210
mov edx, 3
lea r8d, [rdx - 2]
lea rcx, [rsp + 0x70]
call fcn.140017df0
nop
lea rdx, [0x140153588]
lea rcx, [rbp - 0x80]
call fcn.140014a00
mov rcx, rax
mov edx, r14d
call fcn.140061980
mov rcx, rax
lea rdx, [0x1401597f0]
call fcn.140014a00
mov rcx, rax
mov edx, r15d
call fcn.140061980
mov rcx, rax
lea rdx, str.DIPM
call fcn.140014a00
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 0x1400ea9a7
mov rax, qword [rbp - 0x38]
mov r8, qword [rax]
test r8, r8
je 0x1400ea9a7
mov rax, qword [rbp - 0x58]
mov rdx, qword [rax]
cmp r8, qword [rbp - 0x10]
cmovb r8, qword [rbp - 0x10]
sub r8, rdx
jmp 0x1400ea9cf
test cl, 4
jne 0x1400ea9dd
mov rax, qword [rbp - 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400ea9dd
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.140011c50
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 0x1400eaa53
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400eaa4e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400eab40
call fcn.14012e940
test esi, esi
je 0x1400eaaa9
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 0x1400eab08
test edi, edi
je 0x1400eaaff
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 0x1400eab08
mov rcx, rbx
call sym.RstMwService.exe_public:_void___cdecl_CConsolidatedError::constructor_void____ptr64
nop
lea rcx, [rsp + 0x70]
call fcn.1400172c0
nop
lea rcx, [rbp + 0x70]
call fcn.1400172c0
mov rax, rbx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14012e910
add rsp, 0x280
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1400fec40
nop
call fcn.1400fec40
int3