Function at 0x480aef00
Capabilities:
Create process memory minidump

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x480c7f21
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x480d40c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x88]
push 0
push 0
call fcn.480a9580
push esi
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 0
call fcn.480a9700
push 0x480c9c0c
lea ecx, [ebp - 0x88]
call fcn.480a9fb0
test al, al
je 0x480af25d
push 0x480c9c14
lea ecx, [ebp - 0x88]
call fcn.480a9fb0
test al, al
je 0x480af25d
push 0x480c9c0c
lea ecx, [ebp - 0x88]
call fcn.480a9fd0
push eax
call fcn.480b8476
add esp, 4
lea ecx, [ebp - 0x88]
mov ebx, eax
mov dword [ebp - 0x74], ebx
push 0x480c9c14
call fcn.480a9fd0
push eax
call fcn.480b8476
add esp, 4
lea ecx, [ebp - 0x88]
mov esi, eax
push 0x480c9c1c
call fcn.480a9fd0
push eax
lea ecx, [ebp - 0x58]
call fcn.480a3c50
push 0x480c9c24
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 1
call fcn.480a9fd0
push eax
lea ecx, [ebp - 0x70]
call fcn.480a3c50
push str.DmpPath
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 2
call fcn.480a9fd0
push eax
lea ecx, [ebp - 0x40]
call fcn.480a3c50
push str.DumpEvent
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 3
call fcn.480a9fd0
push eax
lea ecx, [ebp - 0x28]
call fcn.480a3c50
push str.DUMPTYPE
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 4
call fcn.480a9fd0
push eax
call fcn.480b8476
add esp, 4
mov dword [ebp - 0xa0], eax
test ebx, ebx
je 0x480af1c9
test esi, esi
je 0x480af1c9
cmp dword [ebp - 0x48], 0
je 0x480af1c9
cmp dword [ebp - 0x60], 0
je 0x480af1c9
cmp dword [ebp - 0x30], 0
je 0x480af1c9
cmp dword [ebp - 0x18], 0
je 0x480af1c9
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.480aecc0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.480aecc0
mov eax, dword [ebp - 0x94]
add esp, 0x10
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xac]
push 0
push 0x80
push 2
push 0
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, eax
test edi, edi
je 0x480af18c
push dword [ebp - 0x74]
lea eax, [ebp - 0x9c]
mov dword [ebp - 0xb8], esi
push 0
push 0x1f0fff
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], 0
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
push 0
mov esi, eax
lea eax, [ebp - 0xb8]
push eax
push dword [ebp - 0xa0]
push edi
push dword [ebp - 0x74]
push esi
call sub.dbghelp.dll_MiniDumpWriteDump
push esi
call ebx
push edi
call ebx
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventW]
test eax, eax
je 0x480af1b3
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea ecx, [ebp - 0xac]
call fcn.480a3ee0
lea ecx, [ebp - 0x94]
call fcn.480a3ee0
cmp dword [ebp - 0x14], 8
jb 0x480af1da
push dword [ebp - 0x28]
call fcn.480b6e1f
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x480af1ff
push dword [ebp - 0x40]
call fcn.480b6e1f
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x5c], 8
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x480af224
push dword [ebp - 0x70]
call fcn.480b6e1f
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
cmp dword [ebp - 0x44], 8
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
jb 0x480af249
push dword [ebp - 0x58]
call fcn.480b6e1f
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 0xffffffff
call fcn.480a9670
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.480b6e24
mov esp, ebp
pop ebp
ret