Function at 0x405a80
Capabilities:
Create process memory minidump

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5002f9
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x5470bc]
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 dword [ebp - 0x24], ecx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x405ccd
call fcn.004055a0
add eax, 0x20
cmp dword [eax + 0x14], 8
jb 0x405acc
mov eax, dword [eax]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0xffffffff
jne 0x405bba
call esi
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.004045b0
add esp, 8
mov esi, eax
push 0x532ab0
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 0
call fcn.00401f30
push esi
push eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 1
push eax
call fcn.004087a0
add esp, 0xc
mov ecx, dword [ebp - 0x24]
push eax
mov byte [ebp - 4], 2
call fcn.004056d0
mov eax, dword [ebp - 0x28]
cmp eax, 8
jb 0x405b52
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.004024e0
xor eax, eax
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x2c], 0
cmp eax, 8
jb 0x405b7b
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.004024e0
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov word [ebp - 0x54], ax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], 0
cmp eax, 8
jb 0x405bb4
inc eax
lea ecx, [ebp - 0x9c]
push eax
push dword [ebp - 0x9c]
call fcn.004024e0
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x1c], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 0
push edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0
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
jne 0x405cc6
call esi
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.004045b0
add esp, 8
mov esi, eax
push 0x532ad4
lea ecx, [ebp - 0x84]
mov dword [ebp - 4], 3
call fcn.00401f30
push esi
push eax
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 4
push eax
call fcn.004087a0
add esp, 0xc
mov ecx, dword [ebp - 0x24]
push eax
mov byte [ebp - 4], 5
call fcn.004056d0
mov eax, dword [ebp - 0x58]
cmp eax, 8
jb 0x405c62
inc eax
lea ecx, [ebp - 0x6c]
push eax
push dword [ebp - 0x6c]
call fcn.004024e0
xor eax, eax
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x5c], 0
cmp eax, 8
jb 0x405c91
inc eax
lea ecx, [ebp - 0x84]
push eax
push dword [ebp - 0x84]
call fcn.004024e0
xor eax, eax
mov dword [ebp - 0x70], 7
mov word [ebp - 0x84], ax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x74], 0
cmp eax, 8
jb 0x405cc6
inc eax
lea ecx, [ebp - 0xb4]
push eax
push dword [ebp - 0xb4]
call fcn.004024e0
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 ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004264c2
mov esp, ebp
pop ebp
ret 4