Function at 0x14007001a
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 [0x14017b750]
xor rax, rsp
mov qword [rsp + 0x210], rax
mov r12, qword [rcx]
test r12, r12
je 0x14007016e
cmp byte [r12 + 0x28], 0
je 0x1400700b7
mov rcx, qword [r12]
xor edx, edx
xor r8d, r8d
call fcn.1400a3d63
test rax, rax
je 0x140070193
mov ecx, 2
call fcn.140037700
test al, al
je 0x1400700b7
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xe0]
mov r8d, 0x1d5
mov r9d, 2
mov rcx, rdi
call fcn.1400377b0
lea rcx, [rsp + 0xe8]
lea rdx, str.failed_to_rewind_to_write
call fcn.140002c8d
mov rcx, rdi
call fcn.140037c30
pxor xmm0, xmm0
lea rax, [rsp + 0x1f0]
movdqa xmmword [rax + 0x10], xmm0
movdqa xmmword [rax], xmm0
mov rcx, qword [r12]
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 0x140070143
mov ecx, 2
call fcn.140037700
test al, al
je 0x140070143
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xe0]
mov r8d, 0x129
mov r9d, 2
mov rcx, rdi
call fcn.140038c40
lea rcx, [rsp + 0xf0]
lea rdx, [0x140153cfa]
call fcn.140002c8d
mov rcx, rdi
call fcn.140038d80
lea rcx, [r12 + 0x30]
call fcn.1400718bc
lea rcx, [r12 + 8]
call fcn.14002ee30
mov rcx, qword [r12]
cmp rcx, 0xffffffffffffffff
je 0x140070166
call fcn.14009a5a0
mov rcx, r12
call fcn.14011a560
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.14011a890
nop
add rsp, 0x218
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [r12]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x140070280
mov rbx, qword [r12 + 0x38]
sub rbx, qword [r12 + 0x30]
mov rax, rbx
sar rax, 3
movabs rdi, 0xeeeeeeeeeeeeeeef
imul rdi, rax
mov qword [rsp + 0x78], 0
movabs rax, 0x143504144
mov qword [rsp + 0x70], rax
mov rax, rdi
shr rax, 0x20
jne 0x14007089b
mov eax, edi
lea rdx, [rsp + 0x70]
mov dword [rdx + 8], eax
mov rcx, qword [r12]
mov r8d, 0x10
call fcn.1400a40f3
test al, al
je 0x1400702df
test rbx, rbx
je 0x1400700b7
movabs rcx, 0x492492492492492
mov eax, 0xf
movq xmm0, rax
pslldq xmm0, 8
movdqu xmmword [rsp + 0xd0], xmm0
mov byte [rsp + 0xc0], 0
cmp rdi, rcx
ja 0x1400708a3
imul r13, rdi, 0x38
cmp r13, 0x1000
jb 0x140070328
lea rax, [r13 + 0x27]
cmp r13, 0xffffffffffffffd8
mov rcx, 0xffffffffffffffff
cmovbe rcx, rax
call fcn.14011a524
lea r15, [rax + 0x27]
and r15, 0xffffffffffffffe0
mov qword [r15 - 8], rax
jmp 0x140070333
mov ecx, 2
call fcn.140037700
test al, al
je 0x1400700b7
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xe0]
mov r8d, 0x1dc
mov r9d, 2
mov rcx, rdi
call fcn.140038c40
lea rcx, [rsp + 0xf0]
lea rdx, str.failed_to_truncate
call fcn.140002c8d
mov rcx, rdi
call fcn.140038d80
jmp 0x1400700b7
mov ecx, 2
call fcn.140037700
test al, al
je 0x1400700b7
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xe0]
mov r8d, 0x1e8
mov r9d, 2
mov rcx, rdi
call fcn.1400377b0
lea rcx, [rsp + 0xe8]
lea rdx, str.failed_to_write_header
jmp 0x1400700aa
mov rcx, r13
call fcn.14011a524
mov r15, rax
add r13, r15
mov rdi, qword [r12 + 0x30]
mov rax, qword [r12 + 0x38]
mov qword [rsp + 0x68], rax
cmp rdi, rax
je 0x1400706b1
lea rax, [r12 + 8]
mov qword [rsp + 0x38], rax
mov r14, r15
lea rbp, [rdi + 0x10]
mov rcx, rbp
lea rsi, [rsp + 0xa0]
mov rdx, rsi
call fcn.14002fcd0
mov rcx, rsi
mov rdx, qword [rsp + 0x38]
call fcn.14002f1f0
mov ebx, eax
mov rcx, rsi
call fcn.14002ee30
test bl, bl
jne 0x140070737
movups xmm0, xmmword [rdi]
movaps xmmword [rsp + 0x90], xmm0
mov rcx, rbp
lea rsi, [rsp + 0x1f0]
mov rdx, rsi
call fcn.140030190
mov rax, qword [rsp + 0x200]
cmp qword [rsp + 0x208], 7
jbe 0x1400703ca
mov rsi, qword [rsp + 0x1f0]
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], rax
lea rsi, [rsp + 0xe0]
mov rcx, rsi
lea rdx, [rsp + 0x80]
call fcn.140047a30
lea rbx, [rsp + 0xc0]
mov rcx, rbx
mov rdx, rsi
call fcn.140071965
mov ebp, eax
mov rcx, rsi
call fcn.1400068c6
lea rcx, [rsp + 0x1f0]
call fcn.14002ee30
lea rdx, [rdi + 0x30]
mov rcx, rbx
call fcn.140071965
mov r11d, eax
mov rax, qword [rdi + 0x50]
mov r10, qword [rdi + 0x60]
mov r9d, dword [rdi + 0x68]
mov esi, dword [rdi + 0x70]
mov bl, byte [rdi + 0x6c]
add bl, bl
or bl, byte [rdi + 0x58]
mov word [rsp + 0xe4], 0
mov dword [rsp + 0xe0], 0
mov byte [rsp + 0xe6], 0
cmp r13, r14
je 0x1400704ba
movdqa xmm0, xmmword [rsp + 0x90]
movdqu xmmword [r14], xmm0
mov dword [r14 + 0x10], ebp
mov dword [r14 + 0x14], r11d
mov qword [r14 + 0x18], rax
mov qword [r14 + 0x20], r10
mov dword [r14 + 0x28], r9d
mov dword [r14 + 0x2c], esi
mov byte [r14 + 0x30], bl
mov al, byte [rsp + 0xe6]
mov byte [r14 + 0x37], al
movzx eax, word [rsp + 0xe4]
mov word [r14 + 0x35], ax
mov eax, dword [rsp + 0xe0]
mov dword [r14 + 0x31], eax
add r14, 0x38
jmp 0x1400706a0
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x44], ebp
mov r14, r13
sub r14, r15
mov rbp, r14
sar rbp, 3
movabs rax, 0x6db6db6db6db6db7
imul rbp, rax
lea rcx, [rbp + 1]
mov rax, rbp
shr rax, 1
movabs r8, 0x492492492492492
mov rdx, r8
sub rdx, rax
mov qword [rsp + 0x48], rcx
cmp rbp, rdx
ja 0x140070514
add rax, rbp
mov rcx, qword [rsp + 0x48]
cmp rax, rcx
cmovb rax, rcx
mov rcx, rax
imul rax, rcx, 0x38
cmp rcx, r8
mov qword [rsp + 0x60], rax
mov rcx, rax
mov rax, 0xffffffffffffffff
cmova rcx, rax
cmp rcx, 0x1000
mov qword [rsp + 0x50], r13
jb 0x140070583
mov rdx, 0xffffffffffffffff
lea rax, [rcx + 0x27]
cmp rcx, 0xffffffffffffffd8
cmova rax, rdx
mov rcx, rax
mov dword [rsp + 0x2c], esi
mov r13d, r9d
mov qword [rsp + 0x30], r10
mov esi, r11d
call fcn.14011a524
mov r11d, esi
mov r10, qword [rsp + 0x30]
mov r9d, r13d
mov esi, dword [rsp + 0x2c]
lea r13, [rax + 0x27]
and r13, 0xffffffffffffffe0
mov qword [r13 - 8], rax
jmp 0x1400705b3
test rcx, rcx
je 0x1400705b0
mov dword [rsp + 0x2c], esi
mov r13d, r9d
mov qword [rsp + 0x30], r10
mov esi, r11d
call fcn.14011a524
mov r11d, esi
mov r10, qword [rsp + 0x30]
mov r9d, r13d
mov esi, dword [rsp + 0x2c]
mov r13, rax
jmp 0x1400705b3
xor r13d, r13d
imul rax, rbp, 0x38
movdqa xmm0, xmmword [rsp + 0x90]
movdqu xmmword [r13 + rax], xmm0
mov ecx, dword [rsp + 0x44]
mov dword [r13 + rax + 0x10], ecx
mov dword [r13 + rax + 0x14], r11d
mov rcx, qword [rsp + 0x58]
mov qword [r13 + rax + 0x18], rcx
mov qword [r13 + rax + 0x20], r10
mov dword [r13 + rax + 0x28], r9d
mov dword [r13 + rax + 0x2c], esi
mov byte [r13 + rax + 0x30], bl
mov cl, byte [rsp + 0xe6]
mov byte [r13 + rax + 0x37], cl
movzx ecx, word [rsp + 0xe4]
mov word [r13 + rax + 0x35], cx
mov ecx, dword [rsp + 0xe0]
mov dword [r13 + rax + 0x31], ecx
mov rax, qword [rsp + 0x50]
cmp r15, rax
je 0x14007065f
xor eax, eax
mov rcx, qword [r15 + rax + 0x30]
mov qword [r13 + rax + 0x30], rcx
movdqu xmm0, xmmword [r15 + rax]
movups xmm1, xmmword [r15 + rax + 0x10]
movups xmm2, xmmword [r15 + rax + 0x20]
movups xmmword [r13 + rax + 0x20], xmm2
movups xmmword [r13 + rax + 0x10], xmm1
movdqu xmmword [r13 + rax], xmm0
add rax, 0x38
cmp r14, rax
jne 0x140070625
jmp 0x140070662
mov r15, rax
test r15, r15
je 0x140070689
mov rdx, qword [rsp + 0x50]
sub rdx, r15
sar rdx, 3
movabs rax, 0x6db6db6db6db6db7
imul rdx, rax
mov rcx, r15
call fcn.14007192c
imul r14, qword [rsp + 0x48], 0x38
add r14, r13
mov rax, qword [rsp + 0x60]
add rax, r13
mov r15, r13
mov r13, rax
add rdi, 0x78
cmp rdi, qword [rsp + 0x68]
jne 0x14007035b
jmp 0x1400706b4
mov r14, r15
sub r14, r15
mov rcx, qword [r12]
mov rdx, r15
mov r8, r14
call fcn.1400a40f3
test al, al
je 0x1400706ee
mov r8, qword [rsp + 0xd0]
cmp qword [rsp + 0xd8], 0xf
jbe 0x140070805
mov rdx, qword [rsp + 0xc0]
jmp 0x14007080d
mov ecx, 2
call fcn.140037700
test al, al
je 0x140070867
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rbx, [rsp + 0xe0]
mov r8d, 0x200
mov r9d, 2
mov rcx, rbx
call fcn.1400377b0
lea rcx, [rsp + 0xe8]
lea rdx, str.failed_to_write_records
jmp 0x14007085a
mov ecx, 2
call fcn.140037700
test al, al
je 0x140070867
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rsp + 0xe0]
mov r8d, 0x1f6
mov r9d, 2
call fcn.1400377b0
lea rcx, [rsp + 0xe8]
mov eax, 8
cmp qword [rdi + 0x28], rax
jb 0x140070780
mov rbp, qword [rbp]
mov rdx, rbp
call fcn.140038e50
lea rdx, str._expected_to_start_with
mov rcx, rax
call fcn.140002c8d
mov r14, rax
cmp qword [r12 + 0x20], 7
jbe 0x1400707ac
mov rax, qword [r12 + 8]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x80]
mov rax, qword [rsp + 0x38]
mov qword [rdx], rax
mov rax, qword [r12 + 0x18]
mov qword [rdx + 8], rax
lea rbp, [rsp + 0x1f0]
mov rcx, rbp
call fcn.140047a30
mov r8, qword [rbp + 0x10]
cmp qword [rbp + 0x18], 0xf
mov rdx, rbp
jbe 0x1400707eb
mov rdx, qword [rsp + 0x1f0]
mov rcx, r14
call fcn.140009de2
mov rcx, rbp
call fcn.1400068c6
lea rcx, [rsp + 0xe0]
jmp 0x140070862
lea rdx, [rsp + 0xc0]
mov rcx, qword [r12]
call fcn.1400a40f3
test al, al
jne 0x140070867
mov ecx, 2
call fcn.140037700
test al, al
je 0x140070867
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rbx, [rsp + 0xe0]
mov r8d, 0x205
mov r9d, 2
mov rcx, rbx
call fcn.1400377b0
lea rcx, [rsp + 0xe8]
lea rdx, str.failed_to_write_string_table
call fcn.140002c8d
mov rcx, rbx
call fcn.140037c30
test r15, r15
je 0x140070889
sub r13, r15
sar r13, 3
movabs rdx, 0x6db6db6db6db6db7
imul rdx, r13
mov rcx, r15
call fcn.14007192c
lea rcx, [rsp + 0xc0]
call fcn.1400068c6
jmp 0x1400700b7
int3
call fcn.140006360
ud2