Function at 0x1401465c0
Capabilities:
Clear file content

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x218
mov rax, qword [0x14030c028]
xor rax, rsp
mov qword [rsp + 0x210], rax
mov rbx, qword [rcx]
mov qword [rcx], 0
test rbx, rbx
je 0x14014671f
cmp byte [rbx + 0x48], 0
je 0x140146668
mov rcx, qword [rbx + 8]
xor edx, edx
xor r8d, r8d
call fcn.1401a1623
test rax, rax
je 0x140146744
mov ecx, 2
call fcn.1400f6360
test al, al
je 0x140146668
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xb0]
mov rcx, rdi
mov r8d, 0x203
mov r9d, 2
call fcn.1400f6410
lea rcx, [rsp + 0xc0]
lea rdx, str.failed_to_rewind_to_write
mov r8d, 0x19
call fcn.14001eb4a
mov rcx, rdi
call fcn.1400f68f0
xorps xmm0, xmm0
lea rax, [rsp + 0x60]
movaps xmmword [rax + 0x10], xmm0
movaps xmmword [rax], xmm0
mov rcx, qword [rbx + 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 0x1401466f4
mov ecx, 2
call fcn.1400f6360
test al, al
je 0x1401466f4
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rsi, [rsp + 0xb0]
mov rcx, rsi
mov r8d, 0x13b
mov r9d, 2
call fcn.1400f7550
lea rcx, [rsp + 0xc0]
lea rdx, [0x1402b680a]
mov r8d, 0xc
call fcn.14001eb4a
mov rcx, rsi
call fcn.1400f7640
lea rcx, [rbx + 0x50]
call fcn.1401484bc
lea rcx, [rbx + 0x30]
call fcn.140030e80
lea rcx, [rbx + 0x18]
call fcn.140030e80
mov rcx, rbx
call fcn.140143c70
mov rcx, rbx
call fcn.140255d7c
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.140257200
nop
add rsp, 0x218
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x140146b3b
mov rdi, qword [rbx + 0x50]
mov rbp, qword [rbx + 0x58]
mov rsi, rbp
sub rsi, rdi
sar rsi, 4
movabs rax, 0x6db6db6db6db6db7
imul rsi, rax
mov dword [rsp + 0xac], 0
movabs rax, 0x143504144
mov qword [rsp + 0xa0], rax
mov rax, rsi
shr rax, 0x20
jne 0x140146d66
mov eax, esi
lea rdx, [rsp + 0xa0]
mov dword [rdx + 8], eax
mov rcx, qword [rbx + 8]
mov r8d, 0x10
call fcn.1401a19f2
test al, al
je 0x140146ba0
cmp rbp, rdi
je 0x140146668
movabs rax, 0x492492492492492
xorps xmm0, xmm0
movaps xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x90], 0
cmp rsi, rax
ja 0x140146d9a
imul r13, rsi, 0x38
mov rcx, r13
call fcn.140255d40
mov r15, rax
mov r12, qword [rbx + 0x50]
mov rax, qword [rbx + 0x58]
mov qword [rsp + 0x58], rax
cmp r12, rax
je 0x140146d6e
add r13, r15
mov qword [rsp + 0x38], rbx
lea rax, [rbx + 0x18]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0xb0]
lea r14, [rsp + 0x60]
mov qword [rsp + 0x30], r15
lea rsi, [r12 + 0x10]
mov rcx, rsi
mov rdi, rdx
call fcn.1400f2cd0
mov rcx, rdi
mov rdx, qword [rsp + 0x48]
call fcn.1400f26f0
mov ebx, eax
mov rcx, rdi
call fcn.140030e80
test bl, bl
jne 0x140146bef
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0x200], xmm0
mov rcx, rsi
mov rdx, r14
call fcn.1400f2f20
movzx eax, byte [rsp + 0x77]
test al, al
mov rcx, qword [rsp + 0x60]
cmovns rcx, r14
mov qword [rsp + 0x1f0], rcx
cmovs rax, qword [rsp + 0x68]
mov qword [rsp + 0x1f8], rax
mov rcx, rdi
lea rdx, [rsp + 0x1f0]
call fcn.140103680
lea rsi, [rsp + 0x80]
mov rcx, rsi
mov rdx, rdi
call fcn.140148507
mov edi, eax
cmp byte [rsp + 0xc7], 0
jns 0x1401468e8
mov rcx, qword [rsp + 0xb0]
call fcn.140255d7c
mov rcx, r14
call fcn.140030e80
lea rdx, [r12 + 0x28]
mov rcx, rsi
call fcn.140148507
mov r10d, eax
mov r11, qword [r12 + 0x40]
mov r9, qword [r12 + 0x50]
mov r8d, dword [r12 + 0x58]
mov ebp, dword [r12 + 0x68]
mov bl, byte [r12 + 0x5c]
add bl, bl
or bl, byte [r12 + 0x48]
cmp r15, r13
jae 0x140146960
movaps xmm0, xmmword [rsp + 0x200]
movups xmmword [r15], xmm0
mov dword [r15 + 0x10], edi
mov dword [r15 + 0x14], r10d
mov qword [r15 + 0x18], r11
mov qword [r15 + 0x20], r9
mov dword [r15 + 0x28], r8d
mov dword [r15 + 0x2c], ebp
mov byte [r15 + 0x30], bl
xor eax, eax
mov dword [r15 + 0x31], eax
mov dword [r15 + 0x34], eax
add r15, 0x38
jmp 0x140146a74
mov rcx, qword [rsp + 0x30]
sub r15, rcx
mov rsi, r15
sar rsi, 3
movabs rax, 0x6db6db6db6db6db7
imul rsi, rax
lea r14, [rsi + 1]
movabs rdx, 0x492492492492492
cmp r14, rdx
ja 0x140146d9a
sub r13, rcx
sar r13, 3
imul r13, rax
mov rax, r13
add rax, r13
cmp rax, r14
cmova r14, rax
movabs rax, 0x249249249249249
cmp r13, rax
cmovae r14, rdx
test r14, r14
mov dword [rsp + 0x44], edi
je 0x1401469fa
mov qword [rsp + 0x50], r11
mov dword [rsp + 0x40], r10d
cmp r14, rdx
ja 0x140146d9f
mov r13, r9
mov edi, r8d
imul rcx, r14, 0x38
call fcn.140255d40
mov r8d, edi
mov r9, r13
mov r10d, dword [rsp + 0x40]
mov r11, qword [rsp + 0x50]
jmp 0x1401469fc
xor eax, eax
imul rcx, rsi, 0x38
lea rsi, [rax + rcx]
imul r13, r14, 0x38
add r13, rax
movaps xmm0, xmmword [rsp + 0x200]
lea rdi, [rax + rcx]
add rdi, 0x38
movups xmmword [rdi - 0x38], xmm0
mov eax, dword [rsp + 0x44]
mov dword [rdi - 0x28], eax
mov dword [rdi - 0x24], r10d
mov qword [rdi - 0x20], r11
mov qword [rdi - 0x18], r9
mov dword [rdi - 0x10], r8d
mov dword [rdi - 0xc], ebp
mov byte [rdi - 8], bl
xor eax, eax
mov dword [rdi - 7], eax
mov dword [rdi - 4], eax
sub rsi, r15
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rdx, rbx
mov r8, r15
call fcn.140258c70
test rbx, rbx
je 0x140146a67
mov rcx, rbx
call fcn.140255d7c
mov r15, rdi
mov qword [rsp + 0x30], rsi
lea r14, [rsp + 0x60]
lea rdx, [rsp + 0xb0]
add r12, 0x70
cmp r12, qword [rsp + 0x58]
jne 0x14014683f
mov rdi, qword [rsp + 0x30]
sub r15, rdi
mov rbx, qword [rsp + 0x38]
je 0x140146d6e
mov rcx, qword [rbx + 8]
mov rdx, rdi
mov r8, r15
call fcn.1401a19f2
test al, al
je 0x140146c3e
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 [rbx + 8]
call fcn.1401a19f2
test al, al
jne 0x140146d39
mov ecx, 2
call fcn.1400f6360
test al, al
je 0x140146d39
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rsi, [rsp + 0xb0]
mov rcx, rsi
mov r8d, 0x233
mov r9d, 2
call fcn.1400f6410
lea rcx, [rsp + 0xc0]
lea rdx, str.failed_to_write_string_table
mov r8d, 0x1c
jmp 0x140146c88
mov ecx, 2
call fcn.1400f6360
test al, al
je 0x140146668
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.1400f7550
lea rcx, [rsp + 0xc0]
lea rdx, str.failed_to_truncate
mov r8d, 0x12
call fcn.14001eb4a
mov rcx, rdi
call fcn.1400f7640
jmp 0x140146668
mov ecx, 2
call fcn.1400f6360
test al, al
je 0x140146668
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xb0]
mov rcx, rdi
mov r8d, 0x216
mov r9d, 2
call fcn.1400f6410
lea rcx, [rsp + 0xc0]
lea rdx, str.failed_to_write_header
mov r8d, 0x16
jmp 0x14014665b
mov ecx, 2
call fcn.1400f6360
test al, al
je 0x140146c34
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rcx, [rsp + 0xb0]
mov r8d, 0x224
mov r9d, 2
call fcn.1400f6410
lea rcx, [rsp + 0xc0]
cmp byte [r12 + 0x27], 0
js 0x140146c9a
mov rbx, qword [rsp + 0x30]
jmp 0x140146ca2
mov rdi, qword [rsp + 0x30]
jmp 0x140146d34
mov ecx, 2
call fcn.1400f6360
test al, al
je 0x140146d39
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rsi, [rsp + 0xb0]
mov rcx, rsi
mov r8d, 0x22e
mov r9d, 2
call fcn.1400f6410
lea rcx, [rsp + 0xc0]
lea rdx, str.failed_to_write_records
mov r8d, 0x17
call fcn.14001eb4a
mov rcx, rsi
call fcn.1400f68f0
jmp 0x140146d39
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsi]
mov rdx, rsi
call fcn.1400f7700
lea rdx, str._expected_to_start_with
mov r8d, 0x18
mov rcx, rax
call fcn.14001eb4a
mov rdi, qword [rsp + 0x38]
movzx ecx, byte [rdi + 0x2f]
test cl, cl
mov rbp, qword [rsp + 0x48]
cmovs rbp, qword [rdi + 0x18]
mov rsi, rax
lea rdx, [rsp + 0x1f0]
mov qword [rdx], rbp
cmovs rcx, qword [rdi + 0x20]
mov qword [rdx + 8], rcx
mov rcx, r14
call fcn.140103680
movzx r8d, byte [rsp + 0x77]
test r8b, r8b
jns 0x140146d08
mov r8, qword [rsp + 0x68]
mov r14, qword [rsp + 0x60]
mov rcx, rsi
mov rdx, r14
call fcn.14001eb4a
cmp byte [rsp + 0x77], 0
jns 0x140146d24
mov rcx, qword [rsp + 0x60]
call fcn.140255d7c
lea rcx, [rsp + 0xb0]
call fcn.1400f68f0
mov rdi, rbx
mov rbx, qword [rsp + 0x38]
test rdi, rdi
je 0x140146d46
mov rcx, rdi
call fcn.140255d7c
cmp byte [rsp + 0x97], 0
jns 0x140146668
mov rcx, qword [rsp + 0x80]
call fcn.140255d7c
jmp 0x140146668
int3
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, 0x5b1
call fcn.14004f520
call fcn.1400207e0
call fcn.1400207e0
int3