Function at 0x1400e6930
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 [0x1401fdbb8]
xor rax, rsp
mov qword [rsp + 0x210], rax
mov rsi, qword [rcx]
mov qword [rcx], 0
test rsi, rsi
je 0x1400e6b09
cmp byte [rsi + 0x48], 1
jne 0x1400e69d8
mov rcx, qword [rsi + 8]
xor edx, edx
xor r8d, r8d
call fcn.140111c80
test rax, rax
je 0x1400e6b2e
mov ecx, 2
call fcn.140060510
test al, al
je 0x1400e69d8
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xd8]
mov rcx, rdi
mov r8d, 0x204
mov r9d, 2
call fcn.1400605e0
lea rcx, [rsp + 0xe8]
lea rdx, str.failed_to_rewind_to_write
mov r8d, 0x19
call fcn.140001af0
mov rcx, rdi
call fcn.140060b40
xorps xmm0, xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov rcx, qword [rsi + 8]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor edx, edx
mov r8d, 0xffffffff
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_UnlockFileEx]
test eax, eax
jne 0x1400e6a67
mov ecx, 2
call fcn.140060510
test al, al
je 0x1400e6a67
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xd8]
mov rcx, rdi
mov r8d, 0x13c
mov r9d, 2
call fcn.1400619a0
lea rcx, [rsp + 0xe8]
lea rdx, [0x1401cccf5]
mov r8d, 0xc
call fcn.140001af0
mov rcx, rdi
call fcn.140061a90
mov rdi, qword [rsi + 0x50]
test rdi, rdi
je 0x1400e6acc
mov rbx, qword [rsi + 0x58]
mov rcx, rdi
cmp rbx, rdi
je 0x1400e6ac3
add rbx, 0xffffffffffffff90
jmp 0x1400e6aa5
lea rcx, [rbx + 0x10]
call fcn.1400653b0
lea rax, [rbx - 0x70]
cmp rbx, rdi
mov rbx, rax
je 0x1400e6abf
test rbx, rbx
je 0x1400e711b
test byte [rbx + 0x28], 1
je 0x1400e6a90
mov rcx, qword [rbx + 0x38]
call fcn.140173cf0
jmp 0x1400e6a90
mov rcx, qword [rsi + 0x50]
mov qword [rsi + 0x58], rdi
call fcn.140173cf0
lea rcx, [rsi + 0x30]
call fcn.1400653b0
lea rcx, [rsi + 0x18]
call fcn.1400653b0
lea rax, [0x1401ccc50]
mov qword [rsi], rax
cmp byte [rsi + 0x10], 1
je 0x1400e7156
mov rcx, qword [rsi + 8]
cmp rcx, 0xffffffffffffffff
je 0x1400e6b01
call fcn.140113210
mov rcx, rsi
call fcn.140173cf0
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.140174050
nop
add rsp, 0x218
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x1400e6ed7
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 0x1400e71dd
mov eax, edi
mov dword [rsp + 0xa8], eax
mov rcx, qword [rsi + 8]
lea rdx, [rsp + 0xa0]
mov r8d, 0x10
call fcn.140112150
test al, al
je 0x1400e6f3c
cmp r14, rbx
je 0x1400e69d8
movabs rax, 0x492492492492492
xorps xmm0, xmm0
movaps xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x90], 0
cmp rdi, rax
ja 0x1400e71e5
imul r12, rdi, 0x38
mov rcx, r12
call fcn.140173ca0
mov rdi, rax
mov rbp, qword [rsi + 0x50]
mov rax, qword [rsi + 0x58]
mov qword [rsp + 0x58], rax
cmp rbp, rax
je 0x1400e71ef
add r12, rdi
mov qword [rsp + 0x30], rsi
lea rax, [rsi + 0x18]
mov qword [rsp + 0x40], rax
lea r15, [rsp + 0xd8]
mov r13, rdi
jmp 0x1400e6c45
mov r13, rbx
mov rdi, r14
add rbp, 0x70
cmp rbp, qword [rsp + 0x58]
lea r15, [rsp + 0xd8]
je 0x1400e7004
lea r14, [rbp + 0x10]
mov rcx, r14
mov rdx, r15
call fcn.140065da0
mov rcx, r15
mov rdx, qword [rsp + 0x40]
call fcn.140065780
mov ebx, eax
mov rcx, r15
call fcn.1400653b0
test bl, bl
jne 0x1400e6f8b
movups xmm0, xmmword [rbp]
movaps xmmword [rsp + 0xc0], xmm0
mov rcx, r14
lea rdx, [rsp + 0x60]
call fcn.140066080
movzx eax, byte [rsp + 0x60]
test al, 1
jne 0x1400e6cae
shr eax, 1
lea rcx, [rsp + 0x62]
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0xb8], rax
jmp 0x1400e6cd1
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0xb8], rax
test rax, rax
js 0x1400e71a4
test rax, rax
sete al
test rcx, rcx
setne cl
or cl, al
je 0x1400e71b7
mov rcx, r15
lea rdx, [rsp + 0xb0]
call fcn.1400515e0
lea rcx, [rsp + 0x80]
mov rdx, r15
call fcn.1400e9200
mov ebx, eax
test byte [rsp + 0xd8], 1
je 0x1400e6d1e
mov rcx, qword [rsp + 0xe8]
call fcn.140173cf0
lea rcx, [rsp + 0x60]
call fcn.1400653b0
lea rdx, [rbp + 0x28]
lea rcx, [rsp + 0x80]
call fcn.1400e9200
mov r10d, eax
mov r11, qword [rbp + 0x40]
mov r9, qword [rbp + 0x50]
mov r14d, dword [rbp + 0x58]
movzx r15d, byte [rbp + 0x5c]
add r15b, r15b
or r15b, byte [rbp + 0x48]
mov esi, dword [rbp + 0x68]
mov dword [rsp + 0xdb], 0
mov dword [rsp + 0xd8], 0
cmp rdi, r12
jae 0x1400e6db7
test rdi, rdi
je 0x1400e71ca
movaps xmm0, xmmword [rsp + 0xc0]
movups xmmword [rdi], xmm0
mov dword [rdi + 0x10], ebx
mov dword [rdi + 0x14], r10d
mov qword [rdi + 0x18], r11
mov qword [rdi + 0x20], r9
mov dword [rdi + 0x28], r14d
mov dword [rdi + 0x2c], esi
mov byte [rdi + 0x30], r15b
mov dword [rdi + 0x31], 0
mov dword [rdi + 0x34], 0
add rdi, 0x38
jmp 0x1400e6c2e
mov dword [rsp + 0x3c], ebx
sub rdi, r13
mov rbx, rdi
sar rbx, 3
movabs rcx, 0x6db6db6db6db6db7
imul rbx, rcx
mov rax, r13
lea r13, [rbx + 1]
movabs rdx, 0x492492492492492
cmp r13, rdx
ja 0x1400e71e5
mov qword [rsp + 0x50], rax
sub r12, rax
sar r12, 3
imul r12, rcx
lea rax, [r12 + r12]
cmp rax, r13
cmova r13, rax
movabs rax, 0x249249249249249
cmp r12, rax
cmovae r13, rdx
test r13, r13
je 0x1400e6e53
mov dword [rsp + 0x38], esi
mov qword [rsp + 0x48], r11
cmp r13, rdx
ja 0x1400e71ea
mov esi, r10d
mov r12, r9
imul rcx, r13, 0x38
call fcn.140173ca0
mov r9, r12
mov r12, rax
mov r10d, esi
mov r11, qword [rsp + 0x48]
mov esi, dword [rsp + 0x38]
jmp 0x1400e6e56
xor r12d, r12d
imul rbx, rbx, 0x38
add rbx, r12
je 0x1400e71ca
imul rax, r13, 0x38
add r12, rax
movaps xmm0, xmmword [rsp + 0xc0]
movups xmmword [rbx], xmm0
mov eax, dword [rsp + 0x3c]
mov dword [rbx + 0x10], eax
mov dword [rbx + 0x14], r10d
mov qword [rbx + 0x18], r11
mov qword [rbx + 0x20], r9
mov dword [rbx + 0x28], r14d
mov dword [rbx + 0x2c], esi
mov byte [rbx + 0x30], r15b
mov eax, dword [rsp + 0xd8]
mov ecx, dword [rsp + 0xdb]
mov dword [rbx + 0x31], eax
mov dword [rbx + 0x34], ecx
lea r14, [rbx + 0x38]
sub rbx, rdi
mov rcx, rbx
mov r15, qword [rsp + 0x50]
mov rdx, r15
mov r8, rdi
call fcn.140176c30
test r15, r15
je 0x1400e6c28
mov rcx, r15
call fcn.140173cf0
jmp 0x1400e6c28
mov ecx, 2
call fcn.140060510
test al, al
je 0x1400e69d8
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xd8]
mov rcx, rdi
mov r8d, 0x20b
mov r9d, 2
call fcn.1400619a0
lea rcx, [rsp + 0xe8]
lea rdx, str.failed_to_truncate
mov r8d, 0x12
call fcn.140001af0
mov rcx, rdi
call fcn.140061a90
jmp 0x1400e69d8
mov ecx, 2
call fcn.140060510
test al, al
je 0x1400e69d8
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xd8]
mov rcx, rdi
mov r8d, 0x217
mov r9d, 2
call fcn.1400605e0
lea rcx, [rsp + 0xe8]
lea rdx, str.failed_to_write_header
mov r8d, 0x16
jmp 0x1400e69cb
mov ecx, 2
call fcn.140060510
test al, al
je 0x1400e7046
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rbx, [rsp + 0xd8]
mov rcx, rbx
mov r8d, 0x225
mov r9d, 2
call fcn.1400605e0
lea rcx, [rsp + 0xe8]
mov rdx, r14
call fcn.140065870
lea rdx, str._expected_to_start_with
mov r8d, 0x18
mov rcx, rax
call fcn.140001af0
mov rcx, rax
mov rdx, qword [rsp + 0x40]
call fcn.140065870
mov rcx, rbx
call fcn.140060b40
mov rsi, qword [rsp + 0x30]
jmp 0x1400e7107
mov r8, rdi
sub r8, r13
mov rsi, qword [rsp + 0x30]
je 0x1400e71ef
mov rcx, qword [rsi + 8]
mov rdx, r13
call fcn.140112150
test al, al
je 0x1400e7050
movzx r8d, byte [rsp + 0x80]
test r8b, 1
je 0x1400e709c
mov r8, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x90]
jmp 0x1400e70a7
mov rsi, qword [rsp + 0x30]
jmp 0x1400e7107
mov ecx, 2
call fcn.140060510
test al, al
je 0x1400e7107
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rbx, [rsp + 0xd8]
mov rcx, rbx
mov r8d, 0x22e
mov r9d, 2
call fcn.1400605e0
lea rcx, [rsp + 0xe8]
lea rdx, str.failed_to_write_records
mov r8d, 0x17
jmp 0x1400e70fa
shr r8d, 1
lea rdx, [rsp + 0x81]
mov rcx, qword [rsi + 8]
call fcn.140112150
test al, al
jne 0x1400e7107
mov ecx, 2
call fcn.140060510
test al, al
je 0x1400e7107
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rbx, [rsp + 0xd8]
mov rcx, rbx
mov r8d, 0x233
mov r9d, 2
call fcn.1400605e0
lea rcx, [rsp + 0xe8]
lea rdx, str.failed_to_write_string_table
mov r8d, 0x1c
call fcn.140001af0
mov rcx, rbx
call fcn.140060b40
test r13, r13
je 0x1400e7136
nop dword [rax]
cmp rdi, r13
je 0x1400e712e
add rdi, 0xffffffffffffffc8
jne 0x1400e7110
lea rcx, [0x1401b1076]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
call fcn.14003f000
mov rcx, r13
call fcn.140173cf0
test byte [rsp + 0x80], 1
je 0x1400e69d8
mov rcx, qword [rsp + 0x90]
call fcn.140173cf0
jmp 0x1400e69d8
lea rdx, str.ScopedGeneric
lea r8, str....._base_scoped_generic.h
lea rdi, [rsp + 0xd8]
mov rcx, rdi
mov r9d, 0x7d
call fcn.140063850
lea rdx, str._receiving_
lea rbx, [rsp + 0x60]
mov rcx, rbx
mov r8d, 0xffffffff
mov r9, rdi
call fcn.14006e190
mov rcx, rbx
call fcn.14006e420
jmp 0x1400e6af2
lea rcx, [0x1401b1076]
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.14003f000
lea rcx, [0x1401b1076]
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.14003f000
lea rcx, [0x1401b1076]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.14003f000
int3
call fcn.140002fa0
call fcn.140001ad0
lea rcx, [0x1401b1076]
lea rdx, str....._third_partylibc_srcinclude_vector:1411:_assertion___n___size___failed:_vector___index_out_of_bounds_n
call fcn.14003f000
int3