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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c808
mov eax, dword fs:[0]
push eax
sub esp, 0x870
mov eax, dword [0x5c5ebc]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.004ca910
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x85c], 0
lea eax, [ebp - 0x85c]
push eax
lea ecx, [ebp - 0x450]
push ecx
lea edx, [ebp - 0x1c]
push edx
push str._dump__p__ld__e__p__t__ld
mov eax, dword [ebp + 8]
push eax
call fcn.00528085
add esp, 0x14
mov dword [ebp - 0x858], 0
mov dword [ebp - 0x444], 0
lea ecx, [ebp - 0x440]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x200
lea edx, [ebp - 0x424]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
lea eax, [ebp - 0x424]
push eax
call fcn.004111d0
add esp, 8
xor ecx, ecx
mov word [eax], cx
push str.dump
push 0x200
lea edx, [ebp - 0x424]
push edx
call fcn.004d53c0
push 0
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
call fcn.00531ebe
cdq
mov ecx, 0x64
idiv ecx
push edx
movzx edx, word [ebp - 0x432]
push edx
movzx eax, word [ebp - 0x434]
push eax
movzx ecx, word [ebp - 0x436]
push ecx
movzx edx, word [ebp - 0x438]
push edx
movzx eax, word [ebp - 0x43a]
push eax
movzx ecx, word [ebp - 0x43e]
push ecx
movzx edx, word [ebp - 0x440]
push edx
lea eax, [ebp - 0x424]
push eax
push str._s_04d__02d__02d__02d__02d__02d__02d__02d.dmp
push 0x200
lea ecx, [ebp - 0x854]
push ecx
call fcn.004d5420
add esp, 0x30
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea edx, [ebp - 0x854]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x444], 0xffffffff
jne 0x4cab39
xor eax, eax
jmp 0x4cad6c
push str.dbghelp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x858], eax
cmp dword [ebp - 0x858], 0
jne 0x4cab9a
mov dword [ebp - 0x860], 0
push 0
lea eax, [ebp - 0x860]
push eax
push 0x58c0f0
call fcn.00529140
add esp, 4
push eax
push str.couldnt_load_dbghelp.dll_r_n
mov ecx, dword [ebp - 0x444]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 0x444]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4cad6c
mov eax, dword [ebp - 0x85c]
mov dword [ebp - 0x430], eax
mov ecx, dword [ebp - 0x450]
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x428], 1
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0
push str.MiniDumpWriteDump
mov edx, dword [ebp - 0x858]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4cac32
mov dword [ebp - 0x864], 0
push 0
lea eax, [ebp - 0x864]
push eax
push 0x58c13c
call fcn.00529140
add esp, 4
push eax
push str.couldnt_find_MiniDumpWriteDump_r_n
mov ecx, dword [ebp - 0x444]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 0x444]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4cad6c
mov eax, dword [ebp - 0x1c]
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x44c]
push ecx
push 0
lea edx, [ebp - 0x430]
push edx
push 0
mov eax, dword [ebp - 0x444]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4cad43
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x86c]
push ecx
call fcn.004d5e30
add esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x868], 0
push 0
lea edx, [ebp - 0x868]
push edx
lea ecx, [ebp - 0x86c]
call fcn.00415f90
push eax
lea ecx, [ebp - 0x86c]
call fcn.00415f60
push eax
lea ecx, [ebp - 0x870]
call fcn.00435ea0
mov dword [ebp - 0x878], eax
mov eax, dword [ebp - 0x878]
mov dword [ebp - 0x87c], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x87c]
call fcn.00496e30
push eax
mov ecx, dword [ebp - 0x444]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x870]
call fcn.00435f40
mov edx, dword [ebp - 0x444]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x874], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x86c]
call fcn.00415e20
mov eax, dword [ebp - 0x874]
jmp 0x4cad6c
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x444]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x858]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.00527aad
mov esp, ebp
pop ebp
ret