Function at 0x1400bdf28
Capabilities:
Clear file content

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x238
mov rax, qword [0x1401ee6a8]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rsi, qword [rcx]
xor eax, eax
mov qword [rcx], rax
test rsi, rsi
je 0x1400be07c
cmp byte [rsi + 0x30], 0
je 0x1400bdfce
mov rcx, qword [rsi + 8]
xor edx, edx
xor r8d, r8d
call fcn.14005a5fb
test rax, rax
je 0x1400be0a1
mov ecx, 2
call fcn.140038810
test al, al
je 0x1400bdfce
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xf0]
mov rcx, rdi
mov r8d, 0x1e5
mov r9d, 2
call fcn.1400388b0
lea rcx, [rsp + 0xf8]
lea rdx, str.failed_to_rewind_to_write
mov r8d, 0x19
call fcn.140001e11
mov rcx, rdi
call fcn.140038d10
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 0x1400be05a
mov ecx, 2
call fcn.140038810
test al, al
je 0x1400be05a
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 + 0xf0]
mov rcx, rdi
mov r8d, 0x12a
mov r9d, 2
call fcn.140039550
lea rcx, [rsp + 0x100]
lea rdx, [0x14019f244]
mov r8d, 0xc
call fcn.140001e11
mov rcx, rdi
call fcn.140039620
lea rcx, [rsi + 0x38]
call fcn.1400bf780
lea rcx, [rsi + 0x18]
call fcn.140034b60
mov rcx, rsi
call fcn.140058f6a
mov rcx, rsi
call fcn.140163a8c
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140163e00
nop
add rsp, 0x238
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x1400be488
mov rbx, qword [rsi + 0x40]
sub rbx, qword [rsi + 0x38]
mov rdi, rbx
sar rdi, 4
movabs r12, 0x6db6db6db6db6db7
imul rdi, r12
mov qword [rsp + 0xc8], 0
movabs rax, 0x143504144
mov qword [rsp + 0xc0], rax
mov rax, rdi
shr rax, 0x20
jne 0x1400be72e
mov eax, edi
lea rdx, [rsp + 0xc0]
mov dword [rdx + 8], eax
mov rcx, qword [rsi + 8]
mov r8d, 0x10
call fcn.140058a37
test al, al
je 0x1400be4ed
test rbx, rbx
je 0x1400bdfce
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 0x1400be743
imul rdi, rdi, 0x38
mov rcx, rdi
call fcn.140163a50
add rdi, rax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rdi
mov r13, qword [rsi + 0x38]
mov rcx, qword [rsi + 0x40]
mov qword [rsp + 0x58], rcx
cmp r13, rcx
je 0x1400be53c
mov qword [rsp + 0x38], rsi
lea rax, [rsi + 0x18]
mov qword [rsp + 0x40], rax
lea rbp, [rsp + 0xf0]
lea r14, [rsp + 0x60]
lea rsi, [rsp + 0xa0]
xor r15d, r15d
lea rdi, [r13 + 0x10]
mov rcx, rdi
mov rdx, rbp
call fcn.140035620
mov rcx, rbp
mov rdx, qword [rsp + 0x40]
call fcn.140034e50
mov ebx, eax
mov rcx, rbp
call fcn.140034b60
test bl, bl
jne 0x1400be61f
movups xmm0, xmmword [r13]
movaps xmmword [rsp + 0xe0], xmm0
mov rcx, rdi
mov rdx, r14
call fcn.1400357d0
movzx eax, byte [rsp + 0x77]
test al, al
mov rcx, qword [rsp + 0x60]
cmovns rcx, r14
mov qword [rsp + 0xd0], rcx
cmovs rax, qword [rsp + 0x68]
mov qword [rsp + 0xd8], rax
mov rcx, rbp
lea rdx, [rsp + 0xd0]
call fcn.140044ab0
mov rcx, rsi
mov rdx, rbp
call fcn.1400bf7cc
mov edi, eax
cmp byte [rsp + 0x107], r15b
jns 0x1400be263
mov rcx, qword [rsp + 0xf0]
call fcn.140163a8c
mov rcx, r14
call fcn.140034b60
lea rdx, [r13 + 0x28]
mov rcx, rsi
call fcn.1400bf7cc
mov r10d, eax
mov r11, qword [r13 + 0x40]
mov r9, qword [r13 + 0x50]
mov r8d, dword [r13 + 0x58]
mov esi, dword [r13 + 0x68]
mov bl, byte [r13 + 0x5c]
add bl, bl
or bl, byte [r13 + 0x48]
mov dword [rsp + 0xf3], r15d
mov dword [rsp + 0xf0], r15d
mov rbp, qword [rsp + 0x88]
mov rax, qword [rsp + 0x90]
cmp rbp, rax
jae 0x1400be303
movaps xmm0, xmmword [rsp + 0xe0]
movups xmmword [rbp], xmm0
mov dword [rbp + 0x10], edi
mov dword [rbp + 0x14], r10d
mov qword [rbp + 0x18], r11
mov qword [rbp + 0x20], r9
mov dword [rbp + 0x28], r8d
mov dword [rbp + 0x2c], esi
mov byte [rbp + 0x30], bl
mov eax, dword [rsp + 0xf0]
mov ecx, dword [rsp + 0xf3]
mov dword [rbp + 0x31], eax
mov dword [rbp + 0x34], ecx
add rbp, 0x38
mov qword [rsp + 0x88], rbp
jmp 0x1400be449
mov dword [rsp + 0x34], edi
mov r15, qword [rsp + 0x80]
sub rbp, r15
mov rdi, rbp
sar rdi, 3
imul rdi, r12
lea rcx, [rdi + 1]
movabs rdx, 0x492492492492492
cmp rcx, rdx
ja 0x1400be736
sub rax, r15
sar rax, 3
imul rax, r12
lea r14, [rax + rax]
cmp r14, rcx
cmovb r14, rcx
movabs rcx, 0x249249249249249
cmp rax, rcx
jb 0x1400be35c
mov r14, rdx
test r14, r14
je 0x1400be39f
mov qword [rsp + 0x48], r11
mov dword [rsp + 0x30], r10d
mov qword [rsp + 0x50], r15
cmp r14, rdx
ja 0x1400be743
mov r15, r9
mov r12d, r8d
imul rcx, r14, 0x38
call fcn.140163a50
mov r8d, r12d
mov r9, r15
mov r15, qword [rsp + 0x50]
mov r10d, dword [rsp + 0x30]
mov r11, qword [rsp + 0x48]
jmp 0x1400be3a1
xor eax, eax
imul rcx, rdi, 0x38
lea r12, [rax + rcx]
imul rdi, r14, 0x38
add rdi, rax
movaps xmm0, xmmword [rsp + 0xe0]
movups xmmword [rax + rcx], xmm0
mov edx, dword [rsp + 0x34]
mov dword [rax + rcx + 0x10], edx
mov dword [rax + rcx + 0x14], r10d
mov qword [rax + rcx + 0x18], r11
mov qword [rax + rcx + 0x20], r9
mov dword [rax + rcx + 0x28], r8d
mov dword [rax + rcx + 0x2c], esi
mov byte [rax + rcx + 0x30], bl
mov edx, dword [rsp + 0xf0]
mov ebx, dword [rsp + 0xf3]
mov dword [rax + rcx + 0x31], edx
mov dword [rax + rcx + 0x34], ebx
mov eax, 0x38
lea rbx, [r12 + rax]
sub r12, rbp
test rbp, rbp
jle 0x1400be415
mov rcx, r12
mov rdx, r15
mov r8, rbp
call fcn.1401667e0
mov qword [rsp + 0x80], r12
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], rdi
test r15, r15
lea r14, [rsp + 0x60]
movabs r12, 0x6db6db6db6db6db7
je 0x1400be449
mov rcx, r15
call fcn.140163a8c
add r13, 0x70
cmp qword [rsp + 0x58], r13
lea rbp, [rsp + 0xf0]
lea rsi, [rsp + 0xa0]
mov r15d, 0
jne 0x1400be1c3
mov rax, qword [rsp + 0x80]
mov r8, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x38]
jmp 0x1400be53f
mov ecx, 2
call fcn.140038810
test al, al
je 0x1400bdfce
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 + 0xf0]
mov rcx, rdi
mov r8d, 0x1ec
mov r9d, 2
call fcn.140039550
lea rcx, [rsp + 0x100]
lea rdx, str.failed_to_truncate
mov r8d, 0x12
call fcn.140001e11
mov rcx, rdi
call fcn.140039620
jmp 0x1400bdfce
mov ecx, 2
call fcn.140038810
test al, al
je 0x1400bdfce
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xf0]
mov rcx, rdi
mov r8d, 0x1f8
mov r9d, 2
call fcn.1400388b0
lea rcx, [rsp + 0xf8]
lea rdx, str.failed_to_write_header
mov r8d, 0x16
jmp 0x1400bdfc1
mov r8, rax
sub r8, rax
mov rcx, qword [rsi + 8]
mov rdx, rax
call fcn.140058a37
test al, al
je 0x1400be5c8
lea rdx, [rsp + 0xa0]
movzx r8d, byte [rdx + 0x17]
test r8b, r8b
cmovs r8, qword [rdx + 8]
cmovs rdx, qword [rdx]
mov rcx, qword [rsi + 8]
call fcn.140058a37
test al, al
jne 0x1400be6f4
mov ecx, 2
call fcn.140038810
test al, al
je 0x1400be6f4
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xf0]
mov rcx, rdi
mov r8d, 0x215
mov r9d, 2
call fcn.1400388b0
lea rcx, [rsp + 0xf8]
lea rdx, str.failed_to_write_string_table
mov r8d, 0x1c
jmp 0x1400be612
mov ecx, 2
call fcn.140038810
test al, al
je 0x1400be6f4
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xf0]
mov rcx, rdi
mov r8d, 0x210
mov r9d, 2
call fcn.1400388b0
lea rcx, [rsp + 0xf8]
lea rdx, str.failed_to_write_records
mov r8d, 0x17
call fcn.140001e11
mov rcx, rdi
jmp 0x1400be6ef
mov ecx, 2
call fcn.140038810
test al, al
mov rsi, qword [rsp + 0x38]
je 0x1400be6f4
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rsp + 0xf0]
mov r8d, 0x206
mov r9d, 2
call fcn.1400388b0
lea rcx, [rsp + 0xf8]
cmp byte [r13 + 0x27], 0
jns 0x1400be669
mov rdi, qword [r13 + 0x10]
mov rdx, rdi
call fcn.1400396d0
lea rdx, str._expected_to_start_with
mov r8d, 0x18
mov rcx, rax
call fcn.140001e11
movzx ecx, byte [rsi + 0x2f]
test cl, cl
mov rbp, qword [rsp + 0x40]
cmovs rbp, qword [rsi + 0x18]
mov rdi, rax
lea rdx, [rsp + 0xd0]
mov qword [rdx], rbp
cmovs rcx, qword [rsi + 0x20]
mov qword [rdx + 8], rcx
mov rcx, r14
call fcn.140044ab0
movzx r8d, byte [rsp + 0x77]
test r8b, r8b
jns 0x1400be6ca
mov r8, qword [rsp + 0x68]
mov r14, qword [rsp + 0x60]
mov rcx, rdi
mov rdx, r14
call fcn.140001e11
xor eax, eax
cmp byte [rsp + 0x77], al
jns 0x1400be6e7
mov rcx, qword [rsp + 0x60]
call fcn.140163a8c
lea rcx, [rsp + 0xf0]
call fcn.140038d10
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x1400be70e
mov qword [rsp + 0x88], rcx
call fcn.140163a8c
cmp byte [rsp + 0xb7], 0
jns 0x1400bdfce
mov rcx, qword [rsp + 0xa0]
call fcn.140163a8c
jmp 0x1400bdfce
int3
lea rcx, [rsp + 0x80]
call fcn.14002fbb0
call fcn.140177b74
int3