Function at 0x4fc594
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc0
push ebx
xor edx, edx
mov dword [ebp - 0x240], edx
mov dword [ebp - 0x23c], edx
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x234], edx
mov dword [ebp - 0x230], edx
mov dword [ebp - 0x22c], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
lea ebx, [ebp - 0x1d4]
xor eax, eax
push ebp
push 0x4fc882
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x50e438]
mov edx, dword [edx]
lea eax, [ebp - 8]
mov ecx, 0x4fc898
call fcn.00404f9c
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.00409ef8
mov eax, dword [ebp - 8]
call fcn.0040a01c
mov edx, dword [0x50e438]
mov edx, dword [edx]
lea eax, [ebp - 4]
mov ecx, 0x4fc8ac
call fcn.00404f9c
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00409ef8
mov eax, dword [ebp - 4]
call fcn.0040a01c
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00403454
mov eax, ebx
call fcn.004031e4
call fcn.00402cdc
mov edx, 0x4fc8c4
mov eax, ebx
call fcn.0040536c
call fcn.004038e4
call fcn.00402cdc
push 0x4fc8d4
mov eax, dword [0x50e34c]
push dword [eax]
push 0x4fc8e4
lea eax, [ebp - 0x22c]
mov edx, 3
call fcn.00405010
mov edx, dword [ebp - 0x22c]
mov eax, ebx
call fcn.0040536c
call fcn.004038e4
call fcn.00402cdc
push 0x4fc8f0
mov eax, dword [0x50e34c]
push dword [eax]
push 0x4fc904
lea eax, [ebp - 0x230]
mov edx, 3
call fcn.00405010
mov edx, dword [ebp - 0x230]
mov eax, ebx
call fcn.0040536c
call fcn.004038e4
call fcn.00402cdc
mov edx, 0x4fc918
mov eax, ebx
call fcn.0040536c
call fcn.004038e4
call fcn.00402cdc
push 0x4fc928
mov eax, dword [0x50dcd8]
push dword [eax]
push 0x4fc938
mov eax, dword [0x50e34c]
push dword [eax]
push 0x4fc8e4
lea eax, [ebp - 0x234]
mov edx, 5
call fcn.00405010
mov edx, dword [ebp - 0x234]
mov eax, ebx
call fcn.0040536c
call fcn.004038e4
call fcn.00402cdc
push 0x4fc944
mov eax, dword [0x50e34c]
push dword [eax]
push 0x4fc95c
lea eax, [ebp - 0x238]
mov edx, 3
call fcn.00405010
mov edx, dword [ebp - 0x238]
mov eax, ebx
call fcn.0040536c
call fcn.004038e4
call fcn.00402cdc
push 0x4fc8d4
mov eax, dword [0x50dcd8]
push dword [eax]
push 0x4fc8e4
lea eax, [ebp - 0x23c]
mov edx, 3
call fcn.00405010
mov edx, dword [ebp - 0x23c]
mov eax, ebx
call fcn.0040536c
call fcn.004038e4
call fcn.00402cdc
push 0x4fc970
mov eax, dword [0x50e34c]
push dword [eax]
push 0x4fc8e4
lea eax, [ebp - 0x240]
mov edx, 3
call fcn.00405010
mov edx, dword [ebp - 0x240]
mov eax, ebx
call fcn.0040536c
call fcn.004038e4
call fcn.00402cdc
mov edx, 0x4fc984
mov eax, ebx
call fcn.0040536c
call fcn.004038e4
call fcn.00402cdc
mov eax, ebx
call fcn.0040351c
call fcn.00402cdc
lea eax, [ebp - 0x228]
xor ecx, ecx
mov edx, 0x44
call fcn.004036c0
mov dword [ebp - 0x1fc], 1
mov word [ebp - 0x1f8], 0
lea eax, [ebp - 0x1e4]
push eax
lea eax, [ebp - 0x228]
push eax
push 0
push 0
push 0x40
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00405150
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x4fc857
mov eax, dword [ebp - 0x1e0]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x1e4]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fc889
lea eax, [ebp - 0x240]
mov edx, 6
call fcn.00404cb4
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404cb4
ret