Function at 0x1400d4fb4
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x348
movaps xmmword [rsp + 0x330], xmm6
mov rsi, rdx
mov rbx, rcx
mov rax, qword [0x140267e38]
xor rax, rsp
mov qword [rsp + 0x328], rax
lea rax, str.metadata
lea r8, [rsp + 0x70]
mov qword [r8], rax
mov eax, 8
add rbx, rax
mov qword [r8 + 8], rax
lea rdi, [rsp + 0x80]
mov rcx, rbx
mov rdx, rdi
call fcn.14005cc00
lea rax, str.reports
lea r8, [rsp + 0x48]
mov qword [r8], rax
mov qword [r8 + 8], 7
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.14005cc00
cmp byte [rdi + 0x17], 0
jns 0x1400d5047
mov rdi, qword [rsp + 0x80]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov rcx, rdi
mov edx, 0xc0000000
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x1400d51e8
mov rbx, rax
xorps xmm6, xmm6
lea rax, [rsp + 0x1e0]
movaps xmmword [rax + 0x10], xmm6
movaps xmmword [rax], xmm6
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xffffffff
mov rcx, rbx
mov edx, 2
xor r8d, r8d
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_LockFileEx]
test eax, eax
je 0x1400d518c
mov ecx, 0x50
call fcn.1401c9f10
mov rdi, rax
lea rax, str._V_n_
mov qword [rdi], rax
mov qword [rdi + 8], rbx
xor ebp, ebp
mov byte [rdi + 0x10], bpl
lea rbx, [rdi + 0x18]
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.14005ba20
mov byte [rdi + 0x30], bpl
movups xmmword [rdi + 0x38], xmm6
mov qword [rdi + 0x48], 0
mov qword [rsp + 0x98], rdi
mov rcx, qword [rdi + 8]
xor edx, edx
mov r8d, 2
call fcn.1400a734f
test rax, rax
jle 0x1400d532c
mov rcx, qword [rdi + 8]
xor edx, edx
xor r8d, r8d
call fcn.1400a734f
test rax, rax
je 0x1400d51f4
mov ecx, 2
call fcn.140060b40
test al, al
je 0x1400d532c
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rbx, [rsp + 0xa0]
mov rcx, rbx
mov r8d, 0x1a2
mov r9d, 2
call fcn.140060c10
lea rcx, [rsp + 0xa8]
lea rdx, str.failed_to_rewind_to_read
mov r8d, 0x18
jmp 0x1400d531f
mov ecx, 2
call fcn.140060b40
test al, al
je 0x1400d51e8
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xa0]
mov rcx, rdi
mov r8d, 0x144
mov r9d, 2
call fcn.1400618b0
lea rcx, [rsp + 0xb0]
lea rdx, [0x140211a69]
mov r8d, 0xa
call fcn.140007184
mov rcx, rdi
call fcn.140061980
mov qword [rsi], 0
jmp 0x1400d5343
mov rcx, qword [rdi + 8]
lea rdx, [rsp + 0x280]
mov r8d, 0x10
call fcn.1400a57a2
test al, al
je 0x1400d528d
cmp dword [rsp + 0x280], 0x43504144
jne 0x1400d52d9
cmp dword [rsp + 0x284], 1
jne 0x1400d52d9
mov ecx, dword [rsp + 0x288]
mov edx, 0x38
mov eax, ecx
mul edx
jno 0x1400d5389
mov ecx, 2
call fcn.140060b40
test al, al
je 0x1400d532c
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rbx, [rsp + 0xa0]
mov rcx, rbx
mov r8d, 0x1b5
mov r9d, 2
call fcn.140060c10
lea rcx, [rsp + 0xa8]
lea rdx, str.record_size_out_of_range
jmp 0x1400d5181
mov ecx, 2
call fcn.140060b40
test al, al
je 0x1400d532c
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rbx, [rsp + 0xa0]
mov rcx, rbx
mov r8d, 0x1a8
mov r9d, 2
call fcn.140060c10
lea rcx, [rsp + 0xa8]
lea rdx, str.failed_to_read_header
mov r8d, 0x15
jmp 0x1400d531f
mov ecx, 2
call fcn.140060b40
test al, al
je 0x1400d532c
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rbx, [rsp + 0xa0]
mov rcx, rbx
mov r8d, 0x1ad
mov r9d, 2
call fcn.140060c10
lea rcx, [rsp + 0xa8]
lea rdx, str.unexpected_header
mov r8d, 0x11
call fcn.140007184
mov rcx, rbx
call fcn.140061070
lea rcx, [rsp + 0x98]
mov qword [rcx], 0
mov qword [rsi], rdi
call fcn.1400d5a58
lea rcx, [rsp + 0x58]
call fcn.14005baa0
lea rcx, [rsp + 0x80]
call fcn.14005baa0
mov rcx, qword [rsp + 0x328]
xor rcx, rsp
call fcn.1401ca2e0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x330]
add rsp, 0x348
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r15d, eax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x260], xmm0
xor eax, eax
mov qword [rsp + 0x270], rax
test ecx, ecx
je 0x1400d5695
imul rbp, rcx, 0x38
mov rcx, rbp
call fcn.1401c9f10
mov r14, rax
add rbp, 0xffffffffffffffc8
shr rbp, 3
movabs rcx, 0x2492492492492493
mov rax, rbp
mul rcx
mov rbp, rdx
mov r8d, r15d
mov rcx, qword [rdi + 8]
mov rdx, r14
call fcn.1400a57a2
test al, al
je 0x1400d549e
mov qword [rsp + 0x38], rbp
mov r12, qword [rdi + 8]
mov rcx, r12
xor edx, edx
mov r8d, 1
call fcn.1400a734f
mov rbp, rax
mov rcx, r12
xor edx, edx
mov r8d, 2
call fcn.1400a734f
mov r13, rax
mov rcx, r12
mov rdx, rbp
xor r8d, r8d
call fcn.1400a734f
mov r15, r13
sub r15, rbp
je 0x1400d54fe
cmp rbp, 0xffffffffffffffff
je 0x1400d54fe
cmp r13, 0xffffffffffffffff
je 0x1400d54fe
cmp rax, 0xffffffffffffffff
je 0x1400d54fe
xorps xmm0, xmm0
movaps xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], 0
cmp r15, 0xfffffffffffffff0
jae 0x1400d59e6
mov qword [rsp + 0x40], r14
cmp r15, 0x17
jae 0x1400d551f
lea r14, [rsp + 0xa0]
mov byte [r14 + 0x17], r15b
mov r13, r14
test r15, r15
jne 0x1400d554a
jmp 0x1400d5557
mov ecx, 2
call fcn.140060b40
test al, al
je 0x1400d54f1
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rbx, [rsp + 0xa0]
mov rcx, rbx
mov r8d, 0x1be
mov r9d, 2
call fcn.140060c10
lea rcx, [rsp + 0xa8]
lea rdx, str.failed_to_read_records
mov r8d, 0x16
call fcn.140007184
mov rcx, rbx
call fcn.140061070
mov rcx, r14
call fcn.1401c9f6c
jmp 0x1400d56b5
xorps xmm0, xmm0
lea r13, [rsp + 0x240]
movaps xmmword [r13], xmm0
mov qword [r13 + 0x10], 0
xor eax, eax
xor edx, edx
jmp 0x1400d55dc
lea rbp, [r15 + 0x10]
and rbp, 0xfffffffffffffff0
mov rcx, rbp
call fcn.1401c9f10
mov r13, rax
lea r14, [rsp + 0xa0]
mov qword [r14], rax
bts rbp, 0x3f
mov qword [r14 + 0x10], rbp
mov qword [r14 + 8], r15
mov rcx, r13
xor edx, edx
mov r8, r15
call fcn.1401cd0e0
xor eax, eax
mov byte [r13 + r15], al
cmp byte [r14 + 0x17], al
jns 0x1400d556e
mov rdx, qword [rsp + 0xa0]
jmp 0x1400d5576
lea rdx, [rsp + 0xa0]
mov rcx, r12
mov r8, r15
call fcn.1400a57a2
test al, al
je 0x1400d559c
lea rcx, [rsp + 0x240]
lea rdx, [rsp + 0xa0]
call fcn.14003a9a6
jmp 0x1400d55b3
xorps xmm0, xmm0
movaps xmmword [rsp + 0x240], xmm0
mov qword [rsp + 0x250], 0
cmp byte [r14 + 0x17], 0
jns 0x1400d55c7
mov rcx, qword [rsp + 0xa0]
call fcn.1401c9f6c
lea r13, [rsp + 0x240]
mov dl, byte [r13 + 0x17]
mov rax, qword [r13 + 8]
mov r14, qword [rsp + 0x40]
test dl, dl
movzx ecx, dl
cmovs rcx, rax
test rcx, rcx
je 0x1400d560d
test dl, dl
jns 0x1400d55f8
mov rdx, qword [rsp + 0x240]
jmp 0x1400d5600
lea rdx, [rsp + 0x240]
xor ebp, ebp
cmp byte [rdx + rcx - 1], bpl
je 0x1400d56c7
mov ecx, 2
call fcn.140060b40
mov ebp, 1
test al, al
je 0x1400d5665
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rbx, [rsp + 0xa0]
mov rcx, rbx
mov r8d, 0x1c4
mov r9d, 2
call fcn.140060c10
lea rcx, [rsp + 0xa8]
lea rdx, str.bad_string_table
mov r8d, 0x10
call fcn.140007184
mov rcx, rbx
call fcn.140061070
cmp byte [r13 + 0x17], 0
jns 0x1400d5679
mov rcx, qword [rsp + 0x240]
call fcn.1401c9f6c
mov rcx, r14
call fcn.1401c9f6c
test ebp, ebp
jne 0x1400d56b5
movaps xmm0, xmmword [rsp + 0x260]
mov rax, qword [rsp + 0x270]
mov rcx, qword [rdi + 0x38]
mov qword [rsp + 0x260], rcx
movups xmm1, xmmword [rdi + 0x40]
movups xmmword [rdi + 0x38], xmm0
mov qword [rdi + 0x48], rax
movups xmmword [rsp + 0x268], xmm1
lea rcx, [rsp + 0x260]
call fcn.1400d7268
jmp 0x1400d532c
imul rcx, qword [rsp + 0x38], 0x38
mov qword [rsp + 0x40], rcx
add rcx, r14
mov edx, 0x38
add rdx, rcx
cmp rdx, r14
je 0x1400d5665
mov ecx, dword [r14 + 0x10]
movzx edx, byte [r13 + 0x17]
test dl, dl
cmovns rax, rdx
cmp rax, rcx
jbe 0x1400d598b
lea rbp, [rsp + 0x2b0]
lea r12, [rsp + 0x208]
xor r15d, r15d
mov qword [rsp + 0x38], r13
mov ecx, dword [r14 + r15 + 0x14]
cmp rax, rcx
jbe 0x1400d598b
mov rcx, rbp
call fcn.14011afe8
movups xmm0, xmmword [r14 + r15]
movaps xmmword [rsp + 0x2b0], xmm0
mov ecx, dword [r14 + r15 + 0x10]
cmp byte [r13 + 0x17], 0
lea rax, [rsp + 0x240]
jns 0x1400d5751
mov rax, qword [rsp + 0x240]
add rcx, rax
mov qword [rsp + 0x290], rcx
test rax, rax
je 0x1400d5768
call fcn.1401eac40
jmp 0x1400d576a
xor eax, eax
mov qword [rsp + 0x298], rax
mov rcx, r12
lea rdx, [rsp + 0x290]
call fcn.14006f0b0
movzx eax, byte [rsp + 0x21f]
test al, al
mov rcx, qword [rsp + 0x208]
mov r13, r12
cmovns rcx, r12
mov qword [rsp + 0x2a0], rcx
cmovs rax, qword [rsp + 0x210]
mov qword [rsp + 0x2a8], rax
mov rcx, rbx
lea r12, [rsp + 0xa0]
mov rdx, r12
lea r8, [rsp + 0x2a0]
call fcn.14005cc00
lea rcx, [rsp + 0x2c0]
mov rdx, r12
call fcn.14005bad0
mov rcx, r12
call fcn.14005baa0
xor ecx, ecx
cmp byte [rsp + 0x21f], cl
jns 0x1400d5801
mov rcx, qword [rsp + 0x208]
call fcn.1401c9f6c
xor ecx, ecx
mov eax, dword [r14 + r15 + 0x14]
xor r12d, r12d
mov rdx, qword [rsp + 0x38]
cmp byte [rdx + 0x17], cl
lea rdx, [rsp + 0x240]
jns 0x1400d5823
mov rdx, qword [rsp + 0x240]
add rdx, rax
lea rcx, [rsp + 0x2d8]
call fcn.14003b22e
mov rax, qword [r14 + r15 + 0x18]
mov qword [rsp + 0x2f0], rax
mov rax, qword [r14 + r15 + 0x20]
mov qword [rsp + 0x300], rax
mov eax, dword [r14 + r15 + 0x28]
mov dword [rsp + 0x308], eax
mov eax, dword [r14 + r15 + 0x2c]
mov dword [rsp + 0x318], eax
mov al, byte [r14 + r15 + 0x30]
mov cl, 1
and al, cl
mov byte [rsp + 0x2f8], al
mov al, byte [r14 + r15 + 0x30]
shr al, 1
and al, cl
mov byte [rsp + 0x30c], al
cmp byte [rsp + 0x2d7], r12b
lea rcx, [rsp + 0x2c0]
jns 0x1400d589f
mov rcx, qword [rsp + 0x2c0]
mov r12, r13
mov rdx, r13
call fcn.1401daf78
test eax, eax
je 0x1400d5918
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
mov r13, qword [rsp + 0x38]
je 0x1400d592d
mov ecx, 2
call fcn.140060b40
test al, al
je 0x1400d592d
lea rax, [rsp + 0xa0]
mov rcx, rax
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
mov r8d, 0x1d9
mov r9d, 2
call fcn.140060c10
mov r8d, 0x15
lea rcx, [rsp + 0xa8]
lea rdx, str.failed_to_stat_report
call fcn.140007184
lea rcx, [rsp + 0xa0]
call fcn.140061070
jmp 0x1400d592d
mov rax, qword [rsp + 0x220]
mov qword [rsp + 0x310], rax
mov r13, qword [rsp + 0x38]
lea rcx, [rsp + 0x260]
mov rdx, rbp
call fcn.1400d6df6
cmp byte [rsp + 0x2ef], 0
jns 0x1400d5954
mov rcx, qword [rsp + 0x2d8]
call fcn.1401c9f6c
lea rcx, [rsp + 0x2c0]
call fcn.14005baa0
cmp qword [rsp + 0x40], r15
je 0x1400d59df
mov ecx, dword [r14 + r15 + 0x48]
movzx eax, byte [r13 + 0x17]
test al, al
jns 0x1400d597e
mov rax, qword [rsp + 0x248]
add r15, 0x38
cmp rax, rcx
ja 0x1400d5712
mov ecx, 2
call fcn.140060b40
mov ebp, 1
test al, al
je 0x1400d5665
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rbx, [rsp + 0xa0]
mov rcx, rbx
mov r8d, 0x1cb
mov r9d, 2
call fcn.140060c10
lea rcx, [rsp + 0xa8]
lea rdx, str.invalid_string_table_index
mov r8d, 0x1a
jmp 0x1400d5658
xor ebp, ebp
jmp 0x1400d5665
lea rcx, [rsp + 0xa0]
call fcn.14003a95e
int3