Function at 0x140062590
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x1401900d0]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov rdi, rcx
xor r14d, r14d
lea rsi, [0x14019e9e0]
mov qword [rsp + 0x30], rsi
mov rcx, rsi
call fcn.1400e409c
test eax, eax
jne 0x14006282e
mov eax, dword [0x14019ea2c]
cmp eax, 0x7fffffff
je 0x14006281b
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
lea r8d, [r14 + 9]
lea rdx, str.EnableLog
lea rcx, [rsp + 0x48]
call fcn.14000d470
mov ebx, dword [reloc.WS2_32.dll_closesocket]
mov dword [rsp + 0x44], 4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
lea rdx, str.SOFTWAREASUSARMOURY_CRATE_Diagnosis
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14006268d
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rdx, qword [rsp + 0x48]
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
cmove ebx, dword [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.14000d2f0
mov dword [reloc.WS2_32.dll_closesocket], ebx
lea rcx, [rsp + 0x68]
call fcn.140062840
mov rdx, rax
lea rcx, [0x14019e900]
call fcn.14001a2f0
lea rcx, [rsp + 0x68]
call fcn.14000d2f0
lea rcx, [rsp + 0x68]
call fcn.140062c20
mov rdx, rax
lea rcx, [0x14019e8c0]
call fcn.14001a2f0
lea rcx, [rsp + 0x68]
call fcn.14000d2f0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rdi + 0x20], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
movdqa xmm1, xmmword [0x140168c90]
movdqu xmmword [rsp + 0x78], xmm1
mov word [rsp + 0x68], r14w
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20219
xor r8d, r8d
lea rdx, str.SOFTWAREASUSArmouryDevice
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400627a1
mov dword [rsp + 0x40], 0x400
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Installation_location
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400627a1
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
lea rax, [rbp - 0x70]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140062790
lea rdx, [rbp - 0x70]
jmp 0x1400627bf
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov r8d, 0x29
lea rdx, str.C:Program_Files__x86_ASUSArmouryDevice
lea rcx, [rsp + 0x48]
call fcn.14001c4f0
nop
lea rcx, [rsp + 0x68]
call fcn.14000d260
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.14001a080
lea rcx, [rsp + 0x48]
call fcn.14000d260
nop
mov rcx, rsi
call fcn.1400e40c0
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.140105820
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
dec eax
mov dword [0x14019ea2c], eax
mov ecx, 6
call fcn.1400e2fa8
int3
mov ecx, 5
call fcn.1400e2fa8
int3