Function at 0x1400bd61a
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 [0x1401b46a8]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov r13, qword [rcx]
mov qword [rcx], 0
test r13, r13
je 0x1400bd771
cmp byte [r13 + 0x30], 0
je 0x1400bd6c3
mov rcx, qword [r13 + 8]
xor edx, edx
xor r8d, r8d
call fcn.1400e4bc4
test rax, rax
je 0x1400bd796
mov ecx, 2
call fcn.14002dd00
test al, al
je 0x1400bd6c3
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xf8]
mov rcx, rdi
mov r8d, 0x1fd
mov r9d, 2
call fcn.14002dda0
lea rcx, [rsp + 0x108]
lea rdx, str.failed_to_rewind_to_write
mov r8d, 0x19
call fcn.140001e21
mov rcx, rdi
call fcn.14002e260
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 0x1400bd74f
mov ecx, 2
call fcn.14002dd00
test al, al
je 0x1400bd74f
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, 0x138
mov r9d, 2
call fcn.14002ecb0
lea rcx, [rsp + 0x108]
lea rdx, [0x14017a2b0]
mov r8d, 0xc
call fcn.140001e21
mov rcx, rdi
call fcn.14002eda0
lea rcx, [r13 + 0x38]
call fcn.1400bf8f6
lea rcx, [r13 + 0x18]
call fcn.14002a9e0
mov rcx, r13
call fcn.1400bb0b8
mov rcx, r13
call fcn.1401321e4
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140132550
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 0x1400bdb92
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 0x1400bde67
mov eax, edi
lea rdx, [rsp + 0xc0]
mov dword [rdx + 8], eax
mov rcx, qword [r13 + 8]
mov r8d, 0x10
call fcn.1400e4f8b
test al, al
je 0x1400bdbf7
test rbx, rbx
je 0x1400bd6c3
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 0x1400bde7c
imul rdi, rdi, 0x38
mov rcx, rdi
call fcn.1401321a8
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 0x1400bdc46
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.14002b570
mov rcx, rsi
mov r15, rbx
mov rdx, rbx
call fcn.14002ac90
mov ebx, eax
mov rcx, rsi
call fcn.14002a9e0
test bl, bl
jne 0x1400bdcd3
movups xmm0, xmmword [r14]
movaps xmmword [rsp + 0xe0], xmm0
mov rcx, rbp
mov rdx, rdi
call fcn.14002b720
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.14003a3d0
mov rcx, r12
mov rdx, rsi
call fcn.1400bf942
mov esi, eax
test byte [rsp + 0xf8], 1
je 0x1400bd960
mov rcx, qword [rsp + 0x108]
call fcn.1401321e4
mov rcx, rdi
call fcn.14002a9e0
lea rdx, [r14 + 0x28]
mov rcx, r12
call fcn.1400bf942
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 0x1400bda12
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 0x1400bdb59
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 0x1400bde6f
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 0x1400bdab8
mov dword [rsp + 0x30], r11d
mov qword [rsp + 0x48], r10
cmp r15, rdx
ja 0x1400bde7c
mov r13, rdi
mov edi, r9d
mov esi, r8d
imul rcx, r15, 0x38
call fcn.1401321a8
mov r8d, esi
mov r9d, edi
mov rdi, r13
mov r10, qword [rsp + 0x48]
mov r11d, dword [rsp + 0x30]
jmp 0x1400bdaba
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 0x1400bdb2a
mov rcx, r13
mov rdx, rdi
mov r8, r12
call fcn.140135640
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 0x1400bdb59
mov rcx, rdi
call fcn.1401321e4
add r14, 0x70
cmp qword [rsp + 0x58], r14
lea rsi, [rsp + 0xf8]
lea rdi, [rsp + 0x60]
lea r12, [rsp + 0xa0]
jne 0x1400bd8b5
mov rax, qword [rsp + 0x80]
mov r8, qword [rsp + 0x88]
jmp 0x1400bdc49
mov ecx, 2
call fcn.14002dd00
test al, al
je 0x1400bd6c3
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, 0x204
mov r9d, 2
call fcn.14002ecb0
lea rcx, [rsp + 0x108]
lea rdx, str.failed_to_truncate
mov r8d, 0x12
call fcn.140001e21
mov rcx, rdi
call fcn.14002eda0
jmp 0x1400bd6c3
mov ecx, 2
call fcn.14002dd00
test al, al
je 0x1400bd6c3
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.14002dda0
lea rcx, [rsp + 0x108]
lea rdx, str.failed_to_write_header
mov r8d, 0x16
jmp 0x1400bd6b6
mov r8, rax
sub r8, rax
mov rcx, qword [r13 + 8]
mov rdx, rax
call fcn.1400e4f8b
test al, al
je 0x1400bdc84
movzx r8d, byte [rsp + 0xa0]
test r8b, 1
je 0x1400bdd1a
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0xb0]
jmp 0x1400bdd25
mov ecx, 2
call fcn.14002dd00
test al, al
je 0x1400bde2d
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xf8]
mov rcx, rdi
mov r8d, 0x228
mov r9d, 2
call fcn.14002dda0
lea rcx, [rsp + 0x108]
lea rdx, str.failed_to_write_records
mov r8d, 0x17
jmp 0x1400bdd80
mov ecx, 2
call fcn.14002dd00
test al, al
je 0x1400bde2d
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rsp + 0xf8]
mov r8d, 0x21e
mov r9d, 2
call fcn.14002dda0
lea rcx, [rsp + 0x108]
test byte [r14 + 0x10], 1
jne 0x1400bdd8d
add r14, 0x12
jmp 0x1400bdd91
shr r8, 1
lea rdx, [rsp + 0xa1]
mov rcx, qword [r13 + 8]
call fcn.1400e4f8b
test al, al
jne 0x1400bde2d
mov ecx, 2
call fcn.14002dd00
test al, al
je 0x1400bde2d
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xf8]
mov rcx, rdi
mov r8d, 0x22d
mov r9d, 2
call fcn.14002dda0
lea rcx, [rsp + 0x108]
lea rdx, str.failed_to_write_string_table
mov r8d, 0x1c
call fcn.140001e21
mov rcx, rdi
jmp 0x1400bde28
mov r14, qword [r14 + 0x20]
mov rdx, r14
call fcn.14002ee60
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.14003a3d0
movzx r8d, byte [rbx]
test r8b, 1
je 0x1400bddff
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
jmp 0x1400bde07
shr r8, 1
lea rdx, [rsp + 0x61]
mov rcx, rdi
call fcn.140001e21
test byte [rsp + 0x60], 1
je 0x1400bde20
mov rcx, qword [rsp + 0x70]
call fcn.1401321e4
lea rcx, [rsp + 0xf8]
call fcn.14002e260
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x1400bde47
mov qword [rsp + 0x88], rcx
call fcn.1401321e4
test byte [rsp + 0xa0], 1
je 0x1400bd6c3
mov rcx, qword [rsp + 0xb0]
call fcn.1401321e4
jmp 0x1400bd6c3
int3
lea rcx, [rsp + 0x80]
call fcn.140024440
call fcn.1401457d4
int3