Function at 0x4c8990
Capabilities:
Check mutex on windows
Create process on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x1f98
call fcn.004256f0
mov eax, dword [0x5462f8]
xor eax, esp
mov dword [esp + 0x1f94], eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [esp + 0x18], eax
xor esi, esi
mov eax, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 8], esi
call fcn.004ecfd0
test eax, eax
je 0x4c89e3
call fcn.004ecc30
mov esi, eax
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 0x14], eax
test esi, esi
je 0x4c8a18
lea ecx, [esp + 0x78]
call fcn.004c8100
cmp dword [esp + 0x7c], 6
jb 0x4c8a18
push str.CreateProcessWithTokenW
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x14], eax
push 0xffffffffffffffff
mov edx, str..exe
mov ecx, edi
call fcn.004f0c00
mov esi, eax
add esp, 4
lea eax, [esp + 0x110]
test esi, esi
jne 0x4c8a44
push edi
push eax
call fcn.004f1310
add esp, 8
xor edi, edi
jmp 0x4c8a6b
sub esi, edi
add esi, 4
push esi
push edi
push eax
call fcn.0042fe00
add esp, 0xc
cmp esi, 0x30c
jae 0x4c8d9d
inc edi
mov byte [esp + esi + 0x110], 0
add edi, esi
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x110]
push ecx
lea ecx, [esp + 0x424]
push eax
test esi, esi
je 0x4c8aa2
push 1
mov edx, esi
call fcn.004c0120
add esp, 0xc
lea eax, [esp + 0x730]
push esi
push eax
call fcn.004f1310
add esp, 8
jmp 0x4c8aed
push 0
mov edx, 0x55cf78
call fcn.004c0120
add esp, 0xc
lea eax, [esp + 0x730]
push 0x55cf78
push eax
call fcn.004f1310
mov ecx, 0x55cf78
add esp, 8
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c8ad0
sub ecx, edx
dec ecx
cmp ecx, 0x30c
jae 0x4c8d9d
mov byte [esp + ecx + 0x730], al
lea eax, [esp + 0x420]
test edi, edi
je 0x4c8b11
push edi
push eax
lea eax, [esp + 0xa48]
push str.__s___s
push eax
call fcn.00401420
add esp, 0x10
jmp 0x4c8b27
push eax
lea eax, [esp + 0xa44]
push 0x52c2e0
push eax
call fcn.00401420
add esp, 0xc
lea eax, [esp + 0xa40]
push eax
lea eax, [esp + 0x136c]
push eax
call fcn.004f1180
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x738]
test ecx, ecx
cmovne eax, ecx
push eax
lea eax, [esp + 0xd5c]
push eax
call fcn.004f1180
mov esi, dword [esp + 0x18]
xor eax, eax
mov word [esp + 0x82], ax
add esp, 0x10
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
neg eax
movlpd qword [esp + 0x34], xmm0
movlpd qword [esp + 0x3c], xmm0
sbb eax, eax
movlpd qword [esp + 0x44], xmm0
and eax, 5
movlpd qword [esp + 0x4c], xmm0
movlpd qword [esp + 0x54], xmm0
movlpd qword [esp + 0x62], xmm0
movlpd qword [esp + 0x6a], xmm0
mov dword [esp + 0x30], 0x44
mov dword [esp + 0x5c], 1
mov word [esp + 0x60], ax
movaps xmmword [esp + 0x20], xmm0
nop dword [eax]
lea ecx, [esp + 0x1368]
call fcn.004bf670
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4c8c3b
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4c8c0b
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0xd58]
push ecx
push 0
push 0
lea ecx, [esp + 0x137c]
push ecx
push 0
push 0
push esi
call eax
test eax, eax
jne 0x4c8c9d
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0xd58]
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x1388]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4c8c9d
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4c8d7a
cmp dword [ebp + 0x20], 0
mov edx, eax
mov ecx, dword [0x55eaa0]
je 0x4c8d6e
push 0x41
push 0
call fcn.004b55d0
add esp, 8
cmp eax, 1
je 0x4c8bc0
mov ecx, str.AREYOUSUREYOUWANTTOQUIT
call fcn.004f4980
mov ecx, dword [0x55eaa0]
mov edx, eax
push 0x124
push 0
call fcn.004b55d0
add esp, 8
cmp eax, 6
jne 0x4c8bc0
jmp 0x4c8d7a
cmp dword [ebp + 0x1c], 0
je 0x4c8d67
call fcn.004f7bc0
cmp dword [ebp + 0x18], 0
mov dword [esp + 0xc], eax
je 0x4c8cc1
test eax, eax
je 0x4c8cc1
xor ecx, ecx
call fcn.004f67d0
push 0xffffffffffffffff
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
nop dword [eax]
push 8
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, eax
call fcn.004f7b10
cmp esi, 0x102
je 0x4c8cd0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4c8cfe
push eax
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [esp + 0x24]
call edi
push dword [esp + 0x20]
call edi
cmp dword [ebp + 0x24], 0
je 0x4c8d50
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
nop word [eax + eax]
push 0x5607b8
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
xor ecx, ecx
test eax, eax
setne cl
mov dword [esp + 0x10], ecx
test eax, eax
je 0x4c8d4c
push eax
call edi
push 0x64
call esi
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x4c8d20
cmp dword [ebp + 0x18], 0
je 0x4c8d67
cmp dword [esp + 0xc], 0
je 0x4c8d67
mov ecx, 1
call fcn.004f67d0
mov esi, 1
jmp 0x4c8d7c
push 0x40
push 0
call fcn.004b55d0
add esp, 8
xor esi, esi
mov eax, dword [esp + 8]
test eax, eax
je 0x4c8d87
push eax
call edi
mov ecx, dword [esp + 0x1f9c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.00424a87
mov esp, ebp
pop ebp
ret
call fcn.00424ec2
int3