Function at 0x14015d330
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 0x14015db0f
mov rbx, qword [rcx + 0xf0]
mov rcx, rbx
call fcn.14015b910
test rax, rax
je 0x14015db0f
cmp byte [rbx + 0x28], r13b
jne 0x14015db0f
mov rcx, rbx
call fcn.14015b910
test rax, rax
je 0x14015db0f
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 0x14015d3c2
lock inc dword [rcx]
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x68]
mov qword [rbp - 0x80], rax
test rcx, rcx
je 0x14015d3d7
mov eax, dword [rcx]
cmp eax, 1
jle 0x14015d3ec
mov r8d, 1
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x68]
call fcn.140090910
mov r8, qword [rsp + 0x70]
movsxd rdx, dword [rsp + 0x78]
mov r10d, 0x5c
test rdx, rdx
jle 0x14015d42b
mov rax, r13
movzx ecx, word [r8 + rax*2]
cmp cx, r10w
jne 0x14015d418
mov word [r8 + rax*2], 0x2f
jmp 0x14015d423
cmp cx, 0x2f
jne 0x14015d423
mov word [r8 + rax*2], r10w
inc rax
cmp rax, rdx
jl 0x14015d404
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.14008f030
nop
cmp eax, esi
jne 0x14015d482
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r13
jmp 0x14015d495
inc eax
movsxd r8, eax
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x60]
call fcn.14008f0c0
nop
cmp qword [r14 + 0xf8], 0
je 0x14015d4c6
mov rbx, qword [r14 + 0xf0]
mov rcx, rbx
call fcn.14015b910
test rax, rax
je 0x14015d4c6
cmp byte [rbx + 0x28], 0
jne 0x14015d4c6
mov rcx, rbx
call fcn.14015b910
mov rbx, rax
jmp 0x14015d4c9
mov rbx, r13
mov qword [rbp - 0x80], r13
or edi, 0x2001f
lea rcx, [rbp - 0x48]
call fcn.140094f20
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 0x14015d50d
mov r15, qword [rbp - 0x80]
mov qword [rbp + 0x118], r15
test r15, r15
je 0x14015d514
jmp 0x14015d55b
mov qword [rbp + 0x118], r13
lea rcx, [rbp - 0x48]
call fcn.140094f20
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 0x14015d578
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015d578
mov rcx, qword [rbp - 0x48]
call fcn.14021b7f0
test r15, r15
jne 0x14015d58e
lea edx, [r15 + 1]
mov rcx, r14
call fcn.1400c9930
jmp 0x14015daf2
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r13
lea rdx, [rbp + 0x20]
mov rcx, r12
call fcn.1400b3da0
mov rcx, rax
mov rax, qword [rax]
test rax, rax
je case.0x14015d5e6.6
mov eax, dword [rax + 0xc]
test eax, eax
jne 0x14015d5c7
mov rcx, qword [rcx]
call fcn.1400e1df0
add eax, 0xfffffffe
cmp eax, 0xa
ja case.0x14015d5e6.6
cdqe
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0x15db38]
add rcx, rdx
jmp rcx
mov r13d, 7
lea rdx, [rbp - 0x10]
mov rcx, r12
call fcn.1400b6560
nop
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.1400cc260
nop
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14015d64a
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015d64a
mov rdi, qword [rbp]
shl rdi, 5
mov rbx, qword [rbp - 8]
add rdi, rbx
cmp rbx, rdi
je 0x14015d641
mov rcx, rbx
call fcn.1400b1330
add rbx, 0x20
cmp rbx, rdi
jne 0x14015d630
mov rcx, qword [rbp - 0x10]
call fcn.14021b7f0
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 0x14015d6a6
cmp qword [rdi + 0x10], 0
je 0x14015d79f
mov r9d, 1
xor r8d, r8d
xor eax, eax
movzx edx, ax
mov rcx, rdi
call fcn.14008e8f0
cmp rax, 0xffffffffffffffff
jne 0x14015d79f
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 0x14015d662
lea rax, [rdx + rdx*2]
lea rcx, [rbx + rax*8]
cmp rbx, rcx
je 0x14015d728
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rbx + 0x10]
lea rdi, [rax*2 + 2]
mov rcx, rbx
call fcn.140094f20
mov r8, rdi
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.14003d200
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14003dde0
nop
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x14015d70f
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015d70f
mov rcx, qword [rbp + 0x40]
call fcn.14021b7f0
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 0x14015d6c0
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.14003ded0
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.14003ded0
nop
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14015da24
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015da24
mov rax, qword [rbp - 0x68]
lea rcx, [rax + rax*2]
mov rbx, qword [rbp - 0x70]
lea rdi, [rbx + rcx*8]
cmp rbx, rdi
je 0x14015d796
mov rcx, qword [rbx]
test rcx, rcx
je 0x14015d78d
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015d78d
mov rcx, qword [rbx]
call fcn.14021b7f0
add rbx, 0x18
cmp rbx, rdi
jne 0x14015d772
mov rcx, qword [rbp - 0x78]
jmp 0x14015da1f
mov r13d, 3
mov rdx, r12
lea rcx, [rbp + 8]
call fcn.1400cc7d0
nop
mov rax, qword [rbp + 0x18]
lea r8, [rax + rax]
lea rdx, [0x14024fde0]
mov rax, qword [rbp + 0x10]
test rax, rax
cmovne rdx, rax
lea rcx, [rbp + 0x28]
call fcn.14003d200
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 0x14015d827
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015d827
mov rcx, qword [rbp + 0x28]
call fcn.14021b7f0
nop
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x14015d741
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015d741
mov rcx, qword [rbp + 8]
call fcn.14021b7f0
jmp 0x14015d741
xor edx, edx
lea r13d, [rdx + 4]
mov rcx, r12
call fcn.1400b6160
mov dword [rbp + 0x100], eax
mov r8d, r13d
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x58]
call fcn.14003d200
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 0x14015da24
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015da24
mov rcx, qword [rbp + 0x58]
jmp 0x14015da1f
xor edx, edx
lea r13d, [rdx + 0xb]
mov rcx, r12
call fcn.1400b6580
mov qword [rbp - 0x30], rax
lea r8d, [r13 - 3]
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x70]
call fcn.14003d200
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 0x14015da24
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015da24
mov rcx, qword [rbp + 0x70]
jmp 0x14015da1f
mov rdx, r12
lea rcx, [rbp - 0x28]
call fcn.1400cc7d0
nop
mov r9d, 1
xor r8d, r8d
movzx edx, r13w
lea rcx, [rbp - 0x28]
call fcn.14008e8f0
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.140094f20
mov rdx, rax
mov r8, rbx
lea rcx, [rbp + 0x88]
call fcn.14003d200
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 0x14015da07
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015da07
mov rcx, qword [rbp + 0x88]
call fcn.14021b7f0
nop
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14015da24
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015da24
mov rcx, qword [rbp - 0x28]
call fcn.14021b7f0
mov ebx, dword [rsp + 0x60]
lea rdi, [0x14024ecc0]
mov rax, qword [rsp + 0x58]
test rax, rax
cmovne rdi, rax
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0xa0]
call fcn.14015bd70
nop
mov rcx, rax
call fcn.140094f20
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 0x14015da94
mov ecx, esi
lock xadd dword [rdx], ecx
cmp ecx, 1
jne 0x14015da94
mov rcx, qword [rbp + 0xa0]
call fcn.14021b7f0
test ebx, ebx
jne 0x14015daa1
mov byte [r14 + 0x100], bl
jmp 0x14015dac8
lea rcx, [rbp - 0x60]
call fcn.140094f20
mov r8, rax
lea rdx, str.QSettings:_failed_to_set_subkey___ls_
mov ecx, ebx
call fcn.14010c550
mov edx, 1
mov rcx, r14
call fcn.1400c9930
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14015daf2
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14015daf2
mov rcx, qword [rsp + 0x50]
call fcn.14021b7f0
nop
mov rax, qword [rbp - 0x60]
test rax, rax
je 0x14015db1c
lock xadd dword [rax], esi
cmp esi, 1
jne 0x14015db1c
mov rcx, qword [rbp - 0x60]
call fcn.14021b7f0
jmp 0x14015db1c
mov edx, 1
mov rcx, r14
call fcn.1400c9930
mov rbx, qword [rsp + 0x208]
add rsp, 0x1c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret