Function at 0x14015d360
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov r12, r8
mov rdi, rdx
mov r14, rcx
xor r13d, r13d
cmp qword [rcx + 0xf8], r13
je 0x14015db3f
mov rbx, qword [rcx + 0xf0]
mov rcx, rbx
call fcn.14015b940
test rax, rax
je 0x14015db3f
cmp byte [rbx + 0x28], r13b
jne 0x14015db3f
mov rcx, rbx
call fcn.14015b940
test rax, rax
je 0x14015db3f
mov rcx, qword [rdi]
mov qword [rsp + 0x68], rcx
mov rax, qword [rdi + 8]
mov qword [rsp + 0x70], rax
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x78], rax
test rcx, rcx
je 0x14015d3f2
lock inc dword [rcx]
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x68]
mov qword [rbp - 0x80], rax
test rcx, rcx
je 0x14015d407
mov eax, dword [rcx]
cmp eax, 1
jle 0x14015d41c
mov r8d, 1
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x68]
call fcn.140090940
mov r8, qword [rsp + 0x70]
movsxd rdx, dword [rsp + 0x78]
mov r10d, 0x5c
test rdx, rdx
jle 0x14015d45b
mov rax, r13
movzx ecx, word [r8 + rax*2]
cmp cx, r10w
jne 0x14015d448
mov word [r8 + rax*2], 0x2f
jmp 0x14015d453
cmp cx, 0x2f
jne 0x14015d453
mov word [r8 + rax*2], r10w
inc rax
cmp rax, rdx
jl 0x14015d434
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rbp - 0x60], xmm0
movsd xmm1, qword [rsp + 0x78]
movsd qword [rbp - 0x50], xmm1
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r13
mov edi, dword [r14 + 0x104]
mov rsi, 0xffffffffffffffff
lea r9d, [rsi + 2]
mov r8, rsi
movzx edx, r10w
lea rcx, [rbp - 0x60]
call fcn.14008f060
nop
cmp eax, esi
jne 0x14015d4b2
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r13
jmp 0x14015d4c5
inc eax
movsxd r8, eax
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x60]
call fcn.14008f0f0
nop
cmp qword [r14 + 0xf8], 0
je 0x14015d4f6
mov rbx, qword [r14 + 0xf0]
mov rcx, rbx
call fcn.14015b940
test rax, rax
je 0x14015d4f6
cmp byte [rbx + 0x28], 0
jne 0x14015d4f6
mov rcx, rbx
call fcn.14015b940
mov rbx, rax
jmp 0x14015d4f9
mov rbx, r13
mov qword [rbp - 0x80], r13
or edi, 0x2001f
lea rcx, [rbp - 0x48]
call fcn.140094f50
mov rdx, rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, edi
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14015d53d
mov r15, qword [rbp - 0x80]
mov qword [rbp + 0x118], r15
test r15, r15
je 0x14015d544
jmp 0x14015d58b
mov qword [rbp + 0x118], r13
lea rcx, [rbp - 0x48]
call fcn.140094f50
mov rdx, rax
mov qword [rsp + 0x40], r13
lea rax, [rbp + 0x118]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov r15, r13
test eax, eax
cmove r15, qword [rbp + 0x118]
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x14015d5a8
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015d5a8
mov rcx, qword [rbp - 0x48]
call fcn.14021b810
test r15, r15
jne 0x14015d5be
lea edx, [r15 + 1]
mov rcx, r14
call fcn.1400c9960
jmp 0x14015db22
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r13
lea rdx, [rbp + 0x20]
mov rcx, r12
call fcn.1400b3dd0
mov rcx, rax
mov rax, qword [rax]
test rax, rax
je case.0x14015d616.6
mov eax, dword [rax + 0xc]
test eax, eax
jne 0x14015d5f7
mov rcx, qword [rcx]
call fcn.1400e1e20
add eax, 0xfffffffe
cmp eax, 0xa
ja case.0x14015d616.6
cdqe
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0x15db68]
add rcx, rdx
jmp rcx
mov r13d, 7
lea rdx, [rbp - 0x10]
mov rcx, r12
call fcn.1400b6590
nop
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.1400cc290
nop
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14015d67a
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015d67a
mov rdi, qword [rbp]
shl rdi, 5
mov rbx, qword [rbp - 8]
add rdi, rbx
cmp rbx, rdi
je 0x14015d671
mov rcx, rbx
call fcn.1400b1360
add rbx, 0x20
cmp rbx, rdi
jne 0x14015d660
mov rcx, qword [rbp - 0x10]
call fcn.14021b810
mov rbx, qword [rbp - 0x70]
mov rdi, rbx
mov rdx, qword [rbp - 0x68]
lea rax, [rdx + rdx*2]
lea rcx, [rbx + rax*8]
cmp rbx, rcx
je 0x14015d6d6
cmp qword [rdi + 0x10], 0
je 0x14015d7cf
mov r9d, 1
xor r8d, r8d
xor eax, eax
movzx edx, ax
mov rcx, rdi
call fcn.14008e920
cmp rax, 0xffffffffffffffff
jne 0x14015d7cf
add rdi, 0x18
mov rdx, qword [rbp - 0x68]
lea rax, [rdx + rdx*2]
mov rbx, qword [rbp - 0x70]
lea rax, [rbx + rax*8]
cmp rdi, rax
jne 0x14015d692
lea rax, [rdx + rdx*2]
lea rcx, [rbx + rax*8]
cmp rbx, rcx
je 0x14015d758
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rbx + 0x10]
lea rdi, [rax*2 + 2]
mov rcx, rbx
call fcn.140094f50
mov r8, rdi
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.14003d230
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14003de10
nop
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x14015d73f
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015d73f
mov rcx, qword [rbp + 0x40]
call fcn.14021b810
add rbx, 0x18
mov rax, qword [rbp - 0x68]
lea rcx, [rax + rax*2]
mov rax, qword [rbp - 0x70]
lea rcx, [rax + rcx*8]
cmp rbx, rcx
jne 0x14015d6f0
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.14003df00
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.14003df00
nop
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14015da54
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015da54
mov rax, qword [rbp - 0x68]
lea rcx, [rax + rax*2]
mov rbx, qword [rbp - 0x70]
lea rdi, [rbx + rcx*8]
cmp rbx, rdi
je 0x14015d7c6
mov rcx, qword [rbx]
test rcx, rcx
je 0x14015d7bd
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015d7bd
mov rcx, qword [rbx]
call fcn.14021b810
add rbx, 0x18
cmp rbx, rdi
jne 0x14015d7a2
mov rcx, qword [rbp - 0x78]
jmp 0x14015da4f
mov r13d, 3
mov rdx, r12
lea rcx, [rbp + 8]
call fcn.1400cc800
nop
mov rax, qword [rbp + 0x18]
lea r8, [rax + rax]
lea rdx, [0x14024fdc0]
mov rax, qword [rbp + 0x10]
test rax, rax
cmovne rdx, rax
lea rcx, [rbp + 0x28]
call fcn.14003d230
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rax]
mov qword [rsp + 0x50], rcx
mov qword [rax], rdx
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x58], rcx
mov qword [rax + 8], rdx
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x60], rcx
mov qword [rax + 0x10], rdx
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x14015d857
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015d857
mov rcx, qword [rbp + 0x28]
call fcn.14021b810
nop
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x14015d771
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015d771
mov rcx, qword [rbp + 8]
call fcn.14021b810
jmp 0x14015d771
xor edx, edx
lea r13d, [rdx + 4]
mov rcx, r12
call fcn.1400b6190
mov dword [rbp + 0x100], eax
mov r8d, r13d
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x58]
call fcn.14003d230
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rax]
mov qword [rsp + 0x50], rcx
mov qword [rax], rdx
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x58], rcx
mov qword [rax + 8], rdx
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x60], rcx
mov qword [rax + 0x10], rdx
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x14015da54
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015da54
mov rcx, qword [rbp + 0x58]
jmp 0x14015da4f
xor edx, edx
lea r13d, [rdx + 0xb]
mov rcx, r12
call fcn.1400b65b0
mov qword [rbp - 0x30], rax
lea r8d, [r13 - 3]
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x70]
call fcn.14003d230
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rax]
mov qword [rsp + 0x50], rcx
mov qword [rax], rdx
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x58], rcx
mov qword [rax + 8], rdx
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x60], rcx
mov qword [rax + 0x10], rdx
mov rcx, qword [rbp + 0x70]
test rcx, rcx
je 0x14015da54
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015da54
mov rcx, qword [rbp + 0x70]
jmp 0x14015da4f
mov rdx, r12
lea rcx, [rbp - 0x28]
call fcn.1400cc800
nop
mov r9d, 1
xor r8d, r8d
movzx edx, r13w
lea rcx, [rbp - 0x28]
call fcn.14008e920
mov ecx, 1
mov r13d, 3
cmp rax, 0xffffffffffffffff
cmovne ecx, r13d
mov r13d, ecx
mov ecx, dword [rbp - 0x18]
lea edx, [rcx + 1]
cmovne edx, ecx
add edx, edx
movsxd rbx, edx
lea rcx, [rbp - 0x28]
call fcn.140094f50
mov rdx, rax
mov r8, rbx
lea rcx, [rbp + 0x88]
call fcn.14003d230
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rax]
mov qword [rsp + 0x50], rcx
mov qword [rax], rdx
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x58], rcx
mov qword [rax + 8], rdx
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x60], rcx
mov qword [rax + 0x10], rdx
mov rcx, qword [rbp + 0x88]
test rcx, rcx
je 0x14015da37
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015da37
mov rcx, qword [rbp + 0x88]
call fcn.14021b810
nop
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14015da54
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015da54
mov rcx, qword [rbp - 0x28]
call fcn.14021b810
mov ebx, dword [rsp + 0x60]
lea rdi, [0x14024eca0]
mov rax, qword [rsp + 0x58]
test rax, rax
cmovne rdi, rax
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0xa0]
call fcn.14015bda0
nop
mov rcx, rax
call fcn.140094f50
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdi
mov r9d, r13d
xor r8d, r8d
mov rdx, rax
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov rdx, qword [rbp + 0xa0]
test rdx, rdx
je 0x14015dac4
mov ecx, esi
lock xadd dword [rdx], ecx
cmp ecx, 1
jne 0x14015dac4
mov rcx, qword [rbp + 0xa0]
call fcn.14021b810
test ebx, ebx
jne 0x14015dad1
mov byte [r14 + 0x100], bl
jmp 0x14015daf8
lea rcx, [rbp - 0x60]
call fcn.140094f50
mov r8, rax
lea rdx, str.QSettings:_failed_to_set_subkey___ls_
mov ecx, ebx
call fcn.14010c580
mov edx, 1
mov rcx, r14
call fcn.1400c9960
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14015db22
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015db22
mov rcx, qword [rsp + 0x50]
call fcn.14021b810
nop
mov rax, qword [rbp - 0x60]
test rax, rax
je 0x14015db4c
lock xadd dword [rax], esi
cmp esi, 1
jne 0x14015db4c
mov rcx, qword [rbp - 0x60]
call fcn.14021b810
jmp 0x14015db4c
mov edx, 1
mov rcx, r14
call fcn.1400c9960
mov rbx, qword [rsp + 0x208]
add rsp, 0x1c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret