Function at 0x14005fa90
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, 0x218
mov rax, qword [0x14029b028]
xor rax, rsp
mov qword [rsp + 0x210], rax
mov rsi, qword [rcx]
mov qword [rcx], 0
test rsi, rsi
je 0x14005fb60
cmp byte [rsi + 0x48], 0
jne 0x14005fc15
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
je 0x14005fbb4
mov rbx, qword [rsi + 0x50]
test rbx, rbx
jne 0x14005fb85
cmp byte [rsi + 0x47], 0
jns 0x14005fb1e
mov rcx, qword [rsi + 0x30]
call fcn.1401833ec
cmp byte [rsi + 0x2f], 0
jns 0x14005fb2d
mov rcx, qword [rsi + 0x18]
call fcn.1401833ec
lea rax, [0x14026ecd0]
mov qword [rsi], rax
cmp byte [rsi + 0x10], 0
jne 0x140060355
mov rcx, qword [rsi + 8]
cmp rcx, 0xffffffffffffffff
je 0x14005fb58
call fcn.140060390
test al, al
je 0x140060358
mov rcx, rsi
call fcn.1401833ec
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.140186020
nop
add rsp, 0x218
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdi, qword [rsi + 0x58]
mov rcx, rbx
cmp rdi, rbx
je 0x14005fba6
add rdi, 0xffffffffffffff90
mov rcx, rdi
call fcn.14020ec70
cmp rdi, rbx
jne 0x14005fb91
mov rcx, qword [rsi + 0x50]
mov qword [rsi + 0x58], rbx
call fcn.1401833ec
jmp 0x14005fb0f
cmp dword [0x1402b65e0], 2
jg 0x14005fb06
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xb0]
mov rcx, rdi
mov r8d, 0x13b
mov r9d, 2
call fcn.1401f99b0
lea rcx, [rsp + 0xc0]
lea rdx, [0x14028593c]
mov r8d, 0xc
call fcn.1401c1300
mov rcx, rdi
call fcn.1401f9a30
jmp 0x14005fb06
mov rcx, qword [rsi + 8]
xor edx, edx
xor r8d, r8d
call fcn.14003ad90
test rax, rax
je 0x14005fce4
cmp dword [0x1402b65e0], 2
jg 0x14005fad2
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xb0]
mov rcx, rdi
mov r8d, 0x203
mov r9d, 2
call fcn.140007440
lea rcx, [rsp + 0xc0]
lea rdx, str.failed_to_rewind_to_write
mov r8d, 0x19
call fcn.1401c1300
mov rcx, rdi
call fcn.140007530
jmp 0x14005fad2
cmp dword [0x1402b65e0], 2
jg 0x14005fad2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xb0]
mov rcx, rdi
mov r8d, 0x20a
mov r9d, 2
call fcn.1401f99b0
lea rcx, [rsp + 0xc0]
lea rdx, str.failed_to_truncate
mov r8d, 0x12
call fcn.1401c1300
mov rcx, rdi
call fcn.1401f9a30
jmp 0x14005fad2
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x14005fc83
mov rbx, qword [rsi + 0x50]
mov r14, qword [rsi + 0x58]
mov rdi, r14
sub rdi, rbx
sar rdi, 4
movabs rax, 0x6db6db6db6db6db7
imul rdi, rax
mov dword [rsp + 0xac], 0
movabs rax, 0x143504144
mov qword [rsp + 0xa0], rax
mov rax, rdi
shr rax, 0x20
jne 0x14006035b
mov eax, edi
lea rdx, [rsp + 0xa0]
mov dword [rdx + 8], eax
mov rcx, qword [rsi + 8]
mov r8d, 0x10
call fcn.140059dc0
test al, al
jne 0x14005fda6
cmp dword [0x1402b65e0], 2
jg 0x14005fad2
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xb0]
mov rcx, rdi
mov r8d, 0x216
mov r9d, 2
call fcn.140007440
lea rcx, [rsp + 0xc0]
lea rdx, str.failed_to_write_header
mov r8d, 0x16
jmp 0x14005fc71
cmp r14, rbx
je 0x14005fad2
movabs rax, 0x492492492492492
xorps xmm0, xmm0
movaps xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x90], 0
cmp rdi, rax
ja 0x14006036f
imul r13, rdi, 0x38
mov rcx, r13
call fcn.1401833f4
mov r15, rax
mov rbx, qword [rsi + 0x50]
mov rax, qword [rsi + 0x58]
mov qword [rsp + 0x58], rax
cmp rbx, rax
je 0x140060369
add r13, r15
lea rax, [rsi + 0x18]
mov qword [rsp + 0x40], rax
mov rdi, r15
jmp 0x14005fe70
test rdi, rdi
je 0x140060378
movaps xmm0, xmmword [rsp + 0x200]
movups xmmword [rdi], xmm0
mov eax, dword [rsp + 0x3c]
mov dword [rdi + 0x10], eax
mov eax, dword [rsp + 0x30]
mov dword [rdi + 0x14], eax
mov rax, qword [rsp + 0x48]
mov qword [rdi + 0x18], rax
mov rax, qword [rsp + 0x50]
mov qword [rdi + 0x20], rax
mov eax, dword [rsp + 0x34]
mov dword [rdi + 0x28], eax
mov eax, dword [rsp + 0x38]
mov dword [rdi + 0x2c], eax
mov byte [rdi + 0x30], bpl
xor eax, eax
mov dword [rdi + 0x31], eax
mov dword [rdi + 0x34], eax
add rdi, 0x38
add rbx, 0x70
cmp rbx, qword [rsp + 0x58]
je 0x140060260
lea r12, [rbx + 0x10]
mov rcx, r12
lea r14, [rsp + 0xb0]
mov rdx, r14
call fcn.140123a80
mov rcx, r14
mov rdx, qword [rsp + 0x40]
call fcn.140071a40
mov ebp, eax
cmp byte [rsp + 0xc7], 0
jns 0x14005fead
mov rcx, qword [rsp + 0xb0]
call fcn.1401833ec
test bpl, bpl
jne 0x140060117
movups xmm0, xmmword [rbx]
movaps xmmword [rsp + 0x200], xmm0
mov rcx, r12
lea rdx, [rsp + 0x60]
call fcn.140123600
movzx eax, byte [rsp + 0x77]
test al, al
js 0x14005fee1
and eax, 0x7f
lea rcx, [rsp + 0x60]
jmp 0x14005feeb
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x1f0], rcx
mov qword [rsp + 0x1f8], rax
test rax, rax
js 0x140060372
test rcx, rcx
jne 0x14005ff12
test rax, rax
jne 0x140060375
lea r14, [rsp + 0xb0]
mov rcx, r14
lea rdx, [rsp + 0x1f0]
call fcn.140148c90
lea rcx, [rsp + 0x80]
mov rdx, r14
call fcn.14020ed60
mov dword [rsp + 0x3c], eax
cmp byte [rsp + 0xc7], 0
jns 0x14005ff55
mov rcx, qword [rsp + 0xb0]
call fcn.1401833ec
cmp byte [rsp + 0x77], 0
jns 0x14005ff66
mov rcx, qword [rsp + 0x60]
call fcn.1401833ec
lea rdx, [rbx + 0x28]
lea rcx, [rsp + 0x80]
call fcn.14020ed60
mov dword [rsp + 0x30], eax
mov rax, qword [rbx + 0x40]
mov qword [rsp + 0x48], rax
mov rax, qword [rbx + 0x50]
mov qword [rsp + 0x50], rax
mov eax, dword [rbx + 0x58]
mov dword [rsp + 0x34], eax
mov eax, dword [rbx + 0x68]
mov dword [rsp + 0x38], eax
mov bpl, byte [rbx + 0x5c]
add bpl, bpl
or bpl, byte [rbx + 0x48]
cmp rdi, r13
jb 0x14005fe0f
mov r12, rdi
sub r12, r15
sar r12, 3
movabs rax, 0x6db6db6db6db6db7
imul r12, rax
lea r14, [r12 + 1]
movabs rax, 0x492492492492492
cmp r14, rax
ja 0x14006037b
sub r13, r15
sar r13, 3
movabs rax, 0x6db6db6db6db6db7
imul r13, rax
lea rax, [r13*2]
cmp rax, r14
cmova r14, rax
movabs rax, 0x249249249249249
cmp r13, rax
movabs rax, 0x492492492492492
cmovae r14, rax
test r14, r14
je 0x1400600f7
cmp r14, rax
ja 0x14006037e
imul rcx, r14, 0x38
call fcn.1401833f4
mov r13, rax
imul r12, r12, 0x38
add r12, r13
je 0x140060381
movaps xmm0, xmmword [rsp + 0x200]
movups xmmword [r12], xmm0
mov eax, dword [rsp + 0x3c]
mov dword [r12 + 0x10], eax
mov eax, dword [rsp + 0x30]
mov dword [r12 + 0x14], eax
mov rax, qword [rsp + 0x48]
mov qword [r12 + 0x18], rax
mov rax, qword [rsp + 0x50]
mov qword [r12 + 0x20], rax
mov eax, dword [rsp + 0x34]
mov dword [r12 + 0x28], eax
mov eax, dword [rsp + 0x38]
mov dword [r12 + 0x2c], eax
mov byte [r12 + 0x30], bpl
xor eax, eax
mov dword [r12 + 0x31], eax
mov dword [r12 + 0x34], eax
mov rbp, r12
cmp rdi, r15
je 0x1400600e0
mov rax, r12
mov rcx, rdi
mov rdx, qword [rcx - 8]
mov qword [rax - 8], rdx
movups xmm0, xmmword [rcx - 0x38]
movups xmm1, xmmword [rcx - 0x28]
movups xmm2, xmmword [rcx - 0x18]
lea rdx, [rcx - 0x38]
lea rbp, [rax - 0x38]
movups xmmword [rax - 0x18], xmm2
movups xmmword [rax - 0x28], xmm1
movups xmmword [rax - 0x38], xmm0
mov rax, rbp
mov rcx, rdx
cmp rdx, r15
jne 0x1400600ad
imul rax, r14, 0x38
add r13, rax
cmp rdi, r15
je 0x1400600ff
add rdi, 0xffffffffffffffc8
jne 0x1400600e7
jmp 0x140060363
xor r13d, r13d
jmp 0x14006003c
test r15, r15
je 0x14006010c
mov rcx, r15
call fcn.1401833ec
mov r15, rbp
mov rdi, r12
jmp 0x14005fe5d
cmp dword [0x1402b65e0], 2
jg 0x140060223
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rcx, [rsp + 0xb0]
mov r8d, 0x224
mov r9d, 2
call fcn.140007440
lea rcx, [rsp + 0xc0]
cmp byte [rbx + 0x27], 0
jns 0x140060156
mov r12, qword [r12]
mov rdx, r12
call fcn.1401f79e0
lea rdx, str._expected_to_start_with
mov r8d, 0x18
mov rcx, rax
call fcn.1401c1300
mov r14, rax
movzx eax, byte [rsi + 0x2f]
test al, al
jns 0x1400601a5
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x20]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x1f0], rcx
mov qword [rsp + 0x1f8], rax
test rax, rax
jns 0x1400601ba
jmp 0x14006036c
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x1f0], rcx
mov qword [rsp + 0x1f8], rax
cmp qword [rsp + 0x40], 0
jne 0x1400601cb
test rax, rax
jne 0x140060384
lea rbx, [rsp + 0x60]
lea rdx, [rsp + 0x1f0]
mov rcx, rbx
call fcn.140148c90
movzx r8d, byte [rbx + 0x17]
test r8b, r8b
js 0x1400601f0
and r8d, 0x7f
jmp 0x1400601fa
mov r8, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov rcx, r14
mov rdx, rbx
call fcn.1401c1300
cmp byte [rsp + 0x77], 0
jns 0x140060216
mov rcx, qword [rsp + 0x60]
call fcn.1401833ec
lea rcx, [rsp + 0xb0]
call fcn.140007530
test r15, r15
je 0x140060240
cmp rdi, r15
je 0x140060238
add rdi, 0xffffffffffffffc8
jne 0x140060228
jmp 0x140060366
mov rcx, r15
call fcn.1401833ec
cmp byte [rsp + 0x97], 0
jns 0x14005fad2
mov rcx, qword [rsp + 0x80]
call fcn.1401833ec
jmp 0x14005fad2
mov r8, rdi
sub r8, r15
je 0x140060369
mov rcx, qword [rsi + 8]
mov rdx, r15
call fcn.140059dc0
test al, al
je 0x140060303
movzx eax, byte [rsp + 0x97]
mov r8d, eax
and r8d, 0x7f
test al, al
cmovs r8, qword [rsp + 0x88]
lea rdx, [rsp + 0x80]
cmovs rdx, qword [rsp + 0x80]
mov rcx, qword [rsi + 8]
call fcn.140059dc0
test al, al
jne 0x140060223
cmp dword [0x1402b65e0], 2
jg 0x140060223
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rbx, [rsp + 0xb0]
mov rcx, rbx
mov r8d, 0x233
mov r9d, 2
call fcn.140007440
lea rcx, [rsp + 0xc0]
lea rdx, str.failed_to_write_string_table
mov r8d, 0x1c
jmp 0x140060348
cmp dword [0x1402b65e0], 2
jg 0x140060223
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rbx, [rsp + 0xb0]
mov rcx, rbx
mov r8d, 0x22e
mov r9d, 2
call fcn.140007440
lea rcx, [rsp + 0xc0]
lea rdx, str.failed_to_write_records
mov r8d, 0x17
call fcn.1401c1300
mov rcx, rbx
jmp 0x14006021e
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3