Function at 0x140013a88
Capabilities:
Clear file content

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x228
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x1a0], 0xfffffffffffffffe
mov rcx, qword [rcx]
test rcx, rcx
je 0x140013bd1
cmp byte [rcx + 0x48], 0
mov qword [rbp + 0x198], rcx
je 0x140013b22
mov rcx, qword [rcx]
xor edx, edx
xor r8d, r8d
call fcn.14002a98d
test rax, rax
je 0x140013be6
mov dword [rsp + 0x20], 2
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace_::Metadata::Write_void_
lea r8, str.xplat_third_partycrashpadclientcrash_report_database_win.cc
lea rcx, [rbp - 0x48]
mov r9d, 0x203
call fcn.1400067ee
lea rdx, str.failed_to_rewind_to_write
lea rcx, [rbp - 0x48]
call fcn.1400035ea
lea rcx, [rbp - 0x48]
call fcn.140006ed2
mov rcx, qword [rbp + 0x198]
xorps xmm0, xmm0
lea rax, [rbp + 0x140]
movaps xmmword [rax + 0x10], xmm0
movaps xmmword [rax], xmm0
mov rcx, qword [rcx]
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 0x140013b9a
call fcn.1400078ab
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
lea rdx, str.__cdecl_crashpad::_anonymous_namespace_::Metadata::Metadata_void_
lea r8, str.xplat_third_partycrashpadclientcrash_report_database_win.cc
lea rcx, [rbp - 0x48]
mov r9d, 0x13b
call fcn.1400078c2
lea rdx, [0x14012357d]
lea rcx, [rbp - 0x48]
call fcn.1400035ea
lea rcx, [rbp - 0x48]
call fcn.1400078f2
mov rsi, qword [rbp + 0x198]
lea rcx, [rsi + 0x50]
call fcn.140016dee
lea rcx, [rsi + 0x28]
call fcn.14000b584
lea rcx, [rsi + 8]
call fcn.14000b584
mov rcx, rsi
call fcn.1400107ba
mov edx, 0x68
mov rcx, rsi
call fcn.1400b72ac
nop
add rsp, 0x228
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rax, qword [rbp + 0x198]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x140013cd3
mov rax, qword [rbp + 0x198]
mov rdi, qword [rax + 0x58]
sub rdi, qword [rax + 0x50]
mov rsi, rdi
sar rsi, 7
mov qword [rbp + 0xc8], 0
movabs rax, 0x143504144
mov qword [rbp + 0xc0], rax
mov rax, rsi
shr rax, 0x20
jne 0x1400142df
mov eax, esi
lea rdx, [rbp + 0xc0]
mov dword [rdx + 8], eax
mov rax, qword [rbp + 0x198]
mov rcx, qword [rax]
mov r8d, send
call fcn.14002ae5b
test al, al
je 0x140013d1f
test rdi, rdi
je 0x140013b1b
movaps xmm0, xmmword [section..rdata]
movups xmmword [rbp + 0x128], xmm0
mov byte [rbp + 0x118], 0
xorps xmm0, xmm0
movaps xmmword [rbp + 0x170], xmm0
mov qword [rbp + 0x180], 0
test rdi, rdi
js 0x1400142e7
imul rcx, rsi, 0x38
cmp rcx, 0x1000
jb 0x140013d59
mov rdi, rcx
add rcx, 0x27
call fcn.1400b7270
mov rsi, rax
add rsi, 0x27
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140013d64
call fcn.1400078ab
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace_::Metadata::Write_void_
lea r8, str.xplat_third_partycrashpadclientcrash_report_database_win.cc
lea rcx, [rbp - 0x48]
mov r9d, 0x20a
call fcn.1400078c2
lea rdx, str.failed_to_truncate
lea rcx, [rbp - 0x48]
call fcn.1400035ea
lea rcx, [rbp - 0x48]
call fcn.1400078f2
jmp 0x140013b1b
mov dword [rsp + 0x20], 2
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace_::Metadata::Write_void_
lea r8, str.xplat_third_partycrashpadclientcrash_report_database_win.cc
lea rcx, [rbp - 0x48]
mov r9d, 0x216
call fcn.1400067ee
lea rdx, str.failed_to_write_header
lea rcx, [rbp - 0x48]
call fcn.1400035ea
jmp 0x140013b12
mov rdi, rcx
call fcn.1400b7270
mov rsi, rax
mov qword [rbp + 0x170], rsi
mov qword [rbp + 0x178], rsi
add rdi, rsi
mov r13, rdi
mov qword [rbp + 0x180], rdi
mov rax, qword [rbp + 0x198]
mov r15, qword [rax + 0x50]
mov rcx, qword [rax + 0x58]
mov qword [rbp + 0xf0], rcx
add rax, 8
mov qword [rbp + 0x168], rax
lea rdx, [rbp - 0x48]
lea rax, [rbp + 0x118]
mov qword [rbp + 0x138], rax
cmp r15, qword [rbp + 0xf0]
je 0x14001412a
lea r14, [r15 + 0x10]
mov rcx, r14
call fcn.14000b7b4
lea rdi, [rbp - 0x48]
mov rcx, rdi
mov rdx, qword [rbp + 0x168]
call fcn.14000b79c
mov ebx, eax
mov rcx, rdi
call fcn.14000b584
test bl, bl
jne 0x1400141c5
movups xmm0, xmmword [r15]
movaps xmmword [rbp + 0xd0], xmm0
mov rcx, r14
lea rdx, [rbp + 0x140]
call fcn.14000ba68
cmp qword [rbp + 0x158], 7
lea rax, [rbp + 0x140]
jbe 0x140013e22
mov rax, qword [rbp + 0x140]
mov rcx, qword [rbp + 0x150]
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rcx
lea rdi, [rbp - 0x48]
mov rcx, rdi
lea rdx, [rbp + 0xe0]
call fcn.14001d6fb
lea rcx, [rbp + 0x118]
mov rdx, rdi
call fcn.140016eaf
mov r14d, eax
mov rcx, rdi
call fcn.140005a44
lea rcx, [rbp + 0x140]
call fcn.14000b584
lea rdx, [r15 + 0x30]
lea rcx, [rbp + 0x118]
call fcn.140016eaf
mov r12d, eax
mov rdi, qword [r15 + 0x50]
mov rdx, qword [r15 + 0x60]
mov r8d, dword [r15 + 0x68]
mov bl, byte [r15 + 0x6c]
add bl, bl
or bl, byte [r15 + 0x58]
mov ecx, dword [r15 + 0x78]
xor eax, eax
mov dword [rbp + 0x193], eax
mov dword [rbp + 0x190], eax
cmp r13, rsi
je 0x140013ef6
movaps xmm0, xmmword [rbp + 0xd0]
movups xmmword [rsi], xmm0
mov dword [rsi + 0x10], r14d
mov dword [rsi + 0x14], r12d
mov qword [rsi + 0x18], rdi
mov qword [rsi + 0x20], rdx
mov dword [rsi + 0x28], r8d
mov dword [rsi + 0x2c], ecx
mov byte [rsi + 0x30], bl
mov eax, dword [rbp + 0x190]
mov ecx, dword [rbp + 0x193]
mov dword [rsi + 0x31], eax
mov dword [rsi + 0x34], ecx
add rsi, 0x38
mov qword [rbp + 0x178], rsi
jmp 0x14001411d
mov dword [rbp + 0x164], ecx
mov qword [rbp + 0x100], rdi
mov qword [rbp + 0xf8], rdx
mov dword [rbp + 0x160], r8d
mov rdi, rsi
sub rdi, qword [rbp + 0x170]
sar rdi, 3
movabs rax, 0x6db6db6db6db6db7
imul rdi, rax
lea rcx, [rdi + 1]
mov rax, rdi
shr rax, 1
movabs r8, 0x492492492492492
mov rdx, r8
sub rdx, rax
add rax, rdi
cmp rax, rcx
cmovb rax, rcx
cmp rdi, rdx
mov qword [rbp + 0x110], rcx
cmova rax, rcx
imul rcx, rax, 0x38
cmp rax, r8
mov qword [rbp + 0x108], rcx
mov rax, 0xffffffffffffffff
cmova rcx, rax
cmp rcx, 0x1000
jb 0x140013f9f
sub rcx, 0xffffffffffffffd9
cmovae rcx, rax
call fcn.1400b7270
mov r13, rax
add r13, 0x27
and r13, 0xffffffffffffffe0
mov qword [r13 - 8], rax
jmp 0x140013fb1
test rcx, rcx
je 0x140013fae
call fcn.1400b7270
mov r13, rax
jmp 0x140013fb1
xor r13d, r13d
imul rax, rdi, 0x38
movaps xmm0, xmmword [rbp + 0xd0]
movups xmmword [r13 + rax], xmm0
mov dword [r13 + rax + 0x10], r14d
mov dword [r13 + rax + 0x14], r12d
mov rcx, qword [rbp + 0x100]
mov qword [r13 + rax + 0x18], rcx
mov rcx, qword [rbp + 0xf8]
mov qword [r13 + rax + 0x20], rcx
mov ecx, dword [rbp + 0x160]
mov dword [r13 + rax + 0x28], ecx
mov ecx, dword [rbp + 0x164]
mov dword [r13 + rax + 0x2c], ecx
mov byte [r13 + rax + 0x30], bl
mov ecx, dword [rbp + 0x190]
mov edx, dword [rbp + 0x193]
mov dword [r13 + rax + 0x34], edx
mov dword [r13 + rax + 0x31], ecx
mov rcx, qword [rbp + 0x170]
mov r8, qword [rbp + 0x178]
cmp r8, rsi
je 0x14001408f
cmp rcx, rsi
je 0x14001405e
mov rbx, rcx
mov rdi, r13
mov rdx, qword [rbx + 0x30]
mov qword [rdi + 0x30], rdx
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movups xmm2, xmmword [rbx + 0x20]
movups xmmword [rdi + 0x20], xmm2
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
add rdi, 0x38
add rbx, 0x38
cmp rbx, rsi
jne 0x140014033
add rax, r13
mov rdx, qword [rsi + 0x30]
mov qword [rax + 0x68], rdx
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmm2, xmmword [rsi + 0x20]
movups xmmword [rax + 0x58], xmm2
movups xmmword [rax + 0x48], xmm1
movups xmmword [rax + 0x38], xmm0
add rax, 0x38
add rsi, 0x38
cmp rsi, r8
jne 0x140014061
jmp 0x1400140ca
cmp rcx, rsi
je 0x1400140c7
mov rax, rcx
mov rdx, r13
mov rbx, qword [rax + 0x30]
mov qword [rdx + 0x30], rbx
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmm2, xmmword [rax + 0x20]
movups xmmword [rdx + 0x20], xmm2
movups xmmword [rdx + 0x10], xmm1
movups xmmword [rdx], xmm0
add rdx, 0x38
add rax, 0x38
cmp rax, rsi
jne 0x14001409a
jmp 0x1400140ca
mov rcx, rsi
test rcx, rcx
je 0x1400140f0
mov rdx, qword [rbp + 0x180]
sub rdx, rcx
sar rdx, 3
movabs rax, 0x6db6db6db6db6db7
imul rdx, rax
call fcn.140016e6e
mov qword [rbp + 0x170], r13
imul rsi, qword [rbp + 0x110], 0x38
add rsi, r13
mov qword [rbp + 0x178], rsi
mov rax, qword [rbp + 0x108]
add rax, r13
mov r13, rax
mov qword [rbp + 0x180], rax
sub r15, 0xffffffffffffff80
lea rdx, [rbp - 0x48]
jmp 0x140013db2
mov rdx, qword [rbp + 0x170]
sub rsi, rdx
mov rax, qword [rbp + 0x198]
mov rcx, qword [rax]
mov r8, rsi
call fcn.14002ae5b
test al, al
je 0x140014284
mov r8, qword [rbp + 0x128]
cmp qword [rbp + 0x130], 0xf
jbe 0x14001416d
mov rax, qword [rbp + 0x118]
mov qword [rbp + 0x138], rax
mov rax, qword [rbp + 0x198]
mov rcx, qword [rax]
mov rdx, qword [rbp + 0x138]
call fcn.14002ae5b
test al, al
jne 0x1400142c2
mov dword [rsp + 0x20], 2
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace_::Metadata::Write_void_
lea r8, str.xplat_third_partycrashpadclientcrash_report_database_win.cc
lea rcx, [rbp - 0x48]
mov r9d, 0x233
call fcn.1400067ee
lea rdx, str.failed_to_write_string_table
lea rcx, [rbp - 0x48]
call fcn.1400035ea
jmp 0x1400142b9
mov dword [rsp + 0x20], 2
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace_::Metadata::Write_void_
lea r8, str.xplat_third_partycrashpadclientcrash_report_database_win.cc
lea rcx, [rbp - 0x48]
mov r9d, 0x224
call fcn.1400067ee
cmp qword [r15 + 0x28], 8
jb 0x1400141f4
mov r14, qword [r14]
lea rcx, [rbp - 0x48]
mov rdx, r14
call fcn.14000c17c
lea rdx, str._expected_to_start_with
mov rcx, rax
call fcn.1400035ea
mov rsi, rax
mov rax, qword [rbp + 0x198]
cmp qword [rax + 0x20], 7
jbe 0x14001422b
mov rcx, qword [rax + 8]
mov qword [rbp + 0x168], rcx
lea rdx, [rbp + 0xe0]
mov rcx, qword [rbp + 0x168]
mov qword [rdx], rcx
mov rax, qword [rax + 0x18]
mov qword [rdx + 8], rax
lea rdi, [rbp + 0x140]
mov rcx, rdi
call fcn.14001d6fb
mov r8, qword [rbp + 0x150]
cmp qword [rbp + 0x158], 0xf
jbe 0x14001426b
mov rdi, qword [rbp + 0x140]
mov rcx, rsi
mov rdx, rdi
call fcn.14000468b
lea rcx, [rbp + 0x140]
call fcn.140005a44
jmp 0x1400142b9
mov dword [rsp + 0x20], 2
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace_::Metadata::Write_void_
lea r8, str.xplat_third_partycrashpadclientcrash_report_database_win.cc
lea rcx, [rbp - 0x48]
mov r9d, 0x22e
call fcn.1400067ee
lea rdx, str.failed_to_write_records
lea rcx, [rbp - 0x48]
call fcn.1400035ea
lea rcx, [rbp - 0x48]
call fcn.140006ed2
lea rcx, [rbp + 0x170]
call fcn.140016d86
lea rcx, [rbp + 0x118]
call fcn.140005a44
jmp 0x140013b1b
int3
call fcn.140005826
int3