Function at 0x1400d9dd8
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 [0x1401c6b58]
xor rax, rsp
mov qword [rsp + 0x238], rax
mov rsi, qword [rcx]
mov qword [rcx], 0
test rsi, rsi
je 0x1400d9f3f
cmp byte [rsi + 0x48], 0
je 0x1400d9e88
mov rcx, qword [rsi + 8]
xor edx, edx
xor r8d, r8d
call fcn.1400fbf1c
test rax, rax
je 0x1400d9f6b
mov ecx, 2
call fcn.140056eb0
test al, al
je 0x1400d9e88
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xd0]
mov rcx, rdi
mov r8d, 0x203
mov r9d, 2
call fcn.140056fb0
lea rcx, [rsp + 0xe0]
lea rdx, str.failed_to_rewind_to_write
mov r8d, 0x19
call fcn.14000211d
mov rcx, rdi
call fcn.1400574d0
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 0x1400d9f14
mov ecx, 2
call fcn.140056eb0
test al, al
je 0x1400d9f14
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, 0x13b
mov r9d, 2
call fcn.1400581a0
lea rcx, [rsp + 0xe0]
lea rdx, [0x14019c0b5]
mov r8d, 0xc
call fcn.14000211d
mov rcx, rdi
call fcn.140058290
lea rcx, [rsi + 0x50]
call fcn.1400dc1dc
lea rcx, [rsi + 0x30]
call fcn.14005b430
lea rcx, [rsi + 0x18]
call fcn.14005b430
mov rcx, rsi
call fcn.1400dc0e6
mov rcx, rsi
call fcn.140148278
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.140148650
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 0x1400da3f4
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 0x1400da6b0
mov eax, ebx
lea rdx, [rsp + 0xc0]
mov dword [rdx + 8], eax
mov rcx, qword [rsi + 8]
mov r8d, 0x10
call fcn.1400fc335
test al, al
je 0x1400da459
cmp r14, rdi
je 0x1400d9e88
movabs rcx, 0x492492492492492
xorps xmm6, xmm6
movaps xmmword [rsp + 0xa0], xmm6
xor eax, eax
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x90], rax
movaps xmmword [rsp + 0x80], xmm6
cmp rbx, rcx
ja 0x1400da6e4
lea r14, [rsp + 0x98]
lea rdi, [rsp + 0xd0]
mov qword [rdi + 0x20], r14
imul rbx, rbx, 0x38
mov rcx, rbx
call fcn.140148228
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.1400dc228
mov rbx, qword [rsi + 0x50]
mov qword [rsp + 0x28], rsi
mov r12, qword [rsi + 0x58]
cmp rbx, r12
je 0x1400da39d
mov rax, qword [rsp + 0x28]
lea r15, [rax + 0x18]
lea r14, [rsp + 0xd0]
lea r13, [rsp + 0x60]
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r12
lea rdi, [rbx + 0x10]
mov rcx, rdi
mov rdx, r14
call fcn.14005be60
mov rcx, r14
mov rdx, r15
call fcn.14005b800
mov ebp, eax
mov rcx, r14
call fcn.14005b430
test bpl, bpl
jne 0x1400da4f7
movups xmm0, xmmword [rbx]
movaps xmmword [rsp + 0x220], xmm0
mov rcx, rdi
mov rdx, r13
call fcn.14005c180
movzx r8d, byte [rsp + 0x60]
test r8b, 1
je 0x1400da0fb
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
jmp 0x1400da103
shr r8d, 1
lea rdx, [rsp + 0x62]
lea rdi, [rsp + 0x210]
mov rcx, rdi
call fcn.140001ad4
mov rcx, r14
mov rdx, rdi
call fcn.140049a20
lea rcx, [rsp + 0xa0]
mov rdx, r14
call fcn.1400dc286
mov ebp, eax
test byte [rsp + 0xd0], 1
je 0x1400da147
mov rcx, qword [rsp + 0xe0]
call fcn.140148278
mov rcx, r13
call fcn.14005b430
lea rdx, [rbx + 0x28]
lea rcx, [rsp + 0xa0]
call fcn.1400dc286
mov r10d, eax
mov rsi, qword [rbx + 0x40]
mov r9, qword [rbx + 0x50]
mov r8d, dword [rbx + 0x58]
mov r14b, byte [rbx + 0x5c]
add r14b, r14b
or r14b, byte [rbx + 0x48]
mov r13d, dword [rbx + 0x68]
mov rdi, qword [rsp + 0x88]
mov r11, qword [rsp + 0x90]
cmp rdi, r11
jae 0x1400da1e3
test rdi, rdi
je 0x1400da684
movaps xmm0, xmmword [rsp + 0x220]
movups xmmword [rdi], xmm0
mov dword [rdi + 0x10], ebp
mov dword [rdi + 0x14], r10d
mov qword [rdi + 0x18], rsi
mov qword [rdi + 0x20], r9
mov dword [rdi + 0x28], r8d
mov dword [rdi + 0x2c], r13d
mov byte [rdi + 0x30], r14b
xor eax, eax
mov dword [rdi + 0x31], eax
mov dword [rdi + 0x34], eax
add rdi, 0x38
mov qword [rsp + 0x88], rdi
lea r14, [rsp + 0xd0]
jmp 0x1400da38b
mov dword [rsp + 0x3c], ebp
mov r15, qword [rsp + 0x80]
mov r12, rdi
sub r12, r15
sar r12, 3
movabs rcx, 0x6db6db6db6db6db7
imul r12, rcx
lea rbp, [r12 + 1]
movabs rdx, 0x492492492492492
cmp rbp, rdx
ja 0x1400da6e4
mov rax, r11
sub rax, r15
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 + 0x98]
mov qword [rsp + 0xf0], rax
test rbp, rbp
je 0x1400da2a6
mov dword [rsp + 0x34], r13d
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x38], r10d
mov qword [rsp + 0x58], r9
cmp rbp, rdx
ja 0x1400da6e9
mov esi, r8d
mov r13, r11
imul rcx, rbp, 0x38
call fcn.140148228
mov r11, r13
mov r8d, esi
mov r9, qword [rsp + 0x58]
mov r10d, dword [rsp + 0x38]
mov rsi, qword [rsp + 0x50]
mov r13d, dword [rsp + 0x34]
jmp 0x1400da2a8
xor eax, eax
imul rcx, r12, 0x38
add rcx, rax
je 0x1400da684
movaps xmm0, xmmword [rsp + 0x220]
movups xmmword [rcx], xmm0
mov edx, dword [rsp + 0x3c]
mov dword [rcx + 0x10], edx
mov dword [rcx + 0x14], r10d
mov qword [rcx + 0x18], rsi
mov qword [rcx + 0x20], r9
mov dword [rcx + 0x28], r8d
mov dword [rcx + 0x2c], r13d
mov byte [rcx + 0x30], r14b
xor edx, edx
mov dword [rcx + 0x31], edx
mov dword [rcx + 0x34], edx
mov rdx, rcx
cmp rdi, r15
mov r12, qword [rsp + 0x40]
je 0x1400da333
mov r8, rcx
mov r9, rdi
mov rdx, qword [r9 - 8]
mov qword [r8 - 8], rdx
movups xmm0, xmmword [r9 - 0x38]
movups xmm1, xmmword [r9 - 0x28]
movups xmm2, xmmword [r9 - 0x18]
lea r10, [r9 - 0x38]
lea rdx, [r8 - 0x38]
movups xmmword [r8 - 0x18], xmm2
movups xmmword [r8 - 0x28], xmm1
movups xmmword [r8 - 0x38], xmm0
mov r8, rdx
mov r9, r10
cmp r10, r15
jne 0x1400da2fa
imul r8, rbp, 0x38
add rax, r8
add rcx, 0x38
mov qword [rsp + 0x80], rdx
mov qword [rsp + 0xd8], r15
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0xe0], rdi
mov qword [rsp + 0x90], rax
mov qword [rsp + 0xe8], r11
mov qword [rsp + 0xd0], r15
lea r14, [rsp + 0xd0]
mov rcx, r14
call fcn.1400dc228
mov r15, qword [rsp + 0x48]
lea r13, [rsp + 0x60]
add rbx, 0x70
cmp rbx, r12
jne 0x1400da0a0
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x88]
sub r8, rdx
je 0x1400da6b8
mov rsi, qword [rsp + 0x28]
mov rcx, qword [rsi + 8]
call fcn.1400fc335
test al, al
je 0x1400da4a8
movzx r8d, byte [rsp + 0xa0]
test r8b, 1
je 0x1400da541
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0xb0]
jmp 0x1400da54c
mov ecx, 2
call fcn.140056eb0
test al, al
je 0x1400d9e88
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, 0x20a
mov r9d, 2
call fcn.1400581a0
lea rcx, [rsp + 0xe0]
lea rdx, str.failed_to_truncate
mov r8d, 0x12
call fcn.14000211d
mov rcx, rdi
call fcn.140058290
jmp 0x1400d9e88
mov ecx, 2
call fcn.140056eb0
test al, al
je 0x1400d9e88
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xd0]
mov rcx, rdi
mov r8d, 0x216
mov r9d, 2
call fcn.140056fb0
lea rcx, [rsp + 0xe0]
lea rdx, str.failed_to_write_header
mov r8d, 0x16
jmp 0x1400d9e7b
mov ecx, 2
call fcn.140056eb0
test al, al
je 0x1400da657
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xd0]
mov rcx, rdi
mov r8d, 0x22e
mov r9d, 2
call fcn.140056fb0
lea rcx, [rsp + 0xe0]
lea rdx, str.failed_to_write_records
mov r8d, 0x17
jmp 0x1400da5a7
mov ecx, 2
call fcn.140056eb0
test al, al
mov rsi, qword [rsp + 0x28]
je 0x1400da657
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rcx, [rsp + 0xd0]
mov r8d, 0x224
mov r9d, 2
call fcn.140056fb0
lea rcx, [rsp + 0xe0]
test byte [rdi], 1
jne 0x1400da5b4
add rbx, 0x12
jmp 0x1400da5b8
shr r8d, 1
lea rdx, [rsp + 0xa1]
mov rcx, qword [rsi + 8]
call fcn.1400fc335
test al, al
jne 0x1400da657
mov ecx, 2
call fcn.140056eb0
test al, al
je 0x1400da657
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xd0]
mov rcx, rdi
mov r8d, 0x233
mov r9d, 2
call fcn.140056fb0
lea rcx, [rsp + 0xe0]
lea rdx, str.failed_to_write_string_table
mov r8d, 0x1c
call fcn.14000211d
mov rcx, rdi
jmp 0x1400da652
mov rbx, qword [rbx + 0x20]
mov rdx, rbx
call fcn.14004a190
lea rdx, str._expected_to_start_with
mov r8d, 0x18
mov rcx, rax
call fcn.14000211d
mov rdi, rax
movzx r8d, byte [r15]
test r8b, 1
jne 0x1400da5eb
shr r8d, 1
lea rdx, [rsi + 0x1a]
jmp 0x1400da5f3
mov r8, qword [rsi + 0x20]
mov rdx, qword [rsi + 0x28]
lea rbx, [rsp + 0x210]
mov rcx, rbx
call fcn.140001ad4
lea r14, [rsp + 0x60]
mov rcx, r14
mov rdx, rbx
call fcn.140049a20
movzx r8d, byte [r14]
test r8b, 1
je 0x1400da629
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
jmp 0x1400da631
shr r8d, 1
lea rdx, [rsp + 0x61]
mov rcx, rdi
call fcn.14000211d
test byte [rsp + 0x60], 1
je 0x1400da64a
mov rcx, qword [rsp + 0x70]
call fcn.140148278
lea rcx, [rsp + 0xd0]
call fcn.1400574d0
lea rcx, [rsp + 0x80]
call fcn.1400dc17e
test byte [rsp + 0xa0], 1
je 0x1400d9e88
mov rcx, qword [rsp + 0xb0]
call fcn.140148278
jmp 0x1400d9e88
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x28
call fcn.140005c64
int3
lea rax, str.vector___index_out_of_bounds
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_vector
lea r9, [0x1401857a8]
mov r8d, 0x601
call fcn.140005c64
call fcn.1400035b0
call fcn.140001c85
int3