Function at 0x7ff8c49b5d82
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov r12, r9
mov rbx, r8
mov rdi, rdx
mov r13, rcx
mov rax, qword [0x7ff8c4a32268]
xor rax, rsp
mov qword [rsp + 0x70], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x40], xmm0
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0x5d400
test rcx, rcx
je 0x7ff8c49b5df7
mov rax, qword [r13 + 0x3fd8]
test rax, rax
je 0x7ff8c49b5df7
mov rcx, qword [r13 + 0x3fd0]
mov edx, 0x5d400
mov r8d, 8
mov r9d, 4
call rax
jmp 0x7ff8c49b5e01
mov ecx, 0x5d400
call fcn.7ff8c49f34e8
mov qword [rsp + 0x68], rax
mov ebp, 0xffffffff
test rax, rax
je 0x7ff8c49b609f
mov r8d, 0x5d400
mov rcx, rax
xor edx, edx
call fcn.7ff8c49e3d70
mov dword [rsp + 0x60], 0
mov qword [rsp + 0x40], 0x5d400
test r13, r13
mov qword [rsp + 0x38], rdi
je 0x7ff8c49b5e67
mov rax, qword [r13 + 0x3fd8]
test rax, rax
je 0x7ff8c49b5e67
mov rcx, qword [r13 + 0x3fd0]
mov edx, 0x5d400
mov r8d, 8
mov r9d, 4
call rax
jmp 0x7ff8c49b5e71
mov ecx, 0x5d400
call fcn.7ff8c49f34e8
mov qword [rsp + 0x50], rax
test rax, rax
je 0x7ff8c49b609f
mov r8d, 0x5d400
mov rcx, rax
xor edx, edx
call fcn.7ff8c49e3d70
lea rbp, [rsp + 0x40]
mov dword [rbp + 8], 0
lea rdi, [rsp + 0x58]
mov rcx, r13
mov rdx, rdi
mov r8, rbp
mov r9, rbx
call fcn.7ff8c49b471b
mov rcx, r13
mov rdx, rdi
mov r8, rbp
mov r9, rbx
call fcn.7ff8c49b4786
mov rax, qword [r12 + 0x28]
mov r9d, dword [r12 + 0x20]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
mov rcx, r13
mov rdx, rdi
mov r8, rbp
call fcn.7ff8c49b4904
mov ebp, eax
test eax, eax
jne 0x7ff8c49b609f
cmp dword [r12 + 0x30], 0
mov ebp, 0
je 0x7ff8c49b609f
mov rax, qword [r12 + 0x38]
mov dil, 1
lea r15, str.VK_LOADER_DISABLE_INST_EXT_FILTER
xor r14d, r14d
mov rdx, qword [rax + r14*8]
mov ecx, 0x100
call fcn.7ff8c49b5c94
test eax, eax
jne 0x7ff8c49b60d9
mov rcx, r15
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x7ff8c49b5f98
mov ebp, eax
test r13, r13
je 0x7ff8c49b5f62
mov rax, qword [r13 + 0x3fd8]
test rax, rax
je 0x7ff8c49b5f62
mov edx, ebp
mov rcx, qword [r13 + 0x3fd0]
mov r8d, 8
xor r9d, r9d
call rax
jmp 0x7ff8c49b5f69
mov ecx, ebp
call fcn.7ff8c49f34e8
mov rbx, rax
test rax, rax
je 0x7ff8c49b5f98
mov rcx, r15
mov rdx, rbx
mov r8d, ebp
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov rcx, rbx
call fcn.7ff8c49f1778
test eax, eax
movzx edi, dil
mov eax, 0
cmovne edi, eax
jmp 0x7ff8c49b5f9a
xor ebx, ebx
lea rsi, str.VK_KHR_surface
test r13, r13
je 0x7ff8c49b5fc0
mov rax, qword [r13 + 0x3fe8]
test rax, rax
je 0x7ff8c49b5fc0
mov rcx, qword [r13 + 0x3fd0]
mov rdx, rbx
call rax
jmp 0x7ff8c49b5fc8
mov rcx, rbx
call fcn.7ff8c49f29a0
mov rax, qword [r12 + 0x38]
mov qword [rsp + 0x30], rax
mov rbx, qword [rax + r14*8]
test dil, 1
jne 0x7ff8c49b6012
mov rcx, rbx
mov rdx, qword [rsp + 0x38]
call fcn.7ff8c49b60e2
test rax, rax
je 0x7ff8c49b6034
inc r14
mov eax, dword [r12 + 0x30]
xor ebp, ebp
cmp r14, rax
lea r15, str.VK_LOADER_DISABLE_INST_EXT_FILTER
mov rax, qword [rsp + 0x30]
jb 0x7ff8c49b5f11
jmp 0x7ff8c49b609f
xor ebp, ebp
mov rdx, qword [rbp + rsi]
mov rcx, rbx
call fcn.7ff8c49f5040
test eax, eax
je 0x7ff8c49b5fdc
add rbp, 8
cmp rbp, 0xa0
jne 0x7ff8c49b6014
jmp 0x7ff8c49b6075
mov r15d, dword [rsp + 0x48]
test r15, r15
je 0x7ff8c49b6067
mov rbp, qword [rsp + 0x50]
mov eax, 0x1238
add rbp, rax
mov rcx, rbx
mov rdx, rbp
call fcn.7ff8c49b60e2
test rax, rax
jne 0x7ff8c49b5fee
add rbp, 0x2ea0
dec r15
jne 0x7ff8c49b604b
mov qword [rsp + 0x20], rbx
lea r9, str.loader_validate_instance_extensions:_Instance_extension__s_not_supported_by_available_ICDs_or_enabled_layers.
jmp 0x7ff8c49b608d
mov eax, r14d
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x20], rax
lea r9, str.loader_validate_instance_extensions:_Extension__s_not_found_in_list_of_known_instance_extensions.
mov rcx, r13
mov edx, 8
call fcn.7ff8c49a4e82
mov ebp, 0xfffffff9
mov rdx, qword [rsp + 0x68]
mov rcx, r13
call fcn.7ff8c49ae72a
mov rdx, qword [rsp + 0x50]
mov rcx, r13
call fcn.7ff8c49ae72a
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.7ff8c49e1750
mov eax, ebp
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r9, str.loader_validate_instance_extensions:_Instance_ppEnabledExtensionNames_contains_string_that_is_too_long_or_is_badly_formed
jmp 0x7ff8c49b608d