Function at 0x1801de170
Capabilities:
Encode data using base64
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x820]
sub rsp, 0x920
mov rax, qword [0x1804c8100]
xor rax, rsp
mov qword [rbp + 0x810], rax
mov qword [rsp + 0x50], r8
mov r13, rdx
mov rsi, rcx
xor eax, eax
mov dword [rsp + 0x44], 0x800
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], 0xf
lea ecx, [rax + 0x20]
call fcn.180286234
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x78], 0x18
mov qword [rbp - 0x70], 0x1f
movups xmm0, xmmword [str.SOFTWAREKhronosOpenXR_]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x18034d430]
movsd qword [rax + 0x10], xmm0
mov byte [rax + 0x18], 0
lea r10, [rbp + 0xd]
mov r8d, 1
nop dword [rax + rax]
dec r10
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r10], r8b
mov r8d, edx
test edx, edx
jne 0x1801de210
lea r9, [rsp + 0x40]
lea r8, [rbp + 0xd]
mov rdx, r10
lea rcx, [rsp + 0x58]
call fcn.180041a60
nop
lea r9, [rsp + 0x58]
mov rdi, qword [rsp + 0x58]
mov r15, qword [rsp + 0x70]
cmp r15, 0xf
cmova r9, rdi
mov r12, qword [rbp - 0x78]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
sub rax, r12
mov r14, qword [rsp + 0x68]
cmp r14, rax
ja 0x1801de2b1
lea rax, [r14 + r12]
mov qword [rbp - 0x78], rax
lea rbx, [rsp + 0x78]
cmp rcx, 0xf
cmova rbx, qword [rsp + 0x78]
lea rcx, [rbx + r12]
mov r8, r14
mov rdx, r9
call fcn.1802bc970
lea rax, [r14 + rbx]
mov byte [rax + r12], 0
jmp 0x1801de2d0
mov qword [rsp + 0x20], r14
xor r8d, r8d
mov rdx, r14
lea rcx, [rsp + 0x78]
call fcn.1801b73d0
mov r15, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x58]
cmp r15, 0xf
jbe 0x1801de307
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1801de2ff
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801de9f1
mov rcx, rdi
call fcn.180286270
mov rdi, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
jbe 0x1801de315
mov rsi, qword [rsi]
mov rcx, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x70]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x1801de356
lea rax, [rcx + rdi]
mov qword [rbp - 0x78], rax
lea rbx, [rsp + 0x78]
cmp rdx, 0xf
cmova rbx, qword [rsp + 0x78]
add rbx, rcx
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.1802bc970
mov byte [rbx + rdi], 0
jmp 0x1801de36e
mov qword [rsp + 0x20], rdi
mov r9, rsi
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.1801b73d0
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x28]
call fcn.1801cafe0
nop
mov rdx, r13
lea rcx, [rbp - 0x48]
call fcn.1801cafe0
nop
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 7
cmova rdx, qword [rbp - 0x28]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1801de791
xorps xmm0, xmm0
movdqu xmmword [rbp - 8], xmm0
xor r12d, r12d
mov qword [rbp + 8], r12
mov rsi, qword [rbp - 0x78]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, rsi
cmp rax, 0x3d
jb 0x1801de9c1
lea r15, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
cmova r15, qword [rsp + 0x78]
movups xmmword [rbp - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
lea r14, [rsi + 0x3d]
mov ebx, 0xf
lea rdi, [rbp - 0x68]
cmp r14, rbx
jbe 0x1801de495
mov rbx, r14
or rbx, 0xf
cmp rbx, rcx
jbe 0x1801de457
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.180286234
test rax, rax
je 0x1801de9cd
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1801de491
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1801de47f
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1801de9b5
jmp 0x1801de438
test rcx, rcx
je 0x1801de48e
call fcn.180286234
mov rdi, rax
jmp 0x1801de491
mov rdi, r12
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x50], rbx
movups xmm0, xmmword [str.ReadRuntimeDataFilesInRegistry___failed_to_open_registry_key]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [0x18034d450]
movups xmmword [rdi + 0x10], xmm1
movups xmm0, xmmword [0x18034d460]
movups xmmword [rdi + 0x20], xmm0
movsd xmm0, qword [0x18034d470]
movsd qword [rdi + 0x30], xmm0
mov eax, dword [0x18034d478]
mov dword [rdi + 0x38], eax
movzx eax, byte [0x18034d47c]
mov byte [rdi + 0x3c], al
lea rcx, [rdi + 0x3d]
mov r8, rsi
mov rdx, r15
call fcn.1802bc970
mov byte [rdi + r14], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
lea r8, [rbp - 8]
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x58]
call fcn.1801dcbe0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x1801de55c
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801de557
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801de9c7
call fcn.180286270
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x1801de5aa
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801de5a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801de9cd
call fcn.180286270
movdqa xmm0, xmmword [0x1802f5620]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
mov r8, qword [rbp - 8]
test r8, r8
je 0x1801de687
mov rsi, qword [rbp]
cmp r8, rsi
je 0x1801de62f
lea rbx, [r8 + 0x28]
mov rdx, qword [rbx]
cmp rdx, 0xf
jbe 0x1801de60f
mov rcx, qword [rbx - 0x18]
inc rdx
cmp rdx, 0x1000
jb 0x1801de60a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1801de9d3
mov rcx, r8
call fcn.180286270
mov qword [rbx - 8], r12
mov qword [rbx], 0xf
mov byte [rbx - 0x18], 0
add rbx, 0x30
lea rax, [rbx - 0x28]
cmp rax, rsi
jne 0x1801de5d5
mov r8, qword [rbp - 8]
mov rcx, qword [rbp + 8]
sub rcx, r8
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 4
mov rax, r8
cmp rdx, 0x1000
jb 0x1801de67e
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801de9d3
mov rcx, r8
call fcn.180286270
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 7
jbe 0x1801de6c7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801de6c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801de9d9
call fcn.180286270
movdqa xmm0, xmmword [0x1802f5610]
movdqu xmmword [rbp - 0x38], xmm0
mov word [rbp - 0x48], r12w
mov rdx, qword [rbp - 0x10]
cmp rdx, 7
jbe 0x1801de719
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801de714
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801de9f1
call fcn.180286270
movdqa xmm0, xmmword [0x1802f5610]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r12w
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x1801de767
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801de762
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801de9af
call fcn.180286270
mov rcx, qword [rbp + 0x810]
xor rcx, rsp
call fcn.180286db0
mov rbx, qword [rsp + 0x978]
add rsp, 0x920
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [rbp - 0x48]
cmp qword [rbp - 0x30], 7
cmova r8, qword [rbp - 0x48]
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x28], rax
xor r12d, r12d
mov qword [rsp + 0x20], r12
xor edx, edx
mov r9d, 0x20000002
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
xorps xmm0, xmm0
test eax, eax
je 0x1801de8cc
movdqu xmmword [rbp - 8], xmm0
mov qword [rbp + 8], r12
mov r8, r13
lea rdx, str.ReadRuntimeDataFilesInRegistry___failed_to_read_registry_value
lea rcx, [rbp - 0x68]
call fcn.18009a9f0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], r12b
lea r8, [rbp - 8]
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1801dcbe0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x1801de85f
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801de85a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801de9df
call fcn.180286270
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x1801de8ad
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801de8a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801de9e5
call fcn.180286270
movdqa xmm0, xmmword [0x1802f5620]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
lea rcx, [rbp - 8]
call fcn.1801b7d80
jmp 0x1801de687
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
lea rax, [rbp + 0x10]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r12w
jne 0x1801de8e5
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x58]
call fcn.180017c20
nop
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x68]
call fcn.1801cb230
nop
mov r8, qword [rsp + 0x50]
xor edx, edx
mov rcx, rax
call fcn.1801d6c80
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x1801de958
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801de953
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801de9eb
call fcn.180286270
movdqa xmm0, xmmword [0x1802f5620]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x1801de687
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801de681
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801de9bb
jmp 0x1801de681
call fcn.18028ddc0
nop
call fcn.180015400
nop
call fcn.18028ddc0
nop
call fcn.180015510
nop
call fcn.18028ddc0
nop
call fcn.18028ddc0
nop
call fcn.18028ddc0
nop
call fcn.18028ddc0
nop
call fcn.18028ddc0
nop
call fcn.18028ddc0
nop
call fcn.18028ddc0
nop
call fcn.18028ddc0
int3