Function at 0x1400d5bf8
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, 0x258
movaps xmmword [rsp + 0x240], xmm6
mov rax, qword [0x1401c2c08]
xor rax, rsp
mov qword [rsp + 0x238], rax
mov rsi, qword [rcx]
mov qword [rcx], 0
test rsi, rsi
je 0x1400d5d5f
cmp byte [rsi + 0x48], 0
je 0x1400d5ca8
mov rcx, qword [rsi + 8]
xor edx, edx
xor r8d, r8d
call fcn.1400f7fb8
test rax, rax
je 0x1400d5d8b
mov ecx, 2
call fcn.140051fe0
test al, al
je 0x1400d5ca8
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xd0]
mov rcx, rdi
mov r8d, 0x204
mov r9d, 2
call fcn.1400520b0
lea rcx, [rsp + 0xe0]
lea rdx, str.failed_to_rewind_to_write
mov r8d, 0x19
call fcn.14000206f
mov rcx, rdi
call fcn.1400525a0
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
jne 0x1400d5d34
mov ecx, 2
call fcn.140051fe0
test al, al
je 0x1400d5d34
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xd0]
mov rcx, rdi
mov r8d, 0x13c
mov r9d, 2
call fcn.1400533b0
lea rcx, [rsp + 0xe0]
lea rdx, [0x140198575]
mov r8d, 0xc
call fcn.14000206f
mov rcx, rdi
call fcn.1400534a0
lea rcx, [rsi + 0x50]
call fcn.1400d7f7c
lea rcx, [rsi + 0x30]
call fcn.1400568a0
lea rcx, [rsi + 0x18]
call fcn.1400568a0
mov rcx, rsi
call fcn.1400d7d66
mov rcx, rsi
call fcn.1401438d8
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.140143c30
movaps xmm6, xmmword [rsp + 0x240]
add rsp, 0x258
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 0x1400d61c4
mov rdi, qword [rsi + 0x50]
mov r14, qword [rsi + 0x58]
mov rbx, r14
sub rbx, rdi
sar rbx, 4
movabs rax, 0x6db6db6db6db6db7
imul rbx, rax
mov dword [rsp + 0xcc], 0
movabs rax, 0x143504144
mov qword [rsp + 0xc0], rax
mov rax, rbx
shr rax, 0x20
jne 0x1400d6430
mov eax, ebx
lea rdx, [rsp + 0xc0]
mov dword [rdx + 8], eax
mov rcx, qword [rsi + 8]
mov r8d, 0x10
call fcn.1400f83d5
test al, al
je 0x1400d6229
cmp r14, rdi
je 0x1400d5ca8
movabs rax, 0x492492492492492
xorps xmm6, xmm6
movaps xmmword [rsp + 0xa0], xmm6
mov qword [rsp + 0xb0], 0
cmp rbx, rax
ja 0x1400d644b
lea r14, [rsp + 0xa0]
lea rdi, [rsp + 0xd0]
mov qword [rdi + 0x20], r14
imul rbx, rbx, 0x38
mov rcx, rbx
call fcn.140143888
add rbx, rax
mov qword [r14 - 0x18], rax
mov qword [r14 - 0x10], rax
movups xmmword [rdi + 0x10], xmm6
mov qword [r14 - 8], rbx
movups xmmword [rdi], xmm6
mov rcx, rdi
call fcn.1400d7fc8
mov r14, qword [rsi + 0x50]
mov rax, qword [rsi + 0x58]
mov qword [rsp + 0x58], rax
cmp r14, rax
je 0x1400d6278
lea rbx, [rsi + 0x18]
lea r15, [rsp + 0xd0]
lea r12, [rsp + 0x60]
mov qword [rsp + 0x40], rbx
lea rdi, [r14 + 0x10]
mov rcx, rdi
mov rdx, r15
call fcn.140057230
mov rcx, r15
mov rdx, rbx
call fcn.140056c40
mov ebp, eax
mov rcx, r15
call fcn.1400568a0
test bpl, bpl
jne 0x1400d6318
movups xmm0, xmmword [r14]
movaps xmmword [rsp + 0x220], xmm0
mov rcx, rdi
mov rdx, r12
call fcn.140057550
movzx r8d, byte [rsp + 0x60]
test r8b, 1
je 0x1400d5f04
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
jmp 0x1400d5f0c
shr r8d, 1
lea rdx, [rsp + 0x62]
lea rdi, [rsp + 0x210]
mov rcx, rdi
call fcn.140001af2
mov rcx, r15
mov rdx, rdi
call fcn.1400457b0
lea rcx, [rsp + 0xa0]
mov rdx, r15
call fcn.1400d800d
mov ebp, eax
test byte [rsp + 0xd0], 1
je 0x1400d5f50
mov rcx, qword [rsp + 0xe0]
call fcn.1401438d8
mov rcx, r12
call fcn.1400568a0
lea rdx, [r14 + 0x28]
lea rcx, [rsp + 0xa0]
call fcn.1400d800d
mov r11d, eax
mov r15, qword [r14 + 0x40]
mov r9, qword [r14 + 0x50]
mov r8d, dword [r14 + 0x58]
mov dil, byte [r14 + 0x5c]
add dil, dil
or dil, byte [r14 + 0x48]
mov eax, dword [r14 + 0x68]
mov r12, qword [rsp + 0x90]
mov r10, qword [rsp + 0x98]
cmp r12, r10
jae 0x1400d5ffd
test r12, r12
je 0x1400d641d
movaps xmm0, xmmword [rsp + 0x220]
movups xmmword [r12], xmm0
mov dword [r12 + 0x10], ebp
mov dword [r12 + 0x14], r11d
mov qword [r12 + 0x18], r15
mov qword [r12 + 0x20], r9
mov dword [r12 + 0x28], r8d
mov dword [r12 + 0x2c], eax
mov byte [r12 + 0x30], dil
xor eax, eax
mov dword [r12 + 0x31], eax
mov dword [r12 + 0x34], eax
add r12, 0x38
mov qword [rsp + 0x90], r12
mov r13, r12
lea r15, [rsp + 0xd0]
jmp 0x1400d61ab
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x3c], ebp
mov rbx, qword [rsp + 0x88]
mov r13, r12
sub r13, rbx
sar r13, 3
movabs rcx, 0x6db6db6db6db6db7
imul r13, rcx
lea rbp, [r13 + 1]
movabs rdx, 0x492492492492492
cmp rbp, rdx
ja 0x1400d644b
mov rax, r10
sub rax, rbx
sar rax, 3
imul rax, rcx
lea rcx, [rax + rax]
cmp rcx, rbp
cmova rbp, rcx
movabs rcx, 0x249249249249249
cmp rax, rcx
cmovae rbp, rdx
lea rax, [rsp + 0xa0]
mov qword [rsp + 0xf0], rax
test rbp, rbp
je 0x1400d60bd
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x30], r11d
mov qword [rsp + 0x50], r9
mov dword [rsp + 0x34], r8d
cmp rbp, rdx
ja 0x1400d6450
mov r15, r10
imul rcx, rbp, 0x38
call fcn.140143888
mov r10, r15
mov r8d, dword [rsp + 0x34]
mov r9, qword [rsp + 0x50]
mov r11d, dword [rsp + 0x30]
mov r15, qword [rsp + 0x48]
jmp 0x1400d60bf
xor eax, eax
imul r13, r13, 0x38
add r13, rax
je 0x1400d641d
movaps xmm0, xmmword [rsp + 0x220]
movups xmmword [r13], xmm0
mov ecx, dword [rsp + 0x3c]
mov dword [r13 + 0x10], ecx
mov dword [r13 + 0x14], r11d
mov qword [r13 + 0x18], r15
mov qword [r13 + 0x20], r9
mov dword [r13 + 0x28], r8d
mov ecx, dword [rsp + 0x38]
mov dword [r13 + 0x2c], ecx
mov byte [r13 + 0x30], dil
xor ecx, ecx
mov dword [r13 + 0x31], ecx
mov dword [r13 + 0x34], ecx
mov rdx, r13
cmp r12, rbx
je 0x1400d614b
mov rcx, r13
mov r8, r12
mov rdx, qword [r8 - 8]
mov qword [rcx - 8], rdx
movups xmm0, xmmword [r8 - 0x38]
movups xmm1, xmmword [r8 - 0x28]
movups xmm2, xmmword [r8 - 0x18]
lea r9, [r8 - 0x38]
lea rdx, [rcx - 0x38]
movups xmmword [rcx - 0x18], xmm2
movups xmmword [rcx - 0x28], xmm1
movups xmmword [rcx - 0x38], xmm0
mov rcx, rdx
mov r8, r9
cmp r9, rbx
jne 0x1400d6115
imul rcx, rbp, 0x38
add rax, rcx
add r13, 0x38
mov qword [rsp + 0x88], rdx
mov qword [rsp + 0xd8], rbx
mov qword [rsp + 0x90], r13
mov qword [rsp + 0xe0], r12
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xe8], r10
mov qword [rsp + 0xd0], rbx
lea r15, [rsp + 0xd0]
mov rcx, r15
call fcn.1400d7fc8
mov qword [rsp + 0x90], r13
mov rbx, qword [rsp + 0x40]
add r14, 0x70
cmp r14, qword [rsp + 0x58]
lea r12, [rsp + 0x60]
jne 0x1400d5ea8
jmp 0x1400d6280
mov ecx, 2
call fcn.140051fe0
test al, al
je 0x1400d5ca8
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xd0]
mov rcx, rdi
mov r8d, 0x20b
mov r9d, 2
call fcn.1400533b0
lea rcx, [rsp + 0xe0]
lea rdx, str.failed_to_truncate
mov r8d, 0x12
call fcn.14000206f
mov rcx, rdi
call fcn.1400534a0
jmp 0x1400d5ca8
mov ecx, 2
call fcn.140051fe0
test al, al
je 0x1400d5ca8
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xd0]
mov rcx, rdi
mov r8d, 0x217
mov r9d, 2
call fcn.1400520b0
lea rcx, [rsp + 0xe0]
lea rdx, str.failed_to_write_header
mov r8d, 0x16
jmp 0x1400d5c9b
mov r13, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
sub r13, rdx
je 0x1400d6438
mov rcx, qword [rsi + 8]
mov r8, r13
call fcn.1400f83d5
test al, al
je 0x1400d62c9
movzx r8d, byte [rsp + 0xa0]
test r8b, 1
je 0x1400d6385
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0xb0]
jmp 0x1400d6390
mov ecx, 2
call fcn.140051fe0
test al, al
je 0x1400d63f0
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xd0]
mov rcx, rdi
mov r8d, 0x22e
mov r9d, 2
call fcn.1400520b0
lea rcx, [rsp + 0xe0]
lea rdx, str.failed_to_write_records
mov r8d, 0x17
jmp 0x1400d63e3
mov ecx, 2
call fcn.140051fe0
test al, al
je 0x1400d63f0
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
mov r14, rbx
lea rbx, [rsp + 0xd0]
mov rcx, rbx
mov r8d, 0x225
mov r9d, 2
call fcn.1400520b0
lea rcx, [rsp + 0xe0]
mov rdx, rdi
call fcn.140056d20
lea rdx, str._expected_to_start_with
mov r8d, 0x18
mov rcx, rax
call fcn.14000206f
mov rcx, rax
mov rdx, r14
call fcn.140056d20
mov rcx, rbx
jmp 0x1400d63eb
shr r8d, 1
lea rdx, [rsp + 0xa1]
mov rcx, qword [rsi + 8]
call fcn.1400f83d5
test al, al
jne 0x1400d63f0
mov ecx, 2
call fcn.140051fe0
test al, al
je 0x1400d63f0
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xd0]
mov rcx, rdi
mov r8d, 0x233
mov r9d, 2
call fcn.1400520b0
lea rcx, [rsp + 0xe0]
lea rdx, str.failed_to_write_string_table
mov r8d, 0x1c
call fcn.14000206f
mov rcx, rdi
call fcn.1400525a0
lea rcx, [rsp + 0x88]
call fcn.1400d7f38
test byte [rsp + 0xa0], 1
je 0x1400d5ca8
mov rcx, qword [rsp + 0xb0]
call fcn.1401438d8
jmp 0x1400d5ca8
lea rcx, [0x140180113]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.140005804
int3
lea rcx, [0x140180113]
lea rdx, str....._third_partylibc_srcinclude_vector:1393:_assertion___n___size___failed:_vector___index_out_of_bounds_n
call fcn.140005804
call fcn.140003430
call fcn.140001c45
int3