Function at 0x140162200
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 0x140162a0f
mov rbx, qword [rcx + 0xf0]
mov rcx, rbx
call fcn.140160770
test rax, rax
je 0x140162a0f
cmp byte [rbx + 0x28], r13b
jne 0x140162a0f
mov rcx, rbx
call fcn.140160770
test rax, rax
je 0x140162a0f
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 0x140162292
lock inc dword [rcx]
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x68]
mov qword [rbp + 0x20], rax
test rcx, rcx
je 0x1401622a7
mov eax, dword [rcx]
cmp eax, 1
jle 0x1401622bc
mov r8d, 1
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x68]
call fcn.14008ff30
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
movsxd r8, ecx
mov r10d, 0x5c
test ecx, ecx
jle 0x140162305
mov rax, r13
movzx ecx, word [rdx + rax*2]
cmp cx, r10w
jne 0x1401622e8
mov word [rdx + rax*2], 0x2f
jmp 0x1401622f3
cmp cx, 0x2f
jne 0x1401622f3
mov word [rdx + rax*2], r10w
inc rax
cmp rax, r8
jl 0x1401622d6
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x68], r13
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x70], r13
mov qword [rbp - 0x78], rdx
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x70], rcx
mov edi, dword [r14 + 0x104]
mov rsi, 0xffffffffffffffff
lea r9d, [rsi + 2]
mov r8, rsi
movzx edx, r10w
lea rcx, [rbp - 0x80]
call fcn.14008e510
nop
cmp eax, esi
jne 0x14016235a
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r13
jmp 0x140162394
inc eax
movsxd r8, eax
cmp r8, qword [rbp - 0x70]
jb 0x140162386
movups xmm1, xmmword [rbp - 0x80]
movups xmmword [rbp - 0x48], xmm1
movsd xmm0, qword [rbp - 0x70]
movsd qword [rbp - 0x38], xmm0
movq rax, xmm1
test rax, rax
je 0x140162394
lock inc dword [rax]
jmp 0x140162394
mov rdx, qword [rbp - 0x78]
lea rcx, [rbp - 0x48]
call fcn.1400868e0
nop
cmp qword [r14 + 0xf8], 0
je 0x1401623c5
mov rbx, qword [r14 + 0xf0]
mov rcx, rbx
call fcn.140160770
test rax, rax
je 0x1401623c5
cmp byte [rbx + 0x28], 0
jne 0x1401623c5
mov rcx, rbx
call fcn.140160770
mov rbx, rax
jmp 0x1401623c8
mov rbx, r13
mov qword [rbp - 0x50], r13
or edi, 0x2001f
lea rcx, [rbp - 0x48]
call fcn.140094620
mov rdx, rax
lea rax, [rbp - 0x50]
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 0x14016240c
mov r15, qword [rbp - 0x50]
mov qword [rbp + 0x118], r15
test r15, r15
je 0x140162413
jmp 0x14016245a
mov qword [rbp + 0x118], r13
lea rcx, [rbp - 0x48]
call fcn.140094620
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 0x140162477
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140162477
mov rcx, qword [rbp - 0x48]
call fcn.1402275a0
test r15, r15
jne 0x14016248d
lea edx, [r15 + 1]
mov rcx, r14
call fcn.1400c9400
jmp 0x1401629f2
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r13
lea rdx, [rbp + 0x28]
mov rcx, r12
call fcn.1400b3630
mov rcx, rax
mov rax, qword [rax]
test rax, rax
je case.0x1401624e5.6
mov eax, dword [rax + 0xc]
test eax, eax
jne 0x1401624c6
mov rcx, qword [rcx]
call fcn.1400e1a20
add eax, 0xfffffffe
cmp eax, 0xa
ja case.0x1401624e5.6
cdqe
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0x162a38]
add rcx, rdx
jmp rcx
mov r13d, 7
lea rdx, [rbp - 0x10]
mov rcx, r12
call fcn.1400b5df0
nop
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.1400cbe70
nop
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14016254a
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14016254a
mov rdi, qword [rbp]
shl rdi, 5
mov rbx, qword [rbp - 8]
add rdi, rbx
cmp rbx, rdi
je 0x140162541
nop
mov rcx, rbx
call fcn.1400b0960
add rbx, 0x20
cmp rbx, rdi
jne 0x140162530
mov rcx, qword [rbp - 0x10]
call fcn.1402275a0
mov rbx, qword [rbp - 0x60]
mov rdi, rbx
mov rdx, qword [rbp - 0x58]
lea rax, [rdx + rdx*2]
lea rcx, [rbx + rax*8]
cmp rbx, rcx
je 0x1401625a6
cmp qword [rdi + 0x10], 0
je 0x14016269f
mov r9d, 1
xor r8d, r8d
xor eax, eax
movzx edx, ax
mov rcx, rdi
call fcn.14008ddd0
cmp rax, 0xffffffffffffffff
jne 0x14016269f
add rdi, 0x18
mov rdx, qword [rbp - 0x58]
lea rax, [rdx + rdx*2]
mov rbx, qword [rbp - 0x60]
lea rax, [rbx + rax*8]
cmp rdi, rax
jne 0x140162562
lea rax, [rdx + rdx*2]
lea rcx, [rbx + rax*8]
cmp rbx, rcx
je 0x140162628
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rbx + 0x10]
lea rdi, [rax*2 + 2]
mov rcx, rbx
call fcn.140094620
mov r8, rdi
mov rdx, rax
lea rcx, [rbp + 0x48]
call fcn.14003d360
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14003de70
nop
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x14016260f
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14016260f
mov rcx, qword [rbp + 0x48]
call fcn.1402275a0
add rbx, 0x18
mov rax, qword [rbp - 0x58]
lea rcx, [rax + rax*2]
mov rax, qword [rbp - 0x60]
lea rcx, [rax + rcx*8]
cmp rbx, rcx
jne 0x1401625c0
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.14003dfb0
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.14003dfb0
nop
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x140162924
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140162924
mov rax, qword [rbp - 0x58]
lea rcx, [rax + rax*2]
mov rbx, qword [rbp - 0x60]
lea rdi, [rbx + rcx*8]
cmp rbx, rdi
je 0x140162696
mov rcx, qword [rbx]
test rcx, rcx
je 0x14016268d
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14016268d
mov rcx, qword [rbx]
call fcn.1402275a0
add rbx, 0x18
cmp rbx, rdi
jne 0x140162672
mov rcx, qword [rbp - 0x68]
jmp 0x14016291f
mov r13d, 3
mov rdx, r12
lea rcx, [rbp + 8]
call fcn.1400cc3e0
nop
mov rax, qword [rbp + 0x18]
lea r8, [rax + rax]
lea rdx, [0x14025be10]
mov rax, qword [rbp + 0x10]
test rax, rax
cmovne rdx, rax
lea rcx, [rbp + 0x30]
call fcn.14003d360
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 + 0x30]
test rcx, rcx
je 0x140162727
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140162727
mov rcx, qword [rbp + 0x30]
call fcn.1402275a0
nop
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x140162641
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140162641
mov rcx, qword [rbp + 8]
call fcn.1402275a0
jmp 0x140162641
xor edx, edx
lea r13d, [rdx + 4]
mov rcx, r12
call fcn.1400b59f0
mov dword [rbp + 0x100], eax
mov r8d, r13d
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x60]
call fcn.14003d360
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 + 0x60]
test rcx, rcx
je 0x140162924
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140162924
mov rcx, qword [rbp + 0x60]
jmp 0x14016291f
xor edx, edx
lea r13d, [rdx + 0xb]
mov rcx, r12
call fcn.1400b5e10
mov qword [rbp - 0x30], rax
lea r8d, [r13 - 3]
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x78]
call fcn.14003d360
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 + 0x78]
test rcx, rcx
je 0x140162924
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140162924
mov rcx, qword [rbp + 0x78]
jmp 0x14016291f
mov rdx, r12
lea rcx, [rbp - 0x28]
call fcn.1400cc3e0
nop
mov r9d, 1
xor r8d, r8d
movzx edx, r13w
lea rcx, [rbp - 0x28]
call fcn.14008ddd0
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.140094620
mov rdx, rax
mov r8, rbx
lea rcx, [rbp + 0x90]
call fcn.14003d360
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 + 0x90]
test rcx, rcx
je 0x140162907
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140162907
mov rcx, qword [rbp + 0x90]
call fcn.1402275a0
nop
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x140162924
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140162924
mov rcx, qword [rbp - 0x28]
call fcn.1402275a0
mov ebx, dword [rsp + 0x60]
lea rdi, [0x14025ad40]
mov rax, qword [rsp + 0x58]
test rax, rax
cmovne rdi, rax
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xa8]
call fcn.140160bd0
nop
mov rcx, rax
call fcn.140094620
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 + 0xa8]
test rdx, rdx
je 0x140162994
mov ecx, esi
lock xadd dword [rdx], ecx
cmp ecx, 1
jne 0x140162994
mov rcx, qword [rbp + 0xa8]
call fcn.1402275a0
test ebx, ebx
jne 0x1401629a1
mov byte [r14 + 0x100], bl
jmp 0x1401629c8
lea rcx, [rbp - 0x80]
call fcn.140094620
mov r8, rax
lea rdx, str.QSettings:_failed_to_set_subkey___ls_
mov ecx, ebx
call fcn.14010dfc0
mov edx, 1
mov rcx, r14
call fcn.1400c9400
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1401629f2
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401629f2
mov rcx, qword [rsp + 0x50]
call fcn.1402275a0
nop
mov rax, qword [rbp - 0x80]
test rax, rax
je 0x140162a1c
lock xadd dword [rax], esi
cmp esi, 1
jne 0x140162a1c
mov rcx, qword [rbp - 0x80]
call fcn.1402275a0
jmp 0x140162a1c
mov edx, 1
mov rcx, r14
call fcn.1400c9400
mov rbx, qword [rsp + 0x208]
add rsp, 0x1c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret