Function at 0x4c5ec0
Capabilities:
Create process memory minidump

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x511f4e
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x54e414]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xcc], 0
test eax, eax
jne 0x4c5f3d
push eax
mov dword [edi + 0x10], eax
mov ecx, edi
mov dword [edi + 0x14], 7
push 0x522ec0
mov word [edi], ax
call fcn.0040af20
mov dword [ebp - 4], 0
mov dword [ebp - 0xcc], 1
jmp 0x4c62b6
lea ecx, [ebp - 0xd4]
call fcn.004152b0
mov dword [ebp - 4], 1
xor eax, eax
push 0x44
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
push str.RCPic_minidump_generate_mutex_354DB438_AE28_493C_B5EE_0C06923930E6
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0040af20
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xd4]
call fcn.00415460
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040a7e0
lea ecx, [ebp - 0xd4]
call fcn.00415630
test al, al
je 0x4c5fd8
lea ecx, [ebp - 0xd4]
call fcn.00415640
test al, al
je 0x4c5fd8
push 0x522ec0
mov ecx, edi
call fcn.0040a870
mov dword [ebp - 0xcc], 1
jmp 0x4c62a7
lea eax, [ebp - 0xb0]
push eax
call fcn.004d0960
add esp, 4
mov byte [ebp - 4], 3
xor eax, eax
cmp dword [ebp - 0xa0], eax
jne 0x4c601e
push eax
mov dword [edi + 0x10], eax
mov ecx, edi
mov dword [edi + 0x14], 7
push 0x522ec0
mov word [edi], ax
call fcn.0040af20
mov dword [ebp - 0xcc], 1
jmp 0x4c6298
push 8
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
push str.minidump
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0040af20
mov byte [ebp - 4], 4
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00421270
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.0040a7e0
lea eax, [ebp - 0x98]
push eax
call fcn.00417130
add esp, 4
mov byte [ebp - 4], 7
lea eax, [ebp - 0x38]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x38], xmm0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x98]
movzx eax, word [ebp - 0x2a]
push eax
movzx eax, word [ebp - 0x2c]
push eax
movzx eax, word [ebp - 0x2e]
cmp dword [ebp - 0x84], 8
push eax
movzx eax, word [ebp - 0x30]
cmovae ecx, dword [ebp - 0x98]
push eax
movzx eax, word [ebp - 0x32]
push eax
movzx eax, word [ebp - 0x36]
push eax
movzx eax, word [ebp - 0x38]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x68]
push dword [ebp + 0x10]
push ecx
push str._s__I64x__04d_02d_02d_02d_02d_02d_03d
push eax
call fcn.00413400
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00421270
add esp, 0x3c
mov esi, eax
mov byte [ebp - 4], 9
lea eax, [ebp - 0x50]
cmp eax, esi
je 0x4c6156
mov ecx, eax
call fcn.0040ae90
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x50], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x40], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
call fcn.0040a7e0
lea eax, [ebp - 0x50]
push eax
call fcn.004144a0
add esp, 4
test al, al
jne 0x4c617e
lea eax, [ebp - 0x50]
push eax
call fcn.00420600
add esp, 4
push str..dmp
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.0040b9e0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.00421270
add esp, 0x18
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x80]
cmp dword [ebp - 0x6c], 8
push 0
cmovae eax, dword [ebp - 0x80]
push 0x80
push 2
push 0
push 2
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0xdc], esi
cmp esi, 0xffffffff
je 0x4c6239
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xd8]
push 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push esi
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.dbghelp.dll_MiniDumpWriteDump
push dword [ebp - 0xdc]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x4c6239
lea eax, [ebp - 0x80]
mov ecx, edi
push eax
call fcn.0040a830
jmp 0x4c624c
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov dword [ebp - 0xcc], 1
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x80]
call fcn.0040a7e0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xc8]
call fcn.0040a7e0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x68]
call fcn.0040a7e0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x98]
call fcn.0040a7e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x50]
call fcn.0040a7e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb0]
call fcn.0040a7e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd4]
call fcn.00415320
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d1486
mov esp, ebp
pop ebp
ret