Function at 0x14000efe4
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 [0x14028f028]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rsi, qword [rcx]
mov qword [rcx], 0
test rsi, rsi
jne 0x14000f03d
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400ccfe0
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 0x14000f122
mov rcx, qword [rsi + 8]
xor edx, edx
xor r8d, r8d
call fcn.14013b0ed
test rax, rax
jne 0x14000f0cf
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14000f219
mov ecx, 2
call fcn.1400ac390
test al, al
je 0x14000f122
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.14014efd0
lea rcx, [rsp + 0xe0]
lea rdx, str.failed_to_truncate
mov r8d, 0x12
call fcn.1400a7acb
mov rcx, rdi
call fcn.1401412f0
jmp 0x14000f122
mov ecx, 2
call fcn.1400ac390
test al, al
je 0x14000f122
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.140122230
lea rcx, [rsp + 0xe0]
lea rdx, str.failed_to_rewind_to_write
mov r8d, 0x19
call fcn.1400a7acb
mov rcx, rdi
call fcn.140001c60
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 0x14000f1cf
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.1400ab280
mov ecx, 2
call fcn.1400ac390
test al, al
je 0x14000f1cf
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.14014efd0
lea rcx, [rsp + 0xe0]
lea rdx, [0x14025f3e0]
mov r8d, 0xc
call fcn.1400a7acb
mov rcx, rdi
call fcn.1401412f0
lea rcx, [rsi + 0x38]
call fcn.1401b1150
lea rcx, [rsi + 0x18]
call fcn.14007cab0
lea rax, [0x1402536d8]
mov qword [rsi], rax
cmp byte [rsi + 0x10], 0
jne 0x14000f825
mov rcx, qword [rsi + 8]
cmp rcx, 0xffffffffffffffff
je 0x14000f20c
call fcn.140008583
mov qword [rsi + 8], 0xffffffffffffffff
mov rcx, rsi
call fcn.1400c9cac
jmp 0x14000f018
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 0x14000f80b
mov eax, edi
lea rdx, [rsp + 0xc0]
mov dword [rdx + 8], eax
mov rcx, qword [rsi + 8]
mov r8d, 0x10
call fcn.1401384e7
test al, al
je 0x14000f65c
test rbx, rbx
je 0x14000f122
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 0x14000f820
imul rdi, rdi, 0x38
mov rcx, rdi
call fcn.1400c9cbc
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 0x14000f5c9
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.140009a00
mov rcx, rbx
mov rdx, qword [rsp + 0x40]
call fcn.1400a3cc0
mov r13d, eax
mov rcx, rbx
call fcn.14007cab0
test r13b, r13b
jne 0x14000f702
movups xmm0, xmmword [r14]
movaps xmmword [rsp + 0x220], xmm0
mov rcx, rbp
mov rdx, rdi
call fcn.140008790
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.14008ddb0
lea rcx, [rsp + 0xa0]
mov rdx, rbx
call fcn.1401b2be0
mov r13d, eax
cmp byte [rsp + 0xe7], 0
jns 0x14000f3c5
mov rcx, qword [rsp + 0xd0]
call fcn.1400c9cac
mov rcx, rdi
call fcn.14007cab0
lea rdx, [r14 + 0x28]
lea rcx, [rsp + 0xa0]
call fcn.1401b2be0
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 0x14000f453
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 0x14000f5b2
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 0x14000f813
sub r15, r8
sar r15, 3
imul r15, rax
lea rcx, [r15 + r15]
cmp rcx, rbx
jb 0x14000f4aa
mov rbx, rcx
movabs rcx, 0x249249249249249
cmp r15, rcx
cmovae rbx, rdx
test rbx, rbx
mov dword [rsp + 0x38], r13d
jne 0x14000f4ca
xor r13d, r13d
jmp 0x14000f503
mov qword [rsp + 0x48], r11
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x34], r9d
cmp rbx, rdx
ja 0x14000f820
mov r15, r8
imul rcx, rbx, 0x38
call fcn.1400c9cbc
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 0x14000f578
mov rcx, r15
mov rdx, r8
mov rbp, r8
mov r8, r12
call fcn.1400cf0a0
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 0x14000f5a5
mov rcx, r8
call fcn.1400c9cac
lea rdi, [rsp + 0x60]
lea rbx, [rsp + 0xd0]
add r14, 0x70
cmp qword [rsp + 0x58], r14
jne 0x14000f31e
mov rax, qword [rsp + 0x80]
sub r12, rax
mov rcx, qword [rsi + 8]
mov rdx, rax
mov r8, r12
call fcn.1401384e7
test al, al
je 0x14000f6ab
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.1401384e7
test al, al
jne 0x14000f7d1
mov ecx, 2
call fcn.1400ac390
test al, al
je 0x14000f7d1
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.140122230
lea rcx, [rsp + 0xe0]
lea rdx, str.failed_to_write_string_table
mov r8d, 0x1c
jmp 0x14000f6f5
mov ecx, 2
call fcn.1400ac390
test al, al
je 0x14000f122
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.140122230
lea rcx, [rsp + 0xe0]
lea rdx, str.failed_to_write_header
mov r8d, 0x16
jmp 0x14000f115
mov ecx, 2
call fcn.1400ac390
test al, al
je 0x14000f7d1
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.140122230
lea rcx, [rsp + 0xe0]
lea rdx, str.failed_to_write_records
mov r8d, 0x17
call fcn.1400a7acb
mov rcx, rdi
jmp 0x14000f7cc
mov ecx, 2
call fcn.1400ac390
test al, al
je 0x14000f7d1
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.140122230
lea rcx, [rsp + 0xe0]
cmp byte [r14 + 0x27], 0
jns 0x14000f747
mov rbp, qword [r14 + 0x10]
mov rdx, rbp
call fcn.14014f050
lea rdx, str._expected_to_start_with
mov r8d, 0x18
mov rcx, rax
call fcn.1400a7acb
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.14008ddb0
movzx r8d, byte [rsp + 0x77]
test r8b, r8b
jns 0x14000f7a8
mov r8, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x60]
mov rcx, rbx
mov rdx, rdi
call fcn.1400a7acb
cmp byte [rsp + 0x77], 0
jns 0x14000f7c4
mov rcx, qword [rsp + 0x60]
call fcn.1400c9cac
lea rcx, [rsp + 0xd0]
call fcn.140001c60
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x14000f7eb
mov qword [rsp + 0x88], rcx
call fcn.1400c9cac
cmp byte [rsp + 0xb7], 0
jns 0x14000f122
mov rcx, qword [rsp + 0xa0]
call fcn.1400c9cac
jmp 0x14000f122
int3
lea rcx, [rsp + 0x80]
call fcn.14014e7e0
call fcn.1400c9fe0
int3