Function at 0x14000ccd4
Capabilities:
Clear file content
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x238
mov rax, qword [0x140131038]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rsi, qword [rcx]
mov qword [rcx], 0
test rsi, rsi
jne 0x14000cd2d
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140079ea0
nop
add rsp, 0x238
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp byte [rsi + 0x30], 0
je 0x14000ce12
mov rcx, qword [rsi + 8]
xor edx, edx
xor r8d, r8d
call fcn.1400bfd4b
test rax, rax
jne 0x14000cdbf
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14000cf09
mov ecx, 2
call fcn.140062530
test al, al
je 0x14000ce12
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xd0]
mov rcx, rdi
mov r8d, 0x20a
mov r9d, 2
call fcn.1400e24c0
lea rcx, [rsp + 0xe0]
lea rdx, str.failed_to_truncate
mov r8d, 0x12
call fcn.14006c36d
mov rcx, rdi
call fcn.1400c3280
jmp 0x14000ce12
mov ecx, 2
call fcn.140062530
test al, al
je 0x14000ce12
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xd0]
mov rcx, rdi
mov r8d, 0x203
mov r9d, 2
call fcn.1400caa50
lea rcx, [rsp + 0xe0]
lea rdx, str.failed_to_rewind_to_write
mov r8d, 0x19
call fcn.14006c36d
mov rcx, rdi
call fcn.140001da0
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 0x14000cebf
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovle edx, eax
lea rcx, str.Microsoft.Crashpad.UnlockFileExFailedWithHR
call fcn.1400623e0
mov ecx, 2
call fcn.140062530
test al, al
je 0x14000cebf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xd0]
mov rcx, rdi
mov r8d, 0x139
mov r9d, 2
call fcn.1400e24c0
lea rcx, [rsp + 0xe0]
lea rdx, [0x140118b46]
mov r8d, 0xc
call fcn.14006c36d
mov rcx, rdi
call fcn.1400c3280
lea rcx, [rsi + 0x38]
call fcn.1400ef7bc
lea rcx, [rsi + 0x18]
call fcn.14004e350
lea rax, [0x1401133f8]
mov qword [rsi], rax
cmp byte [rsi + 0x10], 0
jne 0x14000d515
mov rcx, qword [rsi + 8]
cmp rcx, 0xffffffffffffffff
je 0x14000cefc
call fcn.140006e33
mov qword [rsi + 8], 0xffffffffffffffff
mov rcx, rsi
call fcn.140076eb8
jmp 0x14000cd08
mov rbx, qword [rsi + 0x40]
sub rbx, qword [rsi + 0x38]
mov rdi, rbx
sar rdi, 4
movabs rax, 0x6db6db6db6db6db7
imul rdi, rax
mov dword [rsp + 0xcc], 0
movabs rax, 0x143504144
mov qword [rsp + 0xc0], rax
mov rax, rdi
shr rax, 0x20
jne 0x14000d4fb
mov eax, edi
lea rdx, [rsp + 0xc0]
mov dword [rdx + 8], eax
mov rcx, qword [rsi + 8]
mov r8d, 0x10
call fcn.1400c0f92
test al, al
je 0x14000d34c
test rbx, rbx
je 0x14000ce12
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 0x14000d510
imul rdi, rdi, 0x38
mov rcx, rdi
call fcn.140076ec8
add rdi, rax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rdi
mov r14, qword [rsi + 0x38]
mov rcx, qword [rsi + 0x40]
mov r12, rax
mov qword [rsp + 0x58], rcx
cmp r14, rcx
je 0x14000d2b9
lea rcx, [rsi + 0x18]
mov qword [rsp + 0x40], rcx
lea rbx, [rsp + 0xd0]
lea rdi, [rsp + 0x60]
mov r12, rax
lea rbp, [r14 + 0x10]
mov rcx, rbp
mov rdx, rbx
call fcn.1400079d0
mov rcx, rbx
mov rdx, qword [rsp + 0x40]
call fcn.14005ebf0
mov r13d, eax
mov rcx, rbx
call fcn.14004e350
test r13b, r13b
jne 0x14000d3f2
movups xmm0, xmmword [r14]
movaps xmmword [rsp + 0x220], xmm0
mov rcx, rbp
mov rdx, rdi
call fcn.140007390
movzx eax, byte [rsp + 0x77]
test al, al
mov rcx, qword [rsp + 0x60]
cmovns rcx, rdi
mov qword [rsp + 0x210], rcx
cmovs rax, qword [rsp + 0x68]
mov qword [rsp + 0x218], rax
mov rcx, rbx
lea rdx, [rsp + 0x210]
call fcn.140054e90
lea rcx, [rsp + 0xa0]
mov rdx, rbx
call fcn.1400f124d
mov r13d, eax
cmp byte [rsp + 0xe7], 0
jns 0x14000d0b5
mov rcx, qword [rsp + 0xd0]
call fcn.140076eb8
mov rcx, rdi
call fcn.14004e350
lea rdx, [r14 + 0x28]
lea rcx, [rsp + 0xa0]
call fcn.1400f124d
mov rcx, qword [r14 + 0x40]
mov r11, qword [r14 + 0x50]
mov r10d, dword [r14 + 0x58]
mov r9d, dword [r14 + 0x68]
mov bpl, byte [r14 + 0x5c]
add bpl, bpl
or bpl, byte [r14 + 0x48]
mov r15, qword [rsp + 0x90]
cmp r12, r15
jae 0x14000d143
movaps xmm0, xmmword [rsp + 0x220]
movups xmmword [r12], xmm0
mov dword [r12 + 0x10], r13d
mov dword [r12 + 0x14], eax
mov qword [r12 + 0x18], rcx
mov qword [r12 + 0x20], r11
mov dword [r12 + 0x28], r10d
mov dword [r12 + 0x2c], r9d
mov byte [r12 + 0x30], bpl
xor eax, eax
mov dword [r12 + 0x31], eax
mov dword [r12 + 0x34], eax
add r12, 0x38
mov qword [rsp + 0x88], r12
jmp 0x14000d2a2
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x3c], eax
mov r8, qword [rsp + 0x80]
sub r12, r8
mov rdi, r12
sar rdi, 3
movabs rax, 0x6db6db6db6db6db7
imul rdi, rax
lea rbx, [rdi + 1]
movabs rdx, 0x492492492492492
cmp rbx, rdx
ja 0x14000d503
sub r15, r8
sar r15, 3
imul r15, rax
lea rcx, [r15 + r15]
cmp rcx, rbx
jb 0x14000d19a
mov rbx, rcx
movabs rcx, 0x249249249249249
cmp r15, rcx
cmovae rbx, rdx
test rbx, rbx
mov dword [rsp + 0x38], r13d
jne 0x14000d1ba
xor r13d, r13d
jmp 0x14000d1f3
mov qword [rsp + 0x48], r11
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x34], r9d
cmp rbx, rdx
ja 0x14000d510
mov r15, r8
imul rcx, rbx, 0x38
call fcn.140076ec8
mov r13, rax
mov r8, r15
mov r9d, dword [rsp + 0x34]
mov r10d, dword [rsp + 0x30]
mov r11, qword [rsp + 0x48]
imul rdi, rdi, 0x38
lea r15, [rdi + r13]
imul rbx, rbx, 0x38
add rbx, r13
movaps xmm0, xmmword [rsp + 0x220]
movups xmmword [r13 + rdi], xmm0
mov eax, dword [rsp + 0x38]
mov dword [r13 + rdi + 0x10], eax
mov eax, dword [rsp + 0x3c]
mov dword [r13 + rdi + 0x14], eax
mov rax, qword [rsp + 0x50]
mov qword [r13 + rdi + 0x18], rax
mov qword [r13 + rdi + 0x20], r11
mov dword [r13 + rdi + 0x28], r10d
mov dword [r13 + rdi + 0x2c], r9d
mov byte [r13 + rdi + 0x30], bpl
xor eax, eax
mov dword [r13 + rdi + 0x31], eax
mov dword [r13 + rdi + 0x34], eax
sub r15, r12
test r12, r12
jle 0x14000d268
mov rcx, r15
mov rdx, r8
mov rbp, r8
mov r8, r12
call fcn.14007be20
mov r8, rbp
lea r12, [rdi + r13]
add r12, 0x38
mov qword [rsp + 0x80], r15
mov qword [rsp + 0x88], r12
mov qword [rsp + 0x90], rbx
test r8, r8
je 0x14000d295
mov rcx, r8
call fcn.140076eb8
lea rdi, [rsp + 0x60]
lea rbx, [rsp + 0xd0]
add r14, 0x70
cmp qword [rsp + 0x58], r14
jne 0x14000d00e
mov rax, qword [rsp + 0x80]
sub r12, rax
mov rcx, qword [rsi + 8]
mov rdx, rax
mov r8, r12
call fcn.1400c0f92
test al, al
je 0x14000d39b
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.1400c0f92
test al, al
jne 0x14000d4c1
mov ecx, 2
call fcn.140062530
test al, al
je 0x14000d4c1
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xd0]
mov rcx, rdi
mov r8d, 0x233
mov r9d, 2
call fcn.1400caa50
lea rcx, [rsp + 0xe0]
lea rdx, str.failed_to_write_string_table
mov r8d, 0x1c
jmp 0x14000d3e5
mov ecx, 2
call fcn.140062530
test al, al
je 0x14000ce12
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xd0]
mov rcx, rdi
mov r8d, 0x216
mov r9d, 2
call fcn.1400caa50
lea rcx, [rsp + 0xe0]
lea rdx, str.failed_to_write_header
mov r8d, 0x16
jmp 0x14000ce05
mov ecx, 2
call fcn.140062530
test al, al
je 0x14000d4c1
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xd0]
mov rcx, rdi
mov r8d, 0x22e
mov r9d, 2
call fcn.1400caa50
lea rcx, [rsp + 0xe0]
lea rdx, str.failed_to_write_records
mov r8d, 0x17
call fcn.14006c36d
mov rcx, rdi
jmp 0x14000d4bc
mov ecx, 2
call fcn.140062530
test al, al
je 0x14000d4c1
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rsp + 0xd0]
mov r8d, 0x224
mov r9d, 2
call fcn.1400caa50
lea rcx, [rsp + 0xe0]
cmp byte [r14 + 0x27], 0
jns 0x14000d437
mov rbp, qword [r14 + 0x10]
mov rdx, rbp
call fcn.1400e2540
lea rdx, str._expected_to_start_with
mov r8d, 0x18
mov rcx, rax
call fcn.14006c36d
movzx ecx, byte [rsi + 0x2f]
test cl, cl
mov rbp, qword [rsp + 0x40]
cmovs rbp, qword [rsi + 0x18]
mov rbx, rax
lea rdx, [rsp + 0x210]
mov qword [rdx], rbp
cmovs rcx, qword [rsi + 0x20]
mov qword [rdx + 8], rcx
mov rcx, rdi
call fcn.140054e90
movzx r8d, byte [rsp + 0x77]
test r8b, r8b
jns 0x14000d498
mov r8, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x60]
mov rcx, rbx
mov rdx, rdi
call fcn.14006c36d
cmp byte [rsp + 0x77], 0
jns 0x14000d4b4
mov rcx, qword [rsp + 0x60]
call fcn.140076eb8
lea rcx, [rsp + 0xd0]
call fcn.140001da0
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x14000d4db
mov qword [rsp + 0x88], rcx
call fcn.140076eb8
cmp byte [rsp + 0xb7], 0
jns 0x14000ce12
mov rcx, qword [rsp + 0xa0]
call fcn.140076eb8
jmp 0x14000ce12
int3
lea rcx, [rsp + 0x80]
call fcn.1400c8ad4
call fcn.1400771f0
int3