Function at 0x1400c6ff0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov qword [rbp + 0x90], 0xfffffffffffffffe
mov qword [rsp + 0x280], rbx
mov rax, qword [0x141949208]
xor rax, rsp
mov qword [rbp + 0x128], rax
mov rbx, rdx
mov rsi, rcx
mov rax, qword [rdx]
cmp dword [rax + 4], 0
jne 0x1400c70e3
lea rcx, [rbp - 0x10]
call fcn.1400c83d0
lea r15, [rsi + 0x18]
mov rdx, qword [r15]
mov qword [rbp + 0x98], rdx
mov rcx, qword [rax]
mov qword [r15], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x10]
mov eax, dword [rcx]
or edi, 0xffffffff
test eax, eax
je 0x1400c7082
cmp eax, edi
je 0x1400c7090
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400c7090
mov rcx, qword [rbp - 0x10]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.1400397e0
lea rdx, [rbp - 0x58]
mov rcx, rsi
call fcn.1400c8120
lea r12, [rsi + 0x10]
mov rdx, qword [r12]
mov qword [rbp + 0xa0], rdx
mov rcx, qword [rax]
mov qword [r12], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x58]
mov eax, dword [rcx]
test eax, eax
je 0x1400c70d3
cmp eax, 0xffffffff
je 0x1400c7140
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400c7140
mov rcx, qword [rbp - 0x58]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.1400397e0
jmp 0x1400c7140
lea rcx, [rbp - 0x50]
call fcn.14009f270
lea r15, [rsi + 0x18]
mov rdx, qword [r15]
mov qword [rbp + 0xa8], rdx
mov rcx, qword [rax]
mov qword [r15], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x50]
mov eax, dword [rcx]
or edi, 0xffffffff
test eax, eax
je 0x1400c7123
cmp eax, edi
je 0x1400c7131
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400c7131
mov rcx, qword [rbp - 0x50]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.1400397e0
lea r12, [rsi + 0x10]
mov rdx, rbx
mov rcx, r12
call fcn.140023700
mov rax, qword [r15]
cmp dword [rax + 4], 0
je 0x1400c766e
xor r13d, r13d
mov qword [rsp + 0x38], r13
mov rdx, r15
lea rcx, [rbp - 0x40]
call fcn.14009c960
mov rbx, rax
mov r8d, edi
lea rdx, [0x140221a18]
lea rcx, [rbp - 0x48]
call fcn.1400042b0
nop
mov byte [rsp + 0x30], 0x5c
mov qword [rbp], rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
lea rax, [rbp]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rbx
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x10]
call fcn.14003b0f0
nop
mov rcx, qword [rbp - 0x48]
mov eax, dword [rcx]
test eax, eax
je 0x1400c71c3
cmp eax, 0xffffffff
je 0x1400c71d2
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400c71d2
mov rcx, qword [rbp - 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400397e0
nop
mov rcx, qword [rbp - 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x1400c71f0
cmp eax, 0xffffffff
je 0x1400c71fe
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400c71fe
mov rcx, qword [rbp - 0x40]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400397e0
lea rcx, [rsp + 0x50]
call fcn.1400360e0
mov rdx, rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400c7640
lea r8, [0x140221e80]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x38]
call fcn.1400c7ef0
mov rdx, qword [rsi + 0x20]
mov qword [rbp + 0xb0], rdx
mov rcx, qword [rax]
mov qword [rsi + 0x20], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x1400c727b
cmp eax, 0xffffffff
je 0x1400c7289
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400c7289
mov rcx, qword [rbp - 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400397e0
lea r8, [0x140221e18]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x30]
call fcn.1400c7ef0
mov rdx, qword [rsi + 0x28]
mov qword [rbp + 0xb8], rdx
mov rcx, qword [rax]
mov qword [rsi + 0x28], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x1400c72d1
cmp eax, 0xffffffff
je 0x1400c72df
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400c72df
mov rcx, qword [rbp - 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400397e0
lea r8, [0x140221e10]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x28]
call fcn.1400c7ef0
mov rdx, qword [rsi + 0x30]
mov qword [rbp + 0xc0], rdx
mov rcx, qword [rax]
mov qword [rsi + 0x30], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x28]
mov eax, dword [rcx]
test eax, eax
je 0x1400c7327
cmp eax, 0xffffffff
je 0x1400c7335
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400c7335
mov rcx, qword [rbp - 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400397e0
xor eax, eax
mov byte [rsp + 0x31], al
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x31]
call fcn.1400c5c10
nop
lea rcx, [rsp + 0x50]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rax
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x20]
call fcn.14003b130
nop
mov rcx, qword [rbp - 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x1400c7384
cmp eax, 0xffffffff
je 0x1400c7392
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400c7392
mov rcx, qword [rbp - 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400397e0
mov qword [rsp + 0x48], r13
lea rcx, [rsp + 0x70]
call fcn.1400360e0
mov rdx, rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor r9d, r9d
xor r8d, r8d
test eax, eax
jne 0x1400c7552
mov dword [rsp + 0x58], 4
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea rdx, [0x140221e90]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x5c], 4
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140221ea8]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, dword [rsp + 0x60]
cmp ebx, dword [rsp + 0x40]
jg 0x1400c7542
mov r8d, 0xa
mov edx, ebx
lea rcx, [rbp - 0x18]
call fcn.1400325a0
nop
mov rcx, rax
call fcn.1400360e0
xor r14b, r14b
mov dword [rsp + 0x64], 0x2c
lea rcx, [rsp + 0x64]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0xc8]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400c74d4
mov dword [rsp + 0x78], r13d
mov ecx, dword [rbp + 0xcc]
add ecx, dword [rbp + 0xc8]
mov dword [rsp + 0x7c], ecx
mov eax, dword [rbp + 0xd0]
sub eax, ecx
add eax, dword [rbp + 0xc8]
mov dword [rbp - 0x80], eax
movups xmm0, xmmword [rbp + 0xd4]
movups xmmword [rbp - 0x7c], xmm0
movups xmm0, xmmword [rbp + 0xe4]
movups xmmword [rbp - 0x6c], xmm0
mov r14b, 1
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rbp + 0x30], xmm0
movups xmm1, xmmword [rbp - 0x78]
movups xmmword [rbp + 0x40], xmm1
movsd xmm0, qword [rbp - 0x68]
movsd qword [rbp + 0x50], xmm0
mov eax, dword [rbp - 0x60]
mov dword [rbp + 0x58], eax
mov rcx, qword [rbp - 0x18]
mov eax, dword [rcx]
test eax, eax
je 0x1400c7513
cmp eax, 0xffffffff
je 0x1400c7521
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400c7521
mov rcx, qword [rbp - 0x18]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400397e0
mov dword [rbp + 0x30], ebx
test r14b, r14b
je 0x1400c7536
lea rcx, [rsi + 0x38]
lea rdx, [rbp + 0x30]
call fcn.1400c5ce0
inc ebx
cmp ebx, dword [rsp + 0x40]
jle 0x1400c7442
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400c7605
xor bl, bl
mov dword [rsp + 0x68], 0x2c
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xf8]
mov qword [rsp + 0x20], rax
lea rdx, [0x140221e20]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400c75c6
mov dword [rsp + 0x78], r13d
mov ecx, dword [rbp + 0xfc]
add ecx, dword [rbp + 0xf8]
mov dword [rsp + 0x7c], ecx
mov eax, dword [rbp + 0x100]
sub eax, ecx
add eax, dword [rbp + 0xf8]
mov dword [rbp - 0x80], eax
movups xmm0, xmmword [rbp + 0x104]
movups xmmword [rbp - 0x7c], xmm0
movups xmm0, xmmword [rbp + 0x114]
movups xmmword [rbp - 0x6c], xmm0
mov bl, 1
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rbp + 0x60], xmm0
movups xmm1, xmmword [rbp - 0x78]
movups xmmword [rbp + 0x70], xmm1
movsd xmm0, qword [rbp - 0x68]
movsd qword [rbp + 0x80], xmm0
mov eax, dword [rbp - 0x60]
mov dword [rbp + 0x88], eax
mov dword [rbp + 0x60], 0x7b2
test bl, bl
je 0x1400c7605
lea rcx, [rsi + 0x38]
lea rdx, [rbp + 0x60]
call fcn.1400c5ce0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx]
test eax, eax
je 0x1400c7631
cmp eax, 0xffffffff
je 0x1400c7640
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400c7640
mov rcx, qword [rsp + 0x70]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400397e0
nop
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x1400c7660
cmp eax, 0xffffffff
je 0x1400c766e
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400c766e
mov rcx, qword [rsp + 0x50]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400397e0
mov rax, qword [rsi + 0x38]
mov edx, dword [rax + 8]
mov eax, dword [rax + 0xc]
cmp eax, edx
jne 0x1400c76ca
mov rcx, r12
call fcn.140023b90
mov rcx, r15
call fcn.140023b90
mov rcx, qword [rsi + 0x20]
lea rax, [0x140168648]
cmp rcx, rax
je 0x1400c76ca
mov qword [rbp - 8], rcx
mov qword [rsi + 0x20], rax
mov eax, dword [rcx]
test eax, eax
je 0x1400c76bc
cmp eax, 0xffffffff
je 0x1400c76ca
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x1400c76ca
mov rcx, qword [rbp - 8]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400397e0
mov rcx, qword [rbp + 0x128]
xor rcx, rsp
call fcn.140103500
mov rbx, qword [rsp + 0x280]
add rsp, 0x230
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret