Function at 0x1400030c0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rsi
push rbp
lea rbp, [rsp - 0x79c0]
mov eax, 0x7ac0
call fcn.140003fa0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x79b0], rax
lea rcx, [rsp + 0x38]
mov edx, 2
call qword [sym.imp.KERNEL32.dll_GetConsoleProcessList]
cmp eax, 1
ja 0x140003106
call fcn.140001000
lea rcx, [0x140008e50]
mov qword [rsp + 0x7ad0], rbx
mov qword [rsp + 0x7ad8], rdi
call qword [sym.imp.MSVCR120.dll_printf]
lea rcx, str.VULKAN_INFO_n
call qword [sym.imp.MSVCR120.dll_printf]
lea rcx, str._n_n
call qword [sym.imp.MSVCR120.dll_printf]
mov r9d, 0xb
lea rcx, str.Vulkan_API_Version:__d._d._d_n_n
lea edx, [r9 - 0xa]
xor r8d, r8d
call qword [sym.imp.MSVCR120.dll_printf]
lea rcx, [rsp + 0x40]
call fcn.1400010b0
lea rcx, str.Instance_Extensions_and_layers:_n
call qword [sym.imp.MSVCR120.dll_printf]
lea rcx, str._n
call qword [sym.imp.MSVCR120.dll_printf]
mov r9, qword [rsp + 0x60]
mov r8d, dword [rsp + 0x58]
lea rdx, str.Instance
lea rcx, [0x14000641f]
call fcn.140001910
mov edx, dword [rsp + 0x48]
lea rcx, str.Instance_Layers_tcount___d_n
call qword [sym.imp.MSVCR120.dll_printf]
xor esi, esi
cmp dword [rsp + 0x48], esi
jbe 0x140003289
nop word [rax + rax]
mov rbx, qword [rsp + 0x50]
mov eax, esi
lea r8, str._d._d._d
imul rdi, rax, 0x218
add rbx, rdi
mov edx, 0x40
mov r9d, dword [rbx + 0x100]
mov ecx, r9d
mov eax, r9d
shr r9d, 0x16
and ecx, 0xfff
shr eax, 0xc
mov dword [rsp + 0x28], ecx
and eax, 0x3ff
lea rcx, [rbp + 0x7970]
mov dword [rsp + 0x20], eax
call qword [sym.imp.MSVCR120.dll__snprintf]
mov r9d, dword [rbx + 0x104]
lea r8, [0x140008e14]
lea rcx, [rbp + 0x7930]
mov edx, 0x40
call qword [sym.imp.MSVCR120.dll__snprintf]
lea rax, [rbp + 0x7930]
lea r8, [rbx + 0x108]
lea r9, [rbp + 0x7970]
lea rcx, str._t_s___s__Vulkan_version__s__layer_version__s_n
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCR120.dll_printf]
mov rdx, qword [rsp + 0x50]
add rdx, rdi
lea rcx, [0x140008e48]
mov r9, qword [rdx + 0x210]
mov r8d, dword [rdx + 0x208]
call fcn.140001910
inc esi
cmp esi, dword [rsp + 0x48]
jb 0x1400031c0
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x30]
xor r8d, r8d
call sub.vulkan_1.dll_vkEnumeratePhysicalDevices
test eax, eax
je 0x1400032fb
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, 0x47d
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, [rsp + 0x38]
mov edx, 2
call qword [sym.imp.KERNEL32.dll_GetConsoleProcessList]
cmp eax, 1
ja 0x1400032f1
or ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_Sleep]
or ecx, 0xffffffff
call qword [sym.imp.MSVCR120.dll_exit]
int3
cmp dword [rsp + 0x30], 8
jbe 0x140003368
lea rcx, str.Too_many_GPUS_found__n
call qword [sym.imp.MSVCR120.dll_printf]
lea r9, str.VK_ERROR_OUT_OF_HOST_MEMORY
lea rdx, str.C:_releasebuildLoaderAndValidationLayersdemos_vulkaninfo.c
lea rcx, str._s:_d:_failed_with__s_n
mov r8d, 0x480
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, [rsp + 0x38]
mov edx, 2
call qword [sym.imp.KERNEL32.dll_GetConsoleProcessList]
cmp eax, 1
ja 0x14000335e
or ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_Sleep]
or ecx, 0xffffffff
call qword [sym.imp.MSVCR120.dll_exit]
int3
mov rcx, qword [rsp + 0x40]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x30]
call sub.vulkan_1.dll_vkEnumeratePhysicalDevices
test eax, eax
je 0x1400033dc
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, 0x484
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, [rsp + 0x38]
mov edx, 2
call qword [sym.imp.KERNEL32.dll_GetConsoleProcessList]
cmp eax, 1
ja 0x1400033d2
or ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_Sleep]
or ecx, 0xffffffff
call qword [sym.imp.MSVCR120.dll_exit]
int3
mov eax, dword [rsp + 0x30]
xor edi, edi
test eax, eax
je 0x14000342f
nop word [rax + rax]
mov r8d, edi
lea rbx, [rbp - 0x50]
mov edx, edi
imul rax, r8, 0xf30
mov r8, qword [rsp + rdi*8 + 0x70]
add rbx, rax
mov rcx, rbx
call fcn.140002d50
mov rcx, rbx
call fcn.140002450
lea rcx, [0x140008f38]
call qword [sym.imp.MSVCR120.dll_printf]
mov eax, dword [rsp + 0x30]
inc edi
cmp edi, eax
jb 0x1400033f0
xor esi, esi
test eax, eax
je 0x1400034c6
nop dword [rax]
mov eax, esi
lea rdi, [rbp - 0x50]
xor edx, edx
imul rcx, rax, 0xf30
add rdi, rcx
mov rcx, qword [rdi + 0x678]
call sub.vulkan_1.dll_vkDestroyDevice
mov rcx, qword [rdi + 0x668]
call qword [sym.imp.MSVCR120.dll_free]
xor ebx, ebx
cmp dword [rdi + 0x348], ebx
jbe 0x1400034a0
nop word [rax + rax]
mov rcx, qword [rdi + 0x358]
lea rdx, [rbx + rbx*4]
mov rcx, qword [rcx + rdx*8 + 0x20]
call qword [sym.imp.MSVCR120.dll_free]
inc ebx
cmp ebx, dword [rdi + 0x348]
jb 0x140003480
mov rcx, qword [rdi + 0x358]
call qword [sym.imp.MSVCR120.dll_free]
mov rcx, qword [rdi + 0x350]
call qword [sym.imp.MSVCR120.dll_free]
inc esi
cmp esi, dword [rsp + 0x30]
jb 0x140003440
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.MSVCR120.dll_free]
mov rcx, qword [rsp + 0x40]
xor edx, edx
call sub.vulkan_1.dll_vkDestroyInstance
call qword [sym.imp.MSVCR120.dll___iob_func]
lea rcx, [rax + 0x30]
call qword [sym.imp.MSVCR120.dll_fflush]
lea rcx, [rsp + 0x38]
mov edx, 2
call qword [sym.imp.KERNEL32.dll_GetConsoleProcessList]
cmp eax, 1
ja 0x14000350b
or ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdi, qword [rsp + 0x7ad8]
mov rbx, qword [rsp + 0x7ad0]
xor eax, eax
mov rcx, qword [rbp + 0x79b0]
xor rcx, rsp
call fcn.140004000
mov rsi, qword [rsp + 0x7ae0]
add rsp, 0x7ac0
pop rbp
ret