Function at 0x50eb20
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x50eb28
push ecx
push ebx
push esi
mov esi, edx
xor eax, eax
push ebp
push 0x50ee95
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [0x515c1c]
mov eax, dword [eax]
call fcn.00480684
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.00409e74
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 8]
mov ecx, 0x50eeac
call fcn.00404c1c
push 0x50eebc
push 0
push 0xf001f
call sub.kernel32.dll_OpenFileMappingA
mov ebx, eax
test ebx, ebx
jbe 0x50ed6f
push 0
push 0
push 0
push 0xf001f
push ebx
call sub.kernel32.dll_MapViewOfFile
mov dword [0x517184], eax
mov eax, dword [0x517184]
mov ebx, dword [eax + 4]
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x517184]
sub eax, dword [edx]
mov edx, dword [0x517518]
add edx, 0x493e0
cmp eax, edx
jle 0x50ebee
mov eax, dword [0x517184]
mov eax, dword [eax + 4]
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov ebx, eax
test ebx, ebx
jbe 0x50ed6f
push 0
push ebx
call sub.kernel32.dll_TerminateProcess
jmp 0x50ed6f
mov eax, dword [0x517184]
add eax, 8
mov edx, 0x400
call fcn.00407e38
push 0x50eed4
push dword [0x517504]
push 0x50eef8
push dword [0x517508]
push 0x50ef0c
lea eax, [ebp - 4]
mov edx, 5
call fcn.00404c90
push dword [ebp - 4]
push 0x50ef18
push dword [0x5174bc]
push 0x50ef0c
lea eax, [ebp - 4]
mov edx, 4
call fcn.00404c90
push dword [ebp - 4]
push 0x50ef30
push dword [0x5174f4]
push 0x50ef44
push dword [0x5174fc]
push 0x50ef58
lea edx, [ebp - 0x14]
mov eax, dword [0x5174e8]
call fcn.00409838
push dword [ebp - 0x14]
push 0x50ef70
lea eax, [ebp - 4]
mov edx, 8
call fcn.00404c90
push ebx
call sub.kernel32.dll_GetProcessVersion
mov ebx, eax
cmp ebx, 1
jb 0x50ecaa
mov eax, dword [0x5174f8]
mov edx, 0x50ef7c
call fcn.00404d1c
jne 0x50ed49
mov eax, dword [ebp - 8]
call fcn.00409d74
test al, al
je 0x50ece4
cmp dword [0x5174f0], 0
je 0x50ece4
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 8]
call fcn.004bda1c
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x18]
call fcn.004bdb78
mov edx, dword [ebp - 0x18]
mov eax, dword [0x5174f0]
call fcn.00404d1c
je 0x50ecf5
mov eax, esi
mov edx, 0x50ef88
call fcn.00404964
jmp 0x50ee6d
lea edx, [ebp - 0x2c]
mov eax, dword [0x517184]
add eax, 8
call fcn.0040a1e4
cmp dword [ebp - 0x2c], 0
je 0x50ed1c
mov eax, esi
mov edx, 0x50ef88
call fcn.00404964
jmp 0x50ee6d
push 5
push dword [ebp - 8]
push 0x50ef98
push dword [ebp - 4]
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00404c90
mov eax, dword [ebp - 0x30]
call fcn.00404dd0
push eax
call sub.kernel32.dll_WinExec
jmp 0x50ee6d
mov eax, dword [ebp - 4]
call fcn.00404bd0
push eax
lea eax, [ebp - 4]
call fcn.00404e28
mov edx, eax
mov eax, dword [0x517184]
add eax, 8
pop ecx
call fcn.00407e30
jmp 0x50ee6d
push 0x50eed4
push dword [0x517504]
push 0x50eef8
push dword [0x517508]
push 0x50ef0c
lea eax, [ebp - 4]
mov edx, 5
call fcn.00404c90
push dword [ebp - 4]
push 0x50ef18
push dword [0x5174bc]
push 0x50ef0c
lea eax, [ebp - 4]
mov edx, 4
call fcn.00404c90
push dword [ebp - 4]
push 0x50ef30
push dword [0x5174f4]
push 0x50ef44
push dword [0x5174fc]
push 0x50ef58
lea edx, [ebp - 0x34]
mov eax, dword [0x5174e8]
call fcn.00409838
push dword [ebp - 0x34]
push 0x50ef70
lea eax, [ebp - 4]
mov edx, 8
call fcn.00404c90
mov eax, dword [ebp - 8]
call fcn.00409d74
test al, al
je 0x50ee31
cmp dword [0x5174f0], 0
je 0x50ee31
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 8]
call fcn.004bda1c
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x38]
call fcn.004bdb78
mov edx, dword [ebp - 0x38]
mov eax, dword [0x5174f0]
call fcn.00404d1c
je 0x50ee3f
mov eax, esi
mov edx, 0x50ef88
call fcn.00404964
jmp 0x50ee6d
cmp dword [ebp - 4], 0
je 0x50ee6d
push 5
push dword [ebp - 8]
push 0x50ef98
push dword [ebp - 4]
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00404c90
mov eax, dword [ebp - 0x3c]
call fcn.00404dd0
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50ee9c
lea eax, [ebp - 0x3c]
mov edx, 5
call fcn.00404934
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00404934
ret