Function at 0x4c7490
Capabilities:
Create process memory minidump

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51214e
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x54e434]
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 0x4c750d
push eax
mov dword [edi + 0x10], eax
mov ecx, edi
mov dword [edi + 0x14], 7
push 0x522f3c
mov word [edi], ax
call fcn.0040ae30
mov dword [ebp - 4], 0
mov dword [ebp - 0xcc], 1
jmp 0x4c7886
lea ecx, [ebp - 0xd4]
call fcn.004151d0
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.0040ae30
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xd4]
call fcn.00415380
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040a6f0
lea ecx, [ebp - 0xd4]
call fcn.00415550
test al, al
je 0x4c75a8
lea ecx, [ebp - 0xd4]
call fcn.00415560
test al, al
je 0x4c75a8
push 0x522f3c
mov ecx, edi
call fcn.0040a780
mov dword [ebp - 0xcc], 1
jmp 0x4c7877
lea eax, [ebp - 0xb0]
push eax
call fcn.004b9600
add esp, 4
mov byte [ebp - 4], 3
xor eax, eax
cmp dword [ebp - 0xa0], eax
jne 0x4c75ee
push eax
mov dword [edi + 0x10], eax
mov ecx, edi
mov dword [edi + 0x14], 7
push 0x522f3c
mov word [edi], ax
call fcn.0040ae30
mov dword [ebp - 0xcc], 1
jmp 0x4c7868
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.0040ae30
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.00421180
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.0040a6f0
lea eax, [ebp - 0x98]
push eax
call fcn.00417050
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.00413310
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00421180
add esp, 0x3c
mov esi, eax
mov byte [ebp - 4], 9
lea eax, [ebp - 0x50]
cmp eax, esi
je 0x4c7726
mov ecx, eax
call fcn.0040ada0
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.0040a6f0
lea eax, [ebp - 0x50]
push eax
call fcn.004143c0
add esp, 4
test al, al
jne 0x4c774e
lea eax, [ebp - 0x50]
push eax
call fcn.00420510
add esp, 4
push str..dmp
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.0040b8f0
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.00421180
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 0x4c7809
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 0x4c7809
lea eax, [ebp - 0x80]
mov ecx, edi
push eax
call fcn.0040a740
jmp 0x4c781c
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.0040a6f0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xc8]
call fcn.0040a6f0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x68]
call fcn.0040a6f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x98]
call fcn.0040a6f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x50]
call fcn.0040a6f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb0]
call fcn.0040a6f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd4]
call fcn.00415240
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.004d12c9
mov esp, ebp
pop ebp
ret