Function at 0x1400dd060
Capabilities:
Create directory
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x920
mov qword [rsp + 0x900], 0xfffffffffffffffe
mov rax, qword [0x1402a25c0]
xor rax, rsp
mov qword [rsp + 0x918], rax
call fcn.1400d7430
mov qword [rsp + 0x4c8], 0
mov dword [rsp + 0x78], 0
mov dword [rsp + 0x8d8], 0
lea rax, [rsp + 0x8d8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x4c8]
lea r8, [rsp + 0x78]
lea rdx, str._dump__p__ld__e__p__t__ld
mov rcx, qword [rsp + 0x930]
call fcn.1400aa430
mov qword [rsp + 0x8d0], 0
mov qword [rsp + 0x4b0], 0
lea rcx, [rsp + 0x4a0]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
mov r8d, 0x200
lea rdx, [rsp + 0x90]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dx, VarDateFromDisp
lea rcx, [rsp + 0x90]
call fcn.14000d0b0
mov r11, rax
xor eax, eax
mov word [r11], ax
lea r8, [0x140213cf8]
mov edx, 0x200
lea rcx, [rsp + 0x90]
call fcn.1400220e0
xor edx, edx
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
call fcn.1400ab1c0
cdq
mov ecx, 0x64
idiv ecx
mov ebx, edx
movzx r11d, word [rsp + 0x4ae]
movzx r10d, word [rsp + 0x4ac]
movzx r9d, word [rsp + 0x4aa]
movzx r8d, word [rsp + 0x4a8]
movzx edx, word [rsp + 0x4a6]
movzx ecx, word [rsp + 0x4a2]
movzx eax, word [rsp + 0x4a0]
mov dword [rsp + 0x58], ebx
mov dword [rsp + 0x50], r11d
mov dword [rsp + 0x48], r10d
mov dword [rsp + 0x40], r9d
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x90]
lea r8, str._s_04d__02d__02d__02d__02d__02d__02d__02d.dmp
mov edx, 0x200
lea rcx, [rsp + 0x4d0]
call fcn.14004f280
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
lea rcx, [rsp + 0x4d0]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x4b0], rax
cmp qword [rsp + 0x4b0], 0xffffffffffffffff
jne 0x1400dd238
xor eax, eax
jmp 0x1400dd4d1
lea rcx, str.dbghelp.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x8d0], rax
cmp qword [rsp + 0x8d0], 0
jne 0x1400dd2ad
mov dword [rsp + 0x8dc], 0
lea rcx, [0x140213d88]
call fcn.1400a9170
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x8dc]
mov r8d, eax
lea rdx, str.couldnt_load_dbghelp.dll_r_n
mov rcx, qword [rsp + 0x4b0]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x4b0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400dd4d1
mov eax, dword [rsp + 0x8d8]
mov dword [rsp + 0x490], eax
mov rax, qword [rsp + 0x4c8]
mov qword [rsp + 0x494], rax
mov dword [rsp + 0x49c], 1
mov qword [rsp + 0x4b8], 0
mov qword [rsp + 0x4c0], 0
lea rdx, str.MiniDumpWriteDump
mov rcx, qword [rsp + 0x8d0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x1400dd365
mov dword [rsp + 0x8e0], 0
lea rcx, [0x140213de0]
call fcn.1400a9170
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x8e0]
mov r8d, eax
lea rdx, str.couldnt_find_MiniDumpWriteDump_r_n
mov rcx, qword [rsp + 0x4b0]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x4b0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400dd4d1
mov r8d, dword [rsp + 0x78]
xor edx, edx
mov ecx, 0x1f0fff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x4b8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x490]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, qword [rsp + 0x4b0]
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call qword [rsp + 0x68]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jne 0x1400dd4a5
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x8e8]
call fcn.14002b8e0
nop
mov dword [rsp + 0x8e4], 0
lea rcx, [rsp + 0x8e8]
call fcn.1400012c0
mov rdx, rax
lea rcx, [rsp + 0x8f0]
call fcn.140002d80
mov qword [rsp + 0x908], rax
mov rax, qword [rsp + 0x908]
mov qword [rsp + 0x910], rax
lea rcx, [rsp + 0x8e8]
call fcn.1400019f0
mov ebx, eax
mov rcx, qword [rsp + 0x910]
call fcn.140002e30
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x8e4]
mov r8d, ebx
mov rdx, rax
mov rcx, qword [rsp + 0x4b0]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
lea rcx, [rsp + 0x8f0]
call fcn.140002e10
mov rcx, qword [rsp + 0x4b0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x8f8], 0
lea rcx, [rsp + 0x8e8]
call fcn.140001470
mov eax, dword [rsp + 0x8f8]
jmp 0x1400dd4d1
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x4b0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x8d0]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
mov rcx, qword [rsp + 0x918]
xor rcx, rsp
call fcn.1400a8040
add rsp, 0x920
pop rbx
ret