Function at 0x140052bb0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rcx, qword [0x140149a18]
mov rdi, rdx
or edx, 0xffffffff
mov r14d, r9d
mov r15, r8
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ebx, ebx
mov dword [rbp + 0x17], 0x200
mov qword [rbp + 7], rbx
xorps xmm0, xmm0
mov qword [rbp - 0x29], rbx
mov esi, ebx
mov qword [rbp - 0x21], rbx
mov r12d, ebx
mov qword [rbp - 1], rbx
mov dword [rbp - 0x19], 0x200
mov qword [rbp + 0xf], rbx
mov qword [rbp + 0x2f], rbx
movdqu xmmword [rbp + 0x1f], xmm0
movdqu xmmword [rbp - 0x11], xmm0
test rdi, rdi
je 0x140052c53
or rax, 0xffffffffffffffff
inc rax
cmp byte [rdi + rax], bl
jne 0x140052c31
test eax, eax
je 0x140052c53
lea r8, [rbp + 7]
mov edx, eax
mov rcx, rdi
call fcn.140054f70
mov r12d, dword [rbp + 0xf]
mov rsi, qword [rbp + 7]
lea r8, [rbp - 0x29]
mov edx, r14d
mov rcx, r15
call fcn.140054c40
mov rdi, qword [rbp - 0x29]
mov r14d, dword [rbp - 0x21]
test rdi, rdi
je 0x140052c77
mov r15, rdi
test r14d, r14d
jg 0x140052c7a
mov r15, rbx
mov rcx, qword [0x140149a18]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x140149a10]
test eax, eax
jne 0x140052cea
mov rax, qword [0x140149a28]
test rax, rax
je 0x140052d4a
test rsi, rsi
je 0x140052cb1
mov r8, rsi
test r12d, r12d
jg 0x140052cb4
mov r8, rbx
mov rdx, qword [rax]
test rdx, rdx
je 0x140052cc1
cmp dword [rax + 8], ebx
jg 0x140052cc4
mov rdx, rbx
mov dword [rsp + 0x28], r14d
mov rcx, 0xffffffff80000001
mov r9d, 1
mov qword [rsp + 0x20], r15
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
test eax, eax
jne 0x140052d4a
lea ebx, [rax + 1]
jmp 0x140052d4a
cmp eax, 1
jne 0x140052d4a
mov rax, qword [0x140149a20]
test rax, rax
je 0x140052d4a
mov rcx, qword [0x140149a28]
mov r9, qword [rcx]
test r9, r9
je 0x140052d0f
cmp dword [rcx + 8], ebx
jg 0x140052d12
mov r9, rbx
test rdi, rdi
je 0x140052d1f
mov r8, rdi
test r14d, r14d
jg 0x140052d22
mov r8, rbx
test rsi, rsi
je 0x140052d2f
mov rdx, rsi
test r12d, r12d
jg 0x140052d32
mov rdx, rbx
mov rcx, qword [rax]
test rcx, rcx
je 0x140052d3f
cmp dword [rax + 8], ebx
jg 0x140052d42
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ebx, eax
mov rcx, qword [0x140149a18]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
test rdi, rdi
je 0x140052d65
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x140052d74
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x140052d83
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rsi, rsi
je 0x140052d91
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
je 0x140052da0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp + 0x27]
test rcx, rcx
je 0x140052daf
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret