Function at 0x1801d3e70
Capabilities:
Check if file exists
Encode data using base64
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x1804c8100]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov rbx, rdx
mov r15, rcx
xor esi, esi
mov rdx, qword [rdx]
add rdx, 0x28
lea rcx, [rbp + 8]
call fcn.1801cafe0
lea rcx, [rbp + 8]
cmp qword [rbp + 0x20], 7
cmova rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov r12, rax
test rax, rax
jne 0x1801d3f1b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7e
jne 0x1801d3f1b
lea rcx, [rbp + 8]
cmp qword [rbp + 0x20], 7
cmova rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1801d3f1b
test al, 0x10
jne 0x1801d3f1b
lea rcx, [rbp + 8]
cmp qword [rbp + 0x20], 7
cmova rcx, qword [rbp + 8]
xor edx, edx
mov r8d, 0x1100
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov r12, rax
mov rdx, qword [rbp + 0x20]
cmp rdx, 7
jbe 0x1801d3f5b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801d3f56
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801d4f7a
call fcn.180286270
movdqa xmm0, xmmword [0x1802f5610]
movdqu xmmword [rbp + 0x18], xmm0
mov word [rbp + 8], si
mov rdi, qword [rbx]
test r12, r12
jne 0x1801d42d2
lea rdx, [rdi + 0x28]
lea rcx, [rbp + 8]
call fcn.1801d3a70
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], 0xf
lea ecx, [r12 + 0x40]
call fcn.180286234
mov rdi, rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x70], 0x35
mov qword [rbp - 0x68], 0x3f
movups xmm0, xmmword [str.RuntimeInterface::LoadRuntime_skipping_manifest_file]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x18034d1b0]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x18034d1c0]
movups xmmword [rax + 0x20], xmm0
mov eax, dword [0x18034d1d0]
mov dword [rdi + 0x30], eax
movzx eax, byte [0x18034d1d4]
mov byte [rdi + 0x34], al
mov byte [rdi + 0x35], r12b
mov r9, qword [rbx]
mov rbx, qword [r9 + 0x10]
cmp qword [r9 + 0x18], 0xf
jbe 0x1801d4002
mov r9, qword [r9]
cmp rbx, 0xa
ja 0x1801d4026
lea rax, [rbx + 0x35]
mov qword [rbp - 0x70], rax
lea rcx, [rdi + 0x35]
mov r8, rbx
mov rdx, r9
call fcn.1802bc970
mov byte [rdi + rbx + 0x35], 0
jmp 0x1801d403a
mov qword [rsp + 0x20], rbx
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.1801b73d0
mov rcx, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x68]
mov rax, rdx
sub rax, rcx
cmp rax, 0x1f
jb 0x1801d4081
lea rax, [rcx + 0x1f]
mov qword [rbp - 0x70], rax
lea rbx, [rbp - 0x80]
cmp rdx, 0xf
cmova rbx, qword [rbp - 0x80]
add rbx, rcx
mov r8d, 0x1f
lea rdx, str.__failed_to_load_with_message__
mov rcx, rbx
call fcn.1802bc970
mov byte [rbx + 0x1f], 0
jmp 0x1801d40a1
mov qword [rsp + 0x20], 0x1f
lea r9, str.__failed_to_load_with_message__
xor r8d, r8d
lea edx, [r8 + 0x1f]
lea rcx, [rbp - 0x80]
call fcn.1801b73d0
mov rdi, qword [rbp + 0x18]
lea r9, [rbp + 8]
cmp qword [rbp + 0x20], 0xf
cmova r9, qword [rbp + 8]
mov rcx, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x68]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x1801d40f2
lea rax, [rdi + rcx]
mov qword [rbp - 0x70], rax
lea rbx, [rbp - 0x80]
cmp rdx, 0xf
cmova rbx, qword [rbp - 0x80]
add rbx, rcx
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call fcn.1802bc970
mov byte [rdi + rbx], 0
jmp 0x1801d4106
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.1801b73d0
mov rcx, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x68]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x1801d4137
lea rax, [rcx + 1]
mov qword [rbp - 0x70], rax
lea rax, [rbp - 0x80]
cmp rdx, 0xf
cmova rax, qword [rbp - 0x80]
mov word [rax + rcx], 0x22
jmp 0x1801d4157
mov qword [rsp + 0x20], 1
lea r9, [0x18034ccd8]
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp - 0x80]
call fcn.1801b73d0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rsi
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x80]
mov rcx, r15
call fcn.1801c2d80
nop
mov r8, qword [rbp - 0x60]
test r8, r8
je 0x1801d4242
mov r14, qword [rbp - 0x58]
cmp r8, r14
je 0x1801d41ea
lea rbx, [r8 + 0x28]
nop
mov rdx, qword [rbx]
cmp rdx, 0xf
jbe 0x1801d41ca
mov rcx, qword [rbx - 0x18]
inc rdx
cmp rdx, 0x1000
jb 0x1801d41c5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1801d4f80
mov rcx, r8
call fcn.180286270
mov qword [rbx - 8], rsi
mov qword [rbx], 0xf
mov byte [rbx - 0x18], 0
add rbx, 0x30
lea rax, [rbx - 0x28]
cmp rax, r14
jne 0x1801d4190
mov r8, qword [rbp - 0x60]
mov rcx, qword [rbp - 0x50]
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 0x1801d4239
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801d4f80
mov rcx, r8
call fcn.180286270
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x1801d427d
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801d4278
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801d4f86
call fcn.180286270
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
mov rdx, qword [rbp + 0x20]
cmp rdx, 0xf
jbe 0x1801d42c8
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801d42c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801d4f8c
call fcn.180286270
mov eax, 0xffffffe0
jmp 0x1801d4f3e
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], 0xf
mov ecx, 0x30
call fcn.180286234
mov rdx, rax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x10], 0x21
mov qword [rbp - 8], 0x2f
movups xmm0, xmmword [str.xrNegotiateLoaderRuntimeInterface]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x18034d1e8]
movups xmmword [rax + 0x10], xmm1
movzx eax, byte [0x18034d1f8]
mov byte [rdx + 0x20], al
mov byte [rdx + 0x21], sil
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.1801dc110
mov rdx, rax
lea rcx, [rbp + 0x50]
call fcn.1800125e0
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x1801d437d
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801d4378
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801d4f92
call fcn.180286270
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
lea rdx, [rbp + 0x50]
cmp qword [rbp + 0x68], 0xf
cmova rdx, qword [rbp + 0x50]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [rbp + 0x28], 1
mov dword [rbp + 0x2c], 1
mov qword [rbp + 0x30], 0x28
mov dword [rbp + 0x38], 1
mov dword [rbp + 0x3c], 1
movabs rcx, 0x1000000000000
mov qword [rbp + 0x40], rcx
movabs rcx, 0x103ff00000fff
mov qword [rbp + 0x48], rcx
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
mov dword [rsp + 0x58], 3
mov dword [rsp + 0x5c], 1
mov qword [rsp + 0x60], 0x28
mov r14d, 0xfffffffe
test rax, rax
je 0x1801d4cd4
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x28]
call rax
mov r14d, eax
test eax, eax
js 0x1801d4cd4
mov rcx, qword [rsp + 0x70]
shr rcx, 0x30
xorps xmm0, xmm0
cmp qword [rsp + 0x78], 0
jne 0x1801d450b
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
mov r8d, 0x35
lea rdx, str.RuntimeInterface::LoadRuntime_skipping_manifest_file
lea rcx, [rbp - 0x60]
call fcn.1800083d0
nop
mov rdx, qword [rbx]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1801d447d
mov rdx, qword [rdx]
lea rcx, [rbp - 0x60]
call fcn.18002f050
mov r8d, 0x3d
lea rdx, str.__negotiation_succeeded_but_returned_NULL_getInstanceProcAddr
lea rcx, [rbp - 0x60]
call fcn.18002f050
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rsi
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x60]
mov rcx, r15
call fcn.1801c2d80
nop
lea rcx, [rbp - 0x80]
call fcn.1801b7d80
mov r14d, 0xffffffdf
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x1801d4cd4
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801d4ccf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801d4f6e
jmp 0x1801d4ccf
cmp dword [rsp + 0x68], 1
jne 0x1801d4c1a
cmp ecx, 1
jne 0x1801d4b58
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], 0xf
mov ecx, 0x60
call fcn.180286234
mov rcx, rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x30], 0x51
mov qword [rbp - 0x28], 0x5f
movaps xmm0, xmmword [str.RuntimeInterface::LoadRuntime_succeeded_loading_runtime_defined_in_manifest_file]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x18034d300]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x18034d310]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x18034d320]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [0x18034d330]
movups xmmword [rax + 0x40], xmm0
movzx eax, byte [0x18034d340]
mov byte [rcx + 0x50], al
mov byte [rcx + 0x51], 0
mov rdx, qword [rbx]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1801d45a5
mov rdx, qword [rdx]
lea rcx, [rbp - 0x40]
call fcn.18002f050
mov r8d, 0x19
lea rdx, str._using_interface_version
lea rcx, [rbp - 0x40]
call fcn.18002f050
lea r10, [rbp - 0x4b]
mov r8d, dword [rsp + 0x68]
nop dword [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 0x1801d45d0
lea r9, [rsp + 0x30]
lea r8, [rbp - 0x4b]
mov rdx, r10
lea rcx, [rbp - 0x20]
call fcn.180041a60
nop
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rdx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x10]
lea rcx, [rbp - 0x40]
call fcn.18002f050
nop
lea rcx, [rbp - 0x20]
call fcn.180013050
mov r8d, 0x18
lea rdx, str._and_OpenXR_API_version
lea rcx, [rbp - 0x40]
call fcn.18002f050
mov rdx, qword [rsp + 0x70]
shr rdx, 0x30
lea rcx, [rbp - 0x20]
call fcn.180044cd0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x1801d466c
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.18002f050
nop
lea rcx, [rbp - 0x20]
call fcn.180013050
mov rcx, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x28]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x1801d46b3
lea rax, [rcx + 1]
mov qword [rbp - 0x30], rax
lea rax, [rbp - 0x40]
cmp rdx, 0xf
cmova rax, qword [rbp - 0x40]
mov word [rax + rcx], 0x2e
jmp 0x1801d46d3
mov qword [rsp + 0x20], 1
lea r9, [0x180322d20]
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp - 0x40]
call fcn.1801b73d0
mov rax, qword [rsp + 0x70]
shr rax, 0x20
movzx edx, ax
lea rcx, [rbp - 0x20]
call fcn.180044cd0
mov r9, rax
mov rdi, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x1801d46f9
mov r9, qword [rax]
mov rcx, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x28]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x1801d4738
lea rax, [rdi + rcx]
mov qword [rbp - 0x30], rax
lea rbx, [rbp - 0x40]
cmp rdx, 0xf
cmova rbx, qword [rbp - 0x40]
add rbx, rcx
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call fcn.1802bc970
mov byte [rdi + rbx], 0
jmp 0x1801d474d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.1801b73d0
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x1801d4788
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801d4783
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801d4f98
call fcn.180286270
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rsi
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x40]
mov rcx, r15
call fcn.1801d3c50
nop
mov r8, qword [rbp - 0x60]
test r8, r8
je 0x1801d4871
mov r14, qword [rbp - 0x58]
cmp r8, r14
je 0x1801d481a
lea rbx, [r8 + 0x28]
nop
mov rdx, qword [rbx]
cmp rdx, 0xf
jbe 0x1801d47fa
mov rcx, qword [rbx - 0x18]
inc rdx
cmp rdx, 0x1000
jb 0x1801d47f5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1801d4f9e
mov rcx, r8
call fcn.180286270
mov qword [rbx - 8], rsi
mov qword [rbx], 0xf
mov byte [rbx - 0x18], 0
add rbx, 0x30
lea rax, [rbx - 0x28]
cmp rax, r14
jne 0x1801d47c0
mov r8, qword [rbp - 0x60]
mov rcx, qword [rbp - 0x50]
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 0x1801d4869
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801d4f9e
mov rcx, r8
call fcn.180286270
call fcn.1801d32b0
mov rbx, rax
mov ecx, 0x150
call fcn.180286234
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1801d489f
mov r8, qword [rsp + 0x78]
mov rdx, r12
mov rcx, rax
call fcn.1801d23b0
jmp 0x1801d48a2
mov rax, rsi
mov rcx, qword [rbx]
mov qword [rbx], rax
test rcx, rcx
je 0x1801d48b7
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov r14, rsi
mov qword [rsp + 0x48], rsi
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rsi
call fcn.1801d32b0
lea rdx, [rbp - 0x80]
mov rcx, qword [rax]
call fcn.1801d3320
mov r12, qword [rbp - 0x78]
mov rcx, r12
mov r15, qword [rbp - 0x80]
sub rcx, r15
movabs r13, 0x6bca1af286bca1b
mov rax, r13
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rsp + 0x50], rdx
je 0x1801d493c
movabs rax, 0x7ffffffffffffff
cmp rdx, rax
ja 0x1801d4fa4
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.18005e490
mov r14, qword [rsp + 0x48]
mov rbx, r15
mov rdi, qword [rsp + 0x40]
cmp r15, r12
je 0x1801d4a35
nop dword [rax]
movups xmm0, xmmword [rbx]
movaps xmmword [rbp + 0x70], xmm0
movups xmm1, xmmword [rbx + 0x10]
movaps xmmword [rbp + 0x80], xmm1
movups xmm0, xmmword [rbx + 0x20]
movaps xmmword [rbp + 0x90], xmm0
movups xmm1, xmmword [rbx + 0x30]
movaps xmmword [rbp + 0xa0], xmm1
movups xmm0, xmmword [rbx + 0x40]
movaps xmmword [rbp + 0xb0], xmm0
movups xmm1, xmmword [rbx + 0x50]
movaps xmmword [rbp + 0xc0], xmm1
movups xmm0, xmmword [rbx + 0x60]
movaps xmmword [rbp + 0xd0], xmm0
movups xmm1, xmmword [rbx + 0x70]
movaps xmmword [rbp + 0xe0], xmm1
movups xmm0, xmmword [rbx + 0x80]
movaps xmmword [rbp + 0xf0], xmm0
movsd xmm1, qword [rbx + 0x90]
movsd qword [rbp + 0x100], xmm1
cmp rdi, r14
je 0x1801d4a07
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
lea rax, [rbp + 0x80]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1801d49e3
lea rdx, [rbp + 0x80]
mov rcx, rdi
call fcn.1800083d0
add rdi, 0x20
mov qword [rsp + 0x40], rdi
jmp 0x1801d4a25
lea r8, [rbp + 0x80]
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.1801c59f0
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
add rbx, 0x98
cmp rbx, r12
jne 0x1801d4950
call fcn.1801d32b0
mov rcx, qword [rax]
add rcx, 0x138
lea rax, [rsp + 0x38]
mov rbx, qword [rsp + 0x38]
cmp rcx, rax
je 0x1801d4a66
mov r8, rdi
sub r8, rbx
sar r8, 5
mov rdx, rbx
call fcn.180055160
nop
test r15, r15
je 0x1801d4abb
mov rcx, qword [rbp - 0x70]
sub rcx, r15
mov rax, r13
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0x98
mov rax, r15
cmp rdx, 0x1000
jb 0x1801d4ab2
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801d4faa
mov rcx, r15
call fcn.180286270
nop
test rbx, rbx
je 0x1801d4b08
lea r8, [rsp + 0x38]
mov rdx, rdi
mov rcx, rbx
call fcn.180018100
sub r14, rbx
and r14, 0xffffffffffffffe0
mov rax, rbx
cmp r14, 0x1000
jb 0x1801d4afc
add r14, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801d4fb0
mov rdx, r14
mov rcx, rbx
call fcn.180286270
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1801d4b43
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801d4b3e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801d4fb6
call fcn.180286270
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], 0
jmp 0x1801d4f05
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
mov r8d, 0x35
lea rdx, str.RuntimeInterface::LoadRuntime_skipping_manifest_file
lea rcx, [rbp - 0x60]
call fcn.1800083d0
nop
mov rdx, qword [rbx]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1801d4b8c
mov rdx, qword [rdx]
lea rcx, [rbp - 0x60]
call fcn.18002f050
mov r8d, 0x39
lea rdx, str.__OpenXR_version_returned_not_compatible_with_this_loader
lea rcx, [rbp - 0x60]
call fcn.18002f050
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rsi
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x60]
mov rcx, r15
call fcn.1801c2d80
nop
lea rcx, [rbp - 0x80]
call fcn.1801b7d80
mov r14d, 0xffffffdf
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x1801d4cd4
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801d4ccf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801d4f74
jmp 0x1801d4ccf
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
mov r8d, 0x35
lea rdx, str.RuntimeInterface::LoadRuntime_skipping_manifest_file
lea rcx, [rbp - 0x60]
call fcn.1800083d0
nop
mov rdx, qword [rbx]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1801d4c4e
mov rdx, qword [rdx]
lea rcx, [rbp - 0x60]
call fcn.18002f050
mov r8d, 0x3e
lea rdx, str.__negotiation_succeeded_but_returned_invalid_interface_version
lea rcx, [rbp - 0x60]
call fcn.18002f050
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rsi
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x60]
mov rcx, r15
call fcn.1801c2d80
nop
lea rcx, [rbp - 0x80]
call fcn.1801b7d80
mov r14d, 0xffffffdf
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x1801d4cd4
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801d4ccf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801d4fbc
call fcn.180286270
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], 0xf
mov ecx, 0x40
call fcn.180286234
mov rdi, rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x70], 0x35
mov qword [rbp - 0x68], 0x3f
movups xmm0, xmmword [str.RuntimeInterface::LoadRuntime_skipping_manifest_file]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x18034d1b0]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x18034d1c0]
movups xmmword [rax + 0x20], xmm0
mov eax, dword [0x18034d1d0]
mov dword [rdi + 0x30], eax
movzx eax, byte [0x18034d1d4]
mov byte [rdi + 0x34], al
mov byte [rdi + 0x35], 0
mov r9, qword [rbx]
mov rbx, qword [r9 + 0x10]
cmp qword [r9 + 0x18], 0xf
jbe 0x1801d4d50
mov r9, qword [r9]
cmp rbx, 0xa
ja 0x1801d4d74
lea rax, [rbx + 0x35]
mov qword [rbp - 0x70], rax
lea rcx, [rdi + 0x35]
mov r8, rbx
mov rdx, r9
call fcn.1802bc970
mov byte [rdi + rbx + 0x35], 0
jmp 0x1801d4d88
mov qword [rsp + 0x20], rbx
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.1801b73d0
mov rcx, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x68]
mov rax, rdx
sub rax, rcx
cmp rax, 0x20
jb 0x1801d4dcf
lea rax, [rcx + 0x20]
mov qword [rbp - 0x70], rax
lea rbx, [rbp - 0x80]
cmp rdx, 0xf
cmova rbx, qword [rbp - 0x80]
add rbx, rcx
mov r8d, 0x20
lea rdx, str.__negotiation_failed_with_error
mov rcx, rbx
call fcn.1802bc970
mov byte [rbx + 0x20], 0
jmp 0x1801d4def
mov qword [rsp + 0x20], 0x20
lea r9, str.__negotiation_failed_with_error
xor r8d, r8d
lea edx, [r8 + 0x20]
lea rcx, [rbp - 0x80]
call fcn.1801b73d0
mov edx, r14d
lea rcx, [rbp - 0x20]
call fcn.180044cd0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x1801d4e0a
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.18002f050
nop
lea rcx, [rbp - 0x20]
call fcn.180013050
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rsi
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x80]
mov rcx, r15
call fcn.1801c2d80
nop
mov rbx, qword [rbp - 0x60]
test rbx, rbx
je 0x1801d4ebd
mov rdi, qword [rbp - 0x58]
cmp rbx, rdi
je 0x1801d4e66
nop
lea rcx, [rbx + 0x10]
call fcn.180013050
add rbx, 0x30
cmp rbx, rdi
jne 0x1801d4e50
mov rbx, qword [rbp - 0x60]
mov rcx, qword [rbp - 0x50]
sub rcx, rbx
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, rbx
cmp rdx, 0x1000
jb 0x1801d4eb5
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801d4fc2
mov rcx, rbx
call fcn.180286270
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x1801d4f02
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801d4efd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801d4fc8
call fcn.180286270
mov esi, r14d
mov rdx, qword [rbp + 0x68]
cmp rdx, 0xf
jbe 0x1801d4f3c
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801d4f37
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801d4f68
call fcn.180286270
mov eax, esi
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.180286db0
mov rbx, qword [rsp + 0x270]
add rsp, 0x220
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
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
nop
call fcn.18028ddc0
int3
call fcn.18028ddc0
nop
call fcn.18002d920
nop
call fcn.18028ddc0
nop
call fcn.18028ddc0
nop
call fcn.18028ddc0
int3
call fcn.18028ddc0
nop
call fcn.18028ddc0
nop
call fcn.18028ddc0
int3