Function at 0x7ff8c133542b
Capabilities:
Link function at runtime on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x128
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x90], xmm6
mov rax, qword [0x7ff8c13b2268]
xor rax, rbp
mov qword [rbp + 0x88], rax
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmm2, xmmword [rcx + 0x20]
movups xmm3, xmmword [rcx + 0x30]
movaps xmmword [rbp + 0x50], xmm3
movaps xmmword [rbp + 0x40], xmm2
movaps xmmword [rbp + 0x30], xmm1
movaps xmmword [rbp + 0x20], xmm0
mov qword [rbp - 0x48], r8
mov edi, dword [r8 + 0x3f48]
lea rbx, [0x7ff8c13358b0]
test rdi, rdi
mov qword [rbp - 0x80], r9
mov qword [rbp - 0x78], rdx
je 0x7ff8c13357a3
lea rax, [rbp + 0x60]
mov qword [rax + 0x18], 0
mov rcx, qword [rcx + 8]
mov qword [rax + 8], rcx
mov dword [rax], 0x2f
mov dword [rax + 0x10], 0
mov qword [rbp + 0x28], rax
lea rax, [rdi + rdi*2]
lea rcx, [rax*8 + 0xf]
movabs rax, 0x3ffffffff0
and rax, rcx
call fcn.7ff8c13616e0
sub rsp, rax
mov qword [rbp - 0x70], rsp
dec edi
js 0x7ff8c13357a3
lea r12, [0x7ff8c13358b0]
lea rax, [0x7ff8c1333b50]
mov qword [rbp - 0x58], rax
lea rcx, [0x7ff8c1335ab7]
xor eax, eax
mov qword [rbp - 0x60], rax
xorps xmm6, xmm6
mov qword [rbp - 0x50], rcx
mov qword [rbp - 0x68], rcx
mov rax, r12
mov qword [rbp - 0x40], r12
mov rcx, qword [rbp - 0x48]
mov rsi, qword [rcx + 0x3f50]
mov edi, edi
imul r15, rdi, 0x2ea0
lea r14, [rsi + r15]
sub rsp, 0x20
mov rdx, r14
call fcn.7ff8c1335b78
add rsp, 0x20
test rax, rax
je 0x7ff8c1335564
cmp qword [rsi + r15 + 0x1218], 0
je 0x7ff8c133556c
mov rbx, qword [rbp - 0x40]
jmp 0x7ff8c13356a2
mov rbx, r12
jmp 0x7ff8c133575f
mov r13, rax
lea rbx, [rsi + r15]
add rbx, 0xe18
sub rsp, 0x20
mov rcx, rbx
call fcn.7ff8c1375170
add rsp, 0x20
sub rsp, 0x20
mov rcx, r13
test rax, rax
je 0x7ff8c133559b
mov rdx, rbx
jmp 0x7ff8c13355a2
lea rdx, str.vkNegotiateLoaderLayerInterfaceVersion
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
add rsp, 0x20
mov rdx, rax
test rax, rax
je 0x7ff8c1335623
lea rax, [rsi + r15]
add rax, 0x1218
mov qword [rax], rdx
movaps xmmword [rbp - 0x10], xmm6
movaps xmmword [rbp], xmm6
movaps xmmword [rbp + 0x10], xmm6
mov dword [rbp - 0x10], 1
mov qword [rbp - 8], 0
mov dword [rbp], 2
sub rsp, 0x20
lea rcx, [rbp - 0x10]
call rdx
add rsp, 0x20
test eax, eax
jne 0x7ff8c1335623
mov eax, dword [rbp]
test eax, eax
je 0x7ff8c1335623
mov dword [rsi + r15 + 0x20c], eax
cmp dword [rbp], 1
jbe 0x7ff8c1335623
mov rbx, qword [rbp + 8]
mov rax, qword [rbp + 0x10]
mov qword [rbp - 0x58], rax
mov rax, qword [rbp + 0x18]
mov qword [rbp - 0x50], rax
test rbx, rbx
jne 0x7ff8c13356a2
mov rbx, qword [rsi + r15 + 0x1220]
test rbx, rbx
jne 0x7ff8c13356a2
lea rbx, [rsi + r15]
add rbx, 0x618
sub rsp, 0x20
mov rcx, rbx
call fcn.7ff8c1375170
add rsp, 0x20
test rax, rax
je 0x7ff8c1335669
sub rsp, 0x20
mov rcx, r13
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
add rsp, 0x20
mov rbx, rax
jmp 0x7ff8c1335699
lea rax, [rsi + r15]
add rax, 0x1220
mov qword [rbp - 0x40], rax
sub rsp, 0x20
mov rcx, r13
lea rdx, [0x7ff8c1392051]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
add rsp, 0x20
mov rbx, rax
mov rax, qword [rbp - 0x40]
mov qword [rax], rbx
test rbx, rbx
je 0x7ff8c133576c
mov rax, qword [rbp + 0x78]
mov ecx, dword [rbp - 0x60]
lea rcx, [rcx + rcx*2]
mov rdx, qword [rbp - 0x70]
mov qword [rdx + rcx*8], rax
mov qword [rdx + rcx*8 + 8], r12
mov rax, qword [rbp - 0x68]
mov qword [rdx + rcx*8 + 0x10], rax
mov eax, dword [rsi + r15 + 0x20c]
cmp qword [rbp - 0x50], 0
je 0x7ff8c13356e7
cmp eax, 2
jb 0x7ff8c13356e7
mov rdx, qword [rbp - 0x50]
mov qword [rsi + r15 + 0x1230], rdx
mov qword [rbp - 0x68], rdx
test rbx, rbx
je 0x7ff8c13356f9
cmp eax, 2
jb 0x7ff8c13356f9
mov qword [rsi + r15 + 0x1220], rbx
mov rdx, qword [rbp - 0x70]
lea rcx, [rdx + rcx*8]
cmp qword [rbp - 0x58], 0
je 0x7ff8c1335719
cmp eax, 2
jb 0x7ff8c1335719
mov rax, qword [rbp - 0x58]
mov qword [rsi + r15 + 0x1228], rax
mov qword [rbp + 0x78], rcx
lea rax, [rsi + r15]
add rax, 0x210
sub rsp, 0x30
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov rcx, qword [rbp - 0x48]
mov edx, 1
lea r9, str.Insert_instance_layer__s___s_
call fcn.7ff8c1324e82
add rsp, 0x30
mov rax, qword [rbp - 0x60]
inc eax
mov qword [rbp - 0x60], rax
mov rax, rbx
mov qword [rbp - 0x40], rbx
dec edi
mov r12, rbx
jns 0x7ff8c1335523
jmp 0x7ff8c13357a3
lea rax, [rsi + r15]
add rax, 0x210
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rcx, qword [rbp - 0x48]
mov edx, 8
lea r9, str.loader_create_instance_chain:_Failed_to_find_vkGetInstanceProcAddr_in_layer__s
call fcn.7ff8c1324e82
add rsp, 0x30
mov rbx, r12
xor eax, eax
mov qword [rbp - 0x40], rax
jmp 0x7ff8c133575f
mov r14, qword [rbp - 0x80]
mov rcx, qword [r14]
sub rsp, 0x20
lea rdx, [0x7ff8c13920d6]
call rbx
add rsp, 0x20
test rax, rax
je 0x7ff8c133585a
mov rdi, rax
mov eax, 0x2f
lea rdx, [rbp - 0x10]
mov dword [rdx], eax
mov dword [rdx + 0x10], 1
lea rcx, [0x7ff8c132e879]
mov qword [rdx + 0x18], rcx
lea rcx, [rbp + 0x20]
mov rsi, qword [rcx + 8]
mov qword [rdx + 8], rsi
lea rsi, [rbp - 0x38]
mov dword [rsi], eax
mov dword [rsi + 0x10], 2
lea rax, [fcn.7ff8c1334a33]
mov qword [rsi + 0x18], rax
lea rax, [fcn.7ff8c13353a9]
mov qword [rsi + 0x20], rax
mov qword [rsi + 8], rdx
mov qword [rcx + 8], rsi
sub rsp, 0x20
mov rdx, qword [rbp - 0x78]
mov r8, r14
call rdi
add rsp, 0x20
mov esi, eax
test eax, eax
jne 0x7ff8c133587c
mov r8, qword [r14]
mov rsi, qword [rbp - 0x48]
mov rcx, qword [rsi]
sub rsp, 0x20
mov rdx, rbx
call fcn.7ff8c132704e
add rsp, 0x20
mov rax, qword [r14]
mov qword [rsi + 0x3f58], rax
xor esi, esi
jmp 0x7ff8c133587c
sub rsp, 0x20
lea r9, str.loader_create_instance_chain:_Failed_to_find_vkCreateInstance
mov rcx, qword [rbp - 0x48]
mov edx, 8
call fcn.7ff8c1324e82
add rsp, 0x20
mov esi, 0xfffffffd
mov rcx, qword [rbp + 0x88]
xor rcx, rbp
sub rsp, 0x20
call fcn.7ff8c1361750
add rsp, 0x20
mov eax, esi
movaps xmm6, xmmword [rbp + 0x90]
lea rsp, [rbp + 0xa8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret