Function at 0x14008d110
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, 0x258
movaps xmmword [rsp + 0x240], xmm6
mov rax, qword [0x1401fd028]
xor rax, rsp
mov qword [rsp + 0x238], rax
mov rsi, qword [rcx]
mov qword [rcx], 0
test rsi, rsi
je 0x14008d1d4
cmp byte [rsi + 0x48], 0
jne 0x14008d294
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 0x14008d200
mov rbx, qword [rsi + 0x50]
test rbx, rbx
jne 0x14008d265
lea rcx, [rsi + 0x30]
call fcn.1400eb080
lea rcx, [rsi + 0x18]
call fcn.1400eb080
lea rax, [0x1401cee98]
mov qword [rsi], rax
cmp byte [rsi + 0x10], 0
jne 0x14008da54
mov rcx, qword [rsi + 8]
cmp rcx, 0xffffffffffffffff
je 0x14008d1cc
call fcn.1400a0100
mov rcx, rsi
call fcn.1401098c8
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.14010aeb0
movaps xmm6, xmmword [rsp + 0x240]
add rsp, 0x258
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 2
call fcn.1400ea5c0
test al, al
je 0x14008d18a
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xd0]
mov rcx, rdi
mov r8d, 0x13b
mov r9d, 2
call fcn.14017cef0
lea rcx, [rsp + 0xe0]
lea rdx, [0x1401e6eaa]
mov r8d, 0xc
call fcn.140147010
mov rcx, rdi
call fcn.14017cf70
jmp 0x14008d18a
mov rdi, qword [rsi + 0x58]
mov rcx, rbx
cmp rdi, rbx
je 0x14008d286
add rdi, 0xffffffffffffff90
mov rcx, rdi
call fcn.140191d50
cmp rdi, rbx
jne 0x14008d271
mov rcx, qword [rsi + 0x50]
mov qword [rsi + 0x58], rbx
call fcn.1401098c8
jmp 0x14008d197
mov rcx, qword [rsi + 8]
xor edx, edx
xor r8d, r8d
call fcn.1400a0690
test rax, rax
je 0x14008d36c
mov ecx, 2
call fcn.1400ea5c0
test al, al
je 0x14008d15a
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xd0]
mov rcx, rdi
mov r8d, 0x203
mov r9d, 2
call fcn.140066750
lea rcx, [rsp + 0xe0]
lea rdx, str.failed_to_rewind_to_write
mov r8d, 0x19
call fcn.140147010
mov rcx, rdi
call fcn.140066c80
jmp 0x14008d15a
mov ecx, 2
call fcn.1400ea5c0
test al, al
je 0x14008d15a
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xd0]
mov rcx, rdi
mov r8d, 0x20a
mov r9d, 2
call fcn.14017cef0
lea rcx, [rsp + 0xe0]
lea rdx, str.failed_to_truncate
mov r8d, 0x12
call fcn.140147010
mov rcx, rdi
call fcn.14017cf70
jmp 0x14008d15a
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x14008d307
mov rdi, qword [rsi + 0x50]
mov r14, qword [rsi + 0x58]
mov rbx, r14
sub rbx, rdi
sar rbx, 4
movabs rax, 0x6db6db6db6db6db7
imul rbx, rax
mov dword [rsp + 0xcc], 0
movabs rax, 0x143504144
mov qword [rsp + 0xc0], rax
mov rax, rbx
shr rax, 0x20
jne 0x14008d4dd
mov eax, ebx
lea rdx, [rsp + 0xc0]
mov dword [rdx + 8], eax
mov rcx, qword [rsi + 8]
mov r8d, 0x10
call fcn.1400a0b20
test al, al
je 0x14008d48e
cmp r14, rdi
je 0x14008d15a
movabs rcx, 0x492492492492492
xorps xmm6, xmm6
movaps xmmword [rsp + 0xa0], xmm6
xor eax, eax
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x90], rax
movaps xmmword [rsp + 0x80], xmm6
cmp rbx, rcx
ja 0x14008da57
lea r14, [rsp + 0x98]
lea rdi, [rsp + 0xd0]
mov qword [rdi + 0x20], r14
imul rbx, rbx, 0x38
mov rcx, rbx
call fcn.140109878
add rbx, rax
mov qword [r14 - 0x18], rax
mov qword [r14 - 0x10], rax
movups xmmword [rdi + 0x10], xmm6
mov qword [r14 - 8], rbx
movups xmmword [rdi], xmm6
mov rcx, rdi
call fcn.140191f50
mov rdi, qword [rsi + 0x50]
mov rax, qword [rsi + 0x58]
mov qword [rsp + 0x58], rax
cmp rdi, rax
je 0x14008d4e5
lea rax, [rsi + 0x18]
mov qword [rsp + 0x40], rax
movaps xmm6, xmmword [0x1401cd260]
jmp 0x14008d756
mov ecx, 2
call fcn.1400ea5c0
test al, al
je 0x14008d15a
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xd0]
mov rcx, rdi
mov r8d, 0x216
mov r9d, 2
call fcn.140066750
lea rcx, [rsp + 0xe0]
lea rdx, str.failed_to_write_header
mov r8d, 0x16
jmp 0x14008d2f5
int3
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x88]
sub r8, rdx
je 0x14008da5c
mov rcx, qword [rsi + 8]
call fcn.1400a0b20
test al, al
je 0x14008d586
lea rdx, [rsp + 0xa0]
movzx eax, byte [rdx + 0x17]
mov r8d, eax
and r8d, 0x7f
test al, al
cmovs r8, qword [rdx + 8]
cmovs rdx, qword [rdx]
mov rcx, qword [rsi + 8]
call fcn.1400a0b20
test al, al
jne 0x14008d5d9
mov ecx, 2
call fcn.1400ea5c0
test al, al
je 0x14008d5d9
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xd0]
mov rcx, rdi
mov r8d, 0x233
mov r9d, 2
call fcn.140066750
lea rcx, [rsp + 0xe0]
lea rdx, str.failed_to_write_string_table
mov r8d, 0x1c
jmp 0x14008d5cc
mov ecx, 2
call fcn.1400ea5c0
test al, al
je 0x14008d5d9
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xd0]
mov rcx, rdi
mov r8d, 0x22e
mov r9d, 2
call fcn.140066750
lea rcx, [rsp + 0xe0]
lea rdx, str.failed_to_write_records
mov r8d, 0x17
call fcn.140147010
mov rcx, rdi
call fcn.140066c80
lea rcx, [rsp + 0x80]
call fcn.140191ea0
cmp byte [rsp + 0xb7], 0
jns 0x14008d15a
mov rcx, qword [rsp + 0xa0]
call fcn.1401098c8
jmp 0x14008d15a
mov ecx, 2
call fcn.1400ea5c0
test al, al
je 0x14008d5d9
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rcx, [rsp + 0xd0]
mov r8d, 0x224
mov r9d, 2
call fcn.140066750
lea rcx, [rsp + 0xe0]
cmp byte [rdi + 0x27], 0
jns 0x14008d646
mov r13, qword [r13]
mov rdx, r13
call fcn.140184fc0
lea rdx, str._expected_to_start_with
mov r8d, 0x18
mov rcx, rax
call fcn.140147010
mov rbx, rax
movzx r8d, byte [rsi + 0x2f]
test r8b, r8b
jns 0x14008d67d
mov rax, qword [rsi + 0x18]
mov qword [rsp + 0x40], rax
mov r8, qword [rsi + 0x20]
lea r14, [rsp + 0x210]
mov rcx, r14
mov rdx, qword [rsp + 0x40]
call fcn.1400b6570
lea rdi, [rsp + 0x60]
mov rcx, rdi
mov rdx, r14
call fcn.1400e1890
movzx r8d, byte [rdi + 0x17]
test r8b, r8b
js 0x14008d6b2
and r8d, 0x7f
jmp 0x14008d6bc
mov r8, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x60]
mov rcx, rbx
mov rdx, rdi
call fcn.140147010
cmp byte [rsp + 0x77], 0
jns 0x14008d6d8
mov rcx, qword [rsp + 0x60]
call fcn.1401098c8
lea rcx, [rsp + 0xd0]
jmp 0x14008d5d4
test r13, r13
je 0x14008da28
movaps xmm0, xmmword [rsp + 0x220]
movups xmmword [r13], xmm0
mov eax, dword [rsp + 0x3c]
mov dword [r13 + 0x10], eax
mov eax, dword [rsp + 0x34]
mov dword [r13 + 0x14], eax
mov rax, qword [rsp + 0x48]
mov qword [r13 + 0x18], rax
mov rax, qword [rsp + 0x50]
mov qword [r13 + 0x20], rax
mov eax, dword [rsp + 0x38]
mov dword [r13 + 0x28], eax
mov eax, dword [rsp + 0x30]
mov dword [r13 + 0x2c], eax
mov byte [r13 + 0x30], r15b
xor eax, eax
mov dword [r13 + 0x31], eax
mov dword [r13 + 0x34], eax
add r13, 0x38
mov qword [rsp + 0x88], r13
add rdi, 0x70
cmp rdi, qword [rsp + 0x58]
je 0x14008d4e5
lea r13, [rdi + 0x10]
mov rcx, r13
lea rbx, [rsp + 0xd0]
mov rdx, rbx
call fcn.1400eba70
mov rcx, rbx
mov rdx, qword [rsp + 0x40]
call fcn.1400686b0
mov ebp, eax
mov rcx, rbx
call fcn.1400eb080
test bpl, bpl
jne 0x14008d606
movups xmm0, xmmword [rdi]
movaps xmmword [rsp + 0x220], xmm0
mov rcx, r13
lea rdx, [rsp + 0x60]
call fcn.1400ec040
movzx r8d, byte [rsp + 0x77]
test r8b, r8b
js 0x14008d7bb
and r8d, 0x7f
lea rdx, [rsp + 0x60]
jmp 0x14008d7c5
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
lea r14, [rsp + 0x210]
mov rcx, r14
call fcn.1400b6570
lea rbx, [rsp + 0xd0]
mov rcx, rbx
mov rdx, r14
call fcn.1400e1890
lea rcx, [rsp + 0xa0]
mov rdx, rbx
call fcn.140191fb0
mov dword [rsp + 0x3c], eax
cmp byte [rsp + 0xe7], 0
jns 0x14008d813
mov rcx, qword [rsp + 0xd0]
call fcn.1401098c8
lea rcx, [rsp + 0x60]
call fcn.1400eb080
lea rdx, [rdi + 0x28]
lea rcx, [rsp + 0xa0]
call fcn.140191fb0
mov dword [rsp + 0x34], eax
mov rax, qword [rdi + 0x40]
mov qword [rsp + 0x48], rax
mov rax, qword [rdi + 0x50]
mov qword [rsp + 0x50], rax
mov eax, dword [rdi + 0x58]
mov dword [rsp + 0x38], eax
mov r15b, byte [rdi + 0x5c]
add r15b, r15b
or r15b, byte [rdi + 0x48]
mov eax, dword [rdi + 0x68]
mov dword [rsp + 0x30], eax
mov r13, qword [rsp + 0x88]
mov r14, qword [rsp + 0x90]
cmp r13, r14
jb 0x14008d6e5
lea rax, [rsp + 0xd8]
movabs rcx, 0xaaaaaaaaaaaaaaaa
mov qword [rax + 0x10], rcx
movups xmmword [rax], xmm6
mov rbx, qword [rsp + 0x80]
mov r12, r13
sub r12, rbx
sar r12, 3
movabs rax, 0x6db6db6db6db6db7
imul r12, rax
lea rbp, [r12 + 1]
movabs rax, 0x492492492492492
cmp rbp, rax
ja 0x14008da57
mov rax, r14
sub rax, rbx
sar rax, 3
movabs rcx, 0x6db6db6db6db6db7
imul rax, rcx
lea rcx, [rax + rax]
cmp rcx, rbp
cmova rbp, rcx
movabs rcx, 0x249249249249249
cmp rax, rcx
movabs rax, 0x492492492492492
cmovae rbp, rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0xf0], rax
test rbp, rbp
je 0x14008d938
movabs rax, 0x492492492492492
cmp rbp, rax
ja 0x14008da88
imul rcx, rbp, 0x38
call fcn.140109878
jmp 0x14008d93a
xor eax, eax
imul rcx, r12, 0x38
add rcx, rax
je 0x14008da28
movaps xmm0, xmmword [rsp + 0x220]
movups xmmword [rcx], xmm0
mov edx, dword [rsp + 0x3c]
mov dword [rcx + 0x10], edx
mov edx, dword [rsp + 0x34]
mov dword [rcx + 0x14], edx
mov rdx, qword [rsp + 0x48]
mov qword [rcx + 0x18], rdx
mov rdx, qword [rsp + 0x50]
mov qword [rcx + 0x20], rdx
mov edx, dword [rsp + 0x38]
mov dword [rcx + 0x28], edx
mov edx, dword [rsp + 0x30]
mov dword [rcx + 0x2c], edx
mov byte [rcx + 0x30], r15b
xor edx, edx
mov dword [rcx + 0x31], edx
mov dword [rcx + 0x34], edx
mov rdx, rcx
cmp r13, rbx
je 0x14008d9d3
mov r8, rcx
mov r9, r13
mov rdx, qword [r9 - 8]
mov qword [r8 - 8], rdx
movups xmm0, xmmword [r9 - 0x38]
movups xmm1, xmmword [r9 - 0x28]
movups xmm2, xmmword [r9 - 0x18]
lea r10, [r9 - 0x38]
lea rdx, [r8 - 0x38]
movups xmmword [r8 - 0x18], xmm2
movups xmmword [r8 - 0x28], xmm1
movups xmmword [r8 - 0x38], xmm0
mov r8, rdx
mov r9, r10
cmp r10, rbx
jne 0x14008d99a
imul r8, rbp, 0x38
add rax, r8
add rcx, 0x38
mov qword [rsp + 0x80], rdx
mov qword [rsp + 0xd8], rbx
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0xe0], r13
mov qword [rsp + 0x90], rax
mov qword [rsp + 0xe8], r14
mov qword [rsp + 0xd0], rbx
lea rcx, [rsp + 0xd0]
call fcn.140191f50
jmp 0x14008d747
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.1401491d0
int3
call fcn.140146a50
lea rax, str.vector___index_out_of_bounds
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_vector
lea r9, str.__n___size__
mov r8d, 0x622
call fcn.1401491d0
call fcn.140146a90
int3