Function at 0x14017c00e
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, 0x228
movaps xmmword [rsp + 0x210], xmm6
mov rax, qword [0x140327038]
xor rax, rsp
mov qword [rsp + 0x208], rax
mov rsi, qword [rcx]
mov qword [rcx], 0
test rsi, rsi
jne 0x14017c076
mov rcx, qword [rsp + 0x208]
xor rcx, rsp
call fcn.14013d520
movaps xmm6, xmmword [rsp + 0x210]
add rsp, 0x228
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp byte [rsi + 0x48], 0
je 0x14017c0e1
mov rcx, qword [rsi + 8]
xor edx, edx
xor r8d, r8d
call fcn.140130d82
test rax, rax
je 0x14017c1c0
cmp dword [0x14033b1a8], 2
jg 0x14017c0e1
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xb0]
mov rcx, rdi
mov r8d, 0x214
mov r9d, 2
call fcn.14012fd40
lea rcx, [rsp + 0xc0]
lea rdx, str.failed_to_rewind_to_write
mov r8d, 0x19
call fcn.1401970a4
mov rcx, rdi
call fcn.1400a0470
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 0x14017c169
cmp dword [0x14033b1a8], 2
jg 0x14017c169
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, 0x145
mov r9d, 2
call fcn.1401fea80
lea rcx, [rsp + 0xc0]
lea rdx, [0x1402f576c]
mov r8d, 0xc
call fcn.1401970a4
mov rcx, rdi
call fcn.1401feb00
lea rcx, [rsi + 0x50]
call fcn.1400801a6
cmp byte [rsi + 0x47], 0
jns 0x14017c181
mov rcx, qword [rsi + 0x30]
call fcn.14013a6ac
cmp byte [rsi + 0x2f], 0
jns 0x14017c190
mov rcx, qword [rsi + 0x18]
call fcn.14013a6ac
lea rax, [0x1402e2a30]
mov qword [rsi], rax
cmp byte [rsi + 0x10], 0
jne 0x14017c82a
mov rcx, qword [rsi + 8]
cmp rcx, 0xffffffffffffffff
je 0x14017c1b3
call fcn.14005ba3d
mov rcx, rsi
call fcn.14013a6ac
jmp 0x14017c04a
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14017c22f
cmp dword [0x14033b1a8], 2
jg 0x14017c0e1
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, 0x21b
mov r9d, 2
call fcn.1401fea80
lea rcx, [rsp + 0xc0]
lea rdx, str.failed_to_truncate
mov r8d, 0x12
call fcn.1401970a4
mov rcx, rdi
call fcn.1401feb00
jmp 0x14017c0e1
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, 0x843504144
mov qword [rsp + 0xa0], rax
mov rax, rdi
shr rax, 0x20
jne 0x14017c822
mov eax, edi
lea rdx, [rsp + 0xa0]
mov dword [rdx + 8], eax
mov rcx, qword [rsi + 8]
mov r8d, 0x10
call fcn.14012fe6e
test al, al
jne 0x14017c2e3
cmp dword [0x14033b1a8], 2
jg 0x14017c0e1
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xb0]
mov rcx, rdi
mov r8d, 0x227
mov r9d, 2
call fcn.14012fd40
lea rcx, [rsp + 0xc0]
lea rdx, str.failed_to_write_header
mov r8d, 0x16
jmp 0x14017c0d4
cmp r14, rbx
je 0x14017c0e1
movabs rax, 0x492492492492492
xorps xmm0, xmm0
movaps xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x90], 0
cmp rdi, rax
ja 0x14017c839
imul rbx, rdi, 0x38
mov rcx, rbx
call fcn.14013a6b4
mov rdi, rax
mov r15, qword [rsi + 0x50]
mov rax, qword [rsi + 0x58]
mov qword [rsp + 0x58], rax
cmp r15, rax
je 0x14017c836
add rbx, rdi
lea rax, [rsi + 0x18]
mov qword [rsp + 0x40], rax
lea r12, [rsp + 0x60]
xorps xmm6, xmm6
mov rbp, rdi
mov rdx, rbx
jmp 0x14017c3a7
test rbp, rbp
je 0x14017c82d
movaps xmm0, xmmword [rsp + 0x1f0]
movups xmmword [rbp], xmm0
mov dword [rbp + 0x10], ebx
mov dword [rbp + 0x14], r11d
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], r10
mov dword [rbp + 0x28], r9d
mov dword [rbp + 0x2c], r8d
mov byte [rbp + 0x30], r12b
xor eax, eax
mov dword [rbp + 0x31], eax
mov dword [rbp + 0x34], eax
add rbp, 0x38
add r15, 0x70
cmp r15, qword [rsp + 0x58]
lea r12, [rsp + 0x60]
je 0x14017c613
mov r13, rdx
lea rbx, [r15 + 0x10]
mov rcx, rbx
lea r14, [rsp + 0xb0]
mov rdx, r14
call fcn.1400afb90
mov rcx, r14
mov rdx, qword [rsp + 0x40]
call fcn.1400b0370
mov r14d, eax
cmp byte [rsp + 0xc7], 0
jns 0x14017c3e8
mov rcx, qword [rsp + 0xb0]
call fcn.14013a6ac
test r14b, r14b
jne 0x14017c708
movups xmm0, xmmword [r15]
movaps xmmword [rsp + 0x1f0], xmm0
mov rcx, rbx
mov rdx, r12
call fcn.1400b0160
movzx eax, byte [rsp + 0x77]
test al, al
js 0x14017c418
mov edx, eax
and edx, 0x7f
jmp 0x14017c41d
mov rdx, qword [rsp + 0x68]
test rdx, rdx
js 0x14017c819
test al, al
mov rcx, qword [rsp + 0x60]
cmovns rcx, r12
movaps xmmword [rsp + 0xb0], xmm6
mov qword [rsp + 0xc0], 0
lea rbx, [rsp + 0xb0]
mov r8, rbx
call fcn.140111960
lea rcx, [rsp + 0x80]
mov rdx, rbx
call fcn.14023ccc8
mov ebx, eax
cmp byte [rsp + 0xc7], 0
jns 0x14017c47e
mov rcx, qword [rsp + 0xb0]
call fcn.14013a6ac
cmp byte [rsp + 0x77], 0
jns 0x14017c48f
mov rcx, qword [rsp + 0x60]
call fcn.14013a6ac
lea rdx, [r15 + 0x28]
lea rcx, [rsp + 0x80]
call fcn.14023ccc8
mov r11d, eax
mov rax, qword [r15 + 0x40]
mov r10, qword [r15 + 0x50]
mov r9d, dword [r15 + 0x58]
mov r8d, dword [r15 + 0x68]
mov r12b, byte [r15 + 0x5c]
add r12b, r12b
or r12b, byte [r15 + 0x48]
mov rdx, r13
cmp rbp, r13
jb 0x14017c357
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x3c], ebx
mov rbx, rbp
sub rbx, rdi
sar rbx, 3
movabs rax, 0x6db6db6db6db6db7
imul rbx, rax
lea r14, [rbx + 1]
movabs rcx, 0x492492492492492
cmp r14, rcx
ja 0x14017c830
sub rdx, rdi
sar rdx, 3
imul rdx, rax
lea rax, [rdx + rdx]
cmp rax, r14
cmova r14, rax
movabs rax, 0x249249249249249
cmp rdx, rax
cmovae r14, rcx
test r14, r14
je 0x14017c569
mov dword [rsp + 0x34], r11d
mov qword [rsp + 0x48], r10
mov dword [rsp + 0x38], r9d
cmp r14, rcx
ja 0x14017c833
mov r13d, r8d
imul rcx, r14, 0x38
call fcn.14013a6b4
mov rdx, rax
mov r8d, r13d
mov r9d, dword [rsp + 0x38]
mov r10, qword [rsp + 0x48]
mov r11d, dword [rsp + 0x34]
jmp 0x14017c56b
xor edx, edx
imul rbx, rbx, 0x38
add rbx, rdx
je 0x14017c81c
movaps xmm0, xmmword [rsp + 0x1f0]
movups xmmword [rbx], xmm0
mov eax, dword [rsp + 0x3c]
mov dword [rbx + 0x10], eax
mov dword [rbx + 0x14], r11d
mov rax, qword [rsp + 0x50]
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], r10
mov dword [rbx + 0x28], r9d
mov dword [rbx + 0x2c], r8d
mov byte [rbx + 0x30], r12b
xor eax, eax
mov dword [rbx + 0x31], eax
mov dword [rbx + 0x34], eax
mov r12, rbx
cmp rbp, rdi
je 0x14017c5ee
mov rax, qword [rbp - 8]
mov qword [r12 - 8], rax
movups xmm0, xmmword [rbp - 0x38]
movups xmm1, xmmword [rbp - 0x28]
movups xmm2, xmmword [rbp - 0x18]
lea rax, [rbp - 0x38]
movups xmmword [r12 - 0x18], xmm2
movups xmmword [r12 - 0x28], xmm1
movups xmmword [r12 - 0x38], xmm0
add r12, 0xffffffffffffffc8
mov rbp, rax
cmp rax, rdi
jne 0x14017c5b7
imul r14, r14, 0x38
test rdi, rdi
je 0x14017c605
mov rcx, rdi
mov rdi, rdx
call fcn.14013a6ac
mov rdx, rdi
add rdx, r14
mov rdi, r12
mov rbp, rbx
jmp 0x14017c38f
sub rbp, rdi
je 0x14017c836
mov rcx, qword [rsi + 8]
mov rdx, rdi
mov r8, rbp
call fcn.14012fe6e
test al, al
je 0x14017c6b6
movzx eax, byte [rsp + 0x97]
mov r8d, eax
and r8d, 0x7f
test al, al
cmovs r8, qword [rsp + 0x88]
lea rdx, [rsp + 0x80]
cmovs rdx, qword [rsp + 0x80]
mov rcx, qword [rsi + 8]
call fcn.14012fe6e
test al, al
jne 0x14017c7ec
cmp dword [0x14033b1a8], 2
jg 0x14017c7ec
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rbx, [rsp + 0xb0]
mov rcx, rbx
mov r8d, 0x244
mov r9d, 2
call fcn.14012fd40
lea rcx, [rsp + 0xc0]
lea rdx, str.failed_to_write_string_table
mov r8d, 0x1c
jmp 0x14017c6fb
cmp dword [0x14033b1a8], 2
jg 0x14017c7ec
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rbx, [rsp + 0xb0]
mov rcx, rbx
mov r8d, 0x23f
mov r9d, 2
call fcn.14012fd40
lea rcx, [rsp + 0xc0]
lea rdx, str.failed_to_write_records
mov r8d, 0x17
call fcn.1401970a4
mov rcx, rbx
jmp 0x14017c7e7
cmp dword [0x14033b1a8], 2
jg 0x14017c7ec
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rcx, [rsp + 0xb0]
mov r8d, 0x235
mov r9d, 2
call fcn.14012fd40
lea rcx, [rsp + 0xc0]
cmp byte [r15 + 0x27], 0
jns 0x14017c747
mov rbx, qword [rbx]
mov rdx, rbx
call fcn.1401febc0
lea rdx, str._expected_to_start_with
mov r8d, 0x18
mov rcx, rax
call fcn.1401970a4
mov rbx, rax
movzx eax, byte [rsi + 0x2f]
test al, al
js 0x14017c776
mov edx, eax
and edx, 0x7f
jmp 0x14017c77a
mov rdx, qword [rsi + 0x20]
test rdx, rdx
js 0x14017c81f
test al, al
mov rcx, qword [rsp + 0x40]
cmovs rcx, qword [rsi + 0x18]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov r8, r12
call fcn.140111960
movzx r8d, byte [rsp + 0x77]
test r8b, r8b
js 0x14017c7b9
and r8d, 0x7f
jmp 0x14017c7c3
mov r8, qword [rsp + 0x68]
mov r12, qword [rsp + 0x60]
mov rcx, rbx
mov rdx, r12
call fcn.1401970a4
cmp byte [rsp + 0x77], 0
jns 0x14017c7df
mov rcx, qword [rsp + 0x60]
call fcn.14013a6ac
lea rcx, [rsp + 0xb0]
call fcn.1400a0470
test rdi, rdi
je 0x14017c7f9
mov rcx, rdi
call fcn.14013a6ac
cmp byte [rsp + 0x97], 0
jns 0x14017c0e1
mov rcx, qword [rsp + 0x80]
call fcn.14013a6ac
jmp 0x14017c0e1
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3