Function at 0x14013c410
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 [0x140430040]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rsi, qword [rcx]
mov qword [rcx], 0
test rsi, rsi
je 0x14013c4c8
cmp byte [rsi + 0x48], 1
je 0x14013c574
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 0x14013c50f
mov rdx, qword [rsi + 0x50]
test rdx, rdx
jne 0x14013c4f9
lea rcx, [rsi + 0x30]
call fcn.14021c6c0
lea rcx, [rsi + 0x18]
call fcn.14021c6c0
lea rax, [0x1403d66c0]
mov qword [rsi], rax
cmp byte [rsi + 0x10], 1
je 0x14013c4f6
mov rcx, qword [rsi + 8]
cmp rcx, 0xffffffffffffffff
je 0x14013c4c0
call fcn.14014a390
mov rcx, rsi
call fcn.1402776c8
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
cmp rcx, qword [0x140430040]
je 0x14013c4e2
call fcn.140278ca0
int3
add rsp, 0x238
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
int3
lea rdi, [rsi + 0x50]
mov rcx, rdi
call fcn.14031e9f0
mov rcx, qword [rdi]
call fcn.1402776c8
jmp 0x14013c48f
mov ecx, 2
call fcn.14021c050
test al, al
je 0x14013c486
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xf8]
mov rcx, rdi
mov r8d, 0x13c
mov r9d, 2
call fcn.1402f6330
lea rcx, [rsp + 0x108]
lea rdx, [0x1403f7b9a]
mov r8d, recv
call fcn.1401f8290
mov rcx, rdi
call fcn.1402f63a0
jmp 0x14013c486
mov rcx, qword [rsi + 8]
xor edx, edx
xor r8d, r8d
call fcn.14016ae90
test rax, rax
je 0x14013c5e3
mov ecx, 2
call fcn.14021c050
test al, al
je 0x14013c452
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xf8]
mov rcx, rdi
mov r8d, 0x204
mov r9d, 2
call fcn.14010dcd0
lea rcx, [rsp + 0x108]
lea rdx, str.failed_to_rewind_to_write
mov r8d, Ordinal_27
call fcn.1401f8290
mov rcx, rdi
call fcn.14010e2d0
jmp 0x14013c452
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x14013c6b2
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 + 0xcc], 0
movabs rax, 0x143504144
mov qword [rsp + 0xc0], rax
mov rax, rdi
shr rax, 0x20
jne 0x14013cc23
mov eax, edi
lea rdx, [rsp + 0xc0]
mov dword [rdx + 8], eax
mov rcx, qword [rsi + 8]
mov r8d, reloc.WS2_32.dll_recv
call fcn.14016b310
test al, al
jne 0x14013c717
mov ecx, 2
call fcn.14021c050
test al, al
je 0x14013c452
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xf8]
mov rcx, rdi
mov r8d, 0x217
mov r9d, 2
call fcn.14010dcd0
lea rcx, [rsp + 0x108]
lea rdx, str.failed_to_write_header
mov r8d, Ordinal_27
jmp 0x14013c5d1
mov ecx, 2
call fcn.14021c050
test al, al
je 0x14013c452
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xf8]
mov rcx, rdi
mov r8d, 0x20b
mov r9d, 2
call fcn.1402f6330
lea rcx, [rsp + 0x108]
lea rdx, str.failed_to_truncate
mov r8d, reloc.WS2_32.dll_select
call fcn.1401f8290
mov rcx, rdi
call fcn.1402f63a0
jmp 0x14013c452
cmp r14, rbx
je 0x14013c452
movabs rax, 0x492492492492492
xorps xmm0, xmm0
movaps xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], 0
movaps xmm0, xmmword [0x1403d4b30]
movaps xmmword [rsp + 0x80], xmm0
cmp rdi, rax
ja 0x14013cc2b
imul rdi, rdi, 0x38
mov rcx, rdi
call fcn.14027768c
add rdi, rax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rdi
mov rbx, qword [rsi + 0x50]
mov rax, qword [rsi + 0x58]
mov qword [rsp + 0x58], rax
cmp rbx, rax
je 0x14013cb09
lea rax, [rsi + 0x18]
mov qword [rsp + 0x50], rax
jmp 0x14013c80e
test r13, r13
je 0x14013cb09
movaps xmm0, xmmword [rsp + 0xe0]
movups xmmword [r13], xmm0
mov eax, dword [rsp + 0x3c]
mov dword [r13 + 0x10], eax
mov dword [r13 + 0x14], r12d
mov rax, qword [rsp + 0x40]
mov qword [r13 + 0x18], rax
mov rax, qword [rsp + 0x48]
mov qword [r13 + 0x20], rax
mov eax, dword [rsp + 0x34]
mov dword [r13 + 0x28], eax
mov eax, dword [rsp + 0x38]
mov dword [r13 + 0x2c], eax
mov byte [r13 + 0x30], r14b
xor eax, eax
mov dword [r13 + 0x31], eax
mov dword [r13 + 0x34], eax
add r13, 0x38
mov qword [rsp + 0x88], r13
add rbx, 0x70
cmp rbx, qword [rsp + 0x58]
je 0x14013cb30
lea r12, [rbx + 0x10]
mov rcx, r12
lea r14, [rsp + 0xf8]
mov rdx, r14
call fcn.14021c730
mov rcx, r14
mov rdx, qword [rsp + 0x50]
call fcn.140110180
mov edi, eax
mov rcx, r14
call fcn.14021c6c0
test dil, dil
jne 0x14013ca7e
movups xmm0, xmmword [rbx]
movaps xmmword [rsp + 0xe0], xmm0
mov rcx, r12
lea rdi, [rsp + 0x60]
mov rdx, rdi
call fcn.14021cd20
movsx rax, byte [rsp + 0x77]
test rax, rax
jns 0x14013c875
mov rax, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x60]
mov qword [rsp + 0xd0], rdi
mov qword [rsp + 0xd8], rax
lea rdi, [rsp + 0xf8]
mov rcx, rdi
lea rdx, [rsp + 0xd0]
call fcn.1402120b0
lea rcx, [rsp + 0xa0]
mov rdx, rdi
call fcn.14031ebb0
mov dword [rsp + 0x3c], eax
cmp byte [rsp + 0x10f], 0
jns 0x14013c8c8
mov rcx, qword [rsp + 0xf8]
call fcn.1402776c8
lea rcx, [rsp + 0x60]
call fcn.14021c6c0
lea rdx, [rbx + 0x28]
lea rcx, [rsp + 0xa0]
call fcn.14031ebb0
mov r12d, eax
mov rax, qword [rbx + 0x40]
mov qword [rsp + 0x40], rax
mov rax, qword [rbx + 0x50]
mov qword [rsp + 0x48], rax
mov eax, dword [rbx + 0x58]
mov dword [rsp + 0x34], eax
mov eax, dword [rbx + 0x68]
mov dword [rsp + 0x38], eax
mov r14b, byte [rbx + 0x5c]
add r14b, r14b
or r14b, byte [rbx + 0x48]
xor eax, eax
mov dword [rsp + 0xfb], eax
mov dword [rsp + 0xf8], eax
mov r13, qword [rsp + 0x88]
mov rax, qword [rsp + 0x90]
cmp r13, rax
jb 0x14013c7a1
mov rcx, qword [rsp + 0x80]
sub r13, rcx
sar r13, 3
movabs rdx, 0x6db6db6db6db6db7
imul r13, rdx
lea rbp, [r13 + 1]
movabs rdx, 0x492492492492492
cmp rbp, rdx
ja 0x14013cc2b
sub rax, rcx
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
test rbp, rbp
je 0x14013ca76
cmp rbp, rax
ja 0x14013cc30
imul rcx, rbp, 0x38
call fcn.14027768c
mov r15, rax
imul rdi, r13, 0x38
add rdi, r15
je 0x14013cb09
imul rax, rbp, 0x38
add r15, rax
movaps xmm0, xmmword [rsp + 0xe0]
movups xmmword [rdi], xmm0
mov eax, dword [rsp + 0x3c]
mov dword [rdi + 0x10], eax
mov dword [rdi + 0x14], r12d
mov rax, qword [rsp + 0x40]
mov qword [rdi + 0x18], rax
mov rax, qword [rsp + 0x48]
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], r14b
mov eax, dword [rsp + 0xf8]
mov ecx, dword [rsp + 0xfb]
mov dword [rdi + 0x31], eax
mov dword [rdi + 0x34], ecx
lea r13, [rdi + 0x38]
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x88]
sub r8, rdx
sub rdi, r8
mov rcx, rdi
call fcn.1402b6370
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x90], r15
test rcx, rcx
je 0x14013c7f7
call fcn.1402776c8
jmp 0x14013c7f7
xor r15d, r15d
jmp 0x14013c9c7
mov ecx, 2
call fcn.14021c050
test al, al
je 0x14013cae9
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xf8]
mov rcx, rdi
mov r8d, 0x225
mov r9d, 2
call fcn.14010dcd0
lea rcx, [rsp + 0x108]
mov rdx, r12
call fcn.1402f7400
lea rdx, str._expected_to_start_with
mov r8d, Ordinal_27
mov rcx, rax
call fcn.1401f8290
mov rcx, rax
mov rdx, qword [rsp + 0x50]
call fcn.1402f7400
mov rcx, rdi
call fcn.14010e2d0
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x14013cb10
mov rax, qword [rsp + 0x88]
cmp rax, rcx
je 0x14013cb0b
add rax, 0xffffffffffffffc8
jne 0x14013cafe
ud2
call fcn.1402776c8
cmp byte [rsp + 0xb7], 0
jns 0x14013c452
mov rcx, qword [rsp + 0xa0]
call fcn.1402776c8
jmp 0x14013c452
mov rdx, qword [rsp + 0x80]
sub r13, rdx
je 0x14013cb09
mov rcx, qword [rsi + 8]
mov r8, r13
call fcn.14016b310
test al, al
jne 0x14013cb9d
mov ecx, 2
call fcn.14021c050
test al, al
je 0x14013cae9
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xf8]
mov rcx, rdi
mov r8d, 0x22e
mov r9d, 2
call fcn.14010dcd0
lea rcx, [rsp + 0x108]
lea rdx, str.failed_to_write_records
mov r8d, reloc.WS2_32.dll_socket
call fcn.1401f8290
jmp 0x14013cae1
movsx r8, byte [rsp + 0xb7]
test r8, r8
cmovs r8, qword [rsp + 0xa8]
lea rdx, [rsp + 0xa0]
cmovs rdx, qword [rsp + 0xa0]
mov rcx, qword [rsi + 8]
call fcn.14016b310
test al, al
jne 0x14013cae9
mov ecx, 2
call fcn.14021c050
test al, al
je 0x14013cae9
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0xf8]
mov rcx, rdi
mov r8d, 0x233
mov r9d, 2
call fcn.14010dcd0
lea rcx, [rsp + 0x108]
lea rdx, str.failed_to_write_string_table
mov r8d, 0x1c
jmp 0x14013cb93
int3
call fcn.1402b9a30
call fcn.1402b9a10
int3