Function at 0x1400bd484
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 [0x1401ee6a8]
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.140035ca0
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.140035ca0
cmp byte [rdi + 0x17], 0
jns 0x1400bd517
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 0x1400bd6b8
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 0x1400bd65c
mov ecx, 0x50
call fcn.140163a50
mov rdi, rax
lea rax, [0x14019f110]
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.140034ae0
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.14005a5fb
test rax, rax
jle 0x1400bd7fc
mov rcx, qword [rdi + 8]
xor edx, edx
xor r8d, r8d
call fcn.14005a5fb
test rax, rax
je 0x1400bd6c4
mov ecx, 2
call fcn.140038810
test al, al
je 0x1400bd7fc
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.1400388b0
lea rcx, [rsp + 0xa8]
lea rdx, str.failed_to_rewind_to_read
mov r8d, 0x18
jmp 0x1400bd7ef
mov ecx, 2
call fcn.140038810
test al, al
je 0x1400bd6b8
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.140039550
lea rcx, [rsp + 0xb0]
lea rdx, [0x14019f239]
mov r8d, 0xa
call fcn.140001e11
mov rcx, rdi
call fcn.140039620
mov qword [rsi], 0
jmp 0x1400bd813
mov rcx, qword [rdi + 8]
lea rdx, [rsp + 0x280]
mov r8d, 0x10
call fcn.1400589ee
test al, al
je 0x1400bd75d
cmp dword [rsp + 0x280], 0x43504144
jne 0x1400bd7a9
cmp dword [rsp + 0x284], 1
jne 0x1400bd7a9
mov ecx, dword [rsp + 0x288]
mov edx, 0x38
mov eax, ecx
mul edx
jno 0x1400bd859
mov ecx, 2
call fcn.140038810
test al, al
je 0x1400bd7fc
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.1400388b0
lea rcx, [rsp + 0xa8]
lea rdx, str.record_size_out_of_range
jmp 0x1400bd651
mov ecx, 2
call fcn.140038810
test al, al
je 0x1400bd7fc
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.1400388b0
lea rcx, [rsp + 0xa8]
lea rdx, str.failed_to_read_header
mov r8d, 0x15
jmp 0x1400bd7ef
mov ecx, 2
call fcn.140038810
test al, al
je 0x1400bd7fc
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.1400388b0
lea rcx, [rsp + 0xa8]
lea rdx, str.unexpected_header
mov r8d, 0x11
call fcn.140001e11
mov rcx, rbx
call fcn.140038d10
lea rcx, [rsp + 0x98]
mov qword [rcx], 0
mov qword [rsi], rdi
call fcn.1400bdf28
lea rcx, [rsp + 0x58]
call fcn.140034b60
lea rcx, [rsp + 0x80]
call fcn.140034b60
mov rcx, qword [rsp + 0x328]
xor rcx, rsp
call fcn.140163e00
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 0x1400bdb65
imul rbp, rcx, 0x38
mov rcx, rbp
call fcn.140163a50
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.1400589ee
test al, al
je 0x1400bd96e
mov qword [rsp + 0x38], rbp
mov r12, qword [rdi + 8]
mov rcx, r12
xor edx, edx
mov r8d, 1
call fcn.14005a5fb
mov rbp, rax
mov rcx, r12
xor edx, edx
mov r8d, 2
call fcn.14005a5fb
mov r13, rax
mov rcx, r12
mov rdx, rbp
xor r8d, r8d
call fcn.14005a5fb
mov r15, r13
sub r15, rbp
je 0x1400bd9ce
cmp rbp, 0xffffffffffffffff
je 0x1400bd9ce
cmp r13, 0xffffffffffffffff
je 0x1400bd9ce
cmp rax, 0xffffffffffffffff
je 0x1400bd9ce
xorps xmm0, xmm0
movaps xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], 0
cmp r15, 0xfffffffffffffff0
jae 0x1400bdeb6
mov qword [rsp + 0x40], r14
cmp r15, 0x17
jae 0x1400bd9ef
lea r14, [rsp + 0xa0]
mov byte [r14 + 0x17], r15b
mov r13, r14
test r15, r15
jne 0x1400bda1a
jmp 0x1400bda27
mov ecx, 2
call fcn.140038810
test al, al
je 0x1400bd9c1
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.1400388b0
lea rcx, [rsp + 0xa8]
lea rdx, str.failed_to_read_records
mov r8d, 0x16
call fcn.140001e11
mov rcx, rbx
call fcn.140038d10
mov rcx, r14
call fcn.140163a8c
jmp 0x1400bdb85
xorps xmm0, xmm0
lea r13, [rsp + 0x240]
movaps xmmword [r13], xmm0
mov qword [r13 + 0x10], 0
xor eax, eax
xor edx, edx
jmp 0x1400bdaac
lea rbp, [r15 + 0x10]
and rbp, 0xfffffffffffffff0
mov rcx, rbp
call fcn.140163a50
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.140166bf0
xor eax, eax
mov byte [r13 + r15], al
cmp byte [r14 + 0x17], al
jns 0x1400bda3e
mov rdx, qword [rsp + 0xa0]
jmp 0x1400bda46
lea rdx, [rsp + 0xa0]
mov rcx, r12
mov r8, r15
call fcn.1400589ee
test al, al
je 0x1400bda6c
lea rcx, [rsp + 0x240]
lea rdx, [rsp + 0xa0]
call fcn.14002d606
jmp 0x1400bda83
xorps xmm0, xmm0
movaps xmmword [rsp + 0x240], xmm0
mov qword [rsp + 0x250], 0
cmp byte [r14 + 0x17], 0
jns 0x1400bda97
mov rcx, qword [rsp + 0xa0]
call fcn.140163a8c
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 0x1400bdadd
test dl, dl
jns 0x1400bdac8
mov rdx, qword [rsp + 0x240]
jmp 0x1400bdad0
lea rdx, [rsp + 0x240]
xor ebp, ebp
cmp byte [rdx + rcx - 1], bpl
je 0x1400bdb97
mov ecx, 2
call fcn.140038810
mov ebp, 1
test al, al
je 0x1400bdb35
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.1400388b0
lea rcx, [rsp + 0xa8]
lea rdx, str.bad_string_table
mov r8d, 0x10
call fcn.140001e11
mov rcx, rbx
call fcn.140038d10
cmp byte [r13 + 0x17], 0
jns 0x1400bdb49
mov rcx, qword [rsp + 0x240]
call fcn.140163a8c
mov rcx, r14
call fcn.140163a8c
test ebp, ebp
jne 0x1400bdb85
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.1400bf780
jmp 0x1400bd7fc
imul rcx, qword [rsp + 0x38], 0x38
mov qword [rsp + 0x40], rcx
add rcx, r14
mov edx, 0x38
add rdx, rcx
cmp rdx, r14
je 0x1400bdb35
mov ecx, dword [r14 + 0x10]
movzx edx, byte [r13 + 0x17]
test dl, dl
cmovns rax, rdx
cmp rax, rcx
jbe 0x1400bde5b
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 0x1400bde5b
mov rcx, rbp
call fcn.1400fac20
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 0x1400bdc21
mov rax, qword [rsp + 0x240]
add rcx, rax
mov qword [rsp + 0x290], rcx
test rax, rax
je 0x1400bdc38
call fcn.140184350
jmp 0x1400bdc3a
xor eax, eax
mov qword [rsp + 0x298], rax
mov rcx, r12
lea rdx, [rsp + 0x290]
call fcn.140044570
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.140035ca0
lea rcx, [rsp + 0x2c0]
mov rdx, r12
call fcn.140034b90
mov rcx, r12
call fcn.140034b60
xor ecx, ecx
cmp byte [rsp + 0x21f], cl
jns 0x1400bdcd1
mov rcx, qword [rsp + 0x208]
call fcn.140163a8c
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 0x1400bdcf3
mov rdx, qword [rsp + 0x240]
add rdx, rax
lea rcx, [rsp + 0x2d8]
call fcn.14002de8e
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 0x1400bdd6f
mov rcx, qword [rsp + 0x2c0]
mov r12, r13
mov rdx, r13
call fcn.140177e34
test eax, eax
je 0x1400bdde8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
mov r13, qword [rsp + 0x38]
je 0x1400bddfd
mov ecx, 2
call fcn.140038810
test al, al
je 0x1400bddfd
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.1400388b0
mov r8d, 0x15
lea rcx, [rsp + 0xa8]
lea rdx, str.failed_to_stat_report
call fcn.140001e11
lea rcx, [rsp + 0xa0]
call fcn.140038d10
jmp 0x1400bddfd
mov rax, qword [rsp + 0x220]
mov qword [rsp + 0x310], rax
mov r13, qword [rsp + 0x38]
lea rcx, [rsp + 0x260]
mov rdx, rbp
call fcn.1400bf2e6
cmp byte [rsp + 0x2ef], 0
jns 0x1400bde24
mov rcx, qword [rsp + 0x2d8]
call fcn.140163a8c
lea rcx, [rsp + 0x2c0]
call fcn.140034b60
cmp qword [rsp + 0x40], r15
je 0x1400bdeaf
mov ecx, dword [r14 + r15 + 0x48]
movzx eax, byte [r13 + 0x17]
test al, al
jns 0x1400bde4e
mov rax, qword [rsp + 0x248]
add r15, 0x38
cmp rax, rcx
ja 0x1400bdbe2
mov ecx, 2
call fcn.140038810
mov ebp, 1
test al, al
je 0x1400bdb35
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.1400388b0
lea rcx, [rsp + 0xa8]
lea rdx, str.invalid_string_table_index
mov r8d, 0x1a
jmp 0x1400bdb28
xor ebp, ebp
jmp 0x1400bdb35
lea rcx, [rsp + 0xa0]
call fcn.14002d5be
int3