Function at 0x14000bbd0
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 r14, qword [rcx]
test r14, r14
je 0x14000bd6e
cmp byte [r14 + 0x38], 0
je 0x14000bc63
mov rcx, qword [r14]
xor edx, edx
xor r8d, r8d
call fcn.140044420
test rax, rax
je 0x14000bd83
mov dword [rsp + 0x20], 2
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace_::Metadata::Write_void_
lea r8, str.third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rbp - 0x48]
mov r9d, 0x204
call fcn.140005340
lea rdx, str.failed_to_rewind_to_write
lea rcx, [rbp - 0x48]
mov r8d, 0x19
call fcn.140003fb0
lea rcx, [rbp - 0x48]
call fcn.140005c30
xorps xmm0, xmm0
movaps xmmword [rbp + 0x140], xmm0
movaps xmmword [rbp + 0x130], xmm0
mov rcx, qword [r14]
lea rax, [rbp + 0x130]
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 0x14000bce8
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
lea rdx, str.__cdecl_crashpad::_anonymous_namespace_::Metadata::Metadata_void_
lea r8, str.third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rbp - 0x48]
mov r9d, 0x13c
call fcn.140005e40
lea rdx, [0x1400beff6]
lea rcx, [rbp - 0x48]
mov r8d, 0xc
call fcn.140003fb0
lea rcx, [rbp - 0x48]
call fcn.140005e70
mov rsi, qword [r14 + 0x40]
test rsi, rsi
je 0x14000bd46
mov rdi, qword [r14 + 0x48]
mov rcx, rsi
cmp rdi, rsi
je 0x14000bd3d
add rdi, 0xffffffffffffffa0
jmp 0x14000bd28
mov rcx, rdi
call fcn.140006830
lea rax, [rdi - 0x70]
add rdi, 0xfffffffffffffff0
cmp rdi, rsi
mov rdi, rax
je 0x14000bd39
cmp byte [rdi + 0x2f], 0
jns 0x14000bd10
mov rcx, qword [rdi + 0x18]
call fcn.14008de68
jmp 0x14000bd10
mov rcx, qword [r14 + 0x40]
mov qword [r14 + 0x48], rsi
call fcn.14008de68
lea rcx, [r14 + 0x20]
call fcn.140006830
lea rcx, [r14 + 8]
call fcn.140006830
mov rcx, qword [r14]
cmp rcx, 0xffffffffffffffff
je 0x14000bd66
call fcn.140045f90
mov rcx, r14
call fcn.14008de68
nop
add rsp, 0x228
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x14000c246
mov rdi, qword [r14 + 0x40]
mov rbx, qword [r14 + 0x48]
mov rsi, rbx
sub rsi, rdi
sar rsi, 4
movabs rax, 0x6db6db6db6db6db7
imul rsi, rax
mov dword [rbp + 0x114], 0
movabs rax, 0x143504144
mov qword [rbp + 0x108], rax
mov rax, rsi
shr rax, 0x20
jne 0x14000c488
mov eax, esi
mov dword [rbp + 0x110], eax
mov rcx, qword [r14]
lea rdx, [rbp + 0x108]
mov r8d, 0x10
call fcn.140044ad0
test al, al
je 0x14000c298
cmp rbx, rdi
je 0x14000bc63
mov qword [rbp + 0x188], r14
xorps xmm0, xmm0
movaps xmmword [rbp + 0x170], xmm0
mov qword [rbp + 0x180], 0
movabs rax, 0x492492492492493
cmp rsi, rax
jae 0x14000c4a8
imul r13, rsi, 0x38
mov qword [rbp + 0x198], 0
mov rcx, r13
call fcn.14008de70
mov rsi, rax
add r13, rax
mov rax, qword [rbp + 0x188]
mov r14, qword [rax + 0x40]
mov rcx, qword [rax + 0x48]
mov qword [rbp + 0x118], rcx
add rax, 8
mov qword [rbp + 0x160], rax
lea rdx, [rbp - 0x48]
mov r12, rsi
jmp 0x14000bee8
movaps xmm0, xmmword [rbp + 0xf0]
movups xmmword [r12], xmm0
mov rax, qword [rbp + 0x150]
mov dword [r12 + 0x10], eax
mov rax, qword [rbp + 0x158]
mov dword [r12 + 0x14], eax
mov qword [r12 + 0x18], r11
mov qword [r12 + 0x20], r10
mov dword [r12 + 0x28], r9d
mov dword [r12 + 0x2c], r15d
mov byte [r12 + 0x30], sil
mov dword [r12 + 0x31], 0
mov dword [r12 + 0x34], 0
mov rdi, r12
mov rsi, qword [rbp + 0x190]
add rdi, 0x38
add r14, 0x70
mov r12, rdi
lea rdx, [rbp - 0x48]
cmp r14, qword [rbp + 0x118]
mov qword [rbp + 0x190], rsi
je 0x14000c2d8
lea rdi, [r14 + 0x10]
mov qword [rbp + 0x198], rsi
mov rcx, rdi
call fcn.140006b40
lea rsi, [rbp - 0x48]
mov rcx, rsi
mov rdx, qword [rbp + 0x160]
call fcn.140006b30
mov r15d, eax
mov rcx, rsi
call fcn.140006830
test r15b, r15b
jne 0x14000c39b
movups xmm0, xmmword [r14]
movaps xmmword [rbp + 0xf0], xmm0
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x198], rax
mov rcx, rdi
lea rdx, [rbp + 0x130]
call fcn.140006dd0
movzx eax, byte [rbp + 0x147]
test al, al
cmovs rax, qword [rbp + 0x138]
mov rcx, qword [rbp + 0x130]
lea rdx, [rbp + 0x130]
cmovns rcx, rdx
mov qword [rbp + 0xe0], rcx
mov qword [rbp + 0xe8], rax
lea rdi, [rbp - 0x48]
mov rcx, rdi
lea rdx, [rbp + 0xe0]
call fcn.1400164b0
movzx ebx, byte [rbp + 0x187]
test bl, bl
jns 0x14000bfb4
mov rbx, qword [rbp + 0x178]
mov rax, rbx
shr rax, 0x20
lea rsi, [rbp + 0x170]
jne 0x14000c236
movzx r8d, byte [rbp - 0x31]
test r8b, r8b
cmovs r8, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x48]
cmovns rdx, rdi
mov rcx, rsi
call fcn.140008910
mov rcx, rsi
xor edx, edx
call fcn.140008d40
cmp byte [rbp - 0x31], 0
jns 0x14000bffe
mov rcx, qword [rbp - 0x48]
call fcn.14008de68
lea rcx, [rbp + 0x130]
call fcn.140006830
movzx ecx, byte [rbp + 0x187]
test cl, cl
jns 0x14000c01c
mov rcx, qword [rbp + 0x178]
mov rax, rcx
shr rax, 0x20
jne 0x14000c23e
mov qword [rbp + 0x150], rbx
movzx r8d, byte [r14 + 0x3f]
test r8b, r8b
mov qword [rbp + 0x158], rcx
jns 0x14000c050
mov r8, qword [r14 + 0x30]
mov rdx, qword [r14 + 0x28]
jmp 0x14000c054
lea rdx, [r14 + 0x28]
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x198], rax
mov rcx, rsi
call fcn.140008910
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x198], rax
lea rcx, [rbp + 0x170]
xor edx, edx
call fcn.140008d40
mov r11, qword [r14 + 0x40]
mov r10, qword [r14 + 0x50]
mov r9d, dword [r14 + 0x58]
mov r15d, dword [r14 + 0x68]
movzx esi, byte [r14 + 0x5c]
add sil, sil
or sil, byte [r14 + 0x48]
cmp r12, r13
jb 0x14000be80
mov rdi, r12
mov rdx, qword [rbp + 0x190]
sub rdi, rdx
sar rdi, 3
movabs rax, 0x6db6db6db6db6db7
imul rdi, rax
lea rbx, [rdi + 1]
movabs rcx, 0x492492492492493
cmp rbx, rcx
jae 0x14000c490
sub r13, rdx
sar r13, 3
imul r13, rax
lea rax, [r13*2]
cmp rax, rbx
cmova rbx, rax
movabs rax, 0x249249249249249
cmp r13, rax
movabs rax, 0x492492492492492
cmovae rbx, rax
test rbx, rbx
je 0x14000c174
mov qword [rbp + 0x128], r11
mov qword [rbp + 0x120], r10
mov dword [rbp + 0x16c], r9d
movabs rax, 0x492492492492493
cmp rbx, rax
jae 0x14000c49c
imul rcx, rbx, 0x38
mov qword [rbp + 0x198], rdx
call fcn.14008de70
mov r13, rax
mov rdx, qword [rbp + 0x190]
mov r9d, dword [rbp + 0x16c]
mov r10, qword [rbp + 0x120]
mov r11, qword [rbp + 0x128]
jmp 0x14000c177
xor r13d, r13d
imul rax, rdi, 0x38
lea rdi, [rax + r13]
movaps xmm0, xmmword [rbp + 0xf0]
movups xmmword [r13 + rax], xmm0
mov rcx, qword [rbp + 0x150]
mov dword [r13 + rax + 0x10], ecx
mov rcx, qword [rbp + 0x158]
mov dword [r13 + rax + 0x14], ecx
mov qword [r13 + rax + 0x18], r11
mov qword [r13 + rax + 0x20], r10
mov dword [r13 + rax + 0x28], r9d
mov dword [r13 + rax + 0x2c], r15d
mov byte [r13 + rax + 0x30], sil
mov dword [r13 + rax + 0x31], 0
mov dword [r13 + rax + 0x34], 0
mov rsi, rdi
cmp r12, rdx
je 0x14000c21f
nop word [rax + rax]
mov rax, qword [r12 - 8]
mov qword [rsi - 8], rax
movups xmm0, xmmword [r12 - 0x38]
movups xmm1, xmmword [r12 - 0x28]
movups xmm2, xmmword [r12 - 0x18]
lea rax, [r12 - 0x38]
movups xmmword [rsi - 0x18], xmm2
movups xmmword [rsi - 0x28], xmm1
movups xmmword [rsi - 0x38], xmm0
add rsi, 0xffffffffffffffc8
mov r12, rax
cmp rax, rdx
jne 0x14000c1e0
test rdx, rdx
jne 0x14000c222
jmp 0x14000c22a
mov rdx, r12
mov rcx, rdx
call fcn.14008de68
imul rax, rbx, 0x38
add r13, rax
jmp 0x14000bed9
int3
int3
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace_::Metadata::Write_void_
lea r8, str.third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rbp - 0x48]
mov r9d, 0x20b
call fcn.140005e40
lea rdx, str.failed_to_truncate
lea rcx, [rbp - 0x48]
mov r8d, 0x12
call fcn.140003fb0
lea rcx, [rbp - 0x48]
call fcn.140005e70
jmp 0x14000bc63
mov dword [rsp + 0x20], 2
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace_::Metadata::Write_void_
lea r8, str.third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rbp - 0x48]
mov r9d, 0x217
call fcn.140005340
lea rdx, str.failed_to_write_header
lea rcx, [rbp - 0x48]
mov r8d, 0x16
call fcn.140003fb0
jmp 0x14000bc5a
sub r12, rsi
mov rax, qword [rbp + 0x188]
mov rcx, qword [rax]
mov qword [rbp + 0x198], rsi
mov rdx, rsi
mov r8, r12
call fcn.140044ad0
test al, al
je 0x14000c400
movzx r8d, byte [rbp + 0x187]
test r8b, r8b
cmovs r8, qword [rbp + 0x178]
lea rdx, [rbp + 0x170]
cmovs rdx, qword [rbp + 0x170]
mov rax, qword [rbp + 0x188]
mov rcx, qword [rax]
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x198], rax
call fcn.140044ad0
test al, al
mov r14, qword [rbp + 0x188]
jne 0x14000c459
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x198], rax
mov dword [rsp + 0x20], 2
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace_::Metadata::Write_void_
lea r8, str.third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rbp - 0x48]
mov r9d, 0x233
call fcn.140005340
lea rdx, str.failed_to_write_string_table
lea rcx, [rbp - 0x48]
mov r8d, 0x1c
call fcn.140003fb0
jmp 0x14000c449
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x198], rax
mov dword [rsp + 0x20], 2
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace_::Metadata::Write_void_
lea r8, str.third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rbp - 0x48]
mov r9d, 0x225
call fcn.140005340
lea rcx, [rbp - 0x48]
mov rdx, rdi
call fcn.140007410
lea rdx, str._expected_to_start_with
mov r8d, 0x18
mov rcx, rax
call fcn.140003fb0
mov rcx, rax
mov rdx, qword [rbp + 0x160]
call fcn.140007410
jmp 0x14000c449
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x198], rax
mov dword [rsp + 0x20], 2
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace_::Metadata::Write_void_
lea r8, str.third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rbp - 0x48]
mov r9d, 0x22e
call fcn.140005340
lea rdx, str.failed_to_write_records
lea rcx, [rbp - 0x48]
mov r8d, 0x17
call fcn.140003fb0
lea rcx, [rbp - 0x48]
call fcn.140005c30
mov r14, qword [rbp + 0x188]
mov rcx, qword [rbp + 0x190]
test rcx, rcx
je 0x14000c46a
call fcn.14008de68
cmp byte [rbp + 0x187], 0
jns 0x14000bc63
mov rcx, qword [rbp + 0x170]
call fcn.14008de68
jmp 0x14000bc63
int3
mov qword [rbp + 0x198], rdx
call fcn.140004810
mov qword [rbp + 0x198], rdx
call fcn.140003da0
mov qword [rbp + 0x198], 0
call fcn.140004810
int3