Function at 0x1401d3c40
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 [0x140418a10]
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.1402b9c60
mov r14, rax
test rax, rax
je 0x1401d4509
mov dword [rbp - 0x6c], ebx
cmp dword [r13 + 0x18], ebx
jl 0x1401d4509
mov r15d, ebx
mov qword [rbp], rbx
lea rax, [0x140348ca0]
nop word [rax + rax]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 0
test r15, r15
jne 0x1401d3d38
mov r12, 0xffffffff80000002
mov rdi, qword [0x14041a158]
test rdi, rdi
je 0x1401d3dc3
or rbx, 0xffffffffffffffff
nop
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1401d3cf0
test ebx, ebx
jle 0x1401d3dc3
mov edx, ebx
lea rcx, [rsp + 0x60]
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [rsp + 0x68]
inc eax
movsxd rdx, eax
mov r8, rdi
mov rcx, qword [rsp + 0x60]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rsp + 0x60]
call fcn.140200570
jmp 0x1401d3dc3
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.1401ff260
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.1402bd21c
mov edx, edi
lea rcx, [rsp + 0x60]
call fcn.140200570
mov edx, dword [rsp + 0x6c]
inc edx
lea rcx, [rsp + 0x60]
call fcn.1401ff260
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.140200570
jmp 0x1401d3dc8
mov ebx, 0x5c
lea rdx, str.SOFTWARE
lea rcx, [rsp + 0x60]
call fcn.1401fd8b0
mov edx, dword [rsp + 0x6c]
inc edx
lea rcx, [rsp + 0x60]
call fcn.1401ff260
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.140200570
lea rdx, str.Classes
lea rcx, [rsp + 0x60]
call fcn.1401fd8b0
mov edx, dword [rsp + 0x6c]
inc edx
lea rcx, [rsp + 0x60]
call fcn.1401ff260
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.140200570
lea rdx, str.ActivatableClasses
lea rcx, [rsp + 0x60]
call fcn.1401fd8b0
mov edx, dword [rsp + 0x6c]
inc edx
lea rcx, [rsp + 0x60]
call fcn.1401ff260
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.140200570
lea rdx, str.Package
lea rcx, [rsp + 0x60]
call fcn.1401fd8b0
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 0x1401d44d8
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 0x1401d44ca
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 0x1401d44b9
lea rax, [rbp + 0x230]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401d3f60
mov qword [rbp - 0x60], 0
test ebx, ebx
jne 0x1401d3f83
lea rax, [0x140348ca0]
mov qword [rbp - 0x68], rax
jmp 0x1401d3fa9
mov edx, ebx
lea rcx, [rbp - 0x68]
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [rbp - 0x60]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x230]
mov rcx, qword [rbp - 0x68]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rbp - 0x68]
call fcn.140200570
nop
mov qword [rsp + 0x78], 0
mov edx, dword [rsp + 0x6c]
test edx, edx
jne 0x1401d3fd4
lea rax, [0x140348ca0]
mov qword [rsp + 0x70], rax
jmp 0x1401d3fff
lea rcx, [rsp + 0x70]
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rsp + 0x6c]
lea rcx, [rsp + 0x70]
call fcn.140200570
nop
mov edx, dword [rsp + 0x7c]
inc edx
lea rcx, [rsp + 0x70]
call fcn.1401ff260
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.140200570
mov ebx, dword [rsp + 0x7c]
add ebx, dword [rbp - 0x5c]
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.1401ff260
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.1402bd21c
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.140200570
mov edx, dword [rsp + 0x7c]
inc edx
lea rcx, [rsp + 0x70]
call fcn.1401ff260
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.140200570
lea rdx, str.DebugInformation
lea rcx, [rsp + 0x70]
call fcn.1401fd8b0
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 0x1401d4496
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 0x1401d448b
mov edx, dword [rsp + 0x7c]
inc edx
lea rcx, [rsp + 0x70]
call fcn.1401ff260
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.140200570
lea rdx, [rbp + 0x230]
lea rcx, [rsp + 0x70]
call fcn.1401fd8b0
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 0x1401d448b
lea rdi, [0x140347f70]
cmp r12, 0xffffffff80000002
lea rax, [0x140347f78]
cmove rdi, rax
test rdi, rdi
jne 0x1401d41ed
xor eax, eax
mov ebx, eax
mov qword [rbp - 0x78], rax
jmp 0x1401d4205
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1401d41f1
xor eax, eax
mov qword [rbp - 0x78], rax
test ebx, ebx
jne 0x1401d4212
lea rax, [0x140348ca0]
mov qword [rbp - 0x80], rax
jmp 0x1401d4234
mov edx, ebx
lea rcx, [rbp - 0x80]
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [rbp - 0x78]
inc eax
movsxd rdx, eax
mov r8, rdi
mov rcx, qword [rbp - 0x80]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rbp - 0x80]
call fcn.140200570
nop
lea rdx, [0x140347f58]
lea rcx, [rbp - 0x80]
call fcn.1401fd8b0
mov ebx, dword [rbp - 0x74]
add ebx, dword [rsp + 0x7c]
mov edx, ebx
lea rcx, [rbp - 0x80]
call fcn.1401ff260
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.1402bd21c
mov edx, ebx
lea rcx, [rbp - 0x80]
call fcn.140200570
lea rdx, [0x140347f58]
lea rcx, [rbp - 0x80]
call fcn.1401fd8b0
mov ecx, 0xb8
call fcn.1402b968c
mov rdi, rax
mov qword [rbp + 0x10], rax
test rax, rax
je 0x1401d4333
lea rax, [rbp + 0x20]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401d42c3
xor eax, eax
mov qword [rbp - 0x30], rax
test ebx, ebx
jne 0x1401d42e4
lea rax, [0x140348ca0]
mov qword [rbp - 0x38], rax
jmp 0x1401d4307
mov edx, ebx
lea rcx, [rbp - 0x38]
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [rbp - 0x30]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x20]
mov rcx, qword [rbp - 0x38]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rbp - 0x38]
call fcn.140200570
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.1401503b0
mov rbx, rax
xor edi, edi
jmp 0x1401d4337
xor edi, edi
mov ebx, edi
test sil, 1
je 0x1401d434f
and esi, 0xfffffffe
cmp dword [rbp - 0x30], 0
jle 0x1401d434f
mov rcx, qword [rbp - 0x38]
call fcn.1402b9c20
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.1401ff260
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.1402bd21c
mov edx, 0xd
lea rcx, [rbp - 0x28]
call fcn.140200570
nop
lea r8, [rbp - 0x28]
mov edx, 2
mov rcx, rbx
call fcn.1400d9700
nop
cmp dword [rbp - 0x20], 0
jle 0x1401d43c1
mov rcx, qword [rbp - 0x28]
call fcn.1402b9c20
mov rax, qword [rbx]
mov rdx, qword [r13 + 8]
mov rcx, rbx
call qword [rax + 0x70]
mov dl, 1
mov rcx, rbx
call fcn.1400d7a70
mov rdx, rbx
mov rcx, qword [r13 + 8]
call fcn.1400f9530
or rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [r14 + rbx*2], 0
jne 0x1401d43f0
mov qword [rbp - 0x48], 0
test ebx, ebx
jne 0x1401d4414
lea rax, [0x140348ca0]
mov qword [rbp - 0x50], rax
jmp 0x1401d4436
mov edx, ebx
lea rcx, [rbp - 0x50]
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [rbp - 0x48]
inc eax
movsxd rdx, eax
mov r8, r14
mov rcx, qword [rbp - 0x50]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rbp - 0x50]
call fcn.140200570
nop
mov r8b, 1
lea rdx, [rbp - 0x50]
mov rcx, qword [r13 + 8]
call fcn.1400f92f0
test rax, rax
je 0x1401d446c
or qword [rax + 0x40], 0x100000
lea rdx, [rbp - 0x80]
mov rcx, rax
call fcn.1400ec540
nop
cmp dword [rbp - 0x48], 0
jle 0x1401d447c
mov rcx, qword [rbp - 0x50]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x78], 0
jle 0x1401d448b
mov rcx, qword [rbp - 0x80]
call fcn.1402b9c20
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp dword [rsp + 0x78], 0
jle 0x1401d44a8
mov rcx, qword [rsp + 0x70]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x60], 0
jle 0x1401d44c0
mov rcx, qword [rbp - 0x68]
call fcn.1402b9c20
jmp 0x1401d44c0
cmp eax, 0x103
je 0x1401d44ca
cmp r15d, dword [rbp - 0x70]
jb 0x1401d3f10
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r15, qword [rbp]
cmp dword [rsp + 0x68], 0
jle 0x1401d44e9
mov rcx, qword [rsp + 0x60]
call fcn.1402b9c20
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, [0x140348ca0]
jle 0x1401d3cc0
mov rcx, qword [rbp + 0xa30]
xor rcx, rsp
call fcn.1402b9610
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