Function at 0x1400d1ab0
Capabilities:
Clear file content

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x228
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x1a0], 0xfffffffffffffffe
mov r14, qword [rcx]
test r14, r14
je 0x1400d1c4e
cmp byte [r14 + 0x38], 0
je 0x1400d1b43
mov rcx, qword [r14]
xor edx, edx
xor r8d, r8d
call fcn.1400f6730
test rax, rax
je 0x1400d1c63
mov dword [rsp + 0x20], 2
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace_::Metadata::Write_void_
lea r8, str.third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rbp - 0x48]
mov r9d, 0x203
call fcn.1400f33f0
lea rdx, str.failed_to_rewind_to_write
lea rcx, [rbp - 0x48]
mov r8d, 0x19
call fcn.140013430
lea rcx, [rbp - 0x48]
call fcn.1400f3c40
xorps xmm0, xmm0
movaps xmmword [rbp + 0x160], xmm0
movaps xmmword [rbp + 0x150], xmm0
mov rcx, qword [r14]
lea rax, [rbp + 0x150]
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 0x1400d1bc8
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
lea rdx, str.__cdecl_crashpad::_anonymous_namespace_::Metadata::Metadata_void_
lea r8, str.third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rbp - 0x48]
mov r9d, 0x13b
call fcn.1400f3e50
lea rdx, [0x14018d0d6]
lea rcx, [rbp - 0x48]
mov r8d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
call fcn.140013430
lea rcx, [rbp - 0x48]
call fcn.1400f3e80
mov rsi, qword [r14 + 0x40]
test rsi, rsi
je 0x1400d1c26
mov rdi, qword [r14 + 0x48]
mov rcx, rsi
cmp rdi, rsi
je 0x1400d1c1d
add rdi, 0xffffffffffffffa0
jmp 0x1400d1c08
mov rcx, rdi
call fcn.140047a20
lea rax, [rdi - 0x70]
add rdi, 0xfffffffffffffff0
cmp rdi, rsi
mov rdi, rax
je 0x1400d1c19
cmp byte [rdi + 0x2f], 0
jns 0x1400d1bf0
mov rcx, qword [rdi + 0x18]
call fcn.14010e7fc
jmp 0x1400d1bf0
mov rcx, qword [r14 + 0x40]
mov qword [r14 + 0x48], rsi
call fcn.14010e7fc
lea rcx, [r14 + 0x20]
call fcn.140047a20
lea rcx, [r14 + 8]
call fcn.140047a20
mov rcx, qword [r14]
cmp rcx, 0xffffffffffffffff
je 0x1400d1c46
call fcn.1400f1db0
mov rcx, r14
call fcn.14010e7fc
nop
add rsp, 0x228
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x1400d2126
mov rdi, qword [r14 + 0x40]
mov rbx, qword [r14 + 0x48]
mov rsi, rbx
sub rsi, rdi
sar rsi, 4
movabs rax, 0x6db6db6db6db6db7
imul rsi, rax
mov dword [rbp + 0x104], 0
movabs rax, 0x143504144
mov qword [rbp + 0xf8], rax
mov rax, rsi
shr rax, 0x20
jne 0x1400d23ee
mov eax, esi
mov dword [rbp + 0x100], eax
mov rcx, qword [r14]
lea rdx, [rbp + 0xf8]
mov r8d, 0x10
call fcn.1400f6de0
test al, al
je 0x1400d2178
cmp rbx, rdi
je 0x1400d1b43
mov qword [rbp + 0x188], r14
xorps xmm0, xmm0
movaps xmmword [rbp + 0x170], xmm0
mov qword [rbp + 0x180], 0
movabs rax, 0x492492492492493
cmp rsi, rax
jae 0x1400d240e
imul r13, rsi, 0x38
mov qword [rbp + 0x198], 0
mov rcx, r13
call fcn.14010e7c0
mov rsi, rax
add r13, rax
mov rax, qword [rbp + 0x188]
mov r14, qword [rax + 0x40]
mov rcx, qword [rax + 0x48]
mov qword [rbp + 0x108], rcx
add rax, 8
mov qword [rbp + 0x140], rax
lea rdx, [rbp - 0x48]
mov r12, rsi
jmp 0x1400d1dc8
movaps xmm0, xmmword [rbp + 0xe0]
movups xmmword [r12], xmm0
mov rax, qword [rbp + 0x130]
mov dword [r12 + 0x10], eax
mov rax, qword [rbp + 0x138]
mov dword [r12 + 0x14], eax
mov qword [r12 + 0x18], r11
mov qword [r12 + 0x20], r10
mov dword [r12 + 0x28], r9d
mov dword [r12 + 0x2c], r15d
mov byte [r12 + 0x30], sil
mov dword [r12 + 0x31], 0
mov dword [r12 + 0x34], 0
mov rdi, r12
mov rsi, qword [rbp + 0x190]
add rdi, 0x38
add r14, 0x70
mov r12, rdi
lea rdx, [rbp - 0x48]
cmp r14, qword [rbp + 0x108]
mov qword [rbp + 0x190], rsi
je 0x1400d21b8
lea rdi, [r14 + 0x10]
mov qword [rbp + 0x198], rsi
mov rcx, rdi
call fcn.1400cf610
lea rsi, [rbp - 0x48]
mov rcx, rsi
mov rdx, qword [rbp + 0x140]
call fcn.1400cf600
mov r15d, eax
mov rcx, rsi
call fcn.140047a20
test r15b, r15b
jne 0x1400d227b
movups xmm0, xmmword [r14]
movaps xmmword [rbp + 0xe0], xmm0
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x198], rax
mov rcx, rdi
lea rdx, [rbp + 0x150]
call fcn.1400cf8a0
movzx eax, byte [rbp + 0x167]
test al, al
mov rcx, qword [rbp + 0x150]
lea rdx, [rbp + 0x150]
cmovns rcx, rdx
mov qword [rbp + 0x120], rcx
cmovs rax, qword [rbp + 0x158]
mov qword [rbp + 0x128], rax
lea rdi, [rbp - 0x48]
mov rcx, rdi
lea rdx, [rbp + 0x120]
call fcn.1400f24f0
movzx ebx, byte [rbp + 0x187]
test bl, bl
jns 0x1400d1e94
mov rbx, qword [rbp + 0x178]
mov rax, rbx
shr rax, 0x20
lea rsi, [rbp + 0x170]
jne 0x1400d2116
movzx r8d, byte [rbp - 0x31]
test r8b, r8b
cmovs r8, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x48]
cmovns rdx, rdi
mov rcx, rsi
call fcn.1400480f0
mov rcx, rsi
xor edx, edx
call fcn.140048480
cmp byte [rbp - 0x31], 0
jns 0x1400d1ede
mov rcx, qword [rbp - 0x48]
call fcn.14010e7fc
lea rcx, [rbp + 0x150]
call fcn.140047a20
movzx ecx, byte [rbp + 0x187]
test cl, cl
jns 0x1400d1efc
mov rcx, qword [rbp + 0x178]
mov rax, rcx
shr rax, 0x20
jne 0x1400d211e
mov qword [rbp + 0x130], rbx
movzx r8d, byte [r14 + 0x3f]
test r8b, r8b
mov qword [rbp + 0x138], rcx
jns 0x1400d1f30
mov r8, qword [r14 + 0x30]
mov rdx, qword [r14 + 0x28]
jmp 0x1400d1f34
lea rdx, [r14 + 0x28]
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x198], rax
mov rcx, rsi
call fcn.1400480f0
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x198], rax
lea rcx, [rbp + 0x170]
xor edx, edx
call fcn.140048480
mov r11, qword [r14 + 0x40]
mov r10, qword [r14 + 0x50]
mov r9d, dword [r14 + 0x58]
mov r15d, dword [r14 + 0x68]
movzx esi, byte [r14 + 0x5c]
add sil, sil
or sil, byte [r14 + 0x48]
cmp r12, r13
jb 0x1400d1d60
mov rdi, r12
mov rdx, qword [rbp + 0x190]
sub rdi, rdx
sar rdi, 3
movabs rax, 0x6db6db6db6db6db7
imul rdi, rax
lea rbx, [rdi + 1]
movabs rcx, 0x492492492492493
cmp rbx, rcx
jae 0x1400d23f6
sub r13, rdx
sar r13, 3
imul r13, rax
lea rax, [r13*2]
cmp rax, rbx
cmova rbx, rax
movabs rax, 0x249249249249249
cmp r13, rax
movabs rax, 0x492492492492492
cmovae rbx, rax
test rbx, rbx
je 0x1400d2054
mov qword [rbp + 0x118], r11
mov qword [rbp + 0x110], r10
mov dword [rbp + 0x14c], r9d
movabs rax, 0x492492492492493
cmp rbx, rax
jae 0x1400d2402
imul rcx, rbx, 0x38
mov qword [rbp + 0x198], rdx
call fcn.14010e7c0
mov r13, rax
mov rdx, qword [rbp + 0x190]
mov r9d, dword [rbp + 0x14c]
mov r10, qword [rbp + 0x110]
mov r11, qword [rbp + 0x118]
jmp 0x1400d2057
xor r13d, r13d
imul rax, rdi, 0x38
lea rdi, [rax + r13]
movaps xmm0, xmmword [rbp + 0xe0]
movups xmmword [r13 + rax], xmm0
mov rcx, qword [rbp + 0x130]
mov dword [r13 + rax + 0x10], ecx
mov rcx, qword [rbp + 0x138]
mov dword [r13 + rax + 0x14], ecx
mov qword [r13 + rax + 0x18], r11
mov qword [r13 + rax + 0x20], r10
mov dword [r13 + rax + 0x28], r9d
mov dword [r13 + rax + 0x2c], r15d
mov byte [r13 + rax + 0x30], sil
mov dword [r13 + rax + 0x31], 0
mov dword [r13 + rax + 0x34], 0
mov rsi, rdi
cmp r12, rdx
je 0x1400d20ff
nop word [rax + rax]
mov rax, qword [r12 - 8]
mov qword [rsi - 8], rax
movups xmm0, xmmword [r12 - 0x38]
movups xmm1, xmmword [r12 - 0x28]
movups xmm2, xmmword [r12 - 0x18]
lea rax, [r12 - 0x38]
movups xmmword [rsi - 0x18], xmm2
movups xmmword [rsi - 0x28], xmm1
movups xmmword [rsi - 0x38], xmm0
add rsi, 0xffffffffffffffc8
mov r12, rax
cmp rax, rdx
jne 0x1400d20c0
test rdx, rdx
jne 0x1400d2102
jmp 0x1400d210a
mov rdx, r12
mov rcx, rdx
call fcn.14010e7fc
imul rax, rbx, 0x38
add r13, rax
jmp 0x1400d1db9
int3
int3
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace_::Metadata::Write_void_
lea r8, str.third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rbp - 0x48]
mov r9d, 0x20a
call fcn.1400f3e50
lea rdx, str.failed_to_truncate
lea rcx, [rbp - 0x48]
mov r8d, 0x12
call fcn.140013430
lea rcx, [rbp - 0x48]
call fcn.1400f3e80
jmp 0x1400d1b43
mov dword [rsp + 0x20], 2
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace_::Metadata::Write_void_
lea r8, str.third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rbp - 0x48]
mov r9d, 0x216
call fcn.1400f33f0
lea rdx, str.failed_to_write_header
lea rcx, [rbp - 0x48]
mov r8d, 0x16
call fcn.140013430
jmp 0x1400d1b3a
sub r12, rsi
mov rax, qword [rbp + 0x188]
mov rcx, qword [rax]
mov qword [rbp + 0x198], rsi
mov rdx, rsi
mov r8, r12
call fcn.1400f6de0
test al, al
je 0x1400d2366
movzx r8d, byte [rbp + 0x187]
test r8b, r8b
cmovs r8, qword [rbp + 0x178]
lea rdx, [rbp + 0x170]
cmovs rdx, qword [rbp + 0x170]
mov rax, qword [rbp + 0x188]
mov rcx, qword [rax]
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x198], rax
call fcn.1400f6de0
test al, al
mov r14, qword [rbp + 0x188]
jne 0x1400d23bf
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x198], rax
mov dword [rsp + 0x20], 2
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace_::Metadata::Write_void_
lea r8, str.third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rbp - 0x48]
mov r9d, 0x233
call fcn.1400f33f0
lea rdx, str.failed_to_write_string_table
lea rcx, [rbp - 0x48]
mov r8d, 0x1c
call fcn.140013430
jmp 0x1400d23af
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x198], rax
mov dword [rsp + 0x20], 2
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace_::Metadata::Write_void_
lea r8, str.third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rbp - 0x48]
mov r9d, 0x224
call fcn.1400f33f0
cmp byte [r14 + 0x27], 0
jns 0x1400d22b9
mov rdi, qword [r14 + 0x10]
lea rcx, [rbp - 0x48]
mov rdx, rdi
call fcn.14004c8a0
mov r14, qword [rbp + 0x188]
lea rdx, str._expected_to_start_with
mov r8d, 0x18
mov rcx, rax
call fcn.140013430
mov rdi, rax
movzx eax, byte [r14 + 0x1f]
test al, al
mov rcx, qword [rbp + 0x140]
cmovs rcx, qword [r14 + 8]
mov qword [rbp + 0x120], rcx
cmovs rax, qword [r14 + 0x10]
mov qword [rbp + 0x128], rax
lea rbx, [rbp + 0x150]
lea rdx, [rbp + 0x120]
mov rcx, rbx
call fcn.1400f24f0
movzx r8d, byte [rbp + 0x167]
test r8b, r8b
cmovs r8, qword [rbp + 0x158]
cmovs rbx, qword [rbp + 0x150]
mov rcx, rdi
mov rdx, rbx
call fcn.140013430
cmp byte [rbp + 0x167], 0
jns 0x1400d235b
mov rcx, qword [rbp + 0x150]
call fcn.14010e7fc
lea rcx, [rbp - 0x48]
call fcn.1400f3c40
jmp 0x1400d23bf
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x198], rax
mov dword [rsp + 0x20], 2
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace_::Metadata::Write_void_
lea r8, str.third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rbp - 0x48]
mov r9d, 0x22e
call fcn.1400f33f0
lea rdx, str.failed_to_write_records
lea rcx, [rbp - 0x48]
mov r8d, 0x17
call fcn.140013430
lea rcx, [rbp - 0x48]
call fcn.1400f3c40
mov r14, qword [rbp + 0x188]
mov rcx, qword [rbp + 0x190]
test rcx, rcx
je 0x1400d23d0
call fcn.14010e7fc
cmp byte [rbp + 0x187], 0
jns 0x1400d1b43
mov rcx, qword [rbp + 0x170]
call fcn.14010e7fc
jmp 0x1400d1b43
int3
mov qword [rbp + 0x198], rdx
call fcn.140012e20
mov qword [rbp + 0x198], rdx
call fcn.140012fe0
mov qword [rbp + 0x198], 0
call fcn.140012e20
int3