Function at 0x14004e1f0
Capabilities:
Clear file content

Disassembly:
push rbp
push r12
lea rbp, [rsp - 0x108]
sub rsp, 0x208
mov rax, qword [0x140100258]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov r12, rcx
xor r8d, r8d
mov rcx, qword [rcx]
xor edx, edx
call fcn.14003b440
test rax, rax
je 0x14004e26d
mov r9d, 0x2b4
mov dword [rsp + 0x20], 2
lea r8, str..._.._.._client_crash_report_database_win.cc
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace::Metadata::Write_void_
lea rcx, [rsp + 0x60]
call fcn.140028380
mov rcx, rax
lea rdx, str.failed_to_rewind_to_write
call fcn.140007ed0
lea rcx, [rsp + 0x60]
call fcn.140028580
jmp 0x14004e75b
mov rcx, qword [r12]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14004e2c8
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
lea r8, str..._.._.._client_crash_report_database_win.cc
mov r9d, 0x2bb
mov dword [rsp + 0x20], 2
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace::Metadata::Write_void_
lea rcx, [rsp + 0x60]
call fcn.140028500
mov rcx, rax
lea rdx, str.failed_to_truncate
call fcn.140007ed0
lea rcx, [rsp + 0x60]
call fcn.140028830
jmp 0x14004e75b
mov rcx, qword [r12 + 0x38]
movabs rax, 0xa3d70a3d70a3d70b
sub rcx, qword [r12 + 0x30]
imul rcx
mov qword [rsp + 0x228], rbx
xor ebx, ebx
mov qword [rsp + 0x230], rsi
mov dword [rbp + 0x74], ebx
mov dword [rbp + 0x68], 0x43504144
lea rsi, [rcx + rdx]
mov dword [rbp + 0x6c], 1
sar rsi, 7
mov rax, rsi
shr rax, 0x3f
add rsi, rax
mov eax, 0xffffffff
cmp rsi, rax
ja 0x14004e323
mov dword [rbp + 0x70], esi
jmp 0x14004e327
int3
mov rcx, qword [r12]
lea rdx, [rbp + 0x68]
mov r8d, 0x10
call fcn.140039f20
test al, al
jne 0x14004e382
mov r9d, 0x2c7
mov dword [rsp + 0x20], 2
lea r8, str..._.._.._client_crash_report_database_win.cc
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace::Metadata::Write_void_
lea rcx, [rsp + 0x60]
call fcn.140028380
mov rcx, rax
lea rdx, str.failed_to_write_header
call fcn.140007ed0
lea rcx, [rsp + 0x60]
call fcn.140028580
jmp 0x14004e74b
test rsi, rsi
je 0x14004e74b
movabs rax, 0x3ffffffffffffff
mov qword [rbp + 0x78], rbx
mov qword [rbp + 0x88], rbx
xorps xmm0, xmm0
mov qword [rbp + 0x90], 0xf
mov qword [rsp + 0x40], rbx
movdqu xmmword [rsp + 0x30], xmm0
cmp rsi, rax
ja 0x14004e77b
mov qword [rsp + 0x238], rdi
mov qword [rsp + 0x200], r13
shl rsi, 6
mov qword [rsp + 0x1f8], r14
mov qword [rsp + 0x1f0], r15
cmp rsi, 0x1000
jb 0x14004e418
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x14004e781
call fcn.14008df44
test rax, rax
je 0x14004e775
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14004e428
test rsi, rsi
je 0x14004e428
mov rcx, rsi
call fcn.14008df44
mov rbx, rax
mov rax, qword [r12 + 0x38]
lea r14, [rsi + rbx]
mov rsi, qword [r12 + 0x30]
mov rdi, rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x50], rax
cmp rsi, rax
je 0x14004e50c
lea r15, [rsi + 0x18]
nop word [rax + rax]
lea rdx, [rbp + 0xa0]
mov rcx, r15
call fcn.140027270
mov rcx, rax
lea rdx, [r12 + 8]
call fcn.140026e20
lea rcx, [rbp + 0xa0]
movzx ebx, al
call fcn.140026dd0
test bl, bl
jne 0x14004e55c
lea r8, [rbp + 0x78]
mov rdx, rsi
lea rcx, [rbp + 0xa0]
call fcn.140047350
cmp rdi, r14
je 0x14004e4d4
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdi + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdi + 0x30], xmm1
add rdi, 0x40
mov qword [rsp + 0x38], rdi
jmp 0x14004e4ee
mov r8, rax
lea rcx, [rsp + 0x30]
mov rdx, rdi
call fcn.1400465d0
mov r14, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
add rsi, 0xc8
add r15, 0xc8
cmp rsi, qword [rsp + 0x50]
jne 0x14004e460
mov rbx, qword [rsp + 0x30]
mov rcx, qword [r12]
sub rdi, rbx
and rdi, 0xffffffffffffffc0
mov rdx, rbx
mov r8, rdi
call fcn.140039f20
test al, al
jne 0x14004e651
mov r9d, 0x2df
mov dword [rsp + 0x20], 2
lea r8, str..._.._.._client_crash_report_database_win.cc
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace::Metadata::Write_void_
lea rcx, [rsp + 0x60]
call fcn.140028380
lea rdx, str.failed_to_write_records
jmp 0x14004e6a3
cmp qword [r12 + 0x20], 8
lea rax, [r12 + 8]
jb 0x14004e56e
mov rax, qword [r12 + 8]
cmp qword [r15 + 0x18], 8
mov qword [rsp + 0x50], rax
mov rax, qword [r12 + 0x18]
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
jb 0x14004e592
mov r15, qword [r15]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0xa0]
call fcn.140026c00
mov r9d, 0x2d5
mov dword [rsp + 0x20], 2
lea r8, str..._.._.._client_crash_report_database_win.cc
mov rbx, rax
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace::Metadata::Write_void_
lea rcx, [rsp + 0x60]
call fcn.140028380
mov rcx, rax
mov rdx, r15
call fcn.14000a660
mov rcx, rax
lea rdx, str._expected_to_start_with
call fcn.140007ed0
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
jb 0x14004e5f3
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.1400089f0
lea rcx, [rsp + 0x60]
call fcn.140028580
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0x10
jb 0x14004e64a
mov rcx, qword [rbp + 0xa0]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e645
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e787
call fcn.14008df80
mov rbx, qword [rsp + 0x30]
jmp 0x14004e6b5
cmp qword [rbp + 0x90], 0x10
lea rdx, [rbp + 0x78]
mov r8, qword [rbp + 0x88]
cmovae rdx, qword [rbp + 0x78]
mov rcx, qword [r12]
call fcn.140039f20
test al, al
jne 0x14004e6b5
mov r9d, 0x2e4
mov dword [rsp + 0x20], 2
lea r8, str..._.._.._client_crash_report_database_win.cc
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace::Metadata::Write_void_
lea rcx, [rsp + 0x60]
call fcn.140028380
lea rdx, str.failed_to_write_string_table
mov rcx, rax
call fcn.140007ed0
lea rcx, [rsp + 0x60]
call fcn.140028580
test rbx, rbx
je 0x14004e6f1
sub r14, rbx
mov rax, rbx
and r14, 0xffffffffffffffc0
cmp r14, 0x1000
jb 0x14004e6e6
mov rbx, qword [rbx - 8]
add r14, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e775
mov rdx, r14
mov rcx, rbx
call fcn.14008df80
mov rdx, qword [rbp + 0x90]
cmp rdx, 0x10
jb 0x14004e72b
mov rcx, qword [rbp + 0x78]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e726
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e775
call fcn.14008df80
mov r14, qword [rsp + 0x1f8]
mov r13, qword [rsp + 0x200]
mov rdi, qword [rsp + 0x238]
mov r15, qword [rsp + 0x1f0]
mov rbx, qword [rsp + 0x228]
mov rsi, qword [rsp + 0x230]
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.14008e050
add rsp, 0x208
pop r12
pop rbp
ret
call fcn.14009464c
int3
call fcn.14004efa0
int3
call fcn.1400073c0
int3
call fcn.14009464c
int3