Function at 0x10002f00
Capabilities:
Create process memory minidump

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002e018
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x1003bcc8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x10]
call fcn.10001520
mov dword [ebp - 4], 0
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1000301c
cmp dword [ebp - 0x14], 0xffffffff
je 0x1000301c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0x10003100
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0x1a25
lea edx, [ebp - 0x20]
push edx
push 0
mov eax, dword [ebp + 0xc]
neg eax
sbb eax, eax
lea ecx, [ebp - 0x30]
and eax, ecx
push eax
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.dbghelp.dll_MiniDumpWriteDump
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10003003
push 0x124
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.MiniDumpWriteDump_failed._Error:__u_0x_08x__Line:_d_n
lea ecx, [ebp - 0x10]
push ecx
call fcn.100013b0
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.MiniDumpWriteDump_failed._Error:__u__n
call fcn.1001966d
add esp, 8
jmp 0x10003010
push str.Minidump_created._n
call fcn.1001966d
add esp, 4
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10003054
push 0x12f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateFile_failed._Error:__u_0x_08x__Line:_d_n
lea eax, [ebp - 0x10]
push eax
call fcn.100013b0
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateFile_failed._Error:__u__n
call fcn.1001966d
add esp, 8
lea ecx, [ebp - 0x10]
call fcn.10003fc0
movzx ecx, al
test ecx, ecx
jne 0x100030d8
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push str._r_n_r_n________________MiniDumpWriteDump_____________________r_n
call fcn.10005020
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x48], edx
mov byte [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
mov eax, dword [ebp + 0x10]
push eax
call fcn.10005020
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 0
call fcn.10002ea0
add esp, 8
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
lea edx, [ebp - 0x10]
push edx
call fcn.10004a50
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
mov edx, dword [ebp + 0x10]
push edx
call fcn.10005020
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 0
call fcn.10002ea0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100013e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret