Function at 0x140064e90
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 [0x1401970d0]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov rdi, rcx
xor r14d, r14d
lea rsi, [0x1401a5a00]
mov qword [rsp + 0x30], rsi
mov rcx, rsi
call fcn.1400e91cc
test eax, eax
jne 0x14006512e
mov eax, dword [0x1401a5a4c]
cmp eax, 0x7fffffff
je 0x14006511b
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.14000e8b0
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 0x140064f8d
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.14000e730
mov dword [reloc.WS2_32.dll_closesocket], ebx
lea rcx, [rsp + 0x68]
call fcn.140065140
mov rdx, rax
lea rcx, [0x1401a5930]
call fcn.14001c0b0
lea rcx, [rsp + 0x68]
call fcn.14000e730
lea rcx, [rsp + 0x68]
call fcn.140065520
mov rdx, rax
lea rcx, [0x1401a58f0]
call fcn.14001c0b0
lea rcx, [rsp + 0x68]
call fcn.14000e730
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rdi + 0x20], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
movdqa xmm1, xmmword [0x14016f780]
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 0x1400650a1
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 0x1400650a1
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 0x140065090
lea rdx, [rbp - 0x70]
jmp 0x1400650bf
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.14001e400
nop
lea rcx, [rsp + 0x68]
call fcn.14000e6a0
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.14001be40
lea rcx, [rsp + 0x48]
call fcn.14000e6a0
nop
mov rcx, rsi
call fcn.1400e91f0
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.14010a950
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 [0x1401a5a4c], eax
mov ecx, 6
call fcn.1400e80d8
int3
mov ecx, 5
call fcn.1400e80d8
int3