Function at 0x1400b2c70
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 [0x140186768]
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.1400ec650
lea edx, [r12 + 1]
lea rcx, [rbp + 0x70]
call fcn.14001a6d0
nop
lea rdx, [0x140137f68]
lea rcx, [rbp + 0x80]
call fcn.140016ed0
mov rcx, rax
mov edx, r14d
call fcn.140064300
mov rcx, rax
lea rdx, [0x140137f60]
call fcn.140016ed0
mov rcx, rax
mov edx, r15d
call fcn.140064300
mov rcx, rax
lea rdx, str.HIPM
call fcn.140016ed0
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 0x1400b2d7c
mov rax, qword [rbp + 0xc8]
mov r8, qword [rax]
test r8, r8
je 0x1400b2d7c
mov rax, qword [rbp + 0xa8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0xf0]
cmovb r8, qword [rbp + 0xf0]
sub r8, rdx
jmp 0x1400b2dad
test cl, 4
jne 0x1400b2dbb
mov rax, qword [rbp + 0xc0]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400b2dbb
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.140009900
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 0x1400b2e31
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b2e2c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b307d
call fcn.1400e9cd4
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x70]
call fcn.1400ec650
mov edx, 1
lea rcx, [rsp + 0x70]
call fcn.14001a6d0
nop
lea rdx, [0x140137f68]
lea rcx, [rbp - 0x80]
call fcn.140016ed0
mov rcx, rax
mov edx, r14d
call fcn.140064300
mov rcx, rax
lea rdx, [0x140137f60]
call fcn.140016ed0
mov rcx, rax
mov edx, r15d
call fcn.140064300
mov rcx, rax
lea rdx, str.DIPM
call fcn.140016ed0
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 0x1400b2ede
mov rax, qword [rbp - 0x38]
mov r8, qword [rax]
test r8, r8
je 0x1400b2ede
mov rax, qword [rbp - 0x58]
mov rdx, qword [rax]
cmp r8, qword [rbp - 0x10]
cmovb r8, qword [rbp - 0x10]
sub r8, rdx
jmp 0x1400b2f06
test cl, 4
jne 0x1400b2f14
mov rax, qword [rbp - 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400b2f14
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.140009900
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 0x1400b2f8a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b2f85
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b3077
call fcn.1400e9cd4
test esi, esi
je 0x1400b2fe0
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.HfcDisableService.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.HfcDisableService.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.HfcDisableService.exe_public:_void___cdecl_CConsolidatedError::constructor_class_CConsolidatedError_const____ptr64____ptr64
nop
lea rcx, [rsp + 0x38]
call sym.HfcDisableService.exe_public:_void___cdecl_CConsolidatedError::destructor_void____ptr64
jmp 0x1400b303f
test edi, edi
je 0x1400b3036
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.HfcDisableService.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.HfcDisableService.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.HfcDisableService.exe_public:_void___cdecl_CConsolidatedError::constructor_class_CConsolidatedError_const____ptr64____ptr64
nop
lea rcx, [rsp + 0x38]
call sym.HfcDisableService.exe_public:_void___cdecl_CConsolidatedError::destructor_void____ptr64
jmp 0x1400b303f
mov rcx, rbx
call sym.HfcDisableService.exe_public:_void___cdecl_CConsolidatedError::constructor_void____ptr64
nop
lea rcx, [rsp + 0x70]
call fcn.1400195a0
nop
lea rcx, [rbp + 0x70]
call fcn.1400195a0
mov rax, rbx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400e9cb0
add rsp, 0x280
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1400f8ad4
nop
call fcn.1400f8ad4
int3