Function at 0x140102460
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov r15, r8
mov rdi, rdx
mov r14, rcx
xor r12d, r12d
cmp qword [rcx + 0xf8], r12
je 0x140102af1
mov rbx, qword [rcx + 0xf0]
mov rcx, rbx
call fcn.140100b00
test rax, rax
je 0x140102af1
cmp byte [rbx + 0x28], r12b
jne 0x140102af1
mov rcx, rbx
call fcn.140100b00
test rax, rax
je 0x140102af1
mov rcx, qword [rdi]
mov qword [rbp - 0x61], rcx
mov rax, qword [rdi + 8]
mov qword [rbp - 0x59], rax
mov rax, qword [rdi + 0x10]
mov qword [rbp - 0x51], rax
test rcx, rcx
je 0x1401024ef
lock inc dword [rcx]
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x31]
call fcn.1401007a0
nop
mov edi, dword [r14 + 0x104]
mov edx, 0x5c
mov rsi, 0xffffffffffffffff
mov r9d, 1
mov r8, rsi
lea rcx, [rbp - 0x31]
call fcn.140018780
nop
cmp eax, esi
jne 0x140102535
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], r12
jmp 0x140102548
inc eax
movsxd r8, eax
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x31]
call fcn.140018810
nop
cmp qword [r14 + 0xf8], 0
je 0x140102576
mov rbx, qword [r14 + 0xf0]
mov rcx, rbx
call fcn.140100b00
test rax, rax
je 0x140102576
cmp byte [rbx + 0x28], 0
jne 0x140102576
mov rcx, rbx
call fcn.140100b00
jmp 0x140102579
mov rax, r12
mov r9d, edi
lea r8, [rbp - 0x19]
mov edx, 0x2001f
mov rcx, rax
call fcn.140100530
mov r13, rax
mov rdx, qword [rbp - 0x19]
test rdx, rdx
je 0x1401025b8
mov ecx, esi
lock xadd dword [rdx], ecx
cmp ecx, 1
jne 0x1401025b8
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x19]
call fcn.140030bb0
test r13, r13
jne 0x1401025cf
mov edx, 1
mov rcx, r14
call fcn.1400b98b0
jmp 0x140102ac9
mov qword [rbp - 0x79], r12
mov qword [rbp - 0x71], r12
mov qword [rbp - 0x69], r12
lea rdx, [rbp + 0x67]
mov rcx, r15
call fcn.1400a4880
mov rcx, rax
mov rax, qword [rax]
test rax, rax
je case.0x140102624.6
mov eax, dword [rax + 0xc]
test eax, eax
jne 0x140102605
mov rcx, qword [rcx]
call fcn.14009de20
add eax, 0xfffffffe
cmp eax, 0xa
ja case.0x140102624.6
cdqe
lea rdx, [0x140000000]
mov ecx, dword [rdx + rax*4 + 0x102b20]
add rcx, rdx
jmp rcx
mov r12d, 7
lea rdx, [rbp + 0x17]
mov rcx, r15
call fcn.1400a61e0
nop
mov rdx, rax
lea rcx, [rbp - 0x61]
call fcn.1400bb880
nop
lea rcx, [rbp + 0x17]
call fcn.14004ba30
mov rbx, qword [rbp - 0x59]
mov rdi, rbx
mov rdx, qword [rbp - 0x51]
lea rax, [rdx + rdx*2]
lea rcx, [rbx + rax*8]
cmp rbx, rcx
je 0x1401026b4
nop word [rax + rax]
cmp qword [rdi + 0x10], 0
je 0x140102758
mov r9d, 1
xor r8d, r8d
xor eax, eax
movzx edx, ax
mov rcx, rdi
call fcn.140017e00
cmp rax, 0xffffffffffffffff
jne 0x140102758
add rdi, 0x18
mov rdx, qword [rbp - 0x51]
lea rax, [rdx + rdx*2]
mov rbx, qword [rbp - 0x59]
lea rax, [rbx + rax*8]
cmp rdi, rax
jne 0x140102670
lea rax, [rdx + rdx*2]
lea rcx, [rbx + rax*8]
cmp rbx, rcx
je 0x140102733
mov rax, qword [rbx + 0x10]
lea rdi, [rax*2 + 2]
mov rcx, rbx
call fcn.14001d9a0
mov r8, rdi
mov rdx, rax
lea rcx, [rbp - 0x49]
call fcn.140031450
nop
mov rdx, rax
lea rcx, [rbp - 0x79]
call fcn.140032000
nop
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x14010271a
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14010271a
mov edx, 1
mov r8d, 8
mov rcx, qword [rbp - 0x49]
call fcn.140030bb0
add rbx, 0x18
mov rax, qword [rbp - 0x51]
lea rcx, [rax + rax*2]
mov rax, qword [rbp - 0x59]
lea rcx, [rax + rcx*8]
cmp rbx, rcx
jne 0x1401026c1
xor edx, edx
lea rcx, [rbp - 0x79]
call fcn.1400320d0
xor edx, edx
lea rcx, [rbp - 0x79]
call fcn.1400320d0
nop
lea rcx, [rbp - 0x61]
call fcn.1400026c0
jmp 0x1401029f2
mov r12d, 3
mov rdx, r15
lea rcx, [rbp - 1]
call fcn.1400bb9a0
nop
mov rax, qword [rbp + 0xf]
lea r8, [rax + rax]
lea rdx, [0x14019eac0]
mov rax, qword [rbp + 7]
test rax, rax
cmovne rdx, rax
lea rcx, [rbp - 0x49]
call fcn.140031450
mov rdx, qword [rbp - 0x79]
mov rcx, qword [rax]
mov qword [rbp - 0x79], rcx
mov qword [rax], rdx
mov rdx, qword [rbp - 0x71]
mov rcx, qword [rax + 8]
mov qword [rbp - 0x71], rcx
mov qword [rax + 8], rdx
mov rdx, qword [rbp - 0x69]
mov rcx, qword [rax + 0x10]
mov qword [rbp - 0x69], rcx
mov qword [rax + 0x10], rdx
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x1401027e5
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401027e5
mov edx, 1
mov r8d, 8
mov rcx, qword [rbp - 0x49]
call fcn.140030bb0
nop
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x14010274a
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14010274a
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 1]
call fcn.140030bb0
jmp 0x14010274a
xor edx, edx
mov r12d, 4
mov rcx, r15
call fcn.1400a5de0
mov dword [rbp + 0x67], eax
mov r8d, r12d
lea rdx, [rbp + 0x67]
lea rcx, [rbp - 0x49]
call fcn.140031450
mov rdx, qword [rbp - 0x79]
mov rcx, qword [rax]
mov qword [rbp - 0x79], rcx
mov qword [rax], rdx
mov rdx, qword [rbp - 0x71]
mov rcx, qword [rax + 8]
mov qword [rbp - 0x71], rcx
mov qword [rax + 8], rdx
mov rdx, qword [rbp - 0x69]
mov rcx, qword [rax + 0x10]
mov qword [rbp - 0x69], rcx
mov qword [rax + 0x10], rdx
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x1401029f2
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401029f2
mov edx, 1
mov rcx, qword [rbp - 0x49]
jmp 0x1401029e7
xor edx, edx
mov r12d, 0xb
mov rcx, r15
call fcn.1400a62c0
mov qword [rbp + 0x67], rax
mov r8d, 8
lea rdx, [rbp + 0x67]
lea rcx, [rbp - 0x49]
call fcn.140031450
mov rdx, qword [rbp - 0x79]
mov rcx, qword [rax]
mov qword [rbp - 0x79], rcx
mov qword [rax], rdx
mov rdx, qword [rbp - 0x71]
mov rcx, qword [rax + 8]
mov qword [rbp - 0x71], rcx
mov qword [rax + 8], rdx
mov rdx, qword [rbp - 0x69]
mov rcx, qword [rax + 0x10]
mov qword [rbp - 0x69], rcx
mov qword [rax + 0x10], rdx
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x1401029f2
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401029f2
mov edx, 1
mov rcx, qword [rbp - 0x49]
jmp 0x1401029e7
mov rdx, r15
lea rcx, [rbp - 0x61]
call fcn.1400bb9a0
nop
mov r9d, 1
xor r8d, r8d
movzx edx, r12w
lea rcx, [rbp - 0x61]
call fcn.140017e00
mov ecx, 1
mov r12d, 3
cmp rax, 0xffffffffffffffff
cmovne ecx, r12d
mov r12d, ecx
mov ecx, dword [rbp - 0x51]
lea edx, [rcx + 1]
cmovne edx, ecx
add edx, edx
movsxd rbx, edx
lea rcx, [rbp - 0x61]
call fcn.14001d9a0
mov rdx, rax
mov r8, rbx
lea rcx, [rbp - 0x49]
call fcn.140031450
mov rdx, qword [rbp - 0x79]
mov rcx, qword [rax]
mov qword [rbp - 0x79], rcx
mov qword [rax], rdx
mov rdx, qword [rbp - 0x71]
mov rcx, qword [rax + 8]
mov qword [rbp - 0x71], rcx
mov qword [rax + 8], rdx
mov rdx, qword [rbp - 0x69]
mov rcx, qword [rax + 0x10]
mov qword [rbp - 0x69], rcx
mov qword [rax + 0x10], rdx
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x1401029ca
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401029ca
mov edx, 1
mov r8d, 8
mov rcx, qword [rbp - 0x49]
call fcn.140030bb0
nop
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x1401029f2
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401029f2
mov edx, 2
mov rcx, qword [rbp - 0x61]
mov r8d, 8
call fcn.140030bb0
mov ebx, dword [rbp - 0x69]
lea rdi, [0x1401e4f90]
mov rax, qword [rbp - 0x71]
test rax, rax
cmovne rdi, rax
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x49]
call fcn.140100e30
nop
mov rcx, rax
call fcn.14001d9a0
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdi
mov r9d, r12d
xor r8d, r8d
mov rdx, rax
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov rdx, qword [rbp - 0x49]
test rdx, rdx
je 0x140102a62
mov ecx, esi
lock xadd dword [rdx], ecx
cmp ecx, 1
jne 0x140102a62
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x49]
call fcn.140030bb0
test ebx, ebx
jne 0x140102a6f
mov byte [r14 + 0x100], bl
jmp 0x140102a96
lea rcx, [rbp - 0x31]
call fcn.14001d9a0
mov r8, rax
lea rdx, [0x140255950]
mov ecx, ebx
call fcn.14001ff70
mov edx, 1
mov rcx, r14
call fcn.1400b98b0
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rbp - 0x79]
test rcx, rcx
je 0x140102ac9
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140102ac9
mov edx, 1
mov r8d, 8
mov rcx, qword [rbp - 0x79]
call fcn.140030bb0
nop
mov rax, qword [rbp - 0x31]
test rax, rax
je 0x140102afe
lock xadd dword [rax], esi
cmp esi, 1
jne 0x140102afe
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x31]
call fcn.140030bb0
jmp 0x140102afe
mov edx, 1
mov rcx, r14
call fcn.1400b98b0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret