Function at 0x140002d50
Capabilities:
Terminate process

Disassembly:
push rbx
push rdi
push r13
push r15
sub rsp, 0x28
mov rdi, r8
mov ebx, edx
xor edx, edx
mov r8d, 0xf30
mov r15, rcx
call sub.MSVCR120.dll_memset
lea rdx, [r15 + 0x10]
mov rcx, rdi
mov dword [r15], ebx
mov qword [r15 + 8], rdi
call sub.vulkan_1.dll_vkGetPhysicalDeviceProperties
mov rcx, qword [r15 + 8]
lea rdx, [r15 + 0x348]
xor r8d, r8d
call sub.vulkan_1.dll_vkGetPhysicalDeviceQueueFamilyProperties
mov eax, dword [r15 + 0x348]
lea rcx, [rax + rax*2]
shl rcx, 3
call qword [sym.imp.MSVCR120.dll_malloc]
mov qword [r15 + 0x350], rax
test rax, rax
jne 0x140002e10
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, 0x28e
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 + 0x50]
mov edx, 2
call qword [sym.imp.KERNEL32.dll_GetConsoleProcessList]
cmp eax, 1
ja 0x140002e06
or ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_Sleep]
or ecx, 0xffffffff
call qword [sym.imp.MSVCR120.dll_exit]
int3
mov rcx, qword [r15 + 8]
lea rdx, [r15 + 0x348]
mov r8, rax
call sub.vulkan_1.dll_vkGetPhysicalDeviceQueueFamilyProperties
mov edi, dword [r15 + 0x348]
lea rcx, [rdi + rdi*4]
shl rcx, 3
call qword [sym.imp.MSVCR120.dll_malloc]
mov qword [r15 + 0x358], rax
test rax, rax
jne 0x140002e9d
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, 0x295
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 + 0x50]
mov edx, 2
call qword [sym.imp.KERNEL32.dll_GetConsoleProcessList]
cmp eax, 1
ja 0x140002e93
or ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_Sleep]
or ecx, 0xffffffff
call qword [sym.imp.MSVCR120.dll_exit]
int3
xor ebx, ebx
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], r12
mov r12d, ebx
test edi, edi
je 0x140002f69
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x20], r14
nop
mov esi, r12d
lea rax, [rsi + rsi*2]
lea r14, [rax*8]
mov rax, qword [r15 + 0x350]
mov edi, dword [rax + r14 + 4]
shl rdi, 2
mov rcx, rdi
call qword [sym.imp.MSVCR120.dll_malloc]
mov r8, rdi
xor edx, edx
mov rcx, rax
mov rbp, rax
call sub.MSVCR120.dll_memset
lea rcx, [rsi + rsi*4]
lea r8, [rcx*8]
mov rcx, qword [r15 + 0x358]
mov dword [r8 + rcx], 2
mov rcx, qword [r15 + 0x358]
mov qword [rcx + r8 + 8], rbx
mov rcx, qword [r15 + 0x358]
mov dword [rcx + r8 + 0x14], r12d
mov rcx, qword [r15 + 0x350]
mov rdx, qword [r15 + 0x358]
mov eax, dword [rcx + r14 + 4]
inc r12d
mov dword [rdx + r8 + 0x18], eax
mov rax, qword [r15 + 0x358]
mov qword [rax + r8 + 0x20], rbp
cmp r12d, dword [r15 + 0x348]
jb 0x140002ec0
mov r14, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x58]
mov rcx, qword [r15 + 8]
lea rdx, [r15 + 0x360]
call sub.vulkan_1.dll_vkGetPhysicalDeviceMemoryProperties
mov rcx, qword [r15 + 8]
lea rdx, [r15 + 0x568]
call sub.vulkan_1.dll_vkGetPhysicalDeviceFeatures
lea rcx, [r15 + 0x670]
mov rdx, r15
call fcn.140001690
mov r12, qword [rsp + 0x68]
lea rdi, [r15 + 0x680]
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [r15 + 0x670]
mov r8, rdi
mov edx, ebx
mov rcx, qword [rcx + 8]
call sub.vulkan_1.dll_vkGetPhysicalDeviceFormatProperties
inc ebx
add rdi, 0xc
cmp ebx, 0xb9
jl 0x140002fb0
mov rsi, qword [rsp + 0x60]
add rsp, 0x28
pop r15
pop r13
pop rdi
pop rbx
ret