Function at 0x140062ed0
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 [0x14029b028]
xor rax, rsp
mov qword [rsp + 0x210], rax
mov rsi, qword [rcx]
mov qword [rcx], 0
test rsi, rsi
je 0x140062fa4
cmp byte [rsi + 0x48], 0
jne 0x140062fc9
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
je 0x140063037
mov rbx, qword [rsi + 0x50]
test rbx, rbx
jne 0x140063098
cmp byte [rsi + 0x47], 0
jns 0x140062f62
mov rcx, qword [rsi + 0x30]
call fcn.14018482c
cmp byte [rsi + 0x2f], 0
jns 0x140062f71
mov rcx, qword [rsi + 0x18]
call fcn.14018482c
lea rax, [0x14026e4d0]
mov qword [rsi], rax
cmp byte [rsi + 0x10], 0
jne 0x1400630c7
mov rcx, qword [rsi + 8]
cmp rcx, 0xffffffffffffffff
je 0x140062f9c
call fcn.140063750
test al, al
je 0x1400630ca
mov rcx, rsi
call fcn.14018482c
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.1401874c0
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]
xor edx, edx
xor r8d, r8d
call fcn.14004fc00
test rax, rax
je 0x1400630cd
cmp dword [0x1402b0c58], 2
jg 0x140062f12
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xb0]
mov rcx, rdi
mov r8d, 0x203
mov r9d, 2
call fcn.1400049c0
lea rcx, [rsp + 0xc0]
lea rdx, str.failed_to_rewind_to_write
mov r8d, 0x19
call fcn.1401c17b0
mov rcx, rdi
call fcn.140004ab0
jmp 0x140062f12
cmp dword [0x1402b0c58], 2
jg 0x140062f46
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, 0x13b
mov r9d, 2
call fcn.1401f17c0
lea rcx, [rsp + 0xc0]
lea rdx, [0x1402854ac]
mov r8d, 0xc
call fcn.1401c17b0
mov rcx, rdi
call fcn.1401f1840
jmp 0x140062f46
mov rdi, qword [rsi + 0x58]
mov rcx, rbx
cmp rdi, rbx
je 0x1400630b9
add rdi, 0xffffffffffffff90
mov rcx, rdi
call fcn.14020cce0
cmp rdi, rbx
jne 0x1400630a4
mov rcx, qword [rsi + 0x50]
mov qword [rsi + 0x58], rbx
call fcn.14018482c
jmp 0x140062f53
int3
int3
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x1400634a4
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 0x140063735
mov eax, edi
lea rdx, [rsp + 0xa0]
mov dword [rdx + 8], eax
mov rcx, qword [rsi + 8]
mov r8d, 0x10
call fcn.14005e4a0
test al, al
je 0x140063505
cmp r14, rbx
je 0x140062f12
movabs rax, 0x492492492492492
xorps xmm0, xmm0
movaps xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x90], 0
cmp rdi, rax
ja 0x140063740
imul rbp, rdi, 0x38
mov rcx, rbp
call fcn.140184834
mov r13, rax
mov rbx, qword [rsi + 0x50]
mov rax, qword [rsi + 0x58]
mov qword [rsp + 0x58], rax
cmp rbx, rax
je 0x14006373d
add rbp, r13
lea rax, [rsi + 0x18]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov rdi, r13
lea r15, [rbx + 0x10]
mov rcx, r15
lea r14, [rsp + 0xb0]
mov rdx, r14
call fcn.1401487c0
mov rcx, r14
mov rdx, qword [rsp + 0x50]
call fcn.1400b6380
mov r12d, eax
cmp byte [rsp + 0xc7], 0
jns 0x1400631fc
mov rcx, qword [rsp + 0xb0]
call fcn.14018482c
test r12b, r12b
jne 0x14006354f
movups xmm0, xmmword [rbx]
movaps xmmword [rsp + 0x200], xmm0
mov rcx, r15
lea r14, [rsp + 0x60]
mov rdx, r14
call fcn.1401483b0
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
lea r14, [rsp + 0xb0]
mov rcx, r14
lea rdx, [rsp + 0x1f0]
call fcn.140149600
lea rcx, [rsp + 0x80]
mov rdx, r14
call fcn.14020cdd0
mov dword [rsp + 0x34], eax
cmp byte [rsp + 0xc7], 0
jns 0x140063289
mov rcx, qword [rsp + 0xb0]
call fcn.14018482c
cmp byte [rsp + 0x77], 0
jns 0x14006329a
mov rcx, qword [rsp + 0x60]
call fcn.14018482c
lea rdx, [rbx + 0x28]
lea rcx, [rsp + 0x80]
call fcn.14020cdd0
mov dword [rsp + 0x28], eax
mov rax, qword [rbx + 0x40]
mov qword [rsp + 0x40], rax
mov rax, qword [rbx + 0x50]
mov qword [rsp + 0x48], rax
mov eax, dword [rbx + 0x58]
mov dword [rsp + 0x2c], eax
mov eax, dword [rbx + 0x68]
mov dword [rsp + 0x30], eax
mov r15b, byte [rbx + 0x5c]
add r15b, r15b
or r15b, byte [rbx + 0x48]
cmp r13, rbp
jae 0x14006333a
test r13, r13
je 0x140063743
movaps xmm0, xmmword [rsp + 0x200]
movups xmmword [r13], xmm0
mov eax, dword [rsp + 0x34]
mov dword [r13 + 0x10], eax
mov eax, dword [rsp + 0x28]
mov dword [r13 + 0x14], eax
mov rax, qword [rsp + 0x40]
mov qword [r13 + 0x18], rax
mov rax, qword [rsp + 0x48]
mov qword [r13 + 0x20], rax
mov eax, dword [rsp + 0x2c]
mov dword [r13 + 0x28], eax
mov eax, dword [rsp + 0x30]
mov dword [r13 + 0x2c], eax
mov byte [r13 + 0x30], r15b
xor eax, eax
mov dword [r13 + 0x31], eax
mov dword [r13 + 0x34], eax
jmp 0x140063485
mov r12, r13
sub r12, rdi
sar r12, 3
movabs rax, 0x6db6db6db6db6db7
imul r12, rax
lea r14, [r12 + 1]
movabs rax, 0x492492492492492
cmp r14, rax
ja 0x140063746
sub rbp, rdi
sar rbp, 3
movabs rax, 0x6db6db6db6db6db7
imul rbp, rax
lea rax, [rbp*2]
cmp rax, r14
cmova r14, rax
movabs rax, 0x249249249249249
cmp rbp, rax
movabs rax, 0x492492492492492
cmovae r14, rax
test r14, r14
je 0x14006349d
cmp r14, rax
ja 0x140063749
imul rcx, r14, 0x38
call fcn.140184834
mov rbp, rax
imul r12, r12, 0x38
add r12, rbp
je 0x14006374c
movaps xmm0, xmmword [rsp + 0x200]
movups xmmword [r12], xmm0
mov eax, dword [rsp + 0x34]
mov dword [r12 + 0x10], eax
mov eax, dword [rsp + 0x28]
mov dword [r12 + 0x14], eax
mov rax, qword [rsp + 0x40]
mov qword [r12 + 0x18], rax
mov rax, qword [rsp + 0x48]
mov qword [r12 + 0x20], rax
mov eax, dword [rsp + 0x2c]
mov dword [r12 + 0x28], eax
mov eax, dword [rsp + 0x30]
mov dword [r12 + 0x2c], eax
mov byte [r12 + 0x30], r15b
xor eax, eax
mov dword [r12 + 0x31], eax
mov dword [r12 + 0x34], eax
mov r15, r12
cmp r13, rdi
je 0x14006346b
mov rax, r12
mov rcx, qword [r13 - 8]
mov qword [rax - 8], rcx
movups xmm0, xmmword [r13 - 0x38]
movups xmm1, xmmword [r13 - 0x28]
movups xmm2, xmmword [r13 - 0x18]
lea rcx, [r13 - 0x38]
lea r15, [rax - 0x38]
movups xmmword [rax - 0x18], xmm2
movups xmmword [rax - 0x28], xmm1
movups xmmword [rax - 0x38], xmm0
mov rax, r15
mov r13, rcx
cmp rcx, rdi
jne 0x140063435
imul r14, r14, 0x38
test rdi, rdi
je 0x14006347c
mov rcx, rdi
call fcn.14018482c
add rbp, r14
mov rdi, r15
mov r13, r12
add r13, 0x38
add rbx, 0x70
cmp rbx, qword [rsp + 0x58]
jne 0x1400631be
jmp 0x14006364d
xor ebp, ebp
jmp 0x1400633c7
cmp dword [0x1402b0c58], 2
jg 0x140062f12
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, 0x20a
mov r9d, 2
call fcn.1401f17c0
lea rcx, [rsp + 0xc0]
lea rdx, str.failed_to_truncate
mov r8d, 0x12
call fcn.1401c17b0
mov rcx, rdi
call fcn.1401f1840
jmp 0x140062f12
cmp dword [0x1402b0c58], 2
jg 0x140062f12
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xb0]
mov rcx, rdi
mov r8d, 0x216
mov r9d, 2
call fcn.1400049c0
lea rcx, [rsp + 0xc0]
lea rdx, str.failed_to_write_header
mov r8d, 0x16
jmp 0x140063025
cmp dword [0x1402b0c58], 2
jg 0x140063620
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rcx, [rsp + 0xb0]
mov r8d, 0x224
mov r9d, 2
call fcn.1400049c0
lea rcx, [rsp + 0xc0]
cmp byte [rbx + 0x27], 0
jns 0x14006358d
mov r15, qword [r15]
mov rdx, r15
call fcn.1401f18f0
lea rdx, str._expected_to_start_with
mov r8d, 0x18
mov rcx, rax
call fcn.1401c17b0
movzx ecx, byte [rsi + 0x2f]
test cl, cl
mov r8, qword [rsp + 0x50]
cmovs r8, qword [rsi + 0x18]
mov r15, rax
lea rdx, [rsp + 0x1f0]
mov qword [rdx], r8
cmovs rcx, qword [rsi + 0x20]
mov qword [rdx + 8], rcx
lea rcx, [rsp + 0x60]
call fcn.140149600
movzx r8d, byte [rsp + 0x77]
test r8b, r8b
jns 0x1400635f5
mov r8, qword [rsp + 0x68]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov rcx, r15
mov rdx, qword [rsp + 0x38]
call fcn.1401c17b0
cmp byte [rsp + 0x77], 0
jns 0x140063613
mov rcx, qword [rsp + 0x60]
call fcn.14018482c
lea rcx, [rsp + 0xb0]
call fcn.140004ab0
test rdi, rdi
je 0x14006362d
mov rcx, rdi
call fcn.14018482c
cmp byte [rsp + 0x97], 0
jns 0x140062f12
mov rcx, qword [rsp + 0x80]
call fcn.14018482c
jmp 0x140062f12
sub r13, rdi
je 0x14006373d
mov rcx, qword [rsi + 8]
mov rdx, rdi
mov r8, r13
call fcn.14005e4a0
test al, al
je 0x1400636e3
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 [rsi + 8]
call fcn.14005e4a0
test al, al
jne 0x140063620
cmp dword [0x1402b0c58], 2
jg 0x140063620
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rbx, [rsp + 0xb0]
mov rcx, rbx
mov r8d, 0x233
mov r9d, 2
call fcn.1400049c0
lea rcx, [rsp + 0xc0]
lea rdx, str.failed_to_write_string_table
mov r8d, 0x1c
jmp 0x140063728
cmp dword [0x1402b0c58], 2
jg 0x140063620
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rbx, [rsp + 0xb0]
mov rcx, rbx
mov r8d, 0x22e
mov r9d, 2
call fcn.1400049c0
lea rcx, [rsp + 0xc0]
lea rdx, str.failed_to_write_records
mov r8d, 0x17
call fcn.1401c17b0
mov rcx, rbx
jmp 0x14006361b
int3
int3
int3
int3
int3
int3
int3