Function at 0x1400bb9ba
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 [0x1401af6a8]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov r13, qword [rcx]
mov qword [rcx], 0
test r13, r13
je 0x1400bbb11
cmp byte [r13 + 0x30], 0
je 0x1400bba63
mov rcx, qword [r13 + 8]
xor edx, edx
xor r8d, r8d
call fcn.1400df9d0
test rax, rax
je 0x1400bbb36
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1400bba63
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 0x1400bbaef
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1400bbaef
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, [0x140175180]
mov r8d, 0xc
call fcn.140001e21
mov rcx, rdi
call fcn.14002d640
lea rcx, [r13 + 0x38]
call fcn.1400bd304
lea rcx, [r13 + 0x18]
call fcn.1400295c0
mov rcx, r13
call fcn.1400b9dfe
mov rcx, r13
call fcn.14012d304
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14012d670
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 0x1400bbf32
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 0x1400bc207
mov eax, edi
lea rdx, [rsp + 0xc0]
mov dword [rdx + 8], eax
mov rcx, qword [r13 + 8]
mov r8d, 0x10
call fcn.1400dfd97
test al, al
je 0x1400bbf97
test rbx, rbx
je 0x1400bba63
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 0x1400bc21c
imul rdi, rdi, 0x38
mov rcx, rdi
call fcn.14012d2c8
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 0x1400bbfe6
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 0x1400bc073
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.1400bd350
mov esi, eax
test byte [rsp + 0xf8], 1
je 0x1400bbd00
mov rcx, qword [rsp + 0x108]
call fcn.14012d304
mov rcx, rdi
call fcn.1400295c0
lea rdx, [r14 + 0x28]
mov rcx, r12
call fcn.1400bd350
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 0x1400bbdb2
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 0x1400bbef9
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 0x1400bc20f
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 0x1400bbe58
mov dword [rsp + 0x30], r11d
mov qword [rsp + 0x48], r10
cmp r15, rdx
ja 0x1400bc21c
mov r13, rdi
mov edi, r9d
mov esi, r8d
imul rcx, r15, 0x38
call fcn.14012d2c8
mov r8d, esi
mov r9d, edi
mov rdi, r13
mov r10, qword [rsp + 0x48]
mov r11d, dword [rsp + 0x30]
jmp 0x1400bbe5a
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 0x1400bbeca
mov rcx, r13
mov rdx, rdi
mov r8, r12
call fcn.1401306b0
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 0x1400bbef9
mov rcx, rdi
call fcn.14012d304
add r14, 0x70
cmp qword [rsp + 0x58], r14
lea rsi, [rsp + 0xf8]
lea rdi, [rsp + 0x60]
lea r12, [rsp + 0xa0]
jne 0x1400bbc55
mov rax, qword [rsp + 0x80]
mov r8, qword [rsp + 0x88]
jmp 0x1400bbfe9
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1400bba63
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 0x1400bba63
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1400bba63
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 0x1400bba56
mov r8, rax
sub r8, rax
mov rcx, qword [r13 + 8]
mov rdx, rax
call fcn.1400dfd97
test al, al
je 0x1400bc024
movzx r8d, byte [rsp + 0xa0]
test r8b, 1
je 0x1400bc0ba
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0xb0]
jmp 0x1400bc0c5
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1400bc1cd
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 0x1400bc120
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1400bc1cd
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 0x1400bc12d
add r14, 0x12
jmp 0x1400bc131
shr r8, 1
lea rdx, [rsp + 0xa1]
mov rcx, qword [r13 + 8]
call fcn.1400dfd97
test al, al
jne 0x1400bc1cd
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1400bc1cd
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 0x1400bc1c8
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 0x1400bc19f
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
jmp 0x1400bc1a7
shr r8, 1
lea rdx, [rsp + 0x61]
mov rcx, rdi
call fcn.140001e21
test byte [rsp + 0x60], 1
je 0x1400bc1c0
mov rcx, qword [rsp + 0x70]
call fcn.14012d304
lea rcx, [rsp + 0xf8]
call fcn.14002cae0
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x1400bc1e7
mov qword [rsp + 0x88], rcx
call fcn.14012d304
test byte [rsp + 0xa0], 1
je 0x1400bba63
mov rcx, qword [rsp + 0xb0]
call fcn.14012d304
jmp 0x1400bba63
int3
lea rcx, [rsp + 0x80]
call fcn.140023930
call fcn.1401405b4
int3