Function at 0x140077af0
Capabilities:
Set registry value

Disassembly:
push rbp
lea rbp, [rsp - 0x20]
sub rsp, 0x120
lea rcx, [0x14018e4e8]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140077b1b
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x14018e534], 0x7fffffff
jne 0x140077b3d
mov ecx, 6
mov dword [0x14018e534], 0x7ffffffe
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov qword [rsp + 0x108], r12
lea rdx, [0x14018e4d0]
lea rcx, [rbp - 0x30]
mov qword [rsp + 0xf8], r14
call fcn.140081c00
lea rcx, [0x14018e4e8]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov r12, qword [rbp - 0x28]
mov r14, qword [rbp - 0x30]
mov qword [rbp + 0x38], r12
cmp r14, r12
je 0x140077e44
mov qword [rsp + 0x140], rbx
mov qword [rsp + 0x118], rsi
mov qword [rsp + 0x110], rdi
mov qword [rsp + 0x100], r13
xor r13d, r13d
mov qword [rsp + 0xf0], r15
nop word [rax + rax]
mov rdx, qword [r14]
mov rcx, qword [0x14018f4a8]
add rdx, 0x5e0
call fcn.140082270
mov rcx, qword [0x14018f4a8]
lea rdx, [rax + 0x280]
call fcn.140082270
mov rcx, qword [0x14018f4a8]
lea rdx, [rax + 0x78]
call fcn.140082270
mov rcx, qword [0x14018f4a8]
mov rbx, rax
lea rdx, [rax + 0x10]
call fcn.140082270
mov rcx, qword [0x14018f4a8]
lea rdx, [rbx + 0x18]
mov r15, rax
call fcn.1400823f0
mov esi, eax
mov edi, r13d
test eax, eax
je 0x140077e0c
movabs r12, 0x9117321122125032
nop word [rax + rax]
mov rcx, qword [0x14018f4a8]
lea edx, [rdi*8]
add rdx, 0x20
add rdx, r15
call fcn.140082270
test rax, rax
je 0x140077dfe
mov rcx, qword [0x14018f4a8]
lea rdx, [rax + 0x10]
call fcn.140082270
test rax, rax
je 0x140077dfe
mov rcx, qword [0x14018f4a8]
add rax, 0x148
mov qword [rsp + 0x30], rax
lea rdx, [rcx + 8]
xorps xmm0, xmm0
mov qword [rsp + 0x38], 0x20
movups xmmword [rbp - 0x50], xmm0
lea rax, [rbp - 0x50]
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], rax
movups xmm1, xmmword [rsp + 0x40]
mov dword [rsp + 0x50], r13d
movups xmmword [rbp - 0x40], xmm0
cmp qword [rdx + 0x18], 0xf
mov rax, qword [rcx + 0x28]
movups xmm0, xmmword [rsp + 0x30]
mov qword [rsp + 0x60], rax
mov rax, qword [0x14018ee50]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x30]
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x60], rax
movsd xmm0, qword [rsp + 0x50]
mov qword [rsp + 0x70], r12
movups xmmword [rbp - 0x78], xmm1
movsd qword [rbp - 0x68], xmm0
jbe 0x140077cf4
mov rdx, qword [rdx]
mov rcx, qword [rcx]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], 0x48
mov r9d, 3
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp - 0x40]
lea rax, [rcx - 1]
cmp rax, 4
ja 0x140077dfe
mov ebx, r13d
test rcx, rcx
je 0x140077dfe
nop word [rax + rax]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x38], 4
mov qword [rsp + 0x40], rax
lea ecx, [rbx*4]
add rcx, qword [rbp - 0x50]
mov qword [rsp + 0x30], rcx
mov rcx, qword [0x14018f4a8]
cmp qword [rcx + 0x20], 0xf
lea rdx, [rcx + 8]
movups xmm0, xmmword [rsp + 0x30]
mov qword [rsp + 0x48], r13
mov rax, qword [rcx + 0x28]
movups xmm1, xmmword [rsp + 0x40]
mov qword [rsp + 0x60], rax
mov rax, qword [0x14018ee50]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x30]
mov dword [rsp + 0x50], 2
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x60], rax
movsd xmm0, qword [rsp + 0x50]
mov dword [rbp + 0x30], 0x8d754
mov qword [rsp + 0x70], r12
movups xmmword [rbp - 0x78], xmm1
movsd qword [rbp - 0x68], xmm0
jbe 0x140077dcc
mov rdx, qword [rdx]
mov rcx, qword [rcx]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], 0x48
mov r9d, 3
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
inc ebx
mov eax, ebx
cmp rax, qword [rbp - 0x40]
jb 0x140077d40
inc edi
cmp edi, esi
jb 0x140077c30
mov r12, qword [rbp + 0x38]
add r14, 0x100
cmp r14, r12
jne 0x140077bb0
mov r15, qword [rsp + 0xf0]
mov r13, qword [rsp + 0x100]
mov rdi, qword [rsp + 0x110]
mov rsi, qword [rsp + 0x118]
mov rbx, qword [rsp + 0x140]
lea rcx, [rbp - 0x30]
call fcn.140081b90
mov r14, qword [rsp + 0xf8]
mov r12, qword [rsp + 0x108]
add rsp, 0x120
pop rbp
ret