Function at 0x1400e858c
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 [0x1401c6028]
xor rax, rsp
mov qword [rsp + 0x210], rax
mov rsi, qword [rcx]
mov qword [rcx], 0
test rsi, rsi
je 0x1400e86ee
cmp byte [rsi + 0x48], 0
je 0x1400e862f
mov rcx, qword [rsi + 8]
xor edx, edx
xor r8d, r8d
call fcn.140111170
test rax, rax
je 0x1400e8713
cmp dword [0x1401d8070], 2
jg 0x1400e862f
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xb0]
mov rcx, rdi
mov r8d, 0x204
mov r9d, 2
call fcn.140072910
lea rcx, [rsp + 0xc0]
lea rdx, str.failed_to_rewind_to_write
mov r8d, 0x19
call fcn.140027c01
mov rcx, rdi
call fcn.140072e50
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 0x1400e86b7
cmp dword [0x1401d8070], 2
jg 0x1400e86b7
call qword [sym.imp.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.140073ae0
lea rcx, [rsp + 0xc0]
lea rdx, [0x1401afc3c]
mov r8d, 0xc
call fcn.140027c01
mov rcx, rdi
call fcn.140073c70
lea rcx, [rsi + 0x50]
call fcn.1400ea9a2
cmp byte [rsi + 0x47], 0
jns 0x1400e86cf
mov rcx, qword [rsi + 0x30]
call fcn.140150da4
cmp byte [rsi + 0x2f], 0
jns 0x1400e86de
mov rcx, qword [rsi + 0x18]
call fcn.140150da4
mov rcx, rsi
call fcn.1400ea816
mov rcx, rsi
call fcn.140150da4
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.140152280
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 0x1400e8b65
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 0x1400e8d04
mov eax, edi
lea rdx, [rsp + 0xa0]
mov dword [rdx + 8], eax
mov rcx, qword [rsi + 8]
mov r8d, 0x10
call fcn.1401114a6
test al, al
je 0x1400e8bc6
cmp r14, rbx
je 0x1400e862f
movabs rax, 0x492492492492492
xorps xmm0, xmm0
movaps xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x90], 0
cmp rdi, rax
ja 0x1400e8d24
imul rbp, rdi, 0x38
mov rcx, rbp
call fcn.140150d68
mov rdi, rax
mov r15, qword [rsi + 0x50]
mov rax, qword [rsi + 0x58]
mov qword [rsp + 0x58], rax
cmp r15, rax
je 0x1400e8d21
add rbp, rdi
mov qword [rsp + 0x30], rsi
lea r12, [rsi + 0x18]
mov rbx, rdi
mov qword [rsp + 0x40], r12
lea r14, [r15 + 0x10]
mov rcx, r14
lea r13, [rsp + 0xb0]
mov rdx, r13
call fcn.140078a50
mov rcx, r13
mov rdx, r12
call fcn.140078420
mov r13d, eax
cmp byte [rsp + 0xc7], 0
jns 0x1400e883b
mov rcx, qword [rsp + 0xb0]
call fcn.140150da4
test r13b, r13b
jne 0x1400e8c10
movups xmm0, xmmword [r15]
movaps xmmword [rsp + 0x200], xmm0
mov rcx, r14
lea r14, [rsp + 0x60]
mov rdx, r14
call fcn.140078d10
movzx ecx, byte [rsp + 0x77]
test cl, cl
jns 0x1400e8873
mov rcx, qword [rsp + 0x68]
mov r14, qword [rsp + 0x60]
mov qword [rsp + 0x1f0], r14
mov qword [rsp + 0x1f8], rcx
test rcx, rcx
js 0x1400e8d0f
je 0x1400e8897
test r14, r14
je 0x1400e8d12
lea r14, [rsp + 0xb0]
mov rcx, r14
lea rdx, [rsp + 0x1f0]
call fcn.140065640
lea rcx, [rsp + 0x80]
mov rdx, r14
call fcn.1400ea9ed
mov r13d, eax
cmp byte [rsp + 0xc7], 0
jns 0x1400e88d9
mov rcx, qword [rsp + 0xb0]
call fcn.140150da4
cmp byte [rsp + 0x77], 0
jns 0x1400e88ea
mov rcx, qword [rsp + 0x60]
call fcn.140150da4
lea rdx, [r15 + 0x28]
lea rcx, [rsp + 0x80]
call fcn.1400ea9ed
mov r10d, eax
mov r11, qword [r15 + 0x40]
mov r9, qword [r15 + 0x50]
mov esi, dword [r15 + 0x58]
mov edx, dword [r15 + 0x68]
mov r14b, byte [r15 + 0x5c]
add r14b, r14b
or r14b, byte [r15 + 0x48]
cmp rdi, rbp
jae 0x1400e8959
test rdi, rdi
je 0x1400e8d15
movaps xmm0, xmmword [rsp + 0x200]
movups xmmword [rdi], xmm0
mov dword [rdi + 0x10], r13d
mov dword [rdi + 0x14], r10d
mov qword [rdi + 0x18], r11
mov qword [rdi + 0x20], r9
mov dword [rdi + 0x28], esi
mov dword [rdi + 0x2c], edx
mov byte [rdi + 0x30], r14b
xor eax, eax
mov dword [rdi + 0x31], eax
mov dword [rdi + 0x34], eax
jmp 0x1400e8aac
mov dword [rsp + 0x3c], r13d
mov r13, rdi
sub r13, rbx
sar r13, 3
movabs rax, 0x6db6db6db6db6db7
imul r13, rax
lea r12, [r13 + 1]
movabs rcx, 0x492492492492492
cmp r12, rcx
ja 0x1400e8d18
sub rbp, rbx
sar rbp, 3
imul rbp, rax
lea rax, [rbp*2]
cmp rax, r12
cmova r12, rax
movabs rax, 0x249249249249249
cmp rbp, rax
cmovae r12, rcx
test r12, r12
je 0x1400e89f6
mov qword [rsp + 0x48], r11
mov dword [rsp + 0x38], r10d
mov qword [rsp + 0x50], r9
cmp r12, rcx
ja 0x1400e8d1e
mov ebp, edx
imul rcx, r12, 0x38
call fcn.140150d68
mov edx, ebp
mov rbp, rax
mov r9, qword [rsp + 0x50]
mov r10d, dword [rsp + 0x38]
mov r11, qword [rsp + 0x48]
jmp 0x1400e89f8
xor ebp, ebp
imul r13, r13, 0x38
add r13, rbp
je 0x1400e8d1b
movaps xmm0, xmmword [rsp + 0x200]
movups xmmword [r13], xmm0
mov eax, dword [rsp + 0x3c]
mov dword [r13 + 0x10], eax
mov dword [r13 + 0x14], r10d
mov qword [r13 + 0x18], r11
mov qword [r13 + 0x20], r9
mov dword [r13 + 0x28], esi
mov dword [r13 + 0x2c], edx
mov byte [r13 + 0x30], r14b
xor eax, eax
mov dword [r13 + 0x31], eax
mov dword [r13 + 0x34], eax
mov r14, r13
cmp rdi, rbx
je 0x1400e8a7d
mov rax, r13
mov rcx, rdi
mov rdx, qword [rcx - 8]
mov qword [rax - 8], rdx
movups xmm0, xmmword [rcx - 0x38]
movups xmm1, xmmword [rcx - 0x28]
movups xmm2, xmmword [rcx - 0x18]
lea rdx, [rcx - 0x38]
lea r14, [rax - 0x38]
movups xmmword [rax - 0x18], xmm2
movups xmmword [rax - 0x28], xmm1
movups xmmword [rax - 0x38], xmm0
mov rax, r14
mov rcx, rdx
cmp rdx, rbx
jne 0x1400e8a4a
imul rax, r12, 0x38
add rbp, rax
mov r12, qword [rsp + 0x40]
cmp rdi, rbx
je 0x1400e8a99
add rdi, 0xffffffffffffffc8
jne 0x1400e8a89
jmp 0x1400e8d0c
test rbx, rbx
je 0x1400e8aa6
mov rcx, rbx
call fcn.140150da4
mov rbx, r14
mov rdi, r13
add rdi, 0x38
add r15, 0x70
cmp r15, qword [rsp + 0x58]
jne 0x1400e87ff
mov r8, rdi
sub r8, rbx
mov rsi, qword [rsp + 0x30]
je 0x1400e8d21
mov rcx, qword [rsi + 8]
mov rdx, rbx
call fcn.1401114a6
test al, al
je 0x1400e8c7b
movzx r8d, byte [rsp + 0x97]
test r8b, r8b
cmovs r8, qword [rsp + 0x88]
lea rdx, [rsp + 0x80]
cmovs rdx, qword [rsp + 0x80]
mov rcx, qword [rsi + 8]
call fcn.1401114a6
test al, al
jne 0x1400e8cc9
cmp dword [0x1401d8070], 2
jg 0x1400e8cc9
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea r14, [rsp + 0xb0]
mov rcx, r14
mov r8d, 0x233
mov r9d, 2
call fcn.140072910
lea rcx, [rsp + 0xc0]
lea rdx, str.failed_to_write_string_table
mov r8d, 0x1c
jmp 0x1400e8cbc
cmp dword [0x1401d8070], 2
jg 0x1400e862f
call qword [sym.imp.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.140073ae0
lea rcx, [rsp + 0xc0]
lea rdx, str.failed_to_truncate
mov r8d, 0x12
call fcn.140027c01
mov rcx, rdi
call fcn.140073c70
jmp 0x1400e862f
cmp dword [0x1401d8070], 2
jg 0x1400e862f
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xb0]
mov rcx, rdi
mov r8d, 0x217
mov r9d, 2
call fcn.140072910
lea rcx, [rsp + 0xc0]
lea rdx, str.failed_to_write_header
mov r8d, 0x16
jmp 0x1400e8622
cmp dword [0x1401d8070], 2
jg 0x1400e8c74
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea r15, [rsp + 0xb0]
mov rcx, r15
mov r8d, 0x225
mov r9d, 2
call fcn.140072910
lea rcx, [rsp + 0xc0]
mov rdx, r14
call fcn.140065d30
lea rdx, str._expected_to_start_with
mov r8d, 0x18
mov rcx, rax
call fcn.140027c01
mov rcx, rax
mov rdx, r12
call fcn.140065d30
mov rcx, r15
call fcn.140072e50
mov rsi, qword [rsp + 0x30]
jmp 0x1400e8cc9
cmp dword [0x1401d8070], 2
jg 0x1400e8cc9
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea r14, [rsp + 0xb0]
mov rcx, r14
mov r8d, 0x22e
mov r9d, 2
call fcn.140072910
lea rcx, [rsp + 0xc0]
lea rdx, str.failed_to_write_records
mov r8d, 0x17
call fcn.140027c01
mov rcx, r14
call fcn.140072e50
test rbx, rbx
je 0x1400e8ce4
cmp rdi, rbx
je 0x1400e8cdc
add rdi, 0xffffffffffffffc8
jne 0x1400e8cce
int3
mov rcx, rbx
call fcn.140150da4
cmp byte [rsp + 0x97], 0
jns 0x1400e862f
mov rcx, qword [rsp + 0x80]
call fcn.140150da4
jmp 0x1400e862f
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3