Function at 0x1400dc094
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 [0x1401e5d38]
xor rax, rsp
mov qword [rsp + 0x210], rax
mov r14, qword [rcx]
mov qword [rcx], 0
test r14, r14
je 0x1400dc1f4
cmp byte [r14 + 0x48], 0
je 0x1400dc13d
mov rcx, qword [r14 + 8]
xor edx, edx
xor r8d, r8d
call fcn.1400f6034
test rax, rax
je 0x1400dc219
mov ecx, 2
call fcn.14003bed0
test al, al
je 0x1400dc13d
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xb0]
mov rcx, rdi
mov r8d, 0x203
mov r9d, 2
call fcn.14003bf70
lea rcx, [rsp + 0xc0]
lea rdx, str.failed_to_rewind_to_write
mov r8d, 0x19
call fcn.140002063
mov rcx, rdi
call fcn.14003c490
xorps xmm0, xmm0
lea rax, [rsp + 0x60]
movaps xmmword [rax + 0x10], xmm0
movaps xmmword [rax], xmm0
mov rcx, qword [r14 + 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 0x1400dc1c9
mov ecx, 2
call fcn.14003bed0
test al, al
je 0x1400dc1c9
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.14003d4b0
lea rcx, [rsp + 0xc0]
lea rdx, [0x1401a4255]
mov r8d, 0xc
call fcn.140002063
mov rcx, rdi
call fcn.14003d5a0
lea rcx, [r14 + 0x50]
call fcn.1400de1fc
lea rcx, [r14 + 0x30]
call fcn.1400388c0
lea rcx, [r14 + 0x18]
call fcn.1400388c0
mov rcx, r14
call fcn.1400de176
mov rcx, r14
call fcn.140153cd8
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.140154030
nop
add rsp, 0x218
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [r14 + 8]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x1400dc5b7
mov rbx, qword [r14 + 0x50]
mov rsi, qword [r14 + 0x58]
mov rdi, rsi
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 0x1400dc839
mov eax, edi
lea rdx, [rsp + 0xa0]
mov dword [rdx + 8], eax
mov rcx, qword [r14 + 8]
mov r8d, 0x10
call fcn.1400f6405
test al, al
je 0x1400dc61c
cmp rsi, rbx
je 0x1400dc13d
movabs rax, 0x492492492492492
xorps xmm0, xmm0
movaps xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x90], 0
cmp rdi, rax
ja 0x1400dc86d
imul r13, rdi, 0x38
mov rcx, r13
call fcn.140153c88
mov rbx, rax
mov rax, r14
mov r14, qword [r14 + 0x50]
mov rcx, qword [rax + 0x58]
mov qword [rsp + 0x58], rcx
cmp r14, rcx
je 0x1400dc841
add r13, rbx
mov qword [rsp + 0x38], rax
lea rsi, [rax + 0x18]
lea r15, [rsp + 0xb0]
lea r12, [rsp + 0x60]
mov rdi, rbx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x30], rbx
lea rbx, [r14 + 0x10]
mov rcx, rbx
mov rdx, r15
call fcn.140039130
mov rcx, r15
mov rdx, rsi
call fcn.140038b90
mov ebp, eax
mov rcx, r15
call fcn.1400388c0
test bpl, bpl
jne 0x1400dc66b
movups xmm0, xmmword [r14]
movaps xmmword [rsp + 0x200], xmm0
mov rcx, rbx
mov rdx, r12
call fcn.140039310
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, r15
lea rdx, [rsp + 0x1f0]
call fcn.140050760
lea rcx, [rsp + 0x80]
mov rdx, r15
call fcn.1400de247
mov ebx, eax
test byte [rsp + 0xb0], 1
je 0x1400dc3c8
mov rcx, qword [rsp + 0xc0]
call fcn.140153cd8
mov rcx, r12
call fcn.1400388c0
lea rdx, [r14 + 0x28]
lea rcx, [rsp + 0x80]
call fcn.1400de247
mov r11d, eax
mov r12, qword [r14 + 0x40]
mov r10, qword [r14 + 0x50]
mov ebp, dword [r14 + 0x58]
mov r8d, dword [r14 + 0x68]
mov r15b, byte [r14 + 0x5c]
add r15b, r15b
or r15b, byte [r14 + 0x48]
cmp rdi, r13
jae 0x1400dc43f
movaps xmm0, xmmword [rsp + 0x200]
movups xmmword [rdi], xmm0
mov dword [rdi + 0x10], ebx
mov dword [rdi + 0x14], r11d
mov qword [rdi + 0x18], r12
mov qword [rdi + 0x20], r10
mov dword [rdi + 0x28], ebp
mov dword [rdi + 0x2c], r8d
mov byte [rdi + 0x30], r15b
xor eax, eax
mov dword [rdi + 0x31], eax
mov dword [rdi + 0x34], eax
add rdi, 0x38
mov rbx, qword [rsp + 0x30]
jmp 0x1400dc54f
mov dword [rsp + 0x44], ebx
mov rax, qword [rsp + 0x30]
sub rdi, rax
mov rbx, rdi
sar rbx, 3
movabs rcx, 0x6db6db6db6db6db7
imul rbx, rcx
lea rsi, [rbx + 1]
movabs rdx, 0x492492492492492
cmp rsi, rdx
ja 0x1400dc86d
sub r13, rax
sar r13, 3
imul r13, rcx
mov rax, r13
add rax, r13
cmp rax, rsi
cmova rsi, rax
movabs rax, 0x249249249249249
cmp r13, rax
cmovae rsi, rdx
test rsi, rsi
je 0x1400dc4d9
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x40], r11d
cmp rsi, rdx
ja 0x1400dc872
mov r12, r10
mov r13d, r8d
imul rcx, rsi, 0x38
call fcn.140153c88
mov r8d, r13d
mov r10, r12
mov r11d, dword [rsp + 0x40]
mov r12, qword [rsp + 0x50]
jmp 0x1400dc4db
xor eax, eax
imul rcx, rbx, 0x38
lea rbx, [rax + rcx]
imul r13, rsi, 0x38
add r13, rax
movaps xmm0, xmmword [rsp + 0x200]
lea rsi, [rax + rcx]
add rsi, 0x38
movups xmmword [rsi - 0x38], xmm0
mov eax, dword [rsp + 0x44]
mov dword [rsi - 0x28], eax
mov dword [rsi - 0x24], r11d
mov qword [rsi - 0x20], r12
mov qword [rsi - 0x18], r10
mov dword [rsi - 0x10], ebp
mov dword [rsi - 0xc], r8d
mov byte [rsi - 8], r15b
xor eax, eax
mov dword [rsi - 7], eax
mov dword [rsi - 4], eax
sub rbx, rdi
mov rcx, rbx
mov r15, qword [rsp + 0x30]
mov rdx, r15
mov r8, rdi
call fcn.140156ae0
test r15, r15
je 0x1400dc547
mov rcx, r15
call fcn.140153cd8
mov rdi, rsi
mov rsi, qword [rsp + 0x48]
lea r15, [rsp + 0xb0]
lea r12, [rsp + 0x60]
add r14, 0x70
cmp r14, qword [rsp + 0x58]
jne 0x1400dc315
sub rdi, rbx
mov r14, qword [rsp + 0x38]
je 0x1400dc841
mov rcx, qword [r14 + 8]
mov rsi, rbx
mov rdx, rbx
mov r8, rdi
call fcn.1400f6405
test al, al
je 0x1400dc6b8
mov al, byte [rsp + 0x80]
test al, 1
je 0x1400dc79e
mov r8, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x90]
jmp 0x1400dc7ac
mov ecx, 2
call fcn.14003bed0
test al, al
je 0x1400dc13d
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.14003d4b0
lea rcx, [rsp + 0xc0]
lea rdx, str.failed_to_truncate
mov r8d, 0x12
call fcn.140002063
mov rcx, rdi
call fcn.14003d5a0
jmp 0x1400dc13d
mov ecx, 2
call fcn.14003bed0
test al, al
je 0x1400dc13d
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xb0]
mov rcx, rdi
mov r8d, 0x216
mov r9d, 2
call fcn.14003bf70
lea rcx, [rsp + 0xc0]
lea rdx, str.failed_to_write_header
mov r8d, 0x16
jmp 0x1400dc130
mov ecx, 2
call fcn.14003bed0
test al, al
je 0x1400dc6ae
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rcx, [rsp + 0xb0]
mov r8d, 0x224
mov r9d, 2
call fcn.14003bf70
lea rcx, [rsp + 0xc0]
test byte [r14 + 0x10], 1
jne 0x1400dc707
add r14, 0x12
jmp 0x1400dc70b
mov r14, qword [rsp + 0x38]
jmp 0x1400dc797
mov ecx, 2
call fcn.14003bed0
test al, al
je 0x1400dc80c
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xb0]
mov rcx, rdi
mov r8d, 0x22e
mov r9d, 2
call fcn.14003bf70
lea rcx, [rsp + 0xc0]
lea rdx, str.failed_to_write_records
mov r8d, 0x17
jmp 0x1400dc7ff
mov r14, qword [r14 + 0x20]
mov rdx, r14
call fcn.14003d660
lea rdx, str._expected_to_start_with
mov r8d, 0x18
mov rcx, rax
call fcn.140002063
mov rdi, rax
mov r14, qword [rsp + 0x38]
lea rax, [r14 + 0x1a]
test byte [r14 + 0x18], 1
je 0x1400dc73f
mov rax, qword [r14 + 0x28]
mov qword [rsp + 0x1f0], rax
jne 0x1400dc753
mov rcx, rsi
call fcn.140001bec
jmp 0x1400dc757
mov rax, qword [r14 + 0x20]
lea rdx, [rsp + 0x1f0]
mov qword [rdx + 8], rax
lea rbx, [rsp + 0x60]
mov rcx, rbx
call fcn.140050760
mov rcx, rdi
mov rdx, rbx
call fcn.14000372b
test byte [rbx], 1
je 0x1400dc78a
mov rcx, qword [rsp + 0x70]
call fcn.140153cd8
lea rcx, [rsp + 0xb0]
call fcn.14003c490
mov rcx, qword [rsp + 0x30]
jmp 0x1400dc80f
shr al, 1
movzx r8d, al
lea rdx, [rsp + 0x81]
mov rcx, qword [r14 + 8]
call fcn.1400f6405
test al, al
jne 0x1400dc80c
mov ecx, 2
call fcn.14003bed0
test al, al
je 0x1400dc80c
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xb0]
mov rcx, rdi
mov r8d, 0x233
mov r9d, 2
call fcn.14003bf70
lea rcx, [rsp + 0xc0]
lea rdx, str.failed_to_write_string_table
mov r8d, 0x1c
call fcn.140002063
mov rcx, rdi
call fcn.14003c490
mov rcx, rsi
test rcx, rcx
je 0x1400dc819
call fcn.140153cd8
test byte [rsp + 0x80], 1
je 0x1400dc13d
mov rcx, qword [rsp + 0x90]
call fcn.140153cd8
jmp 0x1400dc13d
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, 0x587
call fcn.140006d88
call fcn.14016c718
call fcn.140001be1
int3