Function at 0x7ff8c49b0d7c
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov r15, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x7ff8c4a32268]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea r9, str.Build_ICD_instance_extension_list
mov edx, 0x10
call fcn.7ff8c49a4e82
lea rcx, str.VK_LOADER_DISABLE_INST_EXT_FILTER
xor esi, esi
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov r12b, 1
test eax, eax
je 0x7ff8c49b0e2d
mov ebp, eax
test rbx, rbx
je 0x7ff8c49b0df9
mov rax, qword [rbx + 0x3fd8]
test rax, rax
je 0x7ff8c49b0df9
mov edx, ebp
mov rcx, qword [rbx + 0x3fd0]
mov r8d, 8
xor r9d, r9d
call rax
jmp 0x7ff8c49b0e00
mov ecx, ebp
call fcn.7ff8c49f34e8
mov rsi, rax
test rax, rax
je 0x7ff8c49b0e2b
lea rcx, str.VK_LOADER_DISABLE_INST_EXT_FILTER
mov rdx, rsi
mov r8d, ebp
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov rcx, rsi
call fcn.7ff8c49f1778
test eax, eax
sete r12b
jmp 0x7ff8c49b0e2d
xor esi, esi
test rbx, rbx
je 0x7ff8c49b0e4c
mov rax, qword [rbx + 0x3fe8]
test rax, rax
je 0x7ff8c49b0e4c
mov rcx, qword [rbx + 0x3fd0]
mov rdx, rsi
call rax
jmp 0x7ff8c49b0e54
mov rcx, rsi
call fcn.7ff8c49f29a0
cmp dword [rdi + 8], 0
je 0x7ff8c49b0fd1
lea rbp, [rsp + 0x48]
xor r12b, 1
lea r14, str.VK_KHR_surface
xor r13d, r13d
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x2f], r12b
mov r8d, 0x104
mov rcx, rbx
mov rdx, rbp
call fcn.7ff8c49b018b
test eax, eax
jne 0x7ff8c49b0fe0
mov rax, qword [rdi + 0x10]
imul rcx, r13, 0x38
mov r8, qword [rax + rcx]
mov rdx, qword [rax + rcx + 0x30]
mov rcx, rbx
mov r9, rbp
call fcn.7ff8c49b1002
test eax, eax
je 0x7ff8c49b0eca
mov esi, eax
mov rbp, qword [rsp + 0x58]
jmp 0x7ff8c49b0f9f
mov esi, dword [rsp + 0x50]
test esi, esi
setle al
or al, r12b
jne 0x7ff8c49b0f87
xor r12d, r12d
mov r15, qword [rsp + 0x58]
movsxd rax, r12d
mov rcx, rax
shl rcx, 8
lea rbp, [rcx + rax*4]
add rbp, r15
xor edi, edi
mov rdx, qword [rdi + r14]
mov rcx, rbp
call fcn.7ff8c49f5040
test eax, eax
je 0x7ff8c49b0f63
add rdi, 8
cmp rdi, 0xa0
jne 0x7ff8c49b0ef7
lea eax, [r12 + 1]
cmp eax, esi
jae 0x7ff8c49b0f5e
mov eax, eax
mov rcx, rax
shl rcx, 8
lea rbp, [rcx + rax*4]
add rbp, r15
lea ebx, [rsi - 1]
mov edi, r12d
mov eax, edi
mov rcx, rax
shl rcx, 8
lea rcx, [rcx + rax*4]
add rcx, r15
mov r8d, 0x104
mov rdx, rbp
call fcn.7ff8c49e3960
inc edi
add rbp, 0x104
cmp ebx, edi
jne 0x7ff8c49b0f33
dec esi
dec r12d
inc r12d
cmp r12d, esi
jl 0x7ff8c49b0ee4
mov dword [rsp + 0x50], esi
mov r15, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x30]
mov r12b, byte [rsp + 0x2f]
mov rbp, qword [rsp + 0x58]
mov rcx, rbx
mov rdx, r15
mov r8d, esi
mov r9, rbp
call fcn.7ff8c49b0098
mov esi, eax
mov rcx, rbx
mov rdx, rbp
call fcn.7ff8c49ae72a
xor eax, eax
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x48], 0
test esi, esi
jne 0x7ff8c49b0fe2
inc r13
mov eax, dword [rdi + 8]
cmp r13, rax
lea rbp, [rsp + 0x48]
jb 0x7ff8c49b0e85
mov rcx, rbx
mov rdx, r15
call fcn.7ff8c49a3a60
xor esi, esi
jmp 0x7ff8c49b0fe2
mov esi, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.7ff8c49e1750
mov eax, esi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret