Function at 0x480e80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a37d8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x4c6184]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov edi, dword [ecx + 0x3c8]
inc dword [0x4cfcfc]
xor ebx, ebx
cmp edi, ebx
je 0x480ec6
call fcn.004849c0
test byte [0x4c74e8], 1
je 0x4810dd
mov byte [esp + 0x18], bl
mov eax, dword [esp + 0x18]
push eax
push ebx
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], ebx
call fcn.0041c7c0
mov dword [esp + 0x88], ebx
mov eax, dword [0x4cfcc4]
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x18], ebx
push str.Files
lea ebx, [esp + 0x1c]
mov edx, str.File_Setup_Facecons
call fcn.0041df40
test al, al
je 0x4810a0
mov esi, dword [esp + 0x14]
test esi, esi
je 0x4810a0
lea edx, [esp + 0x14]
push edx
call fcn.0041bb70
mov ebx, 1
mov byte [esp + 0x88], bl
mov eax, dword [0x4d0198]
push eax
push str._sPlusFacecons.dat
lea edi, [esp + 0x1c]
call fcn.00417b50
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
push esi
push ecx
call fcn.00417c70
add esp, 0x10
test al, al
je 0x481078
mov edx, dword [0x4d0198]
push edx
mov edx, dword [esp + 0x18]
mov ecx, 0x4a999c
call fcn.0041c940
add esp, 4
test al, al
je 0x481078
lea eax, [esp + 0x10]
push eax
call fcn.0041bb70
mov byte [esp + 0x88], 2
mov ecx, dword [0x4d0198]
push ecx
push str.__s_facecons_pt.exe___S
lea edi, [esp + 0x18]
call fcn.00417b50
push 0x44
lea edx, [esp + 0x40]
push 0
push edx
call fcn.0048a470
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x24]
add esp, 0x14
mov dword [esp + 0x34], 0x44
cmp dword [eax - 4], ebx
jle 0x480ff5
mov eax, dword [eax - 0xc]
push eax
mov ecx, edi
push ecx
call fcn.00416ed0
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x38]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x48103c
mov edx, dword [esp + 0x24]
push 0x2710
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x24]
push ecx
call esi
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.004883c5
add esp, 8
test eax, eax
js 0x4810f3
mov ecx, dword [esp + 0x10]
cmp eax, dword [ecx - 8]
jg 0x4810f3
mov dword [ecx - 0xc], eax
mov ecx, dword [esp + 0x10]
xor edx, edx
mov word [ecx + eax*2], dx
lea eax, [esp + 0x10]
call fcn.0043ec30
mov byte [esp + 0x88], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4810a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x88], 0xffffffff
mov esi, dword [esp + 0x20]
test esi, esi
je 0x4810dd
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4810dd
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4810dd
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004170a0
int3