Function at 0x1400b4f90
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rbp
push rdi
push r12
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rdi, rdx
mov rsi, rcx
mov eax, dword [rcx + 0x490]
mov dword [rbp + 0x20], eax
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x20]
mov qword [r11 - 0x68], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x140108208]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r11d, dword [rsi + 0x494]
mov dword [rbp + 0x20], r11d
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x140108228]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rbx, [rsi + 0x220]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
lea rdx, [0x140108248]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r11d, dword [rsi + 0x448]
mov dword [rbp + 0x20], r11d
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x140108270]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r11d, dword [rsi + 0x44c]
mov dword [rbp + 0x20], r11d
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x140108298]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r11d, dword [rsi + 0x450]
mov dword [rbp + 0x20], r11d
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x1401082c8]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r11d, dword [rsi + 0x454]
mov dword [rbp + 0x20], r11d
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x1401082e8]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r11d, dword [rsi + 0x458]
mov dword [rbp + 0x20], r11d
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x1401082f8]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r11d, dword [rsi + 0x45c]
mov dword [rbp + 0x20], r11d
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x140108308]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r11d, dword [rsi + 0x460]
mov dword [rbp + 0x20], r11d
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x140108320]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea r8, [rsi + 0x428]
lea rdx, [0x140108330]
mov rcx, rdi
call fcn.14008f430
xor r12d, r12d
mov qword [rbp - 0x30], r12
lea ecx, [r12 + 0x38]
call fcn.14004b164
test rax, rax
je 0x1400b52de
mov qword [rbp - 0x38], rax
mov qword [rax], rax
mov qword [rax + 8], rax
lea rdx, [rbp - 0x38]
mov rcx, qword [rsi + 0x440]
call fcn.1400195b0
lea r8, [rbp - 0x38]
lea rdx, [0x140108348]
mov rcx, rdi
call fcn.14008f430
mov r11d, dword [rsi + 0x488]
mov dword [rbp + 0x20], r11d
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
lea r9d, [r12 + 4]
xor r8d, r8d
lea rdx, [0x140108358]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r11d, dword [rsi + 0x48c]
mov dword [rbp + 0x20], r11d
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
lea r9d, [r12 + 4]
xor r8d, r8d
lea rdx, [0x140108370]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
mov rsi, qword [rbp - 0x38]
mov rbx, qword [rsi]
mov qword [rsi], rsi
mov qword [rsi + 8], rsi
cmp rbx, rsi
je 0x1400b52d4
nop dword [rax]
mov rdi, qword [rbx]
cmp qword [rbx + 0x28], 8
jb 0x1400b52b3
mov rcx, qword [rbx + 0x10]
call fcn.14004b088
mov qword [rbx + 0x28], 7
mov qword [rbx + 0x20], r12
mov word [rbx + 0x10], r12w
mov rcx, rbx
call fcn.14004b088
mov rbx, rdi
cmp rdi, rsi
jne 0x1400b52a0
mov rcx, rsi
call fcn.14004b088
jmp 0x1400b530b
mov qword [rbp + 0x20], r12
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x20]
call fcn.14004b2d4
lea r11, vtable.std::bad_alloc.0
mov qword [rbp - 0x20], r11
lea rdx, [0x140132320]
lea rcx, [rbp - 0x20]
call fcn.14004d894
int3
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret