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

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xa68]
sub rsp, 0xb40
mov qword [rbp + 8], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14041da10]
xor rax, rsp
mov qword [rbp + 0xa30], rax
mov r13, rcx
xor ebx, ebx
mov esi, ebx
mov dword [rbp - 0x10], ebx
mov ecx, 0x10000
call fcn.1402bd120
mov r14, rax
test rax, rax
je 0x1401d6709
mov dword [rbp - 0x6c], ebx
cmp dword [r13 + 0x18], ebx
jl 0x1401d6709
mov r15d, ebx
mov qword [rbp], rbx
lea rax, [0x14034d1a0]
nop word [rax + rax]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 0
test r15, r15
jne 0x1401d5f38
mov r12, 0xffffffff80000002
mov rdi, qword [0x14041eee8]
test rdi, rdi
je 0x1401d5fc3
or rbx, 0xffffffffffffffff
nop
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1401d5ef0
test ebx, ebx
jle 0x1401d5fc3
mov edx, ebx
lea rcx, [rsp + 0x60]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rsp + 0x68]
inc eax
movsxd rdx, eax
mov r8, rdi
mov rcx, qword [rsp + 0x60]
call fcn.1402c06dc
mov edx, ebx
lea rcx, [rsp + 0x60]
call fcn.140203bb0
jmp 0x1401d5fc3
mov r12, 0xffffffff80000003
mov rbx, r15
shl rbx, 4
add rbx, qword [r13 + 0x20]
mov edi, dword [rbx - 4]
mov edx, edi
lea rcx, [rsp + 0x60]
call fcn.1402028a0
movsxd r9, dword [rbx - 4]
mov ecx, dword [rsp + 0x68]
movsxd rax, dword [rsp + 0x6c]
sub ecx, eax
inc ecx
movsxd rdx, ecx
mov rcx, rax
mov rax, qword [rsp + 0x60]
lea rcx, [rax + rcx*2]
mov r8, qword [rbx - 0x10]
call fcn.1402c06dc
mov edx, edi
lea rcx, [rsp + 0x60]
call fcn.140203bb0
mov edx, dword [rsp + 0x6c]
inc edx
lea rcx, [rsp + 0x60]
call fcn.1402028a0
movsxd rcx, dword [rsp + 0x6c]
mov rax, qword [rsp + 0x60]
mov ebx, 0x5c
mov word [rax + rcx*2], bx
mov edx, dword [rsp + 0x6c]
inc edx
lea rcx, [rsp + 0x60]
call fcn.140203bb0
jmp 0x1401d5fc8
mov ebx, 0x5c
lea rdx, str.SOFTWARE
lea rcx, [rsp + 0x60]
call fcn.140200ef0
mov edx, dword [rsp + 0x6c]
inc edx
lea rcx, [rsp + 0x60]
call fcn.1402028a0
movsxd rcx, dword [rsp + 0x6c]
mov rax, qword [rsp + 0x60]
mov word [rax + rcx*2], bx
mov edx, dword [rsp + 0x6c]
inc edx
lea rcx, [rsp + 0x60]
call fcn.140203bb0
lea rdx, str.Classes
lea rcx, [rsp + 0x60]
call fcn.140200ef0
mov edx, dword [rsp + 0x6c]
inc edx
lea rcx, [rsp + 0x60]
call fcn.1402028a0
movsxd rcx, dword [rsp + 0x6c]
mov rax, qword [rsp + 0x60]
mov word [rax + rcx*2], bx
mov edx, dword [rsp + 0x6c]
inc edx
lea rcx, [rsp + 0x60]
call fcn.140203bb0
lea rdx, str.ActivatableClasses
lea rcx, [rsp + 0x60]
call fcn.140200ef0
mov edx, dword [rsp + 0x6c]
inc edx
lea rcx, [rsp + 0x60]
call fcn.1402028a0
movsxd rcx, dword [rsp + 0x6c]
mov rax, qword [rsp + 0x60]
mov word [rax + rcx*2], bx
mov edx, dword [rsp + 0x6c]
inc edx
lea rcx, [rsp + 0x60]
call fcn.140203bb0
lea rdx, str.Package
lea rcx, [rsp + 0x60]
call fcn.140200ef0
lea rax, [rbp - 0x18]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401d66d8
xor edi, edi
mov dword [rbp - 0x70], edi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov r15d, edi
cmp dword [rbp - 0x70], edi
jbe 0x1401d66ca
nop dword [rax]
mov dword [rbp - 0x58], 0x800
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x58]
lea r8, [rbp + 0x230]
mov edx, r15d
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
inc r15d
test eax, eax
jne 0x1401d66b9
lea rax, [rbp + 0x230]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401d6160
mov qword [rbp - 0x60], 0
test ebx, ebx
jne 0x1401d6183
lea rax, [0x14034d1a0]
mov qword [rbp - 0x68], rax
jmp 0x1401d61a9
mov edx, ebx
lea rcx, [rbp - 0x68]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rbp - 0x60]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x230]
mov rcx, qword [rbp - 0x68]
call fcn.1402c06dc
mov edx, ebx
lea rcx, [rbp - 0x68]
call fcn.140203bb0
nop
mov qword [rsp + 0x78], 0
mov edx, dword [rsp + 0x6c]
test edx, edx
jne 0x1401d61d4
lea rax, [0x14034d1a0]
mov qword [rsp + 0x70], rax
jmp 0x1401d61ff
lea rcx, [rsp + 0x70]
call fcn.1402028a0
movsxd r9, dword [rsp + 0x6c]
mov eax, dword [rsp + 0x78]
inc eax
movsxd rdx, eax
mov r8, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x70]
call fcn.1402c06dc
mov edx, dword [rsp + 0x6c]
lea rcx, [rsp + 0x70]
call fcn.140203bb0
nop
mov edx, dword [rsp + 0x7c]
inc edx
lea rcx, [rsp + 0x70]
call fcn.1402028a0
movsxd rcx, dword [rsp + 0x7c]
mov rax, qword [rsp + 0x70]
mov edx, 0x5c
mov word [rax + rcx*2], dx
mov edx, dword [rsp + 0x7c]
inc edx
lea rcx, [rsp + 0x70]
call fcn.140203bb0
mov ebx, dword [rsp + 0x7c]
add ebx, dword [rbp - 0x5c]
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.1402028a0
movsxd r9, dword [rbp - 0x5c]
mov ecx, dword [rsp + 0x78]
movsxd rax, dword [rsp + 0x7c]
sub ecx, eax
inc ecx
movsxd rdx, ecx
mov rcx, rax
mov rax, qword [rsp + 0x70]
lea rcx, [rax + rcx*2]
mov r8, qword [rbp - 0x68]
call fcn.1402c06dc
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.140203bb0
mov edx, dword [rsp + 0x7c]
inc edx
lea rcx, [rsp + 0x70]
call fcn.1402028a0
movsxd rcx, dword [rsp + 0x7c]
mov rax, qword [rsp + 0x70]
mov ebx, 0x5c
mov word [rax + rcx*2], bx
mov edx, dword [rsp + 0x7c]
inc edx
lea rcx, [rsp + 0x70]
call fcn.140203bb0
lea rdx, str.DebugInformation
lea rcx, [rsp + 0x70]
call fcn.140200ef0
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401d6696
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x58]
lea r8, [rbp + 0x230]
xor edx, edx
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1401d668b
mov edx, dword [rsp + 0x7c]
inc edx
lea rcx, [rsp + 0x70]
call fcn.1402028a0
movsxd rcx, dword [rsp + 0x7c]
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], bx
mov edx, dword [rsp + 0x7c]
inc edx
lea rcx, [rsp + 0x70]
call fcn.140203bb0
lea rdx, [rbp + 0x230]
lea rcx, [rsp + 0x70]
call fcn.140200ef0
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rbp - 8], 0x104
mov dword [rbp - 0xc], 0x10000
lea rax, [rbp - 0xc]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 8]
lea r8, [rbp + 0x20]
xor edx, edx
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1401d668b
lea rdi, [0x14034c0a0]
cmp r12, 0xffffffff80000002
lea rax, [0x14034c0a8]
cmove rdi, rax
test rdi, rdi
jne 0x1401d63ed
xor eax, eax
mov ebx, eax
mov qword [rbp - 0x78], rax
jmp 0x1401d6405
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1401d63f1
xor eax, eax
mov qword [rbp - 0x78], rax
test ebx, ebx
jne 0x1401d6412
lea rax, [0x14034d1a0]
mov qword [rbp - 0x80], rax
jmp 0x1401d6434
mov edx, ebx
lea rcx, [rbp - 0x80]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rbp - 0x78]
inc eax
movsxd rdx, eax
mov r8, rdi
mov rcx, qword [rbp - 0x80]
call fcn.1402c06dc
mov edx, ebx
lea rcx, [rbp - 0x80]
call fcn.140203bb0
nop
lea rdx, [0x14034c088]
lea rcx, [rbp - 0x80]
call fcn.140200ef0
mov ebx, dword [rbp - 0x74]
add ebx, dword [rsp + 0x7c]
mov edx, ebx
lea rcx, [rbp - 0x80]
call fcn.1402028a0
movsxd r9, dword [rsp + 0x7c]
mov ecx, dword [rbp - 0x78]
movsxd rax, dword [rbp - 0x74]
sub ecx, eax
inc ecx
movsxd rdx, ecx
mov rcx, rax
mov rax, qword [rbp - 0x80]
lea rcx, [rax + rcx*2]
mov r8, qword [rsp + 0x70]
call fcn.1402c06dc
mov edx, ebx
lea rcx, [rbp - 0x80]
call fcn.140203bb0
lea rdx, [0x14034c088]
lea rcx, [rbp - 0x80]
call fcn.140200ef0
mov ecx, 0xb8
call fcn.1402bcb4c
mov rdi, rax
mov qword [rbp + 0x10], rax
test rax, rax
je 0x1401d6533
lea rax, [rbp + 0x20]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401d64c3
xor eax, eax
mov qword [rbp - 0x30], rax
test ebx, ebx
jne 0x1401d64e4
lea rax, [0x14034d1a0]
mov qword [rbp - 0x38], rax
jmp 0x1401d6507
mov edx, ebx
lea rcx, [rbp - 0x38]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rbp - 0x30]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x20]
mov rcx, qword [rbp - 0x38]
call fcn.1402c06dc
mov edx, ebx
lea rcx, [rbp - 0x38]
call fcn.140203bb0
nop
or esi, 1
mov dword [rbp - 0x10], esi
mov r9b, 1
lea r8, [rbp - 0x38]
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.140151e00
mov rbx, rax
xor edi, edi
jmp 0x1401d6537
xor edi, edi
mov ebx, edi
test sil, 1
je 0x1401d654f
and esi, 0xfffffffe
cmp dword [rbp - 0x30], 0
jle 0x1401d654f
mov rcx, qword [rbp - 0x38]
call fcn.1402bd0e0
mov rax, qword [rbx]
mov dl, 1
mov rcx, rbx
call qword [rax + 0xc0]
mov qword [rbp - 0x20], 0
mov edx, 0xd
lea rcx, [rbp - 0x28]
call fcn.1402028a0
mov eax, dword [rbp - 0x20]
inc eax
movsxd rdx, eax
mov r9d, 0xd
lea r8, str.Trojan.EvadeX
mov rcx, qword [rbp - 0x28]
call fcn.1402c06dc
mov edx, 0xd
lea rcx, [rbp - 0x28]
call fcn.140203bb0
nop
lea r8, [rbp - 0x28]
mov edx, 2
mov rcx, rbx
call fcn.1400dab80
nop
cmp dword [rbp - 0x20], 0
jle 0x1401d65c1
mov rcx, qword [rbp - 0x28]
call fcn.1402bd0e0
mov rax, qword [rbx]
mov rdx, qword [r13 + 8]
mov rcx, rbx
call qword [rax + 0x70]
mov dl, 1
mov rcx, rbx
call fcn.1400d8ef0
mov rdx, rbx
mov rcx, qword [r13 + 8]
call fcn.1400fab10
or rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [r14 + rbx*2], 0
jne 0x1401d65f0
mov qword [rbp - 0x48], 0
test ebx, ebx
jne 0x1401d6614
lea rax, [0x14034d1a0]
mov qword [rbp - 0x50], rax
jmp 0x1401d6636
mov edx, ebx
lea rcx, [rbp - 0x50]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rbp - 0x48]
inc eax
movsxd rdx, eax
mov r8, r14
mov rcx, qword [rbp - 0x50]
call fcn.1402c06dc
mov edx, ebx
lea rcx, [rbp - 0x50]
call fcn.140203bb0
nop
mov r8b, 1
lea rdx, [rbp - 0x50]
mov rcx, qword [r13 + 8]
call fcn.1400fa8d0
test rax, rax
je 0x1401d666c
or qword [rax + 0x40], 0x100000
lea rdx, [rbp - 0x80]
mov rcx, rax
call fcn.1400edab0
nop
cmp dword [rbp - 0x48], 0
jle 0x1401d667c
mov rcx, qword [rbp - 0x50]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x78], 0
jle 0x1401d668b
mov rcx, qword [rbp - 0x80]
call fcn.1402bd0e0
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp dword [rsp + 0x78], 0
jle 0x1401d66a8
mov rcx, qword [rsp + 0x70]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x60], 0
jle 0x1401d66c0
mov rcx, qword [rbp - 0x68]
call fcn.1402bd0e0
jmp 0x1401d66c0
cmp eax, 0x103
je 0x1401d66ca
cmp r15d, dword [rbp - 0x70]
jb 0x1401d6110
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r15, qword [rbp]
cmp dword [rsp + 0x68], 0
jle 0x1401d66e9
mov rcx, qword [rsp + 0x60]
call fcn.1402bd0e0
mov eax, dword [rbp - 0x6c]
inc eax
mov dword [rbp - 0x6c], eax
inc r15
mov qword [rbp], r15
cmp eax, dword [r13 + 0x18]
lea rax, [0x14034d1a0]
jle 0x1401d5ec0
mov rcx, qword [rbp + 0xa30]
xor rcx, rsp
call fcn.1402bcad0
lea r11, [rsp + 0xb40]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret