Function at 0x14005fec0
Capabilities:
Clear file content

Disassembly:
push rbp
push r12
lea rbp, [rsp - 0x108]
sub rsp, 0x208
mov rax, qword [0x1401114a8]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov r12, rcx
xor r8d, r8d
mov rcx, qword [rcx]
xor edx, edx
call fcn.14003f130
test rax, rax
je 0x14005ff3d
mov r9d, 0x2b4
mov dword [rsp + 0x20], 2
lea r8, str..._.._.._client_crash_report_database_win.cc
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace::Metadata::Write_void_
lea rcx, [rsp + 0x60]
call fcn.14002d900
mov rcx, rax
lea rdx, str.failed_to_rewind_to_write
call fcn.140009610
lea rcx, [rsp + 0x60]
call fcn.14002dc50
jmp 0x140060432
mov rcx, qword [r12]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14005ff98
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
lea r8, str..._.._.._client_crash_report_database_win.cc
mov r9d, 0x2bb
mov dword [rsp + 0x20], 2
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace::Metadata::Write_void_
lea rcx, [rsp + 0x60]
call fcn.14002db60
mov rcx, rax
lea rdx, str.failed_to_truncate
call fcn.140009610
lea rcx, [rsp + 0x60]
call fcn.14002df10
jmp 0x140060432
mov rcx, qword [r12 + 0x38]
movabs rax, 0x6bca1af286bca1b
sub rcx, qword [r12 + 0x30]
imul rcx
mov qword [rsp + 0x228], rbx
xor ebx, ebx
mov qword [rsp + 0x230], rsi
mov rsi, rdx
sar rsi, 2
mov rax, rsi
mov dword [rbp + 0x74], ebx
shr rax, 0x3f
add rsi, rax
mov dword [rbp + 0x68], 0x43504144
mov eax, 0xffffffff
mov dword [rbp + 0x6c], 1
cmp rsi, rax
ja 0x14005fff2
mov dword [rbp + 0x70], esi
jmp 0x14005fff6
int3
mov rcx, qword [r12]
lea rdx, [rbp + 0x68]
mov r8d, 0x10
call fcn.14003de10
test al, al
jne 0x140060051
mov r9d, 0x2c7
mov dword [rsp + 0x20], 2
lea r8, str..._.._.._client_crash_report_database_win.cc
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace::Metadata::Write_void_
lea rcx, [rsp + 0x60]
call fcn.14002d900
mov rcx, rax
lea rdx, str.failed_to_write_header
call fcn.140009610
lea rcx, [rsp + 0x60]
call fcn.14002dc50
jmp 0x140060422
test rsi, rsi
je 0x140060422
movabs rax, 0x3ffffffffffffff
mov qword [rbp + 0x78], rbx
mov qword [rbp + 0x88], rbx
xorps xmm0, xmm0
mov qword [rbp + 0x90], 0xf
mov qword [rsp + 0x40], rbx
movdqu xmmword [rsp + 0x30], xmm0
cmp rsi, rax
ja 0x140060452
mov qword [rsp + 0x238], rdi
mov qword [rsp + 0x200], r13
shl rsi, 6
mov qword [rsp + 0x1f8], r14
mov qword [rsp + 0x1f0], r15
cmp rsi, 0x1000
jb 0x1400600e7
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x14006044c
call fcn.1400d4a10
test rax, rax
je 0x1400603f6
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400600f7
test rsi, rsi
je 0x1400600f7
mov rcx, rsi
call fcn.1400d4a10
mov rbx, rax
mov rax, qword [r12 + 0x38]
lea r14, [rsi + rbx]
mov rsi, qword [r12 + 0x30]
mov rdi, rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x50], rax
cmp rsi, rax
je 0x1400601dc
lea r15, [rsi + 0x18]
nop dword [rax]
lea rdx, [rbp + 0xa0]
mov rcx, r15
call fcn.14002c860
mov rcx, rax
lea rdx, [r12 + 8]
call fcn.14002c410
lea rcx, [rbp + 0xa0]
movzx ebx, al
call fcn.14002c3c0
test bl, bl
jne 0x14006022c
lea r8, [rbp + 0x78]
mov rdx, rsi
lea rcx, [rbp + 0xa0]
call fcn.140058b60
cmp rdi, r14
je 0x1400601a4
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdi + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdi + 0x30], xmm1
add rdi, 0x40
mov qword [rsp + 0x38], rdi
jmp 0x1400601be
mov r8, rax
lea rcx, [rsp + 0x30]
mov rdx, rdi
call fcn.140058030
mov r14, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
add rsi, 0x98
add r15, 0x98
cmp rsi, qword [rsp + 0x50]
jne 0x140060130
mov rbx, qword [rsp + 0x30]
mov rcx, qword [r12]
sub rdi, rbx
and rdi, 0xffffffffffffffc0
mov rdx, rbx
mov r8, rdi
call fcn.14003de10
test al, al
jne 0x140060325
mov r9d, 0x2df
mov dword [rsp + 0x20], 2
lea r8, str..._.._.._client_crash_report_database_win.cc
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace::Metadata::Write_void_
lea rcx, [rsp + 0x60]
call fcn.14002d900
lea rdx, str.failed_to_write_records
jmp 0x140060377
cmp qword [r12 + 0x20], 8
lea rax, [r12 + 8]
jb 0x14006023e
mov rax, qword [r12 + 8]
cmp qword [r15 + 0x18], 8
mov qword [rsp + 0x50], rax
mov rax, qword [r12 + 0x18]
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
jb 0x140060262
mov r15, qword [r15]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0xa0]
call fcn.14002c1f0
mov r9d, 0x2d5
mov dword [rsp + 0x20], 2
lea r8, str..._.._.._client_crash_report_database_win.cc
mov rbx, rax
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace::Metadata::Write_void_
lea rcx, [rsp + 0x60]
call fcn.14002d900
mov rcx, rax
mov rdx, r15
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, str._expected_to_start_with
call fcn.140009610
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
jb 0x1400602c4
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.14000a0e0
lea rcx, [rsp + 0x60]
call fcn.14002dc50
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0x10
jb 0x14006031e
mov rcx, qword [rbp + 0xa0]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140060319
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140060319
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d4a4c
mov rbx, qword [rsp + 0x30]
jmp 0x140060389
cmp qword [rbp + 0x90], 0x10
lea rdx, [rbp + 0x78]
mov r8, qword [rbp + 0x88]
cmovae rdx, qword [rbp + 0x78]
mov rcx, qword [r12]
call fcn.14003de10
test al, al
jne 0x140060389
mov r9d, 0x2e4
mov dword [rsp + 0x20], 2
lea r8, str..._.._.._client_crash_report_database_win.cc
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace::Metadata::Write_void_
lea rcx, [rsp + 0x60]
call fcn.14002d900
lea rdx, str.failed_to_write_string_table
mov rcx, rax
call fcn.140009610
lea rcx, [rsp + 0x60]
call fcn.14002dc50
test rbx, rbx
je 0x1400603c1
sub r14, rbx
mov rax, rbx
and r14, 0xffffffffffffffc0
cmp r14, 0x1000
jb 0x1400603b6
mov rbx, qword [rbx - 8]
add r14, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400603f6
mov rdx, r14
mov rcx, rbx
call fcn.1400d4a4c
mov rdx, qword [rbp + 0x90]
cmp rdx, 0x10
jb 0x140060402
mov rcx, qword [rbp + 0x78]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400603fd
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400603fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d4a4c
mov r14, qword [rsp + 0x1f8]
mov r13, qword [rsp + 0x200]
mov rdi, qword [rsp + 0x238]
mov r15, qword [rsp + 0x1f0]
mov rbx, qword [rsp + 0x228]
mov rsi, qword [rsp + 0x230]
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.1400d4b20
add rsp, 0x208
pop r12
pop rbp
ret
call fcn.140008bc0
int3
call fcn.140060c50
int3