Function at 0x14001d698
Capabilities:
Clear file content

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x208
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x180], 0xfffffffffffffffe
mov rcx, qword [rcx]
test rcx, rcx
je 0x14001dbb3
cmp byte [rcx + 0x48], 0
mov qword [rbp + 0x178], rcx
je 0x14001db09
call fcn.14001fbde
test al, al
je 0x14001da3c
mov rax, qword [rbp + 0x178]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x14001da76
mov rax, qword [rbp + 0x178]
mov r14, qword [rax + 0x50]
mov rbx, qword [rax + 0x58]
mov rsi, rbx
sub rsi, r14
mov rdi, rsi
sar rdi, 7
and dword [rbp + 0xbc], 0
movabs rax, 0x143504144
mov qword [rbp + 0xb0], rax
mov rax, rsi
shr rax, 0x27
jne 0x14001dd5f
mov eax, edi
lea rdx, [rbp + 0xb0]
mov dword [rdx + 8], eax
mov rax, qword [rbp + 0x178]
mov rcx, qword [rax]
push 0x10
pop r8
call fcn.14000ad1a
test al, al
je 0x14001dac4
cmp rbx, r14
je 0x14001db02
and qword [rbp + 0x120], 0
xorps xmm0, xmm0
movaps xmmword [rbp + 0x110], xmm0
mov qword [rbp + 0x128], 0xf
movaps xmmword [rbp + 0x160], xmm0
and qword [rbp + 0x170], 0
test rsi, rsi
js 0x14001dd67
mov rcx, rdi
call fcn.14001fc74
lea rcx, [rbp + 0x160]
mov rdx, rax
xor r8d, r8d
mov r9, rdi
call fcn.14001fc8a
mov rax, qword [rbp + 0x178]
mov r12, qword [rax + 0x50]
mov rcx, qword [rax + 0x58]
mov qword [rbp + 0xe0], rcx
lea rcx, [rax + 8]
mov qword [rbp + 0x158], rcx
lea rdx, [rbp - 0x58]
cmp r12, qword [rbp + 0xe0]
je 0x14001dbc8
lea rsi, [r12 + 0x10]
mov rcx, rsi
call fcn.14004ab12
lea rdi, [rbp - 0x58]
mov rcx, rdi
mov rdx, qword [rbp + 0x158]
call fcn.14004ab02
mov ebx, eax
mov rcx, rdi
call fcn.140004a1e
test bl, bl
jne 0x14001dc59
movups xmm0, xmmword [r12]
movaps xmmword [rbp + 0xc0], xmm0
mov rcx, rsi
lea rdx, [rbp + 0x130]
call fcn.14004ad34
cmp qword [rbp + 0x148], 8
lea rax, [rbp + 0x130]
jb 0x14001d85a
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 0x140]
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rcx
lea rdi, [rbp - 0x58]
mov rcx, rdi
lea rdx, [rbp + 0xd0]
call fcn.14004c790
lea rsi, [rbp + 0x110]
mov rcx, rsi
mov rdx, rdi
call fcn.14001fce4
mov r14d, eax
mov rcx, rdi
call fcn.1400049ea
lea rcx, [rbp + 0x130]
call fcn.140004a1e
lea rdx, [r12 + 0x30]
mov rcx, rsi
call fcn.14001fce4
mov r15d, eax
mov rdx, qword [r12 + 0x50]
mov rcx, qword [r12 + 0x60]
mov eax, dword [r12 + 0x68]
mov dil, byte [r12 + 0x6c]
add dil, dil
or dil, byte [r12 + 0x58]
mov ebx, dword [r12 + 0x78]
mov r13, qword [rbp + 0x168]
cmp r13, qword [rbp + 0x170]
je 0x14001d92e
movaps xmm0, xmmword [rbp + 0xc0]
movups xmmword [r13], xmm0
mov dword [r13 + 0x10], r14d
mov dword [r13 + 0x14], r15d
mov qword [r13 + 0x18], rdx
mov qword [r13 + 0x20], rcx
mov dword [r13 + 0x28], eax
mov dword [r13 + 0x2c], ebx
mov byte [r13 + 0x30], dil
and dword [r13 + 0x31], 0
and dword [r13 + 0x34], 0
add r13, 0x38
mov qword [rbp + 0x168], r13
jmp 0x14001da2c
mov dword [rbp + 0x154], ebx
mov qword [rbp + 0xf0], rdx
mov qword [rbp + 0xe8], rcx
mov dword [rbp + 0x150], eax
mov rax, qword [rbp + 0x160]
mov qword [rbp + 0xf8], rax
sub r13, rax
mov rax, r13
cqo
push 0x38
pop rcx
idiv rcx
mov rbx, rax
lea rsi, [rax + 1]
shr rax, 1
movabs rdx, 0x492492492492492
mov rcx, rdx
sub rcx, rax
add rax, rbx
cmp rax, rsi
mov qword [rbp + 0x100], rsi
cmovbe rax, rsi
cmp rbx, rcx
ja 0x14001d997
mov rdx, rax
mov qword [rbp + 0x108], rdx
mov rcx, rdx
call fcn.14001fc74
mov rsi, rax
imul rax, rbx, 0x38
movaps xmm0, xmmword [rbp + 0xc0]
movups xmmword [rsi + rax], xmm0
mov dword [rsi + rax + 0x10], r14d
mov dword [rsi + rax + 0x14], r15d
mov rcx, qword [rbp + 0xf0]
mov qword [rsi + rax + 0x18], rcx
mov rcx, qword [rbp + 0xe8]
mov qword [rsi + rax + 0x20], rcx
mov ecx, dword [rbp + 0x150]
mov dword [rsi + rax + 0x28], ecx
mov ecx, dword [rbp + 0x154]
mov dword [rsi + rax + 0x2c], ecx
mov byte [rsi + rax + 0x30], dil
and dword [rsi + rax + 0x31], 0
and dword [rsi + rax + 0x34], 0
mov rcx, rsi
mov rdx, qword [rbp + 0xf8]
mov r8, r13
call fcn.14006f9f0
lea rcx, [rbp + 0x160]
mov rdx, rsi
mov r8, qword [rbp + 0x100]
mov r9, qword [rbp + 0x108]
call fcn.14001fc8a
sub r12, 0xffffffffffffff80
mov rax, qword [rbp + 0x178]
jmp 0x14001d7e4
mov dword [rsp + 0x20], 2
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace_::Metadata::Write_void_
lea r8, str..._.._.._third_party_crashpad_client_crash_report_database_win.cc
lea rcx, [rbp - 0x58]
mov r9d, 0x203
call fcn.14004b54e
lea rdx, str.failed_to_rewind_to_write
lea rcx, [rbp - 0x58]
call fcn.140002bc9
jmp 0x14001daf9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [rsp + 0x20], 2
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace_::Metadata::Write_void_
lea r8, str..._.._.._third_party_crashpad_client_crash_report_database_win.cc
lea rcx, [rbp - 0x58]
mov r9d, 0x20a
call fcn.14004b54e
lea rcx, [rbp - 0x58]
mov dword [rcx + 0x100], esi
lea rdx, str.failed_to_truncate
call fcn.140002bc9
lea rcx, [rbp - 0x58]
call fcn.14004bba4
jmp 0x14001db02
mov dword [rsp + 0x20], 2
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace_::Metadata::Write_void_
lea r8, str..._.._.._third_party_crashpad_client_crash_report_database_win.cc
lea rcx, [rbp - 0x58]
mov r9d, 0x216
call fcn.14004b54e
lea rdx, str.failed_to_write_header
lea rcx, [rbp - 0x58]
call fcn.140002bc9
lea rcx, [rbp - 0x58]
call fcn.14004ba62
mov rcx, qword [rbp + 0x178]
xorps xmm0, xmm0
lea rax, [rbp + 0x130]
movaps xmmword [rax + 0x10], xmm0
movaps xmmword [rax], xmm0
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rax
push 0xffffffffffffffff
pop r8
xor edx, edx
mov r9d, r8d
call qword [sym.imp.KERNEL32.dll_UnlockFileEx]
test eax, eax
jne 0x14001db81
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [rsp + 0x20], 2
lea rdx, str.__cdecl_crashpad::_anonymous_namespace_::Metadata::Metadata_void_
lea r8, str..._.._.._third_party_crashpad_client_crash_report_database_win.cc
lea rcx, [rbp - 0x58]
mov r9d, 0x13b
call fcn.14004b54e
lea rcx, [rbp - 0x58]
mov dword [rcx + 0x100], esi
lea rdx, [0x140095b7d]
call fcn.140002bc9
lea rcx, [rbp - 0x58]
call fcn.14004bba4
mov rsi, qword [rbp + 0x178]
lea rcx, [rsi + 0x50]
call fcn.14001fc36
lea rcx, [rsi + 0x28]
call fcn.140004a1e
lea rcx, [rsi + 8]
call fcn.140004a1e
mov rcx, rsi
call fcn.14000adc6
mov rcx, rsi
call fcn.140052cc0
nop
add rsp, 0x208
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rdx, qword [rbp + 0x160]
mov r8, qword [rbp + 0x168]
sub r8, rdx
mov rcx, qword [rax]
call fcn.14000ad1a
test al, al
je 0x14001dd04
mov r8, qword [rbp + 0x120]
cmp qword [rbp + 0x128], 0x10
lea rdx, [rbp + 0x110]
jb 0x14001dc08
mov rdx, qword [rbp + 0x110]
mov rax, qword [rbp + 0x178]
mov rcx, qword [rax]
call fcn.14000ad1a
test al, al
jne 0x14001dd42
mov dword [rsp + 0x20], 2
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace_::Metadata::Write_void_
lea r8, str..._.._.._third_party_crashpad_client_crash_report_database_win.cc
lea rcx, [rbp - 0x58]
mov r9d, 0x233
call fcn.14004b54e
lea rdx, str.failed_to_write_string_table
lea rcx, [rbp - 0x58]
call fcn.140002bc9
jmp 0x14001dd39
mov dword [rsp + 0x20], 2
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace_::Metadata::Write_void_
lea r8, str..._.._.._third_party_crashpad_client_crash_report_database_win.cc
lea rcx, [rbp - 0x58]
mov r9d, 0x224
call fcn.14004b54e
cmp qword [r12 + 0x28], 8
jb 0x14001dc8b
mov rsi, qword [r12 + 0x10]
lea rcx, [rbp - 0x58]
mov rdx, rsi
call fcn.14000804e
lea rdx, str._expected_to_start_with
mov rcx, rax
call fcn.140002bc9
mov rdi, rax
mov rax, qword [rbp + 0x178]
cmp qword [rax + 0x20], 8
jb 0x14001dcc2
mov rcx, qword [rax + 8]
mov qword [rbp + 0x158], rcx
lea rdx, [rbp + 0xd0]
mov rcx, qword [rbp + 0x158]
mov qword [rdx], rcx
mov rax, qword [rax + 0x18]
mov qword [rdx + 8], rax
lea rcx, [rbp + 0x130]
call fcn.14004c790
lea rdx, [rbp + 0x130]
mov rcx, rdi
call fcn.140003113
lea rcx, [rbp + 0x130]
call fcn.1400049ea
jmp 0x14001dd39
mov dword [rsp + 0x20], 2
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace_::Metadata::Write_void_
lea r8, str..._.._.._third_party_crashpad_client_crash_report_database_win.cc
lea rcx, [rbp - 0x58]
mov r9d, 0x22e
call fcn.14004b54e
lea rdx, str.failed_to_write_records
lea rcx, [rbp - 0x58]
call fcn.140002bc9
lea rcx, [rbp - 0x58]
call fcn.14004ba62
lea rcx, [rbp + 0x160]
call fcn.14001fbfa
lea rcx, [rbp + 0x110]
call fcn.1400049ea
jmp 0x14001db02
int3
call fcn.140004838
int3