Function at 0x10020a10
Capabilities:
Check if file exists
Create process memory minidump

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a72dc
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x102184e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [0x1022b124]
lea esi, [ebp - 0x168]
mov dword [ebp - 0x1a8], eax
call fcn.10017230
push 0xa
xor ebx, ebx
push str._show.dump
mov eax, esi
mov dword [ebp - 4], ebx
call fcn.10020d90
mov eax, dword [ebp - 0x168]
mov esi, 8
cmp dword [ebp - 0x154], esi
jae 0x10020a84
lea eax, [ebp - 0x168]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10020aad
cmp dword [ebp - 0x154], esi
jb 0x10020aa6
mov ecx, dword [ebp - 0x168]
push ecx
call fcn.100b1971
add esp, 4
xor eax, eax
jmp 0x10020d6b
push 0xff
lea edx, [ebp - 0x113]
push ebx
push edx
mov byte [ebp - 0x114], bl
call fcn.100b52f0
add esp, 0xc
push ebx
call fcn.100b328f
add esp, 4
add eax, 0x7080
mov dword [ebp - 0x1b4], eax
lea eax, [ebp - 0x1b4]
adc edx, ebx
push eax
mov dword [ebp - 0x1b0], edx
call fcn.100b5670
lea ecx, [ebp - 0x14c]
add esp, 4
push ecx
mov ecx, dword [0x1022b124]
mov edi, eax
call fcn.100172e0
add esp, 4
lea esi, [ebp - 0x1a0]
mov byte [ebp - 4], 1
call fcn.100178a0
lea edx, [ebp - 0x184]
push edx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.10017630
add esp, 4
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 3
call fcn.100174d0
mov esi, 8
cmp dword [ebp - 0x170], esi
jb 0x10020b59
mov eax, dword [ebp - 0x184]
push eax
call fcn.100b1971
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x170], 7
mov dword [ebp - 0x174], ebx
mov word [ebp - 0x184], cx
cmp dword [ebp - 0x18c], esi
jb 0x10020b89
mov edx, dword [ebp - 0x1a0]
push edx
call fcn.100b1971
add esp, 4
mov eax, 0x10
cmp dword [ebp - 0x11c], eax
jb 0x10020ba4
mov ecx, dword [ebp - 0x130]
mov dword [ebp - 0x1a4], ecx
jmp 0x10020bb0
lea edx, [ebp - 0x130]
mov dword [ebp - 0x1a4], edx
mov esi, dword [ebp - 0x14c]
cmp dword [ebp - 0x138], eax
jae 0x10020bc4
lea esi, [ebp - 0x14c]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
push eax
mov eax, dword [edi + 8]
push ecx
cdq
mov ecx, 0x18
idiv ecx
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
inc eax
add ecx, 0x76c
push edx
mov edx, dword [edi + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edx
push eax
push ecx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, dword [ebp - 0x1a4]
push eax
push edx
push esi
lea eax, [ebp - 0x114]
push str._s_s__d__d__d__d__d__d__d__d.DMP
push eax
call fcn.100b3a7b
add esp, 0x30
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10020cae
mov edi, 0x10
cmp dword [ebp - 0x11c], edi
jb 0x10020c55
mov edx, dword [ebp - 0x130]
push edx
call fcn.100b1971
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x120], ebx
mov byte [ebp - 0x130], bl
cmp dword [ebp - 0x138], edi
jb 0x10020c83
mov eax, dword [ebp - 0x14c]
push eax
call fcn.100b1971
add esp, 4
cmp dword [ebp - 0x154], 8
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x13c], ebx
mov byte [ebp - 0x14c], bl
jb 0x10020d66
mov ecx, dword [ebp - 0x168]
push ecx
jmp 0x10020d5e
mov edx, dword [ebp - 0x1a8]
mov dword [ebp - 0x1bc], edx
call edi
push ebx
push ebx
mov dword [ebp - 0x1c0], eax
lea eax, [ebp - 0x1c0]
push eax
push ebx
push esi
mov dword [ebp - 0x1b8], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.dbghelp.dll_MiniDumpWriteDump]
test eax, eax
je 0x10020cf2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, 0x10
cmp dword [ebp - 0x11c], edi
jb 0x10020d0e
mov ecx, dword [ebp - 0x130]
push ecx
call fcn.100b1971
add esp, 4
mov esi, 0xf
mov byte [ebp - 0x130], bl
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x11c], esi
cmp dword [ebp - 0x138], edi
jb 0x10020d3c
mov edx, dword [ebp - 0x14c]
push edx
call fcn.100b1971
add esp, 4
cmp dword [ebp - 0x154], 8
mov byte [ebp - 0x14c], bl
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x138], esi
jb 0x10020d66
mov eax, dword [ebp - 0x168]
push eax
call fcn.100b1971
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100b197c
mov esp, ebp
pop ebp
ret 4