Function at 0x180253b7a
Capabilities:
Clear file content
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x258
movaps xmmword [rsp + 0x240], xmm6
mov rax, qword [0x1803b6038]
xor rax, rsp
mov qword [rsp + 0x238], rax
mov rsi, qword [rcx]
mov qword [rcx], 0
test rsi, rsi
jne 0x180253be2
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.1801e6610
movaps xmm6, xmmword [rsp + 0x240]
add rsp, 0x258
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp byte [rsi + 0x48], 0
je 0x180253cc6
mov rcx, qword [rsi + 8]
xor edx, edx
xor r8d, r8d
call fcn.18018bd64
test rax, rax
jne 0x180253c73
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x180253d9d
mov ecx, 2
call fcn.180109be0
test al, al
je 0x180253cc6
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xd0]
mov rcx, rdi
mov r8d, 0x21c
mov r9d, 2
call fcn.1801815d0
lea rcx, [rsp + 0xe0]
lea rdx, str.failed_to_truncate
mov r8d, 0x12
call fcn.1800d33a5
mov rcx, rdi
call fcn.180181650
jmp 0x180253cc6
mov ecx, 2
call fcn.180109be0
test al, al
je 0x180253cc6
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xd0]
mov rcx, rdi
mov r8d, 0x215
mov r9d, 2
call fcn.180180f60
lea rcx, [rsp + 0xe0]
lea rdx, str.failed_to_rewind_to_write
mov r8d, 0x19
call fcn.1800d33a5
mov rcx, rdi
call fcn.1801e3530
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
jne 0x180253d52
mov ecx, 2
call fcn.180109be0
test al, al
je 0x180253d52
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xd0]
mov rcx, rdi
mov r8d, 0x146
mov r9d, 2
call fcn.1801815d0
lea rcx, [rsp + 0xe0]
lea rdx, [0x18035e8c2]
mov r8d, 0xc
call fcn.1800d33a5
mov rcx, rdi
call fcn.180181650
lea rcx, [rsi + 0x50]
call fcn.1801a1da2
lea rcx, [rsi + 0x30]
call fcn.18010ad40
lea rcx, [rsi + 0x18]
call fcn.18010ad40
lea rax, [0x1803499f8]
mov qword [rsi], rax
cmp byte [rsi + 0x10], 0
jne 0x18025444f
mov rcx, qword [rsi + 8]
cmp rcx, 0xffffffffffffffff
je 0x180253d90
call fcn.18018b556
mov rcx, rsi
call fcn.1801e4f44
jmp 0x180253bb6
mov rdi, qword [rsi + 0x50]
mov r14, qword [rsi + 0x58]
mov rbx, r14
sub rbx, rdi
sar rbx, 4
movabs rax, 0x6db6db6db6db6db7
imul rbx, rax
mov dword [rsp + 0xcc], 0
movabs rax, 0x843504144
mov qword [rsp + 0xc0], rax
mov rax, rbx
shr rax, 0x20
jne 0x18025441b
mov eax, ebx
lea rdx, [rsp + 0xc0]
mov dword [rdx + 8], eax
mov rcx, qword [rsi + 8]
mov r8d, 0x10
call fcn.18018c2b2
test al, al
jne 0x180253e56
mov ecx, 2
call fcn.180109be0
test al, al
je 0x180253cc6
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xd0]
mov rcx, rdi
mov r8d, 0x228
mov r9d, 2
call fcn.180180f60
lea rcx, [rsp + 0xe0]
lea rdx, str.failed_to_write_header
mov r8d, 0x16
jmp 0x180253cb9
cmp r14, rdi
je 0x180253cc6
movabs rcx, 0x492492492492492
xorps xmm6, xmm6
movaps xmmword [rsp + 0xa0], xmm6
xor eax, eax
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x90], rax
movaps xmmword [rsp + 0x80], xmm6
cmp rbx, rcx
ja 0x180254411
lea r14, [rsp + 0x98]
lea rdi, [rsp + 0xd0]
mov qword [rdi + 0x20], r14
imul rbx, rbx, 0x38
mov rcx, rbx
call fcn.1801e4f08
add rbx, rax
mov qword [r14 - 0x18], rax
mov qword [r14 - 0x10], rax
movups xmmword [rdi + 0x10], xmm6
mov qword [r14 - 8], rbx
movups xmmword [rdi], xmm6
mov rcx, rdi
call fcn.1801a1dec
mov rdi, qword [rsi + 0x50]
mov rax, qword [rsi + 0x58]
mov qword [rsp + 0x58], rax
cmp rdi, rax
je 0x180253f09
lea rbx, [rsi + 0x18]
lea r14, [rsp + 0xd0]
lea r12, [rsp + 0x60]
movaps xmm6, xmmword [0x1803467d0]
mov qword [rsp + 0x50], rbx
jmp 0x18025410c
mov r13, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
sub r13, rdx
je 0x180254423
mov rcx, qword [rsi + 8]
mov r8, r13
call fcn.18018c2b2
test al, al
jne 0x180253fb6
mov ecx, 2
call fcn.180109be0
test al, al
je 0x180253f89
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xd0]
mov rcx, rdi
mov r8d, 0x23f
mov r9d, 2
call fcn.180180f60
lea rcx, [rsp + 0xe0]
lea rdx, str.failed_to_write_records
mov r8d, 0x17
call fcn.1800d33a5
mov rcx, rdi
call fcn.1801e3530
lea rcx, [rsp + 0x80]
call fcn.1801a1d42
cmp byte [rsp + 0xb7], 0
jns 0x180253cc6
mov rcx, qword [rsp + 0xa0]
call fcn.1801e4f44
jmp 0x180253cc6
lea rdx, [rsp + 0xa0]
movzx eax, byte [rdx + 0x17]
mov r8d, eax
and r8d, 0x7f
test al, al
cmovs r8, qword [rdx + 8]
cmovs rdx, qword [rdx]
mov rcx, qword [rsi + 8]
call fcn.18018c2b2
test al, al
jne 0x180253f89
mov ecx, 2
call fcn.180109be0
test al, al
je 0x180253f89
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xd0]
mov rcx, rdi
mov r8d, 0x244
mov r9d, 2
call fcn.180180f60
lea rcx, [rsp + 0xe0]
lea rdx, str.failed_to_write_string_table
mov r8d, 0x1c
jmp 0x180253f7c
mov ecx, 2
call fcn.180109be0
test al, al
je 0x180253f89
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
mov rdi, rbx
lea rbx, [rsp + 0xd0]
mov rcx, rbx
mov r8d, 0x236
mov r9d, 2
call fcn.180180f60
lea rcx, [rsp + 0xe0]
mov rdx, r15
call fcn.180182c20
lea rdx, str._expected_to_start_with
mov r8d, 0x18
mov rcx, rax
call fcn.1800d33a5
mov rcx, rax
mov rdx, rdi
call fcn.180182c20
mov rcx, rbx
jmp 0x180253f84
test r12, r12
je 0x1802543e5
movaps xmm0, xmmword [rsp + 0x220]
movups xmmword [r12], xmm0
mov dword [r12 + 0x10], ebp
mov dword [r12 + 0x14], r11d
mov qword [r12 + 0x18], r14
mov qword [r12 + 0x20], r9
mov dword [r12 + 0x28], r8d
mov dword [r12 + 0x2c], eax
mov byte [r12 + 0x30], r15b
xor eax, eax
mov dword [r12 + 0x31], eax
mov dword [r12 + 0x34], eax
add r12, 0x38
mov qword [rsp + 0x88], r12
mov r13, r12
lea r14, [rsp + 0xd0]
add rdi, 0x70
cmp rdi, qword [rsp + 0x58]
lea r12, [rsp + 0x60]
je 0x180253f11
lea r15, [rdi + 0x10]
mov rcx, r15
mov rdx, r14
call fcn.18010bb50
mov rcx, r14
mov rdx, rbx
call fcn.1801829d0
mov ebp, eax
mov rcx, r14
call fcn.18010ad40
test bpl, bpl
jne 0x18025402c
movups xmm0, xmmword [rdi]
movaps xmmword [rsp + 0x220], xmm0
mov rcx, r15
mov rdx, r12
call fcn.18010c180
movzx eax, byte [rsp + 0x77]
test al, al
js 0x180254160
and eax, 0x7f
mov rcx, r12
jmp 0x18025416a
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x210], rcx
mov qword [rsp + 0x218], rax
test rax, rax
js 0x180254452
test rcx, rcx
jne 0x180254191
test rax, rax
jne 0x18025447e
mov rcx, r14
lea rdx, [rsp + 0x210]
call fcn.180102640
lea rcx, [rsp + 0xa0]
mov rdx, r14
call fcn.1801a1e4a
mov ebp, eax
cmp byte [rsp + 0xe7], 0
jns 0x1802541ca
mov rcx, qword [rsp + 0xd0]
call fcn.1801e4f44
mov rcx, r12
call fcn.18010ad40
lea rdx, [rdi + 0x28]
lea rcx, [rsp + 0xa0]
call fcn.1801a1e4a
mov r11d, eax
mov r14, qword [rdi + 0x40]
mov r9, qword [rdi + 0x50]
mov r8d, dword [rdi + 0x58]
mov r15b, byte [rdi + 0x5c]
add r15b, r15b
or r15b, byte [rdi + 0x48]
mov eax, dword [rdi + 0x68]
mov r12, qword [rsp + 0x88]
mov r10, qword [rsp + 0x90]
cmp r12, r10
jb 0x18025409c
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x3c], ebp
lea rax, [rsp + 0xd8]
movabs rcx, 0xaaaaaaaaaaaaaaaa
mov qword [rax + 0x10], rcx
movups xmmword [rax], xmm6
mov rbx, qword [rsp + 0x80]
mov r13, r12
sub r13, rbx
sar r13, 3
movabs rcx, 0x6db6db6db6db6db7
imul r13, rcx
lea rbp, [r13 + 1]
movabs rdx, 0x492492492492492
cmp rbp, rdx
ja 0x180254411
mov rax, r10
sub rax, rbx
sar rax, 3
imul rax, rcx
lea rcx, [rax + rax]
cmp rcx, rbp
cmova rbp, rcx
movabs rcx, 0x249249249249249
cmp rax, rcx
cmovae rbp, rdx
lea rax, [rsp + 0x98]
mov qword [rsp + 0xf0], rax
test rbp, rbp
je 0x1802542f2
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x30], r11d
mov qword [rsp + 0x48], r9
mov dword [rsp + 0x34], r8d
cmp rbp, rdx
ja 0x180254416
mov r14, r10
imul rcx, rbp, 0x38
call fcn.1801e4f08
mov r10, r14
mov r8d, dword [rsp + 0x34]
mov r9, qword [rsp + 0x48]
mov r11d, dword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
jmp 0x1802542f4
xor eax, eax
imul r13, r13, 0x38
add r13, rax
je 0x1802543e5
movaps xmm0, xmmword [rsp + 0x220]
movups xmmword [r13], xmm0
mov ecx, dword [rsp + 0x3c]
mov dword [r13 + 0x10], ecx
mov dword [r13 + 0x14], r11d
mov qword [r13 + 0x18], r14
mov qword [r13 + 0x20], r9
mov dword [r13 + 0x28], r8d
mov ecx, dword [rsp + 0x38]
mov dword [r13 + 0x2c], ecx
mov byte [r13 + 0x30], r15b
xor ecx, ecx
mov dword [r13 + 0x31], ecx
mov dword [r13 + 0x34], ecx
mov rdx, r13
cmp r12, rbx
je 0x180254380
mov rcx, r13
mov r8, r12
mov rdx, qword [r8 - 8]
mov qword [rcx - 8], rdx
movups xmm0, xmmword [r8 - 0x38]
movups xmm1, xmmword [r8 - 0x28]
movups xmm2, xmmword [r8 - 0x18]
lea r9, [r8 - 0x38]
lea rdx, [rcx - 0x38]
movups xmmword [rcx - 0x18], xmm2
movups xmmword [rcx - 0x28], xmm1
movups xmmword [rcx - 0x38], xmm0
mov rcx, rdx
mov r8, r9
cmp r9, rbx
jne 0x18025434a
imul rcx, rbp, 0x38
add rax, rcx
add r13, 0x38
mov qword [rsp + 0x80], rdx
mov qword [rsp + 0xd8], rbx
mov qword [rsp + 0x88], r13
mov qword [rsp + 0xe0], r12
mov qword [rsp + 0x90], rax
mov qword [rsp + 0xe8], r10
mov qword [rsp + 0xd0], rbx
lea r14, [rsp + 0xd0]
mov rcx, r14
call fcn.1801a1dec
mov qword [rsp + 0x88], r13
mov rbx, qword [rsp + 0x50]
jmp 0x1802540f8
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x28
call fcn.18027be54
call fcn.180269b10
call fcn.180267d05
int3
lea rax, str.vector___index_out_of_bounds
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, [0x18034f130]
lea r9, str.__n___size__
mov r8d, 0x601
call fcn.18027be54
int3
lea rax, str.string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__len___static_cast_size_type__numeric_limits_difference_type_::max___
mov r8d, 0x13a
call fcn.18027be54
lea rax, str.string_view::string_view__CharT___size_t_:_received_nullptr
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__len__0____s___nullptr
mov r8d, 0x13c
call fcn.18027be54
int3