Function at 0x1401088f4
Capabilities:
Clear file content

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x228
mov rax, qword [0x14021f030]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov rsi, qword [rcx]
mov qword [rcx], 0
test rsi, rsi
je 0x140108a53
cmp byte [rsi + 0x48], 0
je 0x14010899c
mov rcx, qword [rsi + 8]
xor edx, edx
xor r8d, r8d
call fcn.140135aa6
test rax, rax
je 0x140108a78
mov ecx, 2
call fcn.1400ad460
test al, al
je 0x14010899c
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xc0]
mov rcx, rdi
mov r8d, 0x203
mov r9d, 2
call fcn.1400ad510
lea rcx, [rsp + 0xd0]
lea rdx, str.failed_to_rewind_to_write
mov r8d, 0x19
call fcn.14002e9c2
mov rcx, rdi
call fcn.1400ad9f0
xorps xmm0, xmm0
lea rax, [rsp + 0x70]
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 0x140108a28
mov ecx, 2
call fcn.1400ad460
test al, al
je 0x140108a28
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xc0]
mov rcx, rdi
mov r8d, 0x13b
mov r9d, 2
call fcn.1400ae3b0
lea rcx, [rsp + 0xd0]
lea rdx, [0x14020503a]
mov r8d, ntohl
call fcn.14002e9c2
mov rcx, rdi
call fcn.1400ae4a0
lea rcx, [rsi + 0x50]
call fcn.14010a9d2
lea rcx, [rsi + 0x30]
call fcn.1400b0280
lea rcx, [rsi + 0x18]
call fcn.1400b0280
mov rcx, rsi
call fcn.1400da250
mov rcx, rsi
call fcn.14019d34c
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.14019eb90
nop
add rsp, 0x228
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 0x140108ea9
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 + 0xbc], 0
movabs rax, 0x143504144
mov qword [rsp + 0xb0], rax
mov rax, rdi
shr rax, 0x20
jne 0x1401090e8
mov eax, edi
lea rdx, [rsp + 0xb0]
mov dword [rdx + 8], eax
mov rcx, qword [rsi + 8]
mov r8d, 0x10
call fcn.140135e9d
test al, al
je 0x140108f0e
cmp r14, rbx
je 0x14010899c
movabs rax, 0x492492492492492
xorps xmm0, xmm0
movaps xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], 0
cmp rdi, rax
ja 0x1401090f0
imul r13, rdi, 0x38
mov rcx, r13
call fcn.14019d310
mov rbp, rax
mov qword [rsp + 0x58], rax
mov rbx, qword [rsi + 0x50]
mov rax, qword [rsi + 0x58]
mov qword [rsp + 0x50], rax
cmp rbx, rax
je 0x1401090fa
add r13, rbp
mov qword [rsp + 0x28], rsi
lea rax, [rsi + 0x18]
mov qword [rsp + 0x38], rax
lea r15, [rsp + 0xc0]
lea r12, [rsp + 0x70]
mov rdi, rbp
mov rsi, r12
lea r14, [rbx + 0x10]
mov rcx, r14
mov rdx, r15
call fcn.1400b0b20
mov rcx, r15
mov rdx, qword [rsp + 0x38]
call fcn.1400b0510
mov r12d, eax
mov rcx, r15
call fcn.1400b0280
test r12b, r12b
jne 0x140108f5d
movups xmm0, xmmword [rbx]
movaps xmmword [rsp + 0x210], xmm0
mov rcx, r14
mov r12, rsi
mov rdx, rsi
call fcn.1400b0e20
movzx eax, byte [rsp + 0x87]
test al, al
mov rcx, qword [rsp + 0x70]
cmovns rcx, rsi
mov qword [rsp + 0x200], rcx
cmovs rax, qword [rsp + 0x78]
mov qword [rsp + 0x208], rax
mov rcx, r15
lea rdx, [rsp + 0x200]
call fcn.14009e850
lea r14, [rsp + 0x90]
mov rcx, r14
mov rdx, r15
call fcn.14010aa1d
mov esi, eax
cmp byte [rsp + 0xd7], 0
jns 0x140108c27
mov rcx, qword [rsp + 0xc0]
call fcn.14019d34c
mov rcx, r12
call fcn.1400b0280
lea rdx, [rbx + 0x28]
mov rcx, r14
call fcn.14010aa1d
mov r10d, eax
mov r11, qword [rbx + 0x40]
mov r9, qword [rbx + 0x50]
mov r8d, dword [rbx + 0x58]
mov edx, dword [rbx + 0x68]
mov r14b, byte [rbx + 0x5c]
add r14b, r14b
or r14b, byte [rbx + 0x48]
cmp rdi, r13
jae 0x140108c98
test rdi, rdi
je 0x1401090bc
movaps xmm0, xmmword [rsp + 0x210]
movups xmmword [rdi], xmm0
mov dword [rdi + 0x10], esi
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], r14b
xor eax, eax
mov dword [rdi + 0x31], eax
mov dword [rdi + 0x34], eax
jmp 0x140108deb
mov r15, rdi
sub r15, rbp
sar r15, 3
movabs rax, 0x6db6db6db6db6db7
imul r15, rax
lea r12, [r15 + 1]
movabs rcx, 0x492492492492492
cmp r12, rcx
ja 0x1401090f0
sub r13, rbp
sar r13, 3
imul r13, rax
lea rax, [r13*2]
cmp rax, r12
cmova r12, rax
movabs rax, 0x249249249249249
cmp r13, rax
cmovae r12, rcx
test r12, r12
je 0x140108d44
mov qword [rsp + 0x40], r11
mov dword [rsp + 0x30], r10d
mov qword [rsp + 0x48], r9
mov dword [rsp + 0x34], r8d
cmp r12, rcx
ja 0x1401090f5
mov r13, rbp
mov ebp, esi
mov esi, edx
imul rcx, r12, 0x38
call fcn.14019d310
mov edx, esi
mov esi, ebp
mov rbp, r13
mov r13, rax
mov r8d, dword [rsp + 0x34]
mov r9, qword [rsp + 0x48]
mov r10d, dword [rsp + 0x30]
mov r11, qword [rsp + 0x40]
jmp 0x140108d47
xor r13d, r13d
imul r15, r15, 0x38
add r15, r13
je 0x1401090bc
movaps xmm0, xmmword [rsp + 0x210]
movups xmmword [r15], xmm0
mov dword [r15 + 0x10], esi
mov dword [r15 + 0x14], r10d
mov qword [r15 + 0x18], r11
mov qword [r15 + 0x20], r9
mov dword [r15 + 0x28], r8d
mov dword [r15 + 0x2c], edx
mov byte [r15 + 0x30], r14b
xor eax, eax
mov dword [r15 + 0x31], eax
mov dword [r15 + 0x34], eax
mov r14, r15
cmp rdi, rbp
je 0x140108dc4
mov rax, r15
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 r14, [rax - 0x38]
movups xmmword [rax - 0x18], xmm2
movups xmmword [rax - 0x28], xmm1
movups xmmword [rax - 0x38], xmm0
mov rax, r14
mov rdi, rcx
cmp rcx, rbp
jne 0x140108d91
test rbp, rbp
je 0x140108dd1
mov rcx, rbp
call fcn.14019d34c
imul rax, r12, 0x38
add r13, rax
mov rbp, r14
mov rdi, r15
lea r12, [rsp + 0x70]
lea r15, [rsp + 0xc0]
add rdi, 0x38
add rbx, 0x70
cmp rbx, qword [rsp + 0x50]
jne 0x140108b76
sub rdi, rbp
mov rsi, qword [rsp + 0x28]
je 0x1401090fa
mov rcx, qword [rsi + 8]
mov rdx, rbp
mov r8, rdi
call fcn.140135e9d
test al, al
lea rdx, [rsp + 0x90]
je 0x14010903c
movzx r8d, byte [rsp + 0xa7]
test r8b, r8b
cmovs r8, qword [rsp + 0x98]
cmovs rdx, qword [rsp + 0x90]
mov rcx, qword [rsi + 8]
call fcn.140135e9d
test al, al
jne 0x14010908f
mov ecx, 2
call fcn.1400ad460
test al, al
je 0x14010908f
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xc0]
mov rcx, rdi
mov r8d, 0x233
mov r9d, 2
call fcn.1400ad510
lea rcx, [rsp + 0xd0]
lea rdx, str.failed_to_write_string_table
mov r8d, 0x1c
jmp 0x140109082
mov ecx, 2
call fcn.1400ad460
test al, al
je 0x14010899c
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xc0]
mov rcx, rdi
mov r8d, 0x20a
mov r9d, 2
call fcn.1400ae3b0
lea rcx, [rsp + 0xd0]
lea rdx, str.failed_to_truncate
mov r8d, 0x12
call fcn.14002e9c2
mov rcx, rdi
call fcn.1400ae4a0
jmp 0x14010899c
mov ecx, 2
call fcn.1400ad460
test al, al
je 0x14010899c
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xc0]
mov rcx, rdi
mov r8d, 0x216
mov r9d, 2
call fcn.1400ad510
lea rcx, [rsp + 0xd0]
lea rdx, str.failed_to_write_header
mov r8d, 0x16
jmp 0x14010898f
mov ecx, 2
call fcn.1400ad460
test al, al
je 0x140109035
mov r15, rsi
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rcx, [rsp + 0xc0]
mov r8d, 0x224
mov r9d, 2
call fcn.1400ad510
lea rcx, [rsp + 0xd0]
cmp byte [rbx + 0x27], 0
mov rsi, qword [rsp + 0x28]
jns 0x140108fa8
mov r14, qword [r14]
mov rdx, r14
call fcn.1400ae560
lea rdx, str._expected_to_start_with
mov r8d, 0x18
mov rcx, rax
call fcn.14002e9c2
movzx ecx, byte [rsi + 0x2f]
test cl, cl
mov r8, qword [rsp + 0x38]
cmovs r8, qword [rsi + 0x18]
mov rdi, rax
lea rdx, [rsp + 0x200]
mov qword [rdx], r8
cmovs rcx, qword [rsi + 0x20]
mov qword [rdx + 8], rcx
mov rcx, r15
call fcn.14009e850
movzx r8d, byte [rsp + 0x87]
test r8b, r8b
jns 0x14010900c
mov r8, qword [rsp + 0x78]
mov r15, qword [rsp + 0x70]
mov rcx, rdi
mov rdx, r15
call fcn.14002e9c2
cmp byte [rsp + 0x87], 0
jns 0x14010902b
mov rcx, qword [rsp + 0x70]
call fcn.14019d34c
lea rcx, [rsp + 0xc0]
jmp 0x14010908a
mov rsi, qword [rsp + 0x28]
jmp 0x14010908f
mov ecx, 2
call fcn.1400ad460
test al, al
je 0x14010908f
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xc0]
mov rcx, rdi
mov r8d, 0x22e
mov r9d, 2
call fcn.1400ad510
lea rcx, [rsp + 0xd0]
lea rdx, str.failed_to_write_records
mov r8d, 0x17
call fcn.14002e9c2
mov rcx, rdi
call fcn.1400ad9f0
test rbp, rbp
je 0x14010909c
mov rcx, rbp
call fcn.14019d34c
cmp byte [rsp + 0xa7], 0
jns 0x14010899c
mov rcx, qword [rsp + 0x90]
call fcn.14019d34c
jmp 0x14010899c
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.14003a2a8
int3
call fcn.14002d380
call fcn.14002d1b5
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, 0x5b7
call fcn.14003a2a8
int3