Function at 0x4c48c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5727d7
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x5e8024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
cmp byte [ebp + 0x10], 0
xorps xmm0, xmm0
mov dword [ebp - 0x10], 0
mov ecx, 0x440
mov esi, dword [edi]
mov eax, 0x400
cmovne eax, ecx
mov dword [ebp - 0x48], 0
mov ecx, edi
mov dword [ebp - 0x3c], 0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x4c], eax
call fcn.0049a5c0
test al, al
je 0x4c4945
add esi, 8
mov ecx, dword [ebx]
movzx eax, byte [ebp + 0xc]
xor eax, 1
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], str.open
cmp dword [ecx - 0xc], 0
cmovne eax, ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
jne 0x4c4993
mov edx, edi
lea ecx, [ebp + 8]
call fcn.00499a80
mov dword [ebp - 4], 0
mov ebx, 1
mov dword [ebp - 0x10], ebx
mov ecx, dword [eax]
mov esi, dword [ebp + 0xc]
jmp 0x4c49b2
add ecx, 0xfffffff0
call fcn.00409540
lea ecx, [eax + 0x10]
mov esi, ecx
mov dword [ebp + 0xc], esi
mov dword [ebp - 4], 2
mov ebx, 2
mov dword [ebp - 0x10], ebx
add ecx, 0xfffffff0
call fcn.00409540
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 5
or edi, 0xffffffff
test bl, 2
je 0x4c49f0
and ebx, 0xfffffffd
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 5
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4c49f0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
test bl, 1
je 0x4c4a1d
and ebx, 0xfffffffe
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 7
mov eax, edi
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c4a1d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
call fcn.0049a5c0
test al, al
je 0x4c4a2f
add esi, 8
lea eax, [ebp - 0x50]
mov dword [ebp - 0x38], esi
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x4c4a53
mov esi, dword [ebp + 0x1c]
test esi, esi
je 0x4c4a4f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
xor bl, bl
jmp 0x4c4a8a
cmp byte [ebp + 0x10], 0
je 0x4c4a7a
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4c4a88
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x4c4a7a
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4c4a88
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x4c4aa9
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret