Function at 0x1401037c0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov qword [rbp + 7], 0xfffffffffffffffe
mov qword [rsp + 0x118], rbx
mov r15d, r8d
mov r14, rdx
mov r12, rcx
xor r13d, r13d
mov dword [rbp - 0x19], r13d
lea rsi, [0x1401e6688]
mov qword [rbp - 0x41], rsi
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
lea rax, [rbp - 0x2d]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x29]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
lea rax, [rbp - 0x31]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x25]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x1401038f4
lea rdx, [0x1402e4028]
mov ecx, eax
call fcn.140010d50
mov rax, qword [rbp - 0x41]
mov qword [r12], rax
mov qword [rbp - 0x41], rsi
mov eax, dword [0x1401e6688]
test eax, eax
je 0x140103895
cmp eax, 0xffffffff
je 0x1401038ef
or eax, 0xffffffff
lock xadd dword [0x1401e6688], eax
cmp eax, 1
jne 0x1401038ef
mov rsi, qword [rbp - 0x41]
movsxd rbx, dword [rsi + 0xc]
add rbx, 2
lea rbx, [rsi + rbx*8]
movsxd rdi, dword [rsi + 8]
add rdi, 2
lea rdi, [rsi + rdi*8]
cmp rdi, rbx
je 0x1401038e6
sub rbx, 8
mov rcx, qword [rbx]
mov eax, dword [rcx]
test eax, eax
je 0x1401038d0
cmp eax, 0xffffffff
je 0x1401038e1
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401038e1
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbx]
call fcn.14002cfa0
cmp rbx, rdi
jne 0x1401038b2
mov rcx, rsi
call fcn.14002d690
nop
jmp 0x140103bbd
mov eax, dword [rbp - 0x31]
inc eax
mov dword [rbp - 0x31], eax
mov edx, dword [rbp - 0x2d]
inc edx
mov dword [rbp - 0x2d], edx
cmp r15d, 1
jne 0x14010390f
mov edi, dword [rbp - 0x29]
jmp 0x140103914
mov edi, dword [rbp - 0x25]
mov edx, eax
lea edx, [rdx*2 + 2]
xor r8d, r8d
lea rcx, [rbp - 0x39]
call fcn.14002dd80
nop
mov ebx, r13d
mov edx, 1
test edi, edi
jle 0x140103b0c
lea r12, [0x1401e6610]
mov esi, edx
mov qword [rbp - 0x49], r12
mov rax, qword [rbp - 0x39]
movsxd rcx, dword [rax + 4]
shr rcx, 1
mov dword [rbp + 0x7f], ecx
cmp r15d, 1
jne 0x1401039b1
cmp dword [rax], r15d
ja 0x140103965
cmp qword [rax + 0x10], 0x18
je 0x140103985
mov r8d, r13d
cmp dword [rax + 8], 0x80000000
cmovae r8d, esi
mov edx, dword [rax + 4]
inc edx
lea rcx, [rbp - 0x39]
call fcn.14002f3a0
mov rax, qword [rbp - 0x39]
mov r8, qword [rax + 0x10]
add r8, rax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x7f]
mov edx, ebx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jmp 0x140103a07
cmp dword [rax], 1
ja 0x1401039bd
cmp qword [rax + 0x10], 0x18
je 0x1401039dd
mov r8d, r13d
cmp dword [rax + 8], 0x80000000
cmovae r8d, esi
mov edx, dword [rax + 4]
inc edx
lea rcx, [rbp - 0x39]
call fcn.14002f3a0
mov rax, qword [rbp - 0x39]
mov r8, qword [rax + 0x10]
add r8, rax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x7f]
mov edx, ebx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140103ab5
mov rax, qword [rbp - 0x39]
mov rdx, qword [rax + 0x10]
add rdx, rax
mov r8d, dword [rbp + 0x7f]
lea rcx, [rbp - 0x21]
call fcn.1400091b0
mov rdx, qword [rbp - 0x49]
mov qword [rbp + 0xf], rdx
mov rcx, qword [rax]
mov qword [rbp - 0x49], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x21]
mov eax, dword [rcx]
test eax, eax
je 0x140103a58
cmp eax, 0xffffffff
je 0x140103a66
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140103a66
mov rcx, qword [rbp - 0x21]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cfa0
mov rax, qword [rbp - 0x49]
cmp dword [rax + 4], 0
jne 0x140103aa6
or rax, 0xffffffffffffffff
lea rcx, [0x140347c88]
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140103a80
mov dword [rbp - 9], eax
mov qword [rbp - 1], rcx
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp + 0x17], xmm0
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 0x49]
call fcn.140018330
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x41]
call fcn.14000d510
jmp 0x140103ac4
lea rdx, [0x1402e4050]
mov ecx, eax
call fcn.140010d50
nop
mov rcx, qword [rbp - 0x49]
mov eax, dword [rcx]
test eax, eax
je 0x140103ae3
cmp eax, 0xffffffff
je 0x140103af2
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140103af2
mov rcx, qword [rbp - 0x49]
mov r8d, 8
lea edx, [r8 - 6]
call fcn.14002cfa0
inc ebx
cmp ebx, edi
jl 0x140103941
lea rsi, [0x1401e6688]
mov r12, qword [rbp + 0x67]
mov edx, 1
mov rax, qword [rbp - 0x41]
mov qword [r12], rax
mov qword [rbp - 0x41], rsi
mov rcx, qword [rbp - 0x39]
mov eax, dword [rcx]
test eax, eax
je 0x140103b37
cmp eax, 0xffffffff
je 0x140103b46
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140103b42
mov rcx, qword [rbp - 0x39]
mov r8d, 8
call fcn.14002cfa0
mov rsi, qword [rbp - 0x41]
mov eax, dword [rsi]
test eax, eax
je 0x140103b61
cmp eax, 0xffffffff
je 0x140103bbd
or eax, 0xffffffff
lock xadd dword [rsi], eax
cmp eax, 1
jne 0x140103bbd
mov rsi, qword [rbp - 0x41]
movsxd rbx, dword [rsi + 0xc]
add rbx, 2
lea rbx, [rsi + rbx*8]
movsxd rdi, dword [rsi + 8]
add rdi, 2
lea rdi, [rsi + rdi*8]
cmp rdi, rbx
je 0x140103bb4
nop
sub rbx, 8
mov rcx, qword [rbx]
mov eax, dword [rcx]
test eax, eax
je 0x140103b9e
cmp eax, 0xffffffff
je 0x140103baf
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140103baf
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rbx]
call fcn.14002cfa0
cmp rbx, rdi
jne 0x140103b80
mov rcx, rsi
call fcn.14002d690
nop
mov rax, r12
mov rbx, qword [rsp + 0x118]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret