Function at 0x14000cd80
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x488]
sub rsp, 0x580
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rax, qword [0x140194020]
xor rax, rsp
mov qword [rbp + 0x470], rax
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 0x20219
xor r8d, r8d
lea rdx, str.SOFTWAREASUSArmouryHttp
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000d678
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x260]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0x14], 0x104
xor r14d, r14d
mov dword [rbp + 0x10], r14d
lea rax, [rbp + 0x38]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x24]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x28]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x2c]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0x14]
lea rdx, [rbp + 0x260]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp dword [rbp + 0x10], r14d
je 0x14000d678
mov qword [rbp], r14
xor eax, eax
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x50], rax
mov dword [rbp + 0x58], eax
mov word [rbp + 0x5c], ax
mov dword [rbp + 0x1c], 0x200
mov rbx, qword [0x1401a5030]
mov rdx, qword [rbx + 8]
lea rcx, [0x1401a5030]
call fcn.140012620
mov rax, qword [0x1401a5030]
mov qword [rax + 8], rbx
mov rax, qword [0x1401a5030]
mov qword [rax], rbx
mov rax, qword [0x1401a5030]
mov qword [rax + 0x10], rbx
mov qword [0x1401a5038], r14
mov rbx, qword [0x1401a5190]
mov rdx, qword [rbx + 8]
lea rcx, [0x1401a5190]
call fcn.140012620
mov rax, qword [0x1401a5190]
mov qword [rax + 8], rbx
mov rax, qword [0x1401a5190]
mov qword [rax], rbx
mov rax, qword [0x1401a5190]
mov qword [rax + 0x10], rbx
mov qword [0x1401a5198], r14
mov esi, r14d
cmp dword [rbp + 0x10], r14d
jbe 0x14000d678
nop
mov dword [rbp + 0x18], 0xff
lea rax, [rbp + 0x38]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x18]
lea r8, [rbp + 0x60]
mov edx, esi
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14000d66d
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r14w
lea rax, [rbp + 0x60]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14000cf80
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.140004a60
lea rcx, [rsp + 0x60]
call fcn.14000b960
mov r8, 0xffffffffffffffff
test al, al
lea rax, [rbp + 0x60]
jne 0x14000d0a8
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], r14w
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14000cfd0
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x58]
call fcn.140004a60
lea rcx, [rbp - 0x58]
call fcn.14000bb80
test al, al
jne 0x14000d2d5
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r14w
lea rax, [rbp + 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14000d015
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.140004a60
nop
mov r8d, reloc.WLDAP32.dll_Ordinal_32
lea rdx, str._key_ArmourySocketServer__false
lea rcx, [rbp - 0x80]
call fcn.140012db0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
lea rbx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rbx, qword [rsp + 0x60]
call fcn.14002cc30
mov rcx, rax
mov r8b, 1
mov rdx, rbx
call fcn.14002d030
nop
lea rcx, [rsp + 0x60]
call fcn.1400049f0
nop
lea rcx, [rbp - 0x80]
jmp 0x14000d668
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r14w
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14000d0c0
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.140004a60
nop
mov r8d, reloc.WLDAP32.dll_Ordinal_26
lea rdx, str._key_IsForceLoading__true
lea rcx, [rbp - 0x80]
call fcn.140012db0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
lea rdi, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdi, qword [rsp + 0x60]
mov rbx, qword [0x1401a4e50]
test rbx, rbx
jne 0x14000d15e
lea ecx, [rbx + 4]
call fcn.1400ace1c
mov rbx, rax
mov qword [rbp - 0x10], rax
call fcn.14002cc80
mov dword [rbx], eax
test eax, eax
je 0x14000d157
call fcn.14002cd70
nop
mov qword [0x1401a4e50], rbx
mov r8b, 1
mov rdx, rdi
mov rcx, rbx
call fcn.14002d030
nop
lea rcx, [rsp + 0x60]
call fcn.1400049f0
nop
lea rcx, [rbp - 0x80]
call fcn.1400049f0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r14w
lea rax, [rbp + 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14000d1a0
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.140004a60
mov r10, qword [0x1401a5158]
mov r9, qword [0x1401a5150]
cmp r9, r10
je 0x14000d22a
mov rbx, qword [rsp + 0x78]
mov r11, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x60]
nop dword [rax + rax]
lea rax, [rsp + 0x60]
cmp rbx, 8
cmovae rax, rdi
mov rdx, r9
cmp qword [r9 + 0x18], 8
jb 0x14000d1fa
mov rdx, qword [r9]
mov r8, qword [r9 + 0x10]
cmp r8, r11
jne 0x14000d21e
test r8, r8
je 0x14000d227
movzx ecx, word [rax]
cmp word [rdx], cx
jne 0x14000d21e
add rdx, 2
add rax, 2
sub r8, 1
jmp 0x14000d206
add r9, 0x20
cmp r9, r10
jne 0x14000d1e0
cmp r9, r10
sete bl
lea rcx, [rsp + 0x60]
call fcn.1400049f0
test bl, bl
je 0x14000d2d5
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r14w
lea rax, [rbp + 0x60]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x14000d260
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.140004a60
nop
mov rdx, qword [0x1401a5158]
cmp qword [0x1401a5160], rdx
je 0x14000d2b9
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rdx + 0x10], xmm1
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r14w
add qword [0x1401a5158], 0x20
jmp 0x14000d2cb
lea r8, [rsp + 0x60]
lea rcx, [0x1401a5150]
call fcn.1400137e0
nop
lea rcx, [rsp + 0x60]
call fcn.1400049f0
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r14w
lea rax, [rbp + 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14000d2f1
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.140004a60
nop
mov r9d, Ordinal_41
lea r8, str.SOFTWAREWOW6432NodeASUSArmouryHttp_
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.140014600
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
lea rax, [rbp]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea rcx, [rsp + 0x60]
call fcn.1400049f0
nop
lea rcx, [rbp - 0x80]
call fcn.1400049f0
mov rcx, qword [rbp]
test rcx, rcx
je 0x14000d3da
lea rax, [rbp + 0x1c]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14013ec60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp]
test eax, eax
jne 0x14000d3d4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, r14
mov qword [rbp], rcx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r14w
lea rax, [rbp + 0x60]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14000d400
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.140004a60
lea rcx, [rbp - 0x80]
call fcn.14000bda0
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r14w
mov r8, 0xffffffffffffffff
cmp eax, 1
lea rax, [rbp + 0x60]
jne 0x14000d4a0
inc r8
cmp word [rax + r8*2], 0
jne 0x14000d442
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.140004a60
nop
lea rdx, [rbp - 0x80]
lea rcx, [0x1401a5190]
call fcn.140011390
lea rcx, [rbp + 0x40]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rcx + r8*2], 0
jne 0x14000d480
lea rdx, [rbp + 0x40]
mov rcx, rax
call fcn.140004a60
nop
jmp 0x14000d4ec
inc r8
cmp word [rax + r8*2], 0
jne 0x14000d4a0
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.140004a60
nop
lea rdx, [rbp - 0x80]
lea rcx, [0x1401a5030]
call fcn.140011390
lea rcx, [rbp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rcx + r8*2], 0
jne 0x14000d4d4
lea rdx, [rbp + 0x40]
mov rcx, rax
call fcn.140004a60
nop
lea rcx, [rbp - 0x80]
call fcn.1400049f0
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], r14w
lea rax, [rbp + 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14000d511
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x38]
call fcn.140004a60
nop
mov r8d, 1
lea rdx, reloc.WLDAP32.dll_Ordinal_32
lea rcx, [rbp - 0x38]
call fcn.140012db0
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x40], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
lea rax, [rbp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14000d572
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x58]
call fcn.140012db0
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov r8d, reloc.WS2_32.dll_select
lea rdx, str._HTML_is_installed
lea rcx, [rbp - 0x80]
call fcn.140012db0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
lea rdi, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdi, qword [rsp + 0x60]
mov rbx, qword [0x1401a4e50]
test rbx, rbx
jne 0x14000d636
lea ecx, [rbx + 4]
call fcn.1400ace1c
mov rbx, rax
mov qword [rbp - 8], rax
call fcn.14002cc80
mov dword [rbx], eax
test eax, eax
je 0x14000d62f
call fcn.14002cd70
nop
mov qword [0x1401a4e50], rbx
mov r8b, 1
mov rdx, rdi
mov rcx, rbx
call fcn.14002d030
nop
lea rcx, [rsp + 0x60]
call fcn.1400049f0
nop
lea rcx, [rbp - 0x80]
call fcn.1400049f0
nop
lea rcx, [rbp - 0x58]
call fcn.1400049f0
nop
lea rcx, [rbp - 0x38]
call fcn.1400049f0
inc esi
cmp esi, dword [rbp + 0x10]
jb 0x14000cf20
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x470]
xor rcx, rsp
call fcn.1400acdf0
lea r11, [rsp + 0x580]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret