Function at 0x1400bb07a
Capabilities:
Clear file content

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x248
mov rax, qword [0x1401ac698]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov r13, qword [rcx]
mov qword [rcx], 0
test r13, r13
je 0x1400bb1d1
cmp byte [r13 + 0x30], 0
je 0x1400bb123
mov rcx, qword [r13 + 8]
xor edx, edx
xor r8d, r8d
call fcn.1400df090
test rax, rax
je 0x1400bb1f6
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1400bb123
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xf8]
mov rcx, rdi
mov r8d, 0x1e0
mov r9d, 2
call fcn.14002c620
lea rcx, [rsp + 0x108]
lea rdx, str.failed_to_rewind_to_write
mov r8d, 0x19
call fcn.140001e21
mov rcx, rdi
call fcn.14002cae0
xorps xmm0, xmm0
lea rax, [rsp + 0x60]
movaps xmmword [rax + 0x10], xmm0
movaps xmmword [rax], xmm0
mov rcx, qword [r13 + 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 0x1400bb1af
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1400bb1af
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 + 0xf8]
mov rcx, rdi
mov r8d, 0x129
mov r9d, 2
call fcn.14002d550
lea rcx, [rsp + 0x108]
lea rdx, [0x140173040]
mov r8d, 0xc
call fcn.140001e21
mov rcx, rdi
call fcn.14002d640
lea rcx, [r13 + 0x38]
call fcn.1400bc9c4
lea rcx, [r13 + 0x18]
call fcn.1400295c0
mov rcx, r13
call fcn.1400b94be
mov rcx, r13
call fcn.14012c9c4
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14012cde0
nop
add rsp, 0x248
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [r13 + 8]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x1400bb5f2
mov rbx, qword [r13 + 0x40]
sub rbx, qword [r13 + 0x38]
mov rdi, rbx
sar rdi, 4
movabs rax, 0x6db6db6db6db6db7
imul rdi, rax
mov qword [rsp + 0xc8], 0
movabs rax, 0x143504144
mov qword [rsp + 0xc0], rax
mov rax, rdi
shr rax, 0x20
jne 0x1400bb8c7
mov eax, edi
lea rdx, [rsp + 0xc0]
mov dword [rdx + 8], eax
mov rcx, qword [r13 + 8]
mov r8d, 0x10
call fcn.1400df457
test al, al
je 0x1400bb657
test rbx, rbx
je 0x1400bb123
movabs rcx, 0x492492492492492
xorps xmm0, xmm0
movaps xmmword [rsp + 0xa0], xmm0
xor eax, eax
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x90], rax
movaps xmmword [rsp + 0x80], xmm0
cmp rdi, rcx
ja 0x1400bb8dc
imul rdi, rdi, 0x38
mov rcx, rdi
call fcn.14012c988
add rdi, rax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rdi
mov r14, qword [r13 + 0x38]
mov rcx, qword [r13 + 0x40]
mov qword [rsp + 0x58], rcx
cmp r14, rcx
je 0x1400bb6a6
lea rbx, [r13 + 0x18]
lea rsi, [rsp + 0xf8]
lea rdi, [rsp + 0x60]
lea r12, [rsp + 0xa0]
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], rbx
lea rbp, [r14 + 0x10]
mov rcx, rbp
mov rdx, rsi
call fcn.14002a160
mov rcx, rsi
mov r15, rbx
mov rdx, rbx
call fcn.1400298c0
mov ebx, eax
mov rcx, rsi
call fcn.1400295c0
test bl, bl
jne 0x1400bb733
movups xmm0, xmmword [r14]
movaps xmmword [rsp + 0xe0], xmm0
mov rcx, rbp
mov rdx, rdi
call fcn.14002a2f0
movzx eax, byte [rsp + 0x60]
mov rcx, rax
shr rcx, 1
test al, 1
mov rax, qword [rsp + 0x70]
lea rdx, [rsp + 0x62]
cmove rax, rdx
mov qword [rsp + 0xd0], rax
cmovne rcx, qword [rsp + 0x68]
mov qword [rsp + 0xd8], rcx
mov rcx, rsi
lea rdx, [rsp + 0xd0]
call fcn.140039950
mov rcx, r12
mov rdx, rsi
call fcn.1400bca10
mov esi, eax
test byte [rsp + 0xf8], 1
je 0x1400bb3c0
mov rcx, qword [rsp + 0x108]
call fcn.14012c9c4
mov rcx, rdi
call fcn.1400295c0
lea rdx, [r14 + 0x28]
mov rcx, r12
call fcn.1400bca10
mov r11d, eax
mov rcx, qword [r14 + 0x40]
mov r10, qword [r14 + 0x50]
mov r9d, dword [r14 + 0x58]
mov r8d, dword [r14 + 0x68]
mov bl, byte [r14 + 0x5c]
add bl, bl
or bl, byte [r14 + 0x48]
xor eax, eax
mov dword [rsp + 0xfb], eax
mov dword [rsp + 0xf8], eax
mov r12, qword [rsp + 0x88]
mov rax, qword [rsp + 0x90]
cmp r12, rax
jae 0x1400bb472
movaps xmm0, xmmword [rsp + 0xe0]
movups xmmword [r12], xmm0
mov dword [r12 + 0x10], esi
mov dword [r12 + 0x14], r11d
mov qword [r12 + 0x18], rcx
mov qword [r12 + 0x20], r10
mov dword [r12 + 0x28], r9d
mov dword [r12 + 0x2c], r8d
mov byte [r12 + 0x30], bl
mov eax, dword [rsp + 0xf8]
mov ecx, dword [rsp + 0xfb]
mov dword [r12 + 0x31], eax
mov dword [r12 + 0x34], ecx
add r12, 0x38
mov qword [rsp + 0x88], r12
mov rbx, r15
jmp 0x1400bb5b9
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x34], esi
mov rdi, qword [rsp + 0x80]
sub r12, rdi
mov rbp, r12
sar rbp, 3
movabs rsi, 0x6db6db6db6db6db7
imul rbp, rsi
lea rcx, [rbp + 1]
movabs rdx, 0x492492492492492
cmp rcx, rdx
ja 0x1400bb8cf
sub rax, rdi
sar rax, 3
imul rax, rsi
lea r15, [rax + rax]
cmp r15, rcx
cmovb r15, rcx
movabs rcx, 0x249249249249249
cmp rax, rcx
cmovae r15, rdx
test r15, r15
je 0x1400bb518
mov dword [rsp + 0x30], r11d
mov qword [rsp + 0x48], r10
cmp r15, rdx
ja 0x1400bb8dc
mov r13, rdi
mov edi, r9d
mov esi, r8d
imul rcx, r15, 0x38
call fcn.14012c988
mov r8d, esi
mov r9d, edi
mov rdi, r13
mov r10, qword [rsp + 0x48]
mov r11d, dword [rsp + 0x30]
jmp 0x1400bb51a
xor eax, eax
imul rcx, rbp, 0x38
lea r13, [rax + rcx]
imul rbp, r15, 0x38
add rbp, rax
movaps xmm0, xmmword [rsp + 0xe0]
lea rsi, [rax + rcx]
add rsi, 0x38
movups xmmword [rsi - 0x38], xmm0
mov eax, dword [rsp + 0x34]
mov dword [rsi - 0x28], eax
mov dword [rsi - 0x24], r11d
mov rax, qword [rsp + 0x50]
mov qword [rsi - 0x20], rax
mov qword [rsi - 0x18], r10
mov dword [rsi - 0x10], r9d
mov dword [rsi - 0xc], r8d
mov byte [rsi - 8], bl
mov eax, dword [rsp + 0xf8]
mov ecx, dword [rsp + 0xfb]
mov dword [rsi - 7], eax
mov dword [rsi - 4], ecx
sub r13, r12
test r12, r12
jle 0x1400bb58a
mov rcx, r13
mov rdx, rdi
mov r8, r12
call fcn.14012f890
mov qword [rsp + 0x80], r13
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x90], rbp
test rdi, rdi
mov r13, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
je 0x1400bb5b9
mov rcx, rdi
call fcn.14012c9c4
add r14, 0x70
cmp qword [rsp + 0x58], r14
lea rsi, [rsp + 0xf8]
lea rdi, [rsp + 0x60]
lea r12, [rsp + 0xa0]
jne 0x1400bb315
mov rax, qword [rsp + 0x80]
mov r8, qword [rsp + 0x88]
jmp 0x1400bb6a9
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1400bb123
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 + 0xf8]
mov rcx, rdi
mov r8d, 0x1e7
mov r9d, 2
call fcn.14002d550
lea rcx, [rsp + 0x108]
lea rdx, str.failed_to_truncate
mov r8d, 0x12
call fcn.140001e21
mov rcx, rdi
call fcn.14002d640
jmp 0x1400bb123
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1400bb123
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xf8]
mov rcx, rdi
mov r8d, 0x1f3
mov r9d, 2
call fcn.14002c620
lea rcx, [rsp + 0x108]
lea rdx, str.failed_to_write_header
mov r8d, 0x16
jmp 0x1400bb116
mov r8, rax
sub r8, rax
mov rcx, qword [r13 + 8]
mov rdx, rax
call fcn.1400df457
test al, al
je 0x1400bb6e4
movzx r8d, byte [rsp + 0xa0]
test r8b, 1
je 0x1400bb77a
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0xb0]
jmp 0x1400bb785
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1400bb88d
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xf8]
mov rcx, rdi
mov r8d, 0x20b
mov r9d, 2
call fcn.14002c620
lea rcx, [rsp + 0x108]
lea rdx, str.failed_to_write_records
mov r8d, 0x17
jmp 0x1400bb7e0
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1400bb88d
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rsp + 0xf8]
mov r8d, 0x201
mov r9d, 2
call fcn.14002c620
lea rcx, [rsp + 0x108]
test byte [r14 + 0x10], 1
jne 0x1400bb7ed
add r14, 0x12
jmp 0x1400bb7f1
shr r8, 1
lea rdx, [rsp + 0xa1]
mov rcx, qword [r13 + 8]
call fcn.1400df457
test al, al
jne 0x1400bb88d
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1400bb88d
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xf8]
mov rcx, rdi
mov r8d, 0x210
mov r9d, 2
call fcn.14002c620
lea rcx, [rsp + 0x108]
lea rdx, str.failed_to_write_string_table
mov r8d, 0x1c
call fcn.140001e21
mov rcx, rdi
jmp 0x1400bb888
mov r14, qword [r14 + 0x20]
mov rdx, r14
call fcn.14002d700
lea rdx, str._expected_to_start_with
mov r8d, 0x18
mov rcx, rax
call fcn.140001e21
movzx edx, byte [r13 + 0x18]
add r15, 2
mov rcx, rdx
shr rcx, 1
test dl, 1
cmovne r15, qword [r13 + 0x28]
mov rdi, rax
lea rdx, [rsp + 0xd0]
mov qword [rdx], r15
cmovne rcx, qword [r13 + 0x20]
mov qword [rdx + 8], rcx
lea rbx, [rsp + 0x60]
mov rcx, rbx
call fcn.140039950
movzx r8d, byte [rbx]
test r8b, 1
je 0x1400bb85f
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
jmp 0x1400bb867
shr r8, 1
lea rdx, [rsp + 0x61]
mov rcx, rdi
call fcn.140001e21
test byte [rsp + 0x60], 1
je 0x1400bb880
mov rcx, qword [rsp + 0x70]
call fcn.14012c9c4
lea rcx, [rsp + 0xf8]
call fcn.14002cae0
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x1400bb8a7
mov qword [rsp + 0x88], rcx
call fcn.14012c9c4
test byte [rsp + 0xa0], 1
je 0x1400bb123
mov rcx, qword [rsp + 0xb0]
call fcn.14012c9c4
jmp 0x1400bb123
int3
lea rcx, [rsp + 0x80]
call fcn.140023930
call fcn.14013f8b4
int3