Function at 0x1401d2620
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 [0x140415a10]
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.1402b7390
mov r14, rax
test rax, rax
je 0x1401d2ee9
mov dword [rbp - 0x6c], ebx
cmp dword [r13 + 0x18], ebx
jl 0x1401d2ee9
mov r15d, ebx
mov qword [rbp], rbx
lea rax, [0x140346ce0]
nop word [rax + rax]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 0
test r15, r15
jne 0x1401d2718
mov r12, 0xffffffff80000002
mov rdi, qword [0x140416ee8]
test rdi, rdi
je 0x1401d27a3
or rbx, 0xffffffffffffffff
nop
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1401d26d0
test ebx, ebx
jle 0x1401d27a3
mov edx, ebx
lea rcx, [rsp + 0x60]
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [rsp + 0x68]
inc eax
movsxd rdx, eax
mov r8, rdi
mov rcx, qword [rsp + 0x60]
call fcn.1402ba94c
mov edx, ebx
lea rcx, [rsp + 0x60]
call fcn.1401fde50
jmp 0x1401d27a3
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.1401fcb40
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.1402ba94c
mov edx, edi
lea rcx, [rsp + 0x60]
call fcn.1401fde50
mov edx, dword [rsp + 0x6c]
inc edx
lea rcx, [rsp + 0x60]
call fcn.1401fcb40
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.1401fde50
jmp 0x1401d27a8
mov ebx, 0x5c
lea rdx, str.SOFTWARE
lea rcx, [rsp + 0x60]
call fcn.1401fb190
mov edx, dword [rsp + 0x6c]
inc edx
lea rcx, [rsp + 0x60]
call fcn.1401fcb40
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.1401fde50
lea rdx, str.Classes
lea rcx, [rsp + 0x60]
call fcn.1401fb190
mov edx, dword [rsp + 0x6c]
inc edx
lea rcx, [rsp + 0x60]
call fcn.1401fcb40
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.1401fde50
lea rdx, str.ActivatableClasses
lea rcx, [rsp + 0x60]
call fcn.1401fb190
mov edx, dword [rsp + 0x6c]
inc edx
lea rcx, [rsp + 0x60]
call fcn.1401fcb40
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.1401fde50
lea rdx, str.Package
lea rcx, [rsp + 0x60]
call fcn.1401fb190
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 0x1401d2eb8
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 0x1401d2eaa
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 0x1401d2e99
lea rax, [rbp + 0x230]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401d2940
mov qword [rbp - 0x60], 0
test ebx, ebx
jne 0x1401d2963
lea rax, [0x140346ce0]
mov qword [rbp - 0x68], rax
jmp 0x1401d2989
mov edx, ebx
lea rcx, [rbp - 0x68]
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [rbp - 0x60]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x230]
mov rcx, qword [rbp - 0x68]
call fcn.1402ba94c
mov edx, ebx
lea rcx, [rbp - 0x68]
call fcn.1401fde50
nop
mov qword [rsp + 0x78], 0
mov edx, dword [rsp + 0x6c]
test edx, edx
jne 0x1401d29b4
lea rax, [0x140346ce0]
mov qword [rsp + 0x70], rax
jmp 0x1401d29df
lea rcx, [rsp + 0x70]
call fcn.1401fcb40
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.1402ba94c
mov edx, dword [rsp + 0x6c]
lea rcx, [rsp + 0x70]
call fcn.1401fde50
nop
mov edx, dword [rsp + 0x7c]
inc edx
lea rcx, [rsp + 0x70]
call fcn.1401fcb40
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.1401fde50
mov ebx, dword [rsp + 0x7c]
add ebx, dword [rbp - 0x5c]
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.1401fcb40
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.1402ba94c
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.1401fde50
mov edx, dword [rsp + 0x7c]
inc edx
lea rcx, [rsp + 0x70]
call fcn.1401fcb40
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.1401fde50
lea rdx, str.DebugInformation
lea rcx, [rsp + 0x70]
call fcn.1401fb190
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 0x1401d2e76
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 0x1401d2e6b
mov edx, dword [rsp + 0x7c]
inc edx
lea rcx, [rsp + 0x70]
call fcn.1401fcb40
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.1401fde50
lea rdx, [rbp + 0x230]
lea rcx, [rsp + 0x70]
call fcn.1401fb190
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 0x1401d2e6b
lea rdi, [0x140345fb0]
cmp r12, 0xffffffff80000002
lea rax, [0x140345fb8]
cmove rdi, rax
test rdi, rdi
jne 0x1401d2bcd
xor eax, eax
mov ebx, eax
mov qword [rbp - 0x78], rax
jmp 0x1401d2be5
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1401d2bd1
xor eax, eax
mov qword [rbp - 0x78], rax
test ebx, ebx
jne 0x1401d2bf2
lea rax, [0x140346ce0]
mov qword [rbp - 0x80], rax
jmp 0x1401d2c14
mov edx, ebx
lea rcx, [rbp - 0x80]
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [rbp - 0x78]
inc eax
movsxd rdx, eax
mov r8, rdi
mov rcx, qword [rbp - 0x80]
call fcn.1402ba94c
mov edx, ebx
lea rcx, [rbp - 0x80]
call fcn.1401fde50
nop
lea rdx, [0x140345f98]
lea rcx, [rbp - 0x80]
call fcn.1401fb190
mov ebx, dword [rbp - 0x74]
add ebx, dword [rsp + 0x7c]
mov edx, ebx
lea rcx, [rbp - 0x80]
call fcn.1401fcb40
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.1402ba94c
mov edx, ebx
lea rcx, [rbp - 0x80]
call fcn.1401fde50
lea rdx, [0x140345f98]
lea rcx, [rbp - 0x80]
call fcn.1401fb190
mov ecx, 0xb8
call fcn.1402b6dbc
mov rdi, rax
mov qword [rbp + 0x10], rax
test rax, rax
je 0x1401d2d13
lea rax, [rbp + 0x20]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401d2ca3
xor eax, eax
mov qword [rbp - 0x30], rax
test ebx, ebx
jne 0x1401d2cc4
lea rax, [0x140346ce0]
mov qword [rbp - 0x38], rax
jmp 0x1401d2ce7
mov edx, ebx
lea rcx, [rbp - 0x38]
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [rbp - 0x30]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x20]
mov rcx, qword [rbp - 0x38]
call fcn.1402ba94c
mov edx, ebx
lea rcx, [rbp - 0x38]
call fcn.1401fde50
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.14014f110
mov rbx, rax
xor edi, edi
jmp 0x1401d2d17
xor edi, edi
mov ebx, edi
test sil, 1
je 0x1401d2d2f
and esi, 0xfffffffe
cmp dword [rbp - 0x30], 0
jle 0x1401d2d2f
mov rcx, qword [rbp - 0x38]
call fcn.1402b7350
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.1401fcb40
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.1402ba94c
mov edx, 0xd
lea rcx, [rbp - 0x28]
call fcn.1401fde50
nop
lea r8, [rbp - 0x28]
mov edx, 2
mov rcx, rbx
call fcn.1400d9690
nop
cmp dword [rbp - 0x20], 0
jle 0x1401d2da1
mov rcx, qword [rbp - 0x28]
call fcn.1402b7350
mov rax, qword [rbx]
mov rdx, qword [r13 + 8]
mov rcx, rbx
call qword [rax + 0x70]
mov dl, 1
mov rcx, rbx
call fcn.1400d7a00
mov rdx, rbx
mov rcx, qword [r13 + 8]
call fcn.1400f8580
or rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [r14 + rbx*2], 0
jne 0x1401d2dd0
mov qword [rbp - 0x48], 0
test ebx, ebx
jne 0x1401d2df4
lea rax, [0x140346ce0]
mov qword [rbp - 0x50], rax
jmp 0x1401d2e16
mov edx, ebx
lea rcx, [rbp - 0x50]
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [rbp - 0x48]
inc eax
movsxd rdx, eax
mov r8, r14
mov rcx, qword [rbp - 0x50]
call fcn.1402ba94c
mov edx, ebx
lea rcx, [rbp - 0x50]
call fcn.1401fde50
nop
mov r8b, 1
lea rdx, [rbp - 0x50]
mov rcx, qword [r13 + 8]
call fcn.1400f8340
test rax, rax
je 0x1401d2e4c
or qword [rax + 0x40], 0x100000
lea rdx, [rbp - 0x80]
mov rcx, rax
call fcn.1400eb2a0
nop
cmp dword [rbp - 0x48], 0
jle 0x1401d2e5c
mov rcx, qword [rbp - 0x50]
call fcn.1402b7350
nop
cmp dword [rbp - 0x78], 0
jle 0x1401d2e6b
mov rcx, qword [rbp - 0x80]
call fcn.1402b7350
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp dword [rsp + 0x78], 0
jle 0x1401d2e88
mov rcx, qword [rsp + 0x70]
call fcn.1402b7350
nop
cmp dword [rbp - 0x60], 0
jle 0x1401d2ea0
mov rcx, qword [rbp - 0x68]
call fcn.1402b7350
jmp 0x1401d2ea0
cmp eax, 0x103
je 0x1401d2eaa
cmp r15d, dword [rbp - 0x70]
jb 0x1401d28f0
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r15, qword [rbp]
cmp dword [rsp + 0x68], 0
jle 0x1401d2ec9
mov rcx, qword [rsp + 0x60]
call fcn.1402b7350
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, [0x140346ce0]
jle 0x1401d26a0
mov rcx, qword [rbp + 0xa30]
xor rcx, rsp
call fcn.1402b6d40
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