Function at 0x14007a3dc
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x9f8]
sub rsp, 0xad0
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400f6388]
xor rax, rsp
mov qword [rbp + 0x9c0], rax
mov rsi, rdx
call fcn.14006f83c
xor r12d, r12d
test al, al
je 0x14007a434
mov edi, 0x80004005
jmp 0x14007a8d7
mov ecx, 0x640
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov qword [rsi + 0x10], rax
test rax, rax
je 0x14007a8d2
mov eax, 0x1008
mov word [rsi], ax
mov dword [rsi + 8], r12d
mov ebx, 0x78
mov r8d, ebx
xor edx, edx
lea rcx, [rbp - 0x60]
call sub.msvcrt.dll_memset
lea r13d, [rbx - 0x65]
mov dword [rbp - 0x38], r13d
mov dword [rbp - 0x60], ebx
lea r8, [rbp - 0x78]
lea edx, [rbx - 0x68]
lea rcx, [rbp - 0x60]
call qword [sym.imp.WS2_32.dll_WSALookupServiceBeginW]
lea r15d, [rbx - 0x77]
test eax, eax
jne 0x14007a6a8
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x60], r12d
mov dword [rsp + 0x30], ebx
or r15d, 0xffffffff
mov rax, qword [0x1400f6030]
lea rcx, [0x1400f6030]
mov rax, qword [rax + 0x18]
call qword [str.__f_]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x68], rbx
movsxd rdi, dword [rsp + 0x30]
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14007a4f7
mov edx, edi
lea rcx, [rsp + 0x68]
call fcn.140004f6c
mov rbx, qword [rsp + 0x68]
test edi, edi
js 0x14007a912
cmp edi, dword [rbx - 0xc]
jg 0x14007a912
mov dword [rbx - 0x10], edi
mov word [rbx + rdi*2], r12w
mov r8d, dword [rsp + 0x30]
xor edx, edx
mov rcx, rbx
call sub.msvcrt.dll_memset
mov eax, dword [rsp + 0x30]
mov dword [rbx], eax
mov dword [rbx + 0x28], r13d
mov r9, rbx
lea r8, [rsp + 0x30]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.WS2_32.dll_WSALookupServiceNextW]
test eax, eax
je 0x14007a5ae
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x277e
je 0x14007a616
cmp eax, 0x271e
je 0x14007a5ea
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
lea rdx, [rbx - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x14007a591
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.__f_]
test edi, edi
jns 0x14007a63c
lea rcx, [rsp + 0x48]
call fcn.14005b23c
mov r15d, 1
jmp 0x14007a6b6
mov r14, qword [rbx + 8]
mov rdi, qword [rsp + 0x50]
cmp rdi, qword [rsp + 0x58]
jb 0x14007a5d4
lea rdx, [rdi + 1]
lea rcx, [rsp + 0x48]
call fcn.1400157fc
test al, al
je 0x14007a928
mov rax, qword [rsp + 0x48]
lea rcx, [rax + rdi*8]
mov rdx, r14
call fcn.140004be4
inc qword [rsp + 0x50]
lea rdx, [rbx - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x14007a4af
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.__f_]
jmp 0x14007a4af
mov edi, r12d
lea rdx, [rbx - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x14007a63c
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.__f_]
mov rbx, r12
mov r14, qword [rsp + 0x50]
test r14, r14
je 0x14007a599
mov eax, dword [rsi + 8]
mov r15, qword [rsp + 0x48]
cmp eax, 0xc8
jae 0x14007a599
cmp rbx, r14
jae 0x14007a91d
mov rcx, qword [r15 + rbx*8]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edx, dword [rsi + 8]
mov rcx, qword [rsi + 0x10]
mov qword [rcx + rdx*8], rax
mov ecx, dword [rsi + 8]
mov rax, qword [rsi + 0x10]
cmp qword [rax + rcx*8], r12
je 0x14007a69e
lea eax, [rcx + 1]
mov dword [rsi + 8], eax
inc rbx
cmp rbx, r14
jb 0x14007a655
jmp 0x14007a599
mov edi, 0x8007000e
jmp 0x14007a599
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
js 0x14007a8d7
mov qword [rsp + 0x70], r12
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20219
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftMediaPlayerPreferencesHME_
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14007a74e
mov r14, qword [rsp + 0x70]
mov dword [rsp + 0x34], r12d
mov dword [rsp + 0x38], 4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x80]
xor r8d, r8d
lea rdx, str.DONOTAuthenticateRMEClient
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ebx, r12b
cmp dword [rsp + 0x34], r15d
cmove ebx, r15d
test r14, r14
je 0x14007a746
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
jne 0x14007a8cc
cmp dword [rsi + 8], 0xc8
jae 0x14007a8cc
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x40], r12
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x78]
call fcn.1400b2cbc
mov edi, eax
test eax, eax
js 0x14007a8b0
mov r15, qword [rsp + 0x40]
test r15, r15
je 0x14007a8b0
mov r13d, 0x80
mov rbx, qword [r15 + 0x18]
test rbx, rbx
je 0x14007a8a3
cmp dword [rsi + 8], 0xc8
jae 0x14007a8a3
mov eax, 1
test byte [rbx + 4], al
je 0x14007a895
cmp qword [rbx + 0x10], r12
je 0x14007a895
movsxd r14, dword [rbx + 0x18]
cmp r14, r13
ja 0x14007a895
mov r8, r13
xor edx, edx
lea rcx, [rbp + 0x20]
call sub.msvcrt.dll_memset
mov r8, r14
mov rdx, qword [rbx + 0x10]
lea rcx, [rbp + 0x20]
call sub.msvcrt.dll_memcpy
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0x20]
call fcn.1400b2fe0
mov edi, eax
test eax, eax
js 0x14007a84e
mov r14d, r12d
cmp dword [rsi + 8], r12d
jbe 0x14007a83f
mov r13d, 1
mov eax, r14d
mov rcx, qword [rsi + 0x10]
lea rdx, [rbp + 0x1b0]
mov rcx, qword [rcx + rax*8]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x14007a839
add r14d, r13d
cmp r14d, dword [rsi + 8]
jb 0x14007a814
mov r13d, 0x80
cmp r14d, dword [rsi + 8]
jne 0x14007a895
lea rcx, [rbp + 0x1b0]
jmp 0x14007a871
mov r8d, 0x81
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x20]
call fcn.1400b2dc0
mov edi, eax
test eax, eax
js 0x14007a895
lea rcx, [rbp + 0xa0]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edx, dword [rsi + 8]
mov rcx, qword [rsi + 0x10]
mov qword [rcx + rdx*8], rax
mov ecx, dword [rsi + 8]
mov rax, qword [rsi + 0x10]
cmp qword [rax + rcx*8], r12
je 0x14007a89e
lea eax, [rcx + 1]
mov dword [rsi + 8], eax
mov rbx, qword [rbx + 8]
jmp 0x14007a796
mov edi, 0x8007000e
mov r15, qword [r15 + 8]
test r15, r15
jne 0x14007a792
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14007a8cc
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
jns 0x14007a8e0
jmp 0x14007a8d7
mov edi, 0x8007000e
mov rcx, rsi
call qword [sym.imp.ole32.dll_PropVariantClear]
mov eax, edi
mov rcx, qword [rbp + 0x9c0]
xor rcx, rsp
call fcn.1400c13a0
lea r11, [rsp + 0xad0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x80070057
call fcn.1400051a4
nop
mov ecx, 0x80070057
call fcn.1400051a4
nop
mov ecx, 0x8007000e
call fcn.1400051a4
int3