Function at 0x14005aea0
Capabilities:
Clear file content
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x218
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x210], rax
mov rsi, qword [rcx]
mov qword [rcx], 0
test rsi, rsi
je 0x14005af68
cmp byte [rsi + 0x48], 1
je 0x14005b027
xorps xmm0, xmm0
lea rax, [rsp + 0x60]
movaps xmmword [rax + 0x10], xmm0
movaps xmmword [rax], xmm0
mov rcx, qword [rsi + 8]
mov qword [rsp + 0x20], rax
xor edx, edx
mov r8d, 0xffffffff
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_UnlockFileEx]
test eax, eax
je 0x14005afc2
mov rbx, qword [rsi + 0x50]
test rbx, rbx
jne 0x14005af93
cmp byte [rsi + 0x47], 0
jns 0x14005af2e
mov rcx, qword [rsi + 0x30]
call fcn.14018f5b0
cmp byte [rsi + 0x2f], 0
jns 0x14005af3d
mov rcx, qword [rsi + 0x18]
call fcn.14018f5b0
lea rax, [0x140270cb8]
mov qword [rsi], rax
cmp byte [rsi + 0x10], 1
je 0x14005af8d
mov rcx, qword [rsi + 8]
cmp rcx, 0xffffffffffffffff
je 0x14005af60
call fcn.14005b720
test al, al
je 0x14005af90
mov rcx, rsi
call fcn.14018f5b0
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.140191d80
nop
add rsp, 0x218
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
int3
int3
mov rdi, qword [rsi + 0x58]
mov rcx, rbx
cmp rdi, rbx
je 0x14005afb4
add rdi, 0xffffffffffffff90
mov rcx, rdi
call fcn.140211440
cmp rdi, rbx
jne 0x14005af9f
mov rcx, qword [rsi + 0x50]
mov qword [rsi + 0x58], rbx
call fcn.14018f5b0
jmp 0x14005af1f
mov ecx, 2
call fcn.14018d920
test al, al
je 0x14005af16
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xb0]
mov rcx, rdi
mov r8d, 0x13c
mov r9d, 2
call fcn.1401f8d90
lea rcx, [rsp + 0xc0]
lea rdx, [0x14028f68c]
mov r8d, Ordinal_14
call fcn.140172960
mov rcx, rdi
call fcn.1401f8e00
jmp 0x14005af16
mov rcx, qword [rsi + 8]
xor edx, edx
xor r8d, r8d
call fcn.14005c370
test rax, rax
je 0x14005b096
mov ecx, 2
call fcn.14018d920
test al, al
je 0x14005aee2
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xb0]
mov rcx, rdi
mov r8d, 0x204
mov r9d, 2
call fcn.140024610
lea rcx, [rsp + 0xc0]
lea rdx, str.failed_to_rewind_to_write
mov r8d, Ordinal_26
call fcn.140172960
mov rcx, rdi
call fcn.14000b670
jmp 0x14005aee2
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x14005b165
mov rbx, qword [rsi + 0x50]
mov r14, qword [rsi + 0x58]
mov rdi, r14
sub rdi, rbx
sar rdi, 4
movabs rax, 0x6db6db6db6db6db7
imul rdi, rax
mov dword [rsp + 0xac], 0
movabs rax, 0x143504144
mov qword [rsp + 0xa0], rax
mov rax, rdi
shr rax, 0x20
jne 0x14005b6c0
mov eax, edi
lea rdx, [rsp + 0xa0]
mov dword [rdx + 8], eax
mov rcx, qword [rsi + 8]
mov r8d, 0x10
call fcn.140052bc0
test al, al
jne 0x14005b1ca
mov ecx, 2
call fcn.14018d920
test al, al
je 0x14005aee2
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xb0]
mov rcx, rdi
mov r8d, 0x217
mov r9d, 2
call fcn.140024610
lea rcx, [rsp + 0xc0]
lea rdx, str.failed_to_write_header
mov r8d, Ordinal_26
jmp 0x14005b084
mov ecx, 2
call fcn.14018d920
test al, al
je 0x14005aee2
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xb0]
mov rcx, rdi
mov r8d, 0x20b
mov r9d, 2
call fcn.1401f8d90
lea rcx, [rsp + 0xc0]
lea rdx, str.failed_to_truncate
mov r8d, 0x12
call fcn.140172960
mov rcx, rdi
call fcn.1401f8e00
jmp 0x14005aee2
cmp r14, rbx
je 0x14005aee2
movabs rax, 0x492492492492492
xorps xmm0, xmm0
movaps xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x90], 0
cmp rdi, rax
ja 0x14005b701
imul rbp, rdi, 0x38
mov rcx, rbp
call fcn.14018f5b8
mov rdi, rax
mov r15, qword [rsi + 0x50]
mov rax, qword [rsi + 0x58]
mov qword [rsp + 0x58], rax
cmp r15, rax
je 0x14005b70b
add rbp, rdi
lea rax, [rsi + 0x18]
mov qword [rsp + 0x50], rax
mov rbx, rdi
jmp 0x14005b294
test rbx, rbx
je 0x14005b6ee
movaps xmm0, xmmword [rsp + 0x200]
movups xmmword [rbx], xmm0
mov eax, dword [rsp + 0x3c]
mov dword [rbx + 0x10], eax
mov eax, dword [rsp + 0x34]
mov dword [rbx + 0x14], eax
mov rax, qword [rsp + 0x40]
mov qword [rbx + 0x18], rax
mov rax, qword [rsp + 0x48]
mov qword [rbx + 0x20], rax
mov eax, dword [rsp + 0x38]
mov dword [rbx + 0x28], eax
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x2c], eax
mov byte [rbx + 0x30], r12b
xor eax, eax
mov dword [rbx + 0x31], eax
mov dword [rbx + 0x34], eax
add rbx, 0x38
add r15, 0x70
cmp r15, qword [rsp + 0x58]
je 0x14005b5b8
lea r14, [r15 + 0x10]
mov rcx, r14
lea r12, [rsp + 0xb0]
mov rdx, r12
call fcn.140154f60
mov rcx, r12
mov rdx, qword [rsp + 0x50]
call fcn.14006a170
mov r13d, eax
cmp byte [rsp + 0xc7], 0
jns 0x14005b2d2
mov rcx, qword [rsp + 0xb0]
call fcn.14018f5b0
test r13b, r13b
jne 0x14005b510
movups xmm0, xmmword [r15]
movaps xmmword [rsp + 0x200], xmm0
mov rcx, r14
lea r14, [rsp + 0x60]
mov rdx, r14
call fcn.1401549c0
movsx rcx, byte [rsp + 0x77]
test rcx, rcx
jns 0x14005b30c
mov rcx, qword [rsp + 0x68]
mov r14, qword [rsp + 0x60]
mov qword [rsp + 0x1e8], r14
mov qword [rsp + 0x1f0], rcx
test rcx, rcx
js 0x14005b6c8
sete cl
test r14, r14
setne al
or al, cl
je 0x14005b6db
lea r14, [rsp + 0xb0]
mov rcx, r14
lea rdx, [rsp + 0x1e8]
call fcn.1401464a0
lea rcx, [rsp + 0x80]
mov rdx, r14
call fcn.1402119b0
mov dword [rsp + 0x3c], eax
cmp byte [rsp + 0xc7], 0
jns 0x14005b379
mov rcx, qword [rsp + 0xb0]
call fcn.14018f5b0
cmp byte [rsp + 0x77], 0
jns 0x14005b38a
mov rcx, qword [rsp + 0x60]
call fcn.14018f5b0
lea rdx, [r15 + 0x28]
lea rcx, [rsp + 0x80]
call fcn.1402119b0
mov dword [rsp + 0x34], eax
mov rax, qword [r15 + 0x40]
mov qword [rsp + 0x40], rax
mov rax, qword [r15 + 0x50]
mov qword [rsp + 0x48], rax
mov eax, dword [r15 + 0x58]
mov dword [rsp + 0x38], eax
mov r12b, byte [r15 + 0x5c]
add r12b, r12b
or r12b, byte [r15 + 0x48]
mov eax, dword [r15 + 0x68]
mov dword [rsp + 0x30], eax
xor eax, eax
mov dword [rsp + 0x1fb], eax
mov dword [rsp + 0x1f8], eax
cmp rbx, rbp
jb 0x14005b233
sub rbx, rdi
mov r14, rbx
sar r14, 3
movabs rax, 0x6db6db6db6db6db7
imul r14, rax
lea r13, [r14 + 1]
movabs rax, 0x492492492492492
cmp r13, rax
ja 0x14005b701
sub rbp, rdi
sar rbp, 3
movabs rax, 0x6db6db6db6db6db7
imul rbp, rax
lea rax, [rbp*2]
cmp rax, r13
cmova r13, rax
movabs rax, 0x249249249249249
cmp rbp, rax
movabs rax, 0x492492492492492
cmovae r13, rax
test r13, r13
je 0x14005b509
cmp r13, rax
ja 0x14005b706
imul rcx, r13, 0x38
call fcn.14018f5b8
mov rbp, rax
imul r14, r14, 0x38
add r14, rbp
je 0x14005b6ee
movaps xmm0, xmmword [rsp + 0x200]
movups xmmword [r14], xmm0
mov eax, dword [rsp + 0x3c]
mov dword [r14 + 0x10], eax
mov eax, dword [rsp + 0x34]
mov dword [r14 + 0x14], eax
mov rax, qword [rsp + 0x40]
mov qword [r14 + 0x18], rax
mov rax, qword [rsp + 0x48]
mov qword [r14 + 0x20], rax
mov eax, dword [rsp + 0x38]
mov dword [r14 + 0x28], eax
mov eax, dword [rsp + 0x30]
mov dword [r14 + 0x2c], eax
mov byte [r14 + 0x30], r12b
mov eax, dword [rsp + 0x1f8]
mov ecx, dword [rsp + 0x1fb]
mov dword [r14 + 0x31], eax
mov dword [r14 + 0x34], ecx
mov r12, r14
sub r12, rbx
mov rcx, r12
mov rdx, rdi
mov r8, rbx
call fcn.1401cd6f0
test rdi, rdi
je 0x14005b4f7
mov rcx, rdi
call fcn.14018f5b0
imul rax, r13, 0x38
add rbp, rax
mov rdi, r12
mov rbx, r14
jmp 0x14005b281
xor ebp, ebp
jmp 0x14005b471
mov ecx, 2
call fcn.14018d920
test al, al
je 0x14005b57b
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea r15, [rsp + 0xb0]
mov rcx, r15
mov r8d, 0x225
mov r9d, 2
call fcn.140024610
lea rcx, [rsp + 0xc0]
mov rdx, r14
call fcn.1401f9c40
lea rdx, str._expected_to_start_with
mov r8d, Ordinal_26
mov rcx, rax
call fcn.140172960
mov rcx, rax
mov rdx, qword [rsp + 0x50]
call fcn.1401f9c40
mov rcx, r15
call fcn.14000b670
test rdi, rdi
je 0x14005b598
cmp rbx, rdi
je 0x14005b590
add rbx, 0xffffffffffffffc8
jne 0x14005b580
jmp 0x14005b6ad
mov rcx, rdi
call fcn.14018f5b0
cmp byte [rsp + 0x97], 0
jns 0x14005aee2
mov rcx, qword [rsp + 0x80]
call fcn.14018f5b0
jmp 0x14005aee2
mov r8, rbx
sub r8, rdi
je 0x14005b70b
mov rcx, qword [rsi + 8]
mov rdx, rdi
call fcn.140052bc0
test al, al
jne 0x14005b627
mov ecx, 2
call fcn.14018d920
test al, al
je 0x14005b57b
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea r14, [rsp + 0xb0]
mov rcx, r14
mov r8d, 0x22e
mov r9d, 2
call fcn.140024610
lea rcx, [rsp + 0xc0]
lea rdx, str.failed_to_write_records
mov r8d, Ordinal_26
call fcn.140172960
mov rcx, r14
jmp 0x14005b576
movsx r8, byte [rsp + 0x97]
test r8, r8
cmovs r8, qword [rsp + 0x88]
lea rdx, [rsp + 0x80]
cmovs rdx, qword [rsp + 0x80]
mov rcx, qword [rsi + 8]
call fcn.140052bc0
test al, al
jne 0x14005b57b
mov ecx, 2
call fcn.14018d920
test al, al
je 0x14005b57b
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea r14, [rsp + 0xb0]
mov rcx, r14
mov r8d, 0x233
mov r9d, 2
call fcn.140024610
lea rcx, [rsp + 0xc0]
lea rdx, str.failed_to_write_string_table
mov r8d, 0x1c
jmp 0x14005b61a
lea rcx, [0x140274353]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
call fcn.1401ceb00
int3
lea rcx, [0x140274353]
lea rdx, str....._third_partylibc_srcinclude_string_view:318:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
call fcn.1401ceb00
lea rcx, [0x140274353]
lea rdx, str....._third_partylibc_srcinclude_string_view:320:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
call fcn.1401ceb00
lea rcx, [0x140274353]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.1401ceb00
call fcn.1401d55e0
call fcn.1401ceb00
lea rcx, [0x140274353]
lea rdx, str....._third_partylibc_srcinclude_vector:1411:_assertion___n___size___failed:_vector___index_out_of_bounds_n
call fcn.1401ceb00
int3