Function at 0x140051bf0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov r14, r9
mov r13, r8
mov rdi, rcx
cmp byte [rcx + 0xe50], 0
jne 0x1400524d2
mov byte [rcx + 0xe50], 1
mov ecx, 0x968
call fcn.1400ec60c
mov rbx, rax
mov qword [rbp + 0x30], rax
xor esi, esi
test rax, rax
je 0x140051caf
lea rax, vtable.Fossilize::VulkanDevice.0
mov qword [rbx], rax
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov qword [rbx + 0x20], rsi
lea rcx, [rbx + 0x28]
xor edx, edx
mov r8d, 0x338
call fcn.1400eee20
mov dword [rbx + 0x360], esi
mov qword [rbx + 0x368], rsi
mov qword [rbx + 0x370], rsi
mov dword [rbx + 0x378], esi
mov byte [rbx + 0x37c], sil
lea rcx, [rbx + 0x380]
xor edx, edx
mov r8d, 0x5e0
call fcn.1400eee20
lea rcx, [rbx + 0x960]
call fcn.140004a70
jmp 0x140051cb2
mov rbx, rsi
mov rcx, qword [rdi + 0xe48]
mov qword [rdi + 0xe48], rbx
test rcx, rcx
je 0x140051ccf
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rdi + 0xe60], r13
mov qword [rdi + 0xe68], r14
movzx eax, byte [rdi + 0xa]
mov byte [rdi + 0xe5b], al
call fcn.1400e9660
mov rbx, rax
call fcn.1400e9644
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
lea rbx, [rax + rcx]
lea rdx, [rdi + 0xe58]
mov rcx, qword [rdi + 0xe48]
call fcn.140002a40
test al, al
je 0x1400524f4
mov r8, rdi
lea rdx, [0x14004d270]
mov rcx, qword [rdi + 0xe48]
call fcn.140004560
cmp byte [rdi + 0xa], 0
je 0x140051e77
mov rax, qword [rdi + 0xe48]
cmp byte [rax + 0x37a], 0
jne 0x140051d8f
mov ecx, 2
call fcn.1400f6cc8
mov rcx, rax
lea rdx, str.Fossilize_INFO:_Requested_pipeline_stats__but_device_does_not_support_them._Disabling._n
call fcn.140002150
mov ecx, 2
call fcn.1400f6cc8
mov rcx, rax
call fcn.1400f7084
mov byte [rdi + 0xa], 0
jmp 0x140051e77
lea rdx, [rdi + 0x90]
lea r8, str..__tmp.foz
lea rcx, [rbp - 0x50]
call fcn.14003a000
nop
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae rcx, qword [rbp - 0x50]
xor edx, edx
call fcn.1400257f0
mov rcx, rax
mov r8, qword [rdi + 0x6f8]
mov qword [rdi + 0x6f8], rax
test r8, r8
je 0x140051de6
mov rax, qword [r8]
mov edx, 1
mov rcx, r8
call qword [rax]
mov rcx, qword [rdi + 0x6f8]
mov rax, qword [rcx]
call qword [rax + 8]
test al, al
jne 0x140051e3c
mov ecx, 2
call fcn.1400f6cc8
mov rcx, rax
lea rdx, str.Fossilize_WARN:_Failed_to_prepare_stats_database._Disabling_pipeline_stats._n
call fcn.140002150
mov ecx, 2
call fcn.1400f6cc8
mov rcx, rax
call fcn.1400f7084
mov rcx, qword [rdi + 0x6f8]
mov qword [rdi + 0x6f8], rsi
test rcx, rcx
je 0x140051e38
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov byte [rdi + 0xa], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x140051e77
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051e72
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005252a
call fcn.1400ec648
cmp qword [rdi + 0x20], 0
je 0x140052050
mov dword [rbp - 0x30], 0x11
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
mov qword [rbp - 0x40], rsi
lea rcx, [rdi + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x140051eae
mov rcx, qword [rcx]
lea rdx, [0x140122eb0]
call fcn.1400f981c
mov r14, rax
test rax, rax
je 0x140051f61
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rax
call fcn.1400f9db8
mov rcx, r14
call fcn.1400fa310
movsxd r15, eax
mov rcx, r14
call fcn.1400fa5ec
test r15, r15
je 0x140051f61
mov rdx, r15
lea rcx, [rbp - 0x50]
call fcn.140020c70
mov r9, r14
mov r8, r15
mov edx, 1
mov rcx, qword [rbp - 0x50]
call fcn.1400f9ae0
cmp rax, r15
jne 0x140051f61
lea rdx, [rbp - 0x50]
mov rcx, rdi
call fcn.140055d40
test al, al
je 0x140051f36
mov rcx, qword [rbp - 0x50]
mov qword [rbp - 0x10], rcx
mov rax, qword [rbp - 0x48]
sub rax, rcx
mov qword [rbp - 0x18], rax
jmp 0x140051f61
mov ecx, 2
call fcn.1400f6cc8
mov rcx, rax
lea rdx, str.Fossilize_INFO:_Failed_to_validate_pipeline_cache._Creating_a_blank_one._n
call fcn.140002150
mov ecx, 2
call fcn.1400f6cc8
mov rcx, rax
call fcn.1400f7084
mov rax, qword [0x1401bc8c0]
mov rcx, qword [rdi + 0xe48]
lea r9, [rdi + 0x408]
xor r8d, r8d
lea rdx, [rbp - 0x30]
mov rcx, qword [rcx + 0x18]
call rax
test eax, eax
je 0x140052016
mov ecx, 2
call fcn.1400f6cc8
mov rcx, rax
lea rdx, str.Fossilize_WARN:_Failed_to_create_pipeline_cache__trying_to_create_a_blank_one._n
call fcn.140002150
mov ecx, 2
call fcn.1400f6cc8
mov rcx, rax
call fcn.1400f7084
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], rsi
mov rax, qword [0x1401bc8c0]
mov rcx, qword [rdi + 0xe48]
lea r9, [rdi + 0x408]
xor r8d, r8d
lea rdx, [rbp - 0x30]
mov rcx, qword [rcx + 0x18]
call rax
test eax, eax
je 0x140052016
mov ecx, 2
call fcn.1400f6cc8
mov rcx, rax
lea rdx, str.Fossilize_ERROR:_Failed_to_create_pipeline_cache._n
call fcn.140002150
mov ecx, 2
call fcn.1400f6cc8
mov rcx, rax
call fcn.1400f7084
mov qword [rdi + 0x408], rsi
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x140052050
mov rdx, qword [rbp - 0x40]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005204b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140052530
call fcn.1400ec648
cmp qword [rdi + 0x40], 0
je 0x1400522c2
mov rax, qword [rdi + 0xe48]
cmp byte [rax + 0x37b], 0
je 0x140052297
mov dword [rbp - 0x30], 0x3b9d3b00
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
mov qword [rbp - 0x40], rsi
lea rcx, [rdi + 0x30]
cmp qword [rcx + 0x18], 0x10
jb 0x14005209b
mov rcx, qword [rcx]
lea rdx, [0x140122eb0]
call fcn.1400f981c
mov r14, rax
test rax, rax
je 0x14005216d
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rax
call fcn.1400f9db8
mov rcx, r14
call fcn.1400fa310
movsxd r15, eax
mov rcx, r14
call fcn.1400fa5ec
test r15, r15
je 0x14005216d
mov rdx, r15
lea rcx, [rbp - 0x50]
call fcn.140020c70
mov r9, r14
mov r8, r15
mov edx, 1
mov rcx, qword [rbp - 0x50]
call fcn.1400f9ae0
cmp rax, r15
jne 0x14005216d
mov r8, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x50]
sub r8, rdx
cmp r8, 0x18
jae 0x140052262
mov ecx, 2
call fcn.1400f6cc8
mov rcx, rax
lea rdx, str.Fossilize_ERROR:_Validation_cache_header_is_too_small._n
call fcn.140002150
mov ecx, 2
call fcn.1400f6cc8
mov rcx, rax
call fcn.1400f7084
mov ecx, 2
call fcn.1400f6cc8
mov rcx, rax
lea rdx, str.Fossilize_INFO:_Failed_to_validate_validation_cache._Creating_a_blank_one._n
call fcn.140002150
mov ecx, 2
call fcn.1400f6cc8
mov rcx, rax
call fcn.1400f7084
mov rax, qword [0x1401bcde8]
mov rcx, qword [rdi + 0xe48]
lea r9, [rdi + 0x410]
xor r8d, r8d
lea rdx, [rbp - 0x30]
mov rcx, qword [rcx + 0x18]
call rax
test eax, eax
je 0x140052222
mov ecx, 2
call fcn.1400f6cc8
mov rcx, rax
lea rdx, str.Fossilize_WARN:_Failed_to_create_validation_cache__trying_to_create_a_blank_one._n
call fcn.140002150
mov ecx, 2
call fcn.1400f6cc8
mov rcx, rax
call fcn.1400f7084
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], rsi
mov rax, qword [0x1401bcde8]
mov rcx, qword [rdi + 0xe48]
lea r9, [rdi + 0x410]
xor r8d, r8d
lea rdx, [rbp - 0x30]
mov rcx, qword [rcx + 0x18]
call rax
test eax, eax
je 0x140052222
mov ecx, 2
call fcn.1400f6cc8
mov rcx, rax
lea rdx, str.Fossilize_ERROR:_Failed_to_create_validation_cache._n
call fcn.140002150
mov ecx, 2
call fcn.1400f6cc8
mov rcx, rax
call fcn.1400f7084
mov qword [rdi + 0x410], rsi
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x1400522c2
mov rdx, qword [rbp - 0x40]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005225b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400524ee
call fcn.1400ec648
jmp 0x1400522c2
movzx ecx, byte [rdx + 7]
shl ecx, 8
movzx eax, byte [rdx + 6]
or ecx, eax
shl ecx, 8
movzx eax, byte [rdx + 5]
or ecx, eax
shl ecx, 8
movzx eax, byte [rdx + 4]
or ecx, eax
cmp ecx, 1
jne 0x140052142
mov qword [rbp - 0x10], rdx
mov qword [rbp - 0x18], r8
jmp 0x14005216d
mov ecx, 2
call fcn.1400f6cc8
mov rcx, rax
lea rdx, str.Fossilize_ERROR:_Requested_validation_cache__but_validation_layers_do_not_support_this_extension._n
call fcn.140002150
mov ecx, 2
call fcn.1400f6cc8
mov rcx, rax
call fcn.1400f7084
cmp qword [rdi + 0xc0], 0
je 0x140052303
mov rcx, rdi
call fcn.14004be60
test al, al
jne 0x140052303
mov ecx, 2
call fcn.1400f6cc8
mov rcx, rax
lea rdx, str.Fossilize_WARN:_Failed_to_initialize_replayer_cache._Ignoring__n
call fcn.140002150
mov ecx, 2
call fcn.1400f6cc8
mov rcx, rax
call fcn.1400f7084
call fcn.1400e9660
mov rdi, rax
call fcn.1400e9644
cqo
idiv rdi
mov rcx, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
imul rcx, rcx, 0x3b9aca00
add rcx, rax
sub rcx, rbx
movabs rax, 0x431bde82d7b634db
imul rcx
mov rbx, rdx
sar rbx, 0x12
mov rax, rbx
shr rax, 0x3f
add rbx, rax
mov ecx, 2
call fcn.1400f6cc8
mov rcx, rax
mov r8d, ebx
lea rdx, str.Fossilize_INFO:_Creating_Vulkan_device_took:__ld_ms_n
call fcn.140002150
mov ecx, 2
call fcn.1400f6cc8
mov rcx, rax
call fcn.1400f7084
test r13, r13
je 0x1400524d2
mov ecx, 2
call fcn.1400f6cc8
mov rcx, rax
lea rdx, str.Fossilize_INFO:_Replaying_for_application:_n
call fcn.140002150
mov ecx, 2
call fcn.1400f6cc8
mov rcx, rax
call fcn.1400f7084
mov ebx, dword [r13 + 0x2c]
mov ecx, 2
call fcn.1400f6cc8
mov ecx, ebx
and ecx, 0xfff
mov r9d, ebx
shr r9d, 0xc
and r9d, 0x3ff
shr ebx, 0x16
mov dword [rsp + 0x20], ecx
mov r8d, ebx
lea rdx, str.Fossilize_INFO:___apiVersion:__u._u._u_n
mov rcx, rax
call fcn.140002150
mov ecx, 2
call fcn.1400f6cc8
mov rcx, rax
call fcn.1400f7084
mov ebx, dword [r13 + 0x28]
mov ecx, 2
call fcn.1400f6cc8
mov r8d, ebx
lea rdx, str.Fossilize_INFO:___engineVersion:__u_n
mov rcx, rax
call fcn.140002150
mov ecx, 2
call fcn.1400f6cc8
mov rcx, rax
call fcn.1400f7084
mov ebx, dword [r13 + 0x18]
mov ecx, 2
call fcn.1400f6cc8
mov r8d, ebx
lea rdx, str.Fossilize_INFO:___applicationVersion:__u_n
mov rcx, rax
call fcn.140002150
mov ecx, 2
call fcn.1400f6cc8
mov rcx, rax
call fcn.1400f7084
mov rbx, qword [r13 + 0x20]
test rbx, rbx
je 0x14005249b
mov ecx, 2
call fcn.1400f6cc8
mov r8, rbx
lea rdx, str.Fossilize_INFO:___engineName:__s_n
mov rcx, rax
call fcn.140002150
mov ecx, 2
call fcn.1400f6cc8
mov rcx, rax
call fcn.1400f7084
mov rbx, qword [r13 + 0x10]
test rbx, rbx
je 0x1400524d2
mov ecx, 2
call fcn.1400f6cc8
mov r8, rbx
lea rdx, str.Fossilize_INFO:___applicationName:__s_n
mov rcx, rax
call fcn.140002150
mov ecx, 2
call fcn.1400f6cc8
mov rcx, rax
call fcn.1400f7084
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
call fcn.1400f2c0c
int3
mov ecx, 2
call fcn.1400f6cc8
mov rcx, rax
lea rdx, str.Fossilize_ERROR:_Failed_to_create_Vulkan_device__bailing_..._n
call fcn.140002150
mov ecx, 2
call fcn.1400f6cc8
mov rcx, rax
call fcn.1400f7084
mov ecx, 1
call fcn.1400f3074
int3
call fcn.1400f2c0c
int3
call fcn.1400f2c0c
int3