Function at 0x140011f10
Capabilities:
Check if file exists
Create process memory minidump
Delete file
Get file attributes
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push r12
lea rbp, [rsp - 0x1208]
mov eax, 0x1308
call fcn.14002ef70
sub rsp, rax
mov esi, r8d
mov rbx, rdx
xor eax, eax
mov r12d, 1
lock cmpxchg dword [0x14021ad88], r12d
jne 0x140012488
test rdx, rdx
je 0x140012488
mov rcx, qword [rdx]
test rcx, rcx
je 0x140012488
cmp qword [rdx + 8], 0
je 0x140012488
mov eax, dword [rcx]
add eax, 0x7ffffffd
cmp eax, r12d
jbe 0x140012498
movups xmm0, xmmword [rcx]
mov qword [rsp + 0x1338], rdi
mov qword [rsp + 0x1340], r14
movaps xmmword [0x140228430], xmm0
movups xmm1, xmmword [rcx + 0x10]
mov qword [rsp + 0x1300], r15
movaps xmmword [0x140228440], xmm1
movups xmm0, xmmword [rcx + 0x20]
movaps xmmword [0x140228450], xmm0
movups xmm1, xmmword [rcx + 0x30]
movaps xmmword [0x140228460], xmm1
movups xmm0, xmmword [rcx + 0x40]
movaps xmmword [0x140228470], xmm0
movups xmm1, xmmword [rcx + 0x50]
movaps xmmword [0x140228480], xmm1
movups xmm0, xmmword [rcx + 0x60]
movaps xmmword [0x140228490], xmm0
movups xmm1, xmmword [rcx + 0x70]
movaps xmmword [0x1402284a0], xmm1
movups xmm0, xmmword [rcx + 0x80]
movaps xmmword [0x1402284b0], xmm0
movsd xmm1, qword [rcx + 0x90]
lea rcx, [0x140227f60]
movsd qword [0x1402284c0], xmm1
mov rax, qword [rdx + 8]
lea edx, [r12 + 8]
nop dword [rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm1, xmmword [rax - 0x70]
movups xmmword [rcx - 0x70], xmm1
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x60], xmm0
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x50], xmm1
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x40], xmm0
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x30], xmm1
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x20], xmm0
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x10], xmm1
sub rdx, r12
jne 0x140012020
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
call fcn.140010b60
mov rcx, qword [0x14021ad98]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400120bb
mov rcx, qword [0x14021ad98]
call fcn.140011450
xor r14d, r14d
lea r15, [0x14021c2d0]
cmp word [0x14021c2d0], r14w
je 0x14001220c
mov r9, qword [0x14021afb8]
lea rax, [rsp + 0x78]
mov r8, qword [0x14021ad98]
lea rdx, [0x1401c1840]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x60]
lea rax, [0x1401b6698]
mov dword [rsp + 0x70], r14d
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x74], 0x104
mov word [rsp + 0x78], r14w
mov qword [rsp + 0x20], r15
call fcn.140003670
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14001220c
mov qword [rsp + 0x30], r14
lea r8d, [r14 + 3]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14001220c
lea r9, [rbp + 0x1230]
mov dword [rbp + 0x1230], r14d
lea r8d, [r14 + 2]
mov qword [rsp + 0x20], r14
lea rdx, [0x1401c17e0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140012198
mov eax, r14d
mov dword [rbp + 0x1230], eax
jmp 0x14001219e
mov eax, dword [rbp + 0x1230]
lock add qword [0x1401f3d68], rax
mov rdx, qword [0x14021c398]
mov eax, r14d
mov dword [rbp + 0x1248], eax
test rdx, rdx
je 0x1400121fb
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r14w
jne 0x1400121c2
add r8d, r8d
je 0x1400121fb
lea r9, [rbp + 0x1248]
mov qword [rsp + 0x20], r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400121f5
mov eax, r14d
mov dword [rbp + 0x1248], eax
jmp 0x1400121fb
mov eax, dword [rbp + 0x1248]
lock add qword [0x1401f3d68], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x4c], r14d
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov qword [rsp + 0x30], r15
lea r9, str._s_s._s.dmp
mov dword [rsp + 0x40], eax
lea rcx, [rbp + 0x200]
mov rax, qword [0x14021afb8]
mov edx, 0x103
mov qword [rsp + 0x28], rax
mov r8, 0xffffffffffffffff
mov rax, qword [0x14021ad98]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x44], rbx
call fcn.140003a90
mov qword [rsp + 0x30], r14
lea rcx, [rbp + 0x200]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140012331
cmp dword [0x14021b620], r12d
jb 0x1400122dc
mov rcx, qword [0x14021b618]
test rcx, rcx
je 0x1400122dc
cmp word [rcx], r14w
je 0x1400122dc
lea rax, [0x1400115c0]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], rcx
jmp 0x1400122ef
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x30], r14
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rcx
mov r9d, esi
mov rcx, rax
mov r8, rdi
mov edx, ebx
call qword [sym.imp.dbghelp.dll_MiniDumpWriteDump]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp + 0x200]
call fcn.140011af0
lea rcx, [rbp + 0x200]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rsi, qword [0x140227f48]
test rsi, rsi
je 0x140012470
mov r15d, 0xfeff
nop word [rax + rax]
mov rax, qword [rsi + 0x108]
test rax, rax
je 0x140012460
cmp word [rax], r14w
je 0x140012460
mov word [rbp + 0x200], r15w
lea rcx, [rbp + 0x202]
mov r8, qword [rsi + 0x108]
mov r9, 0xffffffffffffffff
mov edx, 0x7fe
call fcn.14003c218
mov r9d, dword [rsi]
lea r8, str.parameters__u.txt
mov edx, 0x3f
lea rcx, [rbp + 0x180]
call fcn.1400116a0
lea rax, [rbp + 0x200]
mov r9, 0xffffffffffffffff
nop word [rax + rax]
inc r9
cmp word [rax + r9*2], r14w
jne 0x1400123c0
add r9, r9
lea r8, [rbp + 0x200]
lea rdx, [rbp + 0x180]
call fcn.140011710
mov r8, qword [rsi + 0x108]
lea rcx, [rbp + 0x200]
mov r9, 0xffffffffffffffff
mov edx, 0x800
call fcn.14003c218
lea rdx, str.File:
lea rcx, [rbp + 0x200]
call fcn.1400308bc
mov rbx, rax
test rax, rax
je 0x140012460
nop word [rax + rax]
lea rdx, [0x1401c183c]
mov rcx, rbx
call fcn.1400308bc
mov rdi, rax
test rax, rax
je 0x140012460
lea rdx, [rbx + 0xa]
mov word [rax], r14w
call fcn.140011af0
test al, al
je 0x140012460
lea rcx, [rdi + 2]
lea rdx, str.File:
call fcn.1400308bc
mov rbx, rax
test rax, rax
jne 0x140012420
mov rsi, qword [rsi + 0x118]
test rsi, rsi
jne 0x140012350
mov r14, qword [rsp + 0x1340]
mov rdi, qword [rsp + 0x1338]
mov r15, qword [rsp + 0x1300]
mov eax, r12d
add rsp, 0x1308
pop r12
pop rsi
pop rbx
pop rbp
ret
xor edx, edx
mov r8d, 0x100000
mov rcx, rbx
call fcn.14014d290
call fcn.14000e780
int3