Function at 0x1000aafa
Capabilities:
Create process memory minidump

Disassembly:
mov eax, 0x10087c38
call fcn.10084f98
sub esp, 0x2c
mov eax, dword fs:[0x2c]
push ebx
push esi
mov esi, dword [0x1016eb50]
xor ebx, ebx
push edi
mov edi, edx
mov dword [ebp - 0x28], ecx
mov esi, dword [eax + esi*4]
mov eax, dword [0x100e8408]
cmp eax, dword [esi + 4]
jg 0x1000acea
mov eax, 0x100e8404
mov ecx, eax
mov dword [ebp - 0x2c], eax
call fcn.1007cd89
push str.Generating_Minidump..._n
push 0xffffffffffffffff
push ebx
push ebx
push 2
mov dword [ebp - 4], ebx
call fcn.10008864
add esp, 0x14
mov byte [0x100e8300], bl
cmp byte [0x100e82fa], 0
je 0x1000abcb
lea eax, [ebp - 0x10]
mov dword [ebp - 0x24], ebx
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x20], ebx
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], ebx
push eax
lea edx, [ebp - 0x20]
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], ebx
call fcn.10068fb3
push dword [0x100eba48]
push dword [0x100eba44]
push dword [0x100eba40]
push dword [0x100eba3c]
push dword [0x100eba38]
push dword [0x100eba34]
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strupr]
pop ecx
push eax
push 0x100cfee0
push str._sMINIDUMP__s__02u__02u__04u__02u__02u__02u.DMP
jmp 0x1000ac02
push dword [0x100eba48]
push dword [0x100eba44]
push dword [0x100eba40]
push dword [0x100eba3c]
push dword [0x100eba38]
push dword [0x100eba34]
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strupr]
pop ecx
push eax
push 0x100cfee0
push str._sCRASHDUMP__s__02u__02u__04u__02u__02u__02u.DMP
push 0x104
mov esi, 0x100e8300
push esi
call fcn.100026fa
add esp, 0x2c
push ebx
push closesocket
push 2
push ebx
push 3
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1000ac4f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.Failed_to_create_minidump_file_with_filename___s____error__d_.
push edi
push ebx
push ebx
push 4
call fcn.10008864
add esp, 0x1c
jmp 0x1000acc6
call fcn.100098e3
cmp byte [0x100e82f8], 0
mov dword [ebp - 0x10], 0x41
je 0x1000ac6b
mov dword [ebp - 0x10], 0x43
push 0xc
lea eax, [ebp - 0x38]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push ebx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x28]
push ebx
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x30], ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.dbghelp.dll_MiniDumpWriteDump
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push str.Minidump_generated:___s_._n
push 0xffffffffffffffff
push ebx
push ebx
push 2
call fcn.10008864
add esp, 0x18
mov bl, 1
mov ecx, 0x100e8404
mov dword [ebp - 4], 2
call fcn.1007cd66
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
push 0x100e8408
call fcn.10085590
cmp dword [0x100e8408], 0xffffffff
pop ecx
jne 0x1000ab31
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
call fcn.1000aa7c
mov ecx, 0x100e8404
mov esi, eax
call fcn.1000aa76
xchg dword [eax], esi
push 0x100893f5
call fcn.10085448
mov dword [esp], 0x100e8408
call fcn.10085546
pop ecx
jmp 0x1000ab31