Function at 0x4176b0
Capabilities:
Create process memory minidump

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b73b
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
push ebx
push esi
push edi
mov eax, dword [0x463fcc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 8]
push ecx
push 0
push 0x450
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edx, dword [esi + 0x14]
mov ebx, dword [edx + 0xb8]
mov edi, eax
mov dword [ebp - 0x20], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
xor eax, eax
test edi, edi
setne al
push ebx
push eax
call fcn.00422cd0
add esp, 0xc
push edi
mov ecx, esi
call fcn.00413a40
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx + 0x7c]
push eax
lea ecx, [ebp - 0x18]
call fcn.00404ce0
lea edx, [ebp - 0x1c]
push edx
mov byte [ebp - 4], 1
call fcn.004231f0
add esp, 4
push eax
mov eax, dword [esi + 0x14]
add eax, 0x80
push eax
lea ecx, [ebp - 0x14]
push ecx
mov byte [ebp - 4], 2
call fcn.00405510
add esp, 0xc
lea edi, [esi + 0x10]
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.004055e0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41779b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4177be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi]
push eax
lea ecx, [ebp - 0x18]
call fcn.004120e0
lea ecx, [ebp - 0x18]
call fcn.00406e10
mov edi, dword [ebp - 0x18]
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xbc], ecx
call dword [0x463fa8]
push eax
push edi
lea ecx, [ebp - 0xbc]
call fcn.0040fe30
mov edx, dword [esi + 0x14]
mov edi, dword [edx + 0xbc]
mov ebx, dword [ebp - 0xbc]
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push ebx
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
push eax
call fcn.00422cd0
mov eax, dword [ebp - 0xbc]
lea ecx, [ebp - 0xb8]
add esp, 0xc
cmp eax, ecx
mov byte [ebp - 4], 1
je 0x41783b
push eax
call fcn.0042efe6
add esp, 4
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
push eax
call fcn.00401ef0
lea edi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x14], edi
lea edx, [ebp - 0x14]
push edx
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.004055e0
lea eax, [edi - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41787f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
push eax
call fcn.00401ef0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx + 0x84]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.004120e0
mov ebx, dword [ebp - 0x1c]
lea eax, [ebx - 0x10]
push eax
mov dword [ebp - 0x28], eax
call fcn.00401ef0
lea edi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x14], edi
lea edx, [ebp - 0x14]
lea ecx, [esi + 4]
push edx
mov byte [ebp - 4], 7
call fcn.004055e0
lea eax, [edi - 0x10]
mov byte [ebp - 4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4178f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [esi + 0x14]
mov edi, dword [ecx + 0xc0]
mov ebx, eax
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
cmp ebx, 0xffffffff
setne dl
push eax
push edi
push edx
call fcn.00422cd0
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x38], ecx
mov edx, dword [eax + 0x10]
add esp, 0xc
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], 1
cmp dword [eax + 0xc], 0
je 0x41795c
cmp dword [eax + 0x10], 0
je 0x41795c
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x14], ecx
jmp 0x417963
mov dword [ebp - 0x14], 0
mov edx, dword [esi + 0x14]
mov eax, dword [edx + 0xc4]
mov dword [ebp - 0x2c], eax
mov edi, edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x14]
push eax
mov eax, dword [edi + 0x14]
push ecx
mov ecx, dword [edi + 8]
mov edi, dword [ebp - 0x20]
push 0
push 0
push edx
push eax
push ebx
push ecx
push edi
call sub.dbghelp.dll_MiniDumpWriteDump
push eax
call fcn.00422cd0
mov eax, dword [ebp - 0x28]
add esp, 0xc
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4179bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4179e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp ebx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
je 0x4179f5
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
mov ecx, esi
call fcn.00413580
mov ecx, dword [esi + 0x14]
cmp dword [ecx + 0x118], 0
je 0x417a2f
push edi
mov ecx, esi
call fcn.004171a0
test al, al
je 0x417a2f
mov edx, dword [esi + 0x14]
mov eax, dword [edx + 0x118]
sub eax, 1
jne 0x417a2f
call fcn.00401e80
mov ecx, eax
call fcn.00414fb0
test edi, edi
je 0x417a3a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret