Function at 0x140066c56
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 [0x140105c88]
xor rax, rsp
mov qword [rsp + 0x210], rax
mov rsi, qword [rcx]
mov qword [rcx], 0
test rsi, rsi
je 0x140066db5
cmp byte [rsi + 0x48], 0
je 0x140066cfe
mov rcx, qword [rsi + 8]
xor edx, edx
xor r8d, r8d
call fcn.14008076b
test rax, rax
je 0x140066dda
mov ecx, 2
call fcn.140050500
test al, al
je 0x140066cfe
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xb0]
mov rcx, rdi
mov r8d, 0x203
mov r9d, 2
call fcn.1400505d0
lea rcx, [rsp + 0xc0]
lea rdx, str.failed_to_rewind_to_write
mov r8d, 0x19
call fcn.1400031c8
mov rcx, rdi
call fcn.140050b40
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 0x140066d8a
mov ecx, 2
call fcn.140050500
test al, al
je 0x140066d8a
call sub.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, 0x13b
mov r9d, 2
call fcn.1400517c0
lea rcx, [rsp + 0xc0]
lea rdx, [0x1400e4f8a]
mov r8d, 0xc
call fcn.1400031c8
mov rcx, rdi
call fcn.1400518b0
lea rcx, [rsi + 0x50]
call fcn.140068da2
lea rcx, [rsi + 0x30]
call fcn.140032570
lea rcx, [rsi + 0x18]
call fcn.140032570
mov rcx, rsi
call fcn.14003fb86
mov rcx, rsi
call fcn.1400a4d04
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.1400a5060
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 0x1400671a7
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 0x14006744e
mov eax, edi
lea rdx, [rsp + 0xa0]
mov dword [rdx + 8], eax
mov rcx, qword [rsi + 8]
mov r8d, 0x10
call fcn.140080b85
test al, al
je 0x14006720c
cmp r14, rbx
je 0x140066cfe
movabs rax, 0x492492492492492
xorps xmm0, xmm0
movaps xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x90], 0
cmp rdi, rax
ja 0x140067456
imul r12, rdi, 0x38
mov rcx, r12
call fcn.1400a4cb4
mov rbx, rax
mov r14, qword [rsi + 0x50]
mov rax, qword [rsi + 0x58]
mov qword [rsp + 0x58], rax
cmp r14, rax
je 0x140067460
add r12, rbx
mov qword [rsp + 0x30], rsi
lea r15, [rsi + 0x18]
lea rbp, [rsp + 0xb0]
mov rdi, rbx
mov qword [rsp + 0x40], r15
lea r13, [r14 + 0x10]
mov rcx, r13
mov rdx, rbp
call fcn.140032e80
mov rcx, rbp
mov rsi, r15
mov rdx, r15
call fcn.140032840
mov r15d, eax
mov rcx, rbp
call fcn.140032570
test r15b, r15b
jne 0x14006725b
movups xmm0, xmmword [r14]
movaps xmmword [rsp + 0x200], xmm0
mov rcx, r13
lea rdx, [rsp + 0x60]
call fcn.1400331b0
movzx eax, byte [rsp + 0x60]
mov rcx, rax
shr rcx, 1
test al, 1
mov rax, qword [rsp + 0x70]
lea rdx, [rsp + 0x62]
cmove rax, rdx
mov qword [rsp + 0x1f0], rax
cmovne rcx, qword [rsp + 0x68]
mov qword [rsp + 0x1f8], rcx
mov rcx, rbp
lea rdx, [rsp + 0x1f0]
call fcn.14002f590
lea rcx, [rsp + 0x80]
mov rdx, rbp
call fcn.140068ded
mov dword [rsp + 0x2c], eax
test byte [rsp + 0xb0], 1
je 0x140066f84
mov rcx, qword [rsp + 0xc0]
call fcn.1400a4d04
lea rcx, [rsp + 0x60]
call fcn.140032570
lea rdx, [r14 + 0x28]
lea rcx, [rsp + 0x80]
call fcn.140068ded
mov r10d, eax
mov r11, qword [r14 + 0x40]
mov r9, qword [r14 + 0x50]
mov r8d, dword [r14 + 0x58]
mov edx, dword [r14 + 0x68]
mov r13b, byte [r14 + 0x5c]
add r13b, r13b
or r13b, byte [r14 + 0x48]
cmp rdi, r12
jae 0x140067004
test rdi, rdi
je 0x140067422
mov r15, rsi
movaps xmm0, xmmword [rsp + 0x200]
movups xmmword [rdi], xmm0
mov eax, dword [rsp + 0x2c]
mov dword [rdi + 0x10], eax
mov dword [rdi + 0x14], r10d
mov qword [rdi + 0x18], r11
mov qword [rdi + 0x20], r9
mov dword [rdi + 0x28], r8d
mov dword [rdi + 0x2c], edx
mov byte [rdi + 0x30], r13b
xor eax, eax
mov dword [rdi + 0x31], eax
mov dword [rdi + 0x34], eax
jmp 0x14006714b
mov rbp, rdi
sub rbp, rbx
sar rbp, 3
movabs rax, 0x6db6db6db6db6db7
imul rbp, rax
lea r15, [rbp + 1]
movabs rcx, 0x492492492492492
cmp r15, rcx
ja 0x140067456
sub r12, rbx
sar r12, 3
imul r12, rax
lea rax, [r12 + r12]
cmp rax, r15
cmova r15, rax
movabs rax, 0x249249249249249
cmp r12, rax
cmovae r15, rcx
test r15, r15
je 0x1400670a4
mov qword [rsp + 0x48], r11
mov dword [rsp + 0x3c], r10d
mov qword [rsp + 0x50], r9
cmp r15, rcx
ja 0x14006745b
mov r12, rbx
mov ebx, r8d
mov esi, edx
imul rcx, r15, 0x38
call fcn.1400a4cb4
mov edx, esi
mov r8d, ebx
mov rbx, r12
mov r12, rax
mov r9, qword [rsp + 0x50]
mov r10d, dword [rsp + 0x3c]
mov r11, qword [rsp + 0x48]
jmp 0x1400670a7
xor r12d, r12d
imul rbp, rbp, 0x38
add rbp, r12
je 0x140067422
movaps xmm0, xmmword [rsp + 0x200]
movups xmmword [rbp], xmm0
mov eax, dword [rsp + 0x2c]
mov dword [rbp + 0x10], eax
mov dword [rbp + 0x14], r10d
mov qword [rbp + 0x18], r11
mov qword [rbp + 0x20], r9
mov dword [rbp + 0x28], r8d
mov dword [rbp + 0x2c], edx
mov byte [rbp + 0x30], r13b
xor eax, eax
mov dword [rbp + 0x31], eax
mov dword [rbp + 0x34], eax
mov r13, rbp
cmp rdi, rbx
je 0x140067124
mov rax, rbp
mov rcx, qword [rdi - 8]
mov qword [rax - 8], rcx
movups xmm0, xmmword [rdi - 0x38]
movups xmm1, xmmword [rdi - 0x28]
movups xmm2, xmmword [rdi - 0x18]
lea rcx, [rdi - 0x38]
lea r13, [rax - 0x38]
movups xmmword [rax - 0x18], xmm2
movups xmmword [rax - 0x28], xmm1
movups xmmword [rax - 0x38], xmm0
mov rax, r13
mov rdi, rcx
cmp rcx, rbx
jne 0x1400670f1
imul rdi, r15, 0x38
test rbx, rbx
je 0x140067135
mov rcx, rbx
call fcn.1400a4d04
add r12, rdi
mov rbx, r13
mov rdi, rbp
mov r15, qword [rsp + 0x40]
lea rbp, [rsp + 0xb0]
add rdi, 0x38
add r14, 0x70
cmp r14, qword [rsp + 0x58]
jne 0x140066ece
sub rdi, rbx
mov rsi, qword [rsp + 0x30]
je 0x140067460
mov rcx, qword [rsi + 8]
mov rdx, rbx
mov r8, rdi
call fcn.140080b85
test al, al
je 0x1400672a8
mov al, byte [rsp + 0x80]
test al, 1
je 0x140067387
mov r8, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x90]
jmp 0x140067395
mov ecx, 2
call fcn.140050500
test al, al
je 0x140066cfe
call sub.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, 0x20a
mov r9d, 2
call fcn.1400517c0
lea rcx, [rsp + 0xc0]
lea rdx, str.failed_to_truncate
mov r8d, 0x12
call fcn.1400031c8
mov rcx, rdi
call fcn.1400518b0
jmp 0x140066cfe
mov ecx, 2
call fcn.140050500
test al, al
je 0x140066cfe
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xb0]
mov rcx, rdi
mov r8d, 0x216
mov r9d, 2
call fcn.1400505d0
lea rcx, [rsp + 0xc0]
lea rdx, str.failed_to_write_header
mov r8d, 0x16
jmp 0x140066cf1
mov ecx, 2
call fcn.140050500
test al, al
je 0x14006729e
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rcx, [rsp + 0xb0]
mov r8d, 0x224
mov r9d, 2
call fcn.1400505d0
lea rcx, [rsp + 0xc0]
test byte [r13], 1
jne 0x1400672f7
add r14, 0x12
jmp 0x1400672fb
mov rsi, qword [rsp + 0x30]
jmp 0x1400673f5
mov ecx, 2
call fcn.140050500
test al, al
je 0x1400673f5
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xb0]
mov rcx, rdi
mov r8d, 0x22e
mov r9d, 2
call fcn.1400505d0
lea rcx, [rsp + 0xc0]
lea rdx, str.failed_to_write_records
mov r8d, 0x17
jmp 0x1400673e8
mov r14, qword [r14 + 0x20]
mov r15, rsi
mov rsi, qword [rsp + 0x30]
mov rdx, r14
call fcn.140051970
lea rdx, str._expected_to_start_with
mov r8d, 0x18
mov rcx, rax
call fcn.1400031c8
mov rdi, rax
lea rax, [rsi + 0x1a]
test byte [rsi + 0x18], 1
je 0x140067331
mov rax, qword [rsi + 0x28]
mov qword [rsp + 0x1f0], rax
jne 0x140067345
mov rcx, r15
call fcn.140001c9e
jmp 0x140067349
mov rax, qword [rsi + 0x20]
lea rdx, [rsp + 0x1f0]
mov qword [rdx + 8], rax
lea r14, [rsp + 0x60]
mov rcx, r14
call fcn.14002f590
mov rcx, rdi
mov rdx, r14
call fcn.140003d2c
test byte [r14], 1
je 0x14006737d
mov rcx, qword [rsp + 0x70]
call fcn.1400a4d04
lea rcx, [rsp + 0xb0]
jmp 0x1400673f0
shr al, 1
movzx r8d, al
lea rdx, [rsp + 0x81]
mov rcx, qword [rsi + 8]
call fcn.140080b85
test al, al
jne 0x1400673f5
mov ecx, 2
call fcn.140050500
test al, al
je 0x1400673f5
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xb0]
mov rcx, rdi
mov r8d, 0x233
mov r9d, 2
call fcn.1400505d0
lea rcx, [rsp + 0xc0]
lea rdx, str.failed_to_write_string_table
mov r8d, 0x1c
call fcn.1400031c8
mov rcx, rdi
call fcn.140050b40
test rbx, rbx
je 0x140067402
mov rcx, rbx
call fcn.1400a4d04
test byte [rsp + 0x80], 1
je 0x140066cfe
mov rcx, qword [rsp + 0x90]
call fcn.1400a4d04
jmp 0x140066cfe
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.140005584
int3
call fcn.140004e00
call fcn.140001a95
lea rax, str.vector___index_out_of_bounds
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude_vector
lea r9, str.__n___size__
mov r8d, 0x5b5
call fcn.140005584
int3