Function at 0x1401ef760
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x2d0
mov rax, qword [0x14031eda0]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
xor esi, esi
lea r8, [rsp + 0x50]
lea rdx, str.SoftwareAndrea_ElectronicsAEEQAPO
mov ebp, 1
mov rcx, 0xffffffff80000002
mov dword [0x1403376dc], esi
mov qword [0x1403376d0], rsi
mov dword [0x1403376e0], esi
mov qword [0x140337708], rsi
mov dword [0x1403376e4], ebp
mov dword [0x1403376d8], esi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1401ef827
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x44]
lea r9, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea rax, [0x1403376d8]
lea rdx, str.Logging
xor r8d, r8d
mov dword [rsp + 0x44], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [0x1403376d8]
test eax, eax
cmovne ecx, esi
mov dword [0x1403376d8], ecx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x1403376d8], esi
je 0x1401ef8d9
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401ef8d9
lea rdx, [rsp + 0xc0]
mov r8d, pe_nt_image_headers64
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1401ef8d9
lea rcx, [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
movsxd rcx, eax
jle 0x1401ef889
cmp word [rsp + rcx*2 + 0xc0], 0x5c
je 0x1401ef889
sub rcx, rbp
sub eax, ebp
test rcx, rcx
jg 0x1401ef874
add eax, ebp
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x38], rsi
cdqe
mov edx, 0x400
lea r8, [rsp + rax*2 + 0xc0]
xor eax, eax
mov rdi, r8
repne scasw ax, word [rdi]
lea rax, [0x1402aef50]
mov qword [rsp + 0x30], rax
not rcx
lea rax, [0x1403376e8]
mov r9d, ecx
xor ecx, ecx
mov dword [rsp + 0x28], 0x14
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor edx, edx
lea rdi, [0x140337670]
lea r8d, [rdx + 0x60]
mov rcx, rdi
call fcn.14022ec70
lea rax, [rsp + 0x48]
lea rdx, str.SoftwareRealtekAEAPO
mov r9d, 0x20119
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov ebx, esi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401ef9a7
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
lea rdx, str.RenProperties
xor r8d, r8d
mov dword [rsp + 0x40], 0x60
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1401ef96b
cmp dword [rsp + 0x40], 0x60
jne 0x1401ef96b
cmp dword [rsp + 0x60], 0xaee0aee0
cmove ebx, ebp
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x1401ef9a7
lea rdx, [rsp + 0x60]
mov rcx, rdi
mov r8d, 0x60
call fcn.14022e920
or r9d, 0xffffffff
lea rdx, str.LoadEQInfo_successful
mov rcx, rdi
or r8d, r9d
mov dword [rsp + 0x20], esi
call fcn.1401f0010
cmp dword [0x140337674], esi
jne 0x1401ef9b7
mov rcx, rdi
call fcn.1401f0320
mov rax, rdi
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.14022b9b0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret