Function at 0x10001b80
Capabilities:
Create directory
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10013ec1
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x1001c040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x424], edi
mov dword [ebp - 0x428], edi
xorps xmm0, xmm0
movups xmmword [edi + 0xc], xmm0
xor eax, eax
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 7
mov word [edi + 0xc], ax
mov dword [ebp - 4], eax
lea ecx, [edi + 0x34]
movups xmmword [edi + 0x24], xmm0
mov dword [ecx], eax
mov dword [ebp - 0x424], ecx
xor ecx, ecx
mov dword [edi + 0x38], 7
mov word [edi + 0x24], cx
push 0x208
mov byte [ebp - 4], 1
call fcn.100027c1
push 0x208
mov esi, eax
push 0
push esi
call fcn.10003cf0
mov dword [edi], esi
add esp, 0x10
cmp dword [edi + 0x20], 7
lea esi, [edi + 0xc]
mov eax, esi
jbe 0x10001c24
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi + 0x10], 0
mov word [eax], cx
lea eax, [edi + 0x24]
cmp dword [eax + 0x14], 7
jbe 0x10001c3b
mov eax, dword [eax]
mov ecx, dword [ebp - 0x424]
push 0x800
mov dword [ecx], 0
xor ecx, ecx
mov word [eax], cx
push ecx
push str.DbgHelp.dll
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
mov word [edi + 0x54], cx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [edi + 4], eax
test eax, eax
je 0x10001e6d
push str.MiniDumpWriteDump
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10001e5d
push 0x208
mov dword [edi + 8], eax
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.10003cf0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x10001cd2
push 0x10
push str.Win32MiniDump
push str.Failed_to_get_minidump_folder_path__1__
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x10001cf9
push 0x10
push str.Win32MiniDump
push str.Failed_to_get_minidump_folder_path__2__
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10003cf0
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.10005480
add esp, 0x18
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10001d50
sub ecx, edx
mov edx, dword [esi + 0x14]
sar ecx, 1
cmp ecx, edx
ja 0x10001da0
mov dword [ebp - 0x424], esi
mov eax, esi
cmp edx, 7
jbe 0x10001d7b
mov eax, dword [esi]
mov dword [ebp - 0x424], eax
mov dword [esi + 0x10], ecx
lea esi, [ecx + ecx]
push esi
lea ecx, [ebp - 0x218]
push ecx
push eax
call fcn.10003770
mov eax, dword [ebp - 0x424]
add esp, 0xc
xor ecx, ecx
mov word [esi + eax], cx
jmp 0x10001db5
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x428]
push ecx
mov ecx, esi
call fcn.10002170
lea eax, [ebp - 0x420]
push 0x5c
push eax
call fcn.10003641
add esp, 8
test eax, eax
je 0x10001dcf
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
push str._s_s_Minidumps
push 0xffffffffffffffff
push 0x104
push dword [edi]
call fcn.10001a00
add esp, 0x18
cmp eax, 0xffffffff
jne 0x10001e14
push 0x10
push str.Win32MiniDump
push str.Unable_to_get_minidump_folder_path__3__
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x10001e4b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x10001e4b
push 0x10
push str.Win32MiniDump
push str.Unable_to_get_minidump_folder_path__4__
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea eax, [edi + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov word [edi + 0x54], 0x101
jmp 0x10001e77
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [edi + 4], 0
push dword [edi]
call fcn.100027bc
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10002433
mov esp, ebp
pop ebp
ret