Function at 0x1400560c0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r14
lea rbp, [rsp - 0x4f]
sub rsp, 0xe8
movaps xmmword [rsp + 0xd0], xmm6
mov rax, qword [0x1402f8c60]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r14, rdx
test ecx, ecx
je 0x140056110
sub ecx, 1
je 0x140056107
cmp ecx, 1
je 0x1400560fe
xor eax, eax
jmp 0x1400562fe
movups xmm6, xmmword [0x14023e4c0]
jmp 0x140056117
movups xmm6, xmmword [0x14023e450]
jmp 0x140056117
movups xmm6, xmmword [0x14023e520]
movups xmmword [rdx], xmm6
call fcn.1400045e0
mov rcx, rax
test rax, rax
je 0x140056328
mov rax, qword [rax]
mov qword [rsp + 0x100], rbx
mov qword [rsp + 0x110], rsi
mov qword [rsp + 0xe0], rdi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rdx, [rbp - 0x61]
movdqa xmmword [rbp - 0x39], xmm6
add rax, 0x18
lea rcx, [rbp - 0x39]
mov qword [rbp - 0x61], rax
call fcn.140055580
mov rsi, 0xffffffffffffffff
test eax, eax
je 0x1400562c6
mov rax, qword [rbp - 0x61]
cmp dword [rax - 0x10], 0
je 0x1400562c6
xor ecx, ecx
xor edi, edi
mov qword [rbp - 0x29], rcx
mov qword [rbp - 0x21], rcx
mov qword [rbp - 0x19], rcx
mov qword [rbp - 0x11], rcx
mov qword [rbp - 9], rcx
mov qword [rbp - 1], rcx
mov qword [rbp + 7], rcx
mov qword [rbp + 0xf], rcx
mov qword [rbp + 0x17], rcx
mov word [rbp + 0x1f], cx
mov ecx, 0x4a
mov dword [rbp - 0x69], ecx
mov dword [rbp - 0x59], edi
cmp dword [rax - 8], 1
jle 0x1400561cc
mov edx, dword [rax - 0x10]
lea rcx, [rbp - 0x61]
call fcn.140002f00
mov ecx, dword [rbp - 0x69]
mov rbx, qword [rbp - 0x61]
mov qword [rbp - 0x51], rdi
test rbx, rbx
je 0x1400562bf
test ecx, ecx
je 0x1400562bf
lea rax, [rbp - 0x51]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x140230fd0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400562bf
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x1400562bf
lea rax, [rbp - 0x69]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x59]
lea rax, [rbp - 0x29]
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp - 0x51]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x1400562bf
call fcn.1400045e0
mov rcx, rax
test rax, rax
je 0x14005631d
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x49], rax
lea rax, [rbp - 0x29]
cmp rax, 0x10000
jae 0x14005628f
lea rax, [rbp - 0x29]
movzx edx, ax
lea rcx, [rbp - 0x49]
call fcn.140004320
jmp 0x1400562af
lea rcx, [rbp - 0x29]
mov rax, rsi
inc rax
cmp word [rcx + rax*2], di
jne 0x140056296
mov r8d, eax
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x49]
call fcn.140004720
mov rdx, r14
lea rcx, [rbp - 0x49]
call fcn.140026880
test eax, eax
je 0x1400562c8
mov edi, 1
jmp 0x1400562c8
xor edi, edi
mov rdx, qword [rbp - 0x61]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x1400562e4
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov rsi, qword [rsp + 0x110]
mov eax, edi
mov rdi, qword [rsp + 0xe0]
mov rbx, qword [rsp + 0x100]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140072680
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop r14
pop rbp
ret
mov ecx, 0x80004005
call fcn.140002ad0
int3
mov ecx, 0x80004005
call fcn.140002ad0
int3