Function at 0x140001690
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
xor r12d, r12d
mov rsi, rdx
mov r15, rcx
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], r12
mov dword [rbp - 0x30], r12d
mov qword [rbp - 0x28], r12
mov dword [rbp - 0x20], r12d
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], r12
mov dword [rbp + 0x30], r12d
mov edi, r12d
mov r14d, r12d
mov dword [rbp - 0x50], 3
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rsi + 8]
lea rdx, [rbp + 0x30]
xor r8d, r8d
call sub.vulkan_1.dll_vkEnumerateDeviceLayerProperties
test rdi, rdi
je 0x14000170e
mov rcx, rdi
call qword [sym.imp.MSVCR120.dll_free]
mov ebx, dword [rbp + 0x30]
imul rcx, rbx, 0x208
call qword [sym.imp.MSVCR120.dll_malloc]
mov rdi, rax
test r14, r14
je 0x140001732
mov rcx, r14
call qword [sym.imp.MSVCR120.dll_free]
mov ebx, dword [rbp + 0x30]
mov eax, ebx
imul rcx, rax, 0x218
call qword [sym.imp.MSVCR120.dll_malloc]
mov rcx, qword [rsi + 8]
lea rdx, [rbp + 0x30]
mov r8, rdi
mov r14, rax
call sub.vulkan_1.dll_vkEnumerateDeviceLayerProperties
cmp eax, 5
je 0x1400016f0
mov eax, dword [rbp + 0x30]
mov qword [rsi + 0x658], r14
mov ebx, r12d
mov dword [rsi + 0x650], eax
test eax, eax
je 0x140001829
nop dword [rax]
nop dword [rax + rax]
mov eax, ebx
mov ecx, 4
imul rdx, rax, 0x208
imul r10, rax, 0x218
add rdx, rdi
add r10, qword [rsi + 0x658]
mov r8, r10
mov rax, rdx
movups xmm0, xmmword [rax]
lea r8, [r8 + 0x80]
lea rax, [rax + 0x80]
movups xmmword [r8 - 0x80], xmm0
movups xmm1, xmmword [rax - 0x70]
movups xmmword [r8 - 0x70], xmm1
movups xmm0, xmmword [rax - 0x60]
movups xmmword [r8 - 0x60], xmm0
movups xmm1, xmmword [rax - 0x50]
movups xmmword [r8 - 0x50], xmm1
movups xmm0, xmmword [rax - 0x40]
movups xmmword [r8 - 0x40], xmm0
movups xmm1, xmmword [rax - 0x30]
movups xmmword [r8 - 0x30], xmm1
movups xmm0, xmmword [rax - 0x20]
movups xmmword [r8 - 0x20], xmm0
movups xmm1, xmmword [rax - 0x10]
movups xmmword [r8 - 0x10], xmm1
dec rcx
jne 0x1400017a5
mov rcx, qword [rax]
lea r9, [r10 + 0x210]
mov qword [r8], rcx
lea r8, [r10 + 0x208]
mov rcx, rsi
call fcn.1400023b0
inc ebx
cmp ebx, dword [rsi + 0x650]
jb 0x140001780
mov rcx, rdi
call qword [sym.imp.MSVCR120.dll_free]
lea r9, [rsi + 0x668]
lea r8, [rsi + 0x660]
xor edx, edx
mov rcx, rsi
call fcn.1400023b0
call qword [sym.imp.MSVCR120.dll___iob_func]
lea rcx, [rax + 0x30]
call qword [sym.imp.MSVCR120.dll_fflush]
mov eax, dword [rsi + 0x348]
lea r9, [r15 + 8]
mov dword [rbp - 0x3c], eax
mov rax, qword [rsi + 0x358]
mov qword [r15], rsi
mov rcx, qword [rsi + 8]
lea rdx, [rbp - 0x50]
xor r8d, r8d
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x30], r12d
mov qword [rbp - 0x28], r12
mov dword [rbp - 0x20], r12d
mov qword [rbp - 0x18], r12
call sub.vulkan_1.dll_vkCreateDevice
test eax, eax
je 0x1400018f4
mov ecx, eax
call fcn.140003df0
lea rdx, str.C:_releasebuildLoaderAndValidationLayersdemos_vulkaninfo.c
lea rcx, str._s:_d:_failed_with__s_n
mov r9, rax
mov r8d, 0x1ff
call qword [sym.imp.MSVCR120.dll_printf]
call qword [sym.imp.MSVCR120.dll___iob_func]
lea rcx, [rax + 0x30]
call qword [sym.imp.MSVCR120.dll_fflush]
lea rcx, [rbp + 0x38]
mov edx, 2
call qword [sym.imp.KERNEL32.dll_GetConsoleProcessList]
cmp eax, 1
ja 0x1400018ea
or ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_Sleep]
or ecx, 0xffffffff
call qword [sym.imp.MSVCR120.dll_exit]
int3
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret