Function at 0x1801d9e50
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 [0x1804e1080]
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.18027ee54
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 [0x1803610d0]
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 0x1801d9ef0
lea r9, [rsp + 0x40]
lea r8, [rbp + 0xd]
mov rdx, r10
lea rcx, [rsp + 0x58]
call fcn.1800416f0
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 0x1801d9f91
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.1802d1160
lea rax, [r14 + rbx]
mov byte [rax + r12], 0
jmp 0x1801d9fb0
mov qword [rsp + 0x20], r14
xor r8d, r8d
mov rdx, r14
lea rcx, [rsp + 0x78]
call fcn.1801b3040
mov r15, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x58]
cmp r15, 0xf
jbe 0x1801d9fe7
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1801d9fdf
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801da6d1
mov rcx, rdi
call fcn.18027ee90
mov rdi, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
jbe 0x1801d9ff5
mov rsi, qword [rsi]
mov rcx, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x70]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x1801da036
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.1802d1160
mov byte [rbx + rdi], 0
jmp 0x1801da04e
mov qword [rsp + 0x20], rdi
mov r9, rsi
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.1801b3040
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x28]
call fcn.1801c6c50
nop
mov rdx, r13
lea rcx, [rbp - 0x48]
call fcn.1801c6c50
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 0x1801da471
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 0x1801da6a1
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 0x1801da175
mov rbx, r14
or rbx, 0xf
cmp rbx, rcx
jbe 0x1801da137
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.18027ee54
test rax, rax
je 0x1801da6ad
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1801da171
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1801da15f
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1801da695
jmp 0x1801da118
test rcx, rcx
je 0x1801da16e
call fcn.18027ee54
mov rdi, rax
jmp 0x1801da171
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 [0x1803610f0]
movups xmmword [rdi + 0x10], xmm1
movups xmm0, xmmword [0x180361100]
movups xmmword [rdi + 0x20], xmm0
movsd xmm0, qword [0x180361110]
movsd qword [rdi + 0x30], xmm0
mov eax, dword [0x180361118]
mov dword [rdi + 0x38], eax
movzx eax, byte [0x18036111c]
mov byte [rdi + 0x3c], al
lea rcx, [rdi + 0x3d]
mov r8, rsi
mov rdx, r15
call fcn.1802d1160
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.1801d88c0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x1801da23c
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801da237
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801da6a7
call fcn.18027ee90
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x1801da28a
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801da285
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801da6ad
call fcn.18027ee90
movdqa xmm0, xmmword [0x180309720]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
mov r8, qword [rbp - 8]
test r8, r8
je 0x1801da367
mov rsi, qword [rbp]
cmp r8, rsi
je 0x1801da30f
lea rbx, [r8 + 0x28]
mov rdx, qword [rbx]
cmp rdx, 0xf
jbe 0x1801da2ef
mov rcx, qword [rbx - 0x18]
inc rdx
cmp rdx, 0x1000
jb 0x1801da2ea
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1801da6b3
mov rcx, r8
call fcn.18027ee90
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 0x1801da2b5
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 0x1801da35e
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801da6b3
mov rcx, r8
call fcn.18027ee90
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 7
jbe 0x1801da3a7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801da3a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801da6b9
call fcn.18027ee90
movdqa xmm0, xmmword [0x180309710]
movdqu xmmword [rbp - 0x38], xmm0
mov word [rbp - 0x48], r12w
mov rdx, qword [rbp - 0x10]
cmp rdx, 7
jbe 0x1801da3f9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801da3f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801da6d1
call fcn.18027ee90
movdqa xmm0, xmmword [0x180309710]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r12w
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x1801da447
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801da442
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801da68f
call fcn.18027ee90
mov rcx, qword [rbp + 0x810]
xor rcx, rsp
call fcn.18027f9e0
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 0x1801da5ac
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.180099b00
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.1801d88c0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x1801da53f
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801da53a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801da6bf
call fcn.18027ee90
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x1801da58d
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801da588
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801da6c5
call fcn.18027ee90
movdqa xmm0, xmmword [0x180309720]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
lea rcx, [rbp - 8]
call fcn.1801b39f0
jmp 0x1801da367
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 0x1801da5c5
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x58]
call fcn.180017900
nop
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x68]
call fcn.1801c6ea0
nop
mov r8, qword [rsp + 0x50]
xor edx, edx
mov rcx, rax
call fcn.1801d2960
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x1801da638
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801da633
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801da6cb
call fcn.18027ee90
movdqa xmm0, xmmword [0x180309720]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x1801da367
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801da361
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801da69b
jmp 0x1801da361
call fcn.1802a2050
nop
call fcn.1800150e0
nop
call fcn.1802a2050
nop
call fcn.1800151f0
nop
call fcn.1802a2050
nop
call fcn.1802a2050
nop
call fcn.1802a2050
nop
call fcn.1802a2050
nop
call fcn.1802a2050
nop
call fcn.1802a2050
nop
call fcn.1802a2050
nop
call fcn.1802a2050
int3