Function at 0x1401afd90
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push r13
push r15
mov rbp, rsp
sub rsp, 0x68
mov r15, r8
mov rbx, rdx
mov r13, rcx
call fcn.1401b0510
test rax, rax
jne 0x1401afdc7
lea edx, [rax + 1]
mov rcx, r13
call fcn.1401a0cc0
add rsp, 0x68
pop r15
pop r13
pop rbx
pop rbp
ret
mov rax, qword [rbx]
lea rcx, [rbp + 0x40]
mov qword [rsp + 0x90], rsi
mov qword [rbp + 0x40], rax
cmp rbx, rcx
jne 0x1401afdfc
mov r8d, 0x446
lea rdx, str.C:ciqt_main_1660099987651workqtqtbaseincludeQtCore.._.._src_corelib_text_qstring.h
lea rcx, str.other___this
call fcn.140160ea0
mov rax, qword [rbp + 0x40]
mov edx, dword [rax]
lea ecx, [rdx + 1]
cmp ecx, 1
jbe 0x1401afe0b
lea ecx, [rdx + 1]
mov dword [rax], ecx
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x30]
call fcn.1401adca0
mov edx, 0x5c
lea rcx, [rbp - 0x30]
lea r9d, [rdx - 0x5b]
lea r8d, [rdx - 0x5d]
call fcn.1401885a0
lea rbx, [0x1401fd088]
cmp eax, 0xffffffff
jne 0x1401afe40
mov qword [rbp - 0x28], rbx
jmp 0x1401afe51
lea r8d, [rax + 1]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1401887f0
mov rcx, r13
call fcn.1401b0510
mov r9d, dword [r13 + 0x54]
lea r8, [rbp - 0x28]
mov rcx, rax
mov edx, 0x2001f
call fcn.1401ad880
mov rcx, qword [rbp - 0x28]
mov rsi, rax
mov qword [rbp - 0x18], rax
mov edx, dword [rcx]
test edx, edx
je 0x1401afe8f
cmp edx, 0xffffffff
je 0x1401afe9d
sub edx, 1
mov dword [rcx], edx
jne 0x1401afe9d
mov rcx, qword [rbp - 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140143660
test rsi, rsi
jne 0x1401afeb2
lea edx, [rsi + 1]
mov rcx, r13
call fcn.1401a0cc0
jmp 0x1401b0485
mov qword [rsp + 0x98], rdi
mov rcx, r15
mov qword [rsp + 0xa0], r12
mov qword [rbp - 0x38], rbx
call fcn.1401ab4e0
add eax, 0xfffffffe
cmp eax, 0xa
ja case.0x1401afeed.6
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x1b04c0]
add rcx, rdx
jmp rcx
lea rdx, [rbp - 0x20]
mov rcx, r15
mov r12d, 7
call fcn.1401ab290
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.1401a24d0
mov rsi, qword [rbp - 0x20]
mov eax, dword [rsi]
test eax, eax
je 0x1401aff27
cmp eax, 0xffffffff
je 0x1401aff84
sub eax, 1
mov dword [rsi], eax
jne 0x1401aff84
mov rsi, qword [rbp - 0x20]
movsxd rbx, dword [rsi + 0xc]
mov qword [rsp + 0x60], r14
add rbx, 2
movsxd r14, dword [rsi + 8]
add r14, 2
lea rbx, [rsi + rbx*8]
lea r14, [rsi + r14*8]
cmp rbx, r14
je 0x1401aff77
nop dword [rax]
mov rdi, qword [rbx - 8]
sub rbx, 8
test rdi, rdi
je 0x1401aff72
mov rcx, rdi
call fcn.1401a8ab0
mov edx, 0x10
mov rcx, rdi
call fcn.1401bbfd0
cmp rbx, r14
jne 0x1401aff50
mov rcx, rsi
call fcn.1401683a0
mov r14, qword [rsp + 0x60]
mov rax, qword [rbp + 0x40]
movsxd rcx, dword [rax + 8]
lea rdx, [rcx*8 + 0x10]
movsxd rcx, dword [rax + 0xc]
lea rbx, [rdx + rax]
lea rcx, [rcx*8 + 0x10]
cmp rdx, rcx
je 0x1401afff2
xor edi, edi
nop dword [rax + rax]
mov rax, qword [rbx]
cmp dword [rax + 4], edi
je 0x1401b01be
mov r9d, 1
xor r8d, r8d
movzx edx, di
mov rcx, rbx
call fcn.140187b20
cmp eax, 0xffffffff
jne 0x1401b01be
mov rax, qword [rbp + 0x40]
add rbx, 8
movsxd rdx, dword [rax + 0xc]
add rdx, 2
lea rdx, [rax + rdx*8]
cmp rbx, rdx
jne 0x1401affb0
movsxd rbx, dword [rax + 8]
movsxd rdx, dword [rax + 0xc]
add rbx, 2
add rdx, 2
lea rbx, [rax + rbx*8]
lea rdx, [rax + rdx*8]
cmp rbx, rdx
je 0x1401b0081
nop
mov rax, qword [rbx]
mov ecx, dword [rax + 4]
lea edi, [rcx*2 + 2]
mov rcx, rbx
call fcn.140190810
mov rdx, rax
lea rcx, [rbp - 0x10]
mov r8d, edi
call fcn.140143d20
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.140144050
mov rcx, qword [rbp - 0x10]
mov eax, dword [rcx]
test eax, eax
je 0x1401b005a
cmp eax, 0xffffffff
je 0x1401b0068
sub eax, 1
mov dword [rcx], eax
jne 0x1401b0068
mov rcx, qword [rbp - 0x10]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.140143660
mov rax, qword [rbp + 0x40]
add rbx, 8
movsxd rdx, dword [rax + 0xc]
add rdx, 2
lea rdx, [rax + rdx*8]
cmp rbx, rdx
jne 0x1401b0010
xor edx, edx
lea rcx, [rbp - 0x38]
call fcn.1401441d0
xor edx, edx
lea rcx, [rbp - 0x38]
call fcn.1401441d0
mov rdi, qword [rbp + 0x40]
mov eax, dword [rdi]
test eax, eax
je 0x1401b00b1
cmp eax, 0xffffffff
je 0x1401b0108
sub eax, 1
mov dword [rdi], eax
jne 0x1401b0108
mov rdi, qword [rbp + 0x40]
movsxd rsi, dword [rdi + 8]
movsxd rbx, dword [rdi + 0xc]
add rsi, 2
add rbx, 2
lea rsi, [rdi + rsi*8]
lea rbx, [rdi + rbx*8]
cmp rbx, rsi
je 0x1401b0100
nop
mov rcx, qword [rbx - 8]
sub rbx, 8
mov eax, dword [rcx]
test eax, eax
je 0x1401b00ea
cmp eax, 0xffffffff
je 0x1401b00fb
sub eax, 1
mov dword [rcx], eax
jne 0x1401b00fb
mov rcx, qword [rbx]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140143660
cmp rbx, rsi
jne 0x1401b00d0
mov rcx, rdi
call fcn.1401683a0
mov rsi, qword [rbp - 0x18]
mov rbx, qword [rbp - 0x38]
mov edi, dword [rbx + 4]
test edi, edi
je 0x1401b013f
mov rax, qword [rbx + 0x10]
test rax, rax
js 0x1401b013f
cmp rax, 0x18
jae 0x1401b013f
mov r8d, 0x3c
lea rdx, str.C:ciqt_main_1660099987651workqtqtbaseincludeQtCore.._.._src_corelib_tools_qarraydata.h
lea rcx, str.size__0__offset___0__size_t_offset____sizeof_QArrayData_
call fcn.140160ea0
add rbx, qword [rbx + 0x10]
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x40]
call fcn.1401ae370
mov rcx, rax
call fcn.140190810
mov rdx, rax
mov dword [rsp + 0x28], edi
mov r9d, r12d
mov qword [rsp + 0x20], rbx
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp + 0x40]
mov ebx, eax
mov r12, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0x98]
mov edx, dword [rcx]
test edx, edx
je 0x1401b019f
cmp edx, 0xffffffff
je 0x1401b01ad
sub edx, 1
mov dword [rcx], edx
jne 0x1401b01ad
mov rcx, qword [rbp + 0x40]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140143660
test ebx, ebx
jne 0x1401b03ee
mov byte [r13 + 0x50], bl
jmp 0x1401b0454
mov rdx, r15
lea rcx, [rbp - 0x20]
mov r12d, 3
call fcn.1401a2700
mov rax, qword [rbp - 0x20]
mov ecx, dword [rax + 4]
lea ebx, [rcx + rcx]
lea rcx, [rbp - 0x20]
call fcn.140190810
mov rdx, rax
lea rcx, [rbp - 0x10]
mov r8d, ebx
call fcn.140143d20
mov rdx, qword [rbp - 0x38]
mov rcx, qword [rax]
mov qword [rbp - 0x38], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x10]
mov eax, dword [rcx]
test eax, eax
je 0x1401b021a
cmp eax, 0xffffffff
je 0x1401b0228
sub eax, 1
mov dword [rcx], eax
jne 0x1401b0228
mov rcx, qword [rbp - 0x10]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.140143660
mov rcx, qword [rbp - 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x1401b024a
cmp eax, 0xffffffff
je 0x1401b0097
sub eax, 1
mov dword [rcx], eax
jne 0x1401b0097
mov rcx, qword [rbp - 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140143660
jmp 0x1401b0097
xor edx, edx
mov rcx, r15
lea r12d, [rdx + 4]
call fcn.1401ab1c0
mov r8d, r12d
mov dword [rbp + 0x40], eax
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x10]
call fcn.140143d20
mov rdx, qword [rbp - 0x38]
mov rcx, qword [rax]
mov qword [rbp - 0x38], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x10]
mov eax, dword [rcx]
test eax, eax
je 0x1401b02ae
cmp eax, 0xffffffff
je 0x1401b010c
sub eax, 1
mov dword [rcx], eax
jne 0x1401b010c
mov rcx, qword [rbp - 0x10]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.140143660
jmp 0x1401b010c
xor edx, edx
mov rcx, r15
lea r12d, [rdx + 0xb]
call fcn.1401ab2c0
lea r8d, [r12 - 3]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x40]
call fcn.140143d20
mov rdx, qword [rbp - 0x38]
mov rcx, qword [rax]
mov qword [rbp - 0x38], rcx
mov qword [rax], rdx
mov rcx, qword [rbp + 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x1401b0315
cmp eax, 0xffffffff
je 0x1401b010c
sub eax, 1
mov dword [rcx], eax
jne 0x1401b010c
mov rcx, qword [rbp + 0x40]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.140143660
jmp 0x1401b010c
mov rdx, r15
lea rcx, [rbp + 0x40]
call fcn.1401a2700
xor edi, edi
lea rcx, [rbp + 0x40]
xor r8d, r8d
movzx edx, di
lea r9d, [rdi + 1]
call fcn.140187b20
mov ecx, 1
mov r12d, 3
cmp eax, 0xffffffff
cmovne ecx, r12d
mov r12d, ecx
mov rcx, qword [rbp + 0x40]
mov ebx, dword [rcx + 4]
jne 0x1401b0369
inc ebx
lea rcx, [rbp + 0x40]
add ebx, ebx
call fcn.140190810
mov rdx, rax
lea rcx, [rbp - 0x10]
mov r8d, ebx
call fcn.140143d20
mov rdx, qword [rbp - 0x38]
mov rcx, qword [rax]
mov qword [rbp - 0x38], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x10]
mov eax, dword [rcx]
test eax, eax
je 0x1401b03ab
cmp eax, 0xffffffff
je 0x1401b03b9
sub eax, 1
mov dword [rcx], eax
jne 0x1401b03b9
mov rcx, qword [rbp - 0x10]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.140143660
mov rcx, qword [rbp + 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x1401b03db
cmp eax, 0xffffffff
je 0x1401b010c
sub eax, 1
mov dword [rcx], eax
jne 0x1401b010c
mov rcx, qword [rbp + 0x40]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140143660
jmp 0x1401b010c
mov rax, qword [rbp - 0x30]
mov qword [rbp + 0x40], rax
mov edx, dword [rax]
lea ecx, [rdx + 1]
cmp ecx, 1
jbe 0x1401b0405
lea ecx, [rdx + 1]
mov dword [rax], ecx
lea rcx, [rbp + 0x40]
call fcn.140190810
mov r8, rax
lea rdx, str.QSettings:_failed_to_set_subkey___ls_
mov ecx, ebx
call fcn.1401b4b50
mov rcx, qword [rbp + 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x1401b0439
cmp eax, 0xffffffff
je 0x1401b0447
sub eax, 1
mov dword [rcx], eax
jne 0x1401b0447
mov rcx, qword [rbp + 0x40]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140143660
mov edx, 1
mov rcx, r13
call fcn.1401a0cc0
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x1401b0477
cmp eax, 0xffffffff
je 0x1401b0485
sub eax, 1
mov dword [rcx], eax
jne 0x1401b0485
mov rcx, qword [rbp - 0x38]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.140143660
mov rcx, qword [rbp - 0x30]
mov rsi, qword [rsp + 0x90]
mov eax, dword [rcx]
test eax, eax
je 0x1401b04a7
cmp eax, 0xffffffff
je 0x1401b04b5
sub eax, 1
mov dword [rcx], eax
jne 0x1401b04b5
mov rcx, qword [rbp - 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140143660
add rsp, 0x68
pop r15
pop r13
pop rbx
pop rbp
ret