Function at 0x40f80b
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x443c47
call fcn.00428c84
sub esp, 0x270
push ebx
mov ebx, ecx
push esi
push edi
lea edi, [ebx + 0x23c]
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.004022e8
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00401691
push 0
push 0x5c
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0040d4e5
mov dword [ebp - 0x1c], eax
test eax, eax
js 0x40f8b9
mov ecx, dword [edi]
lea edx, [eax + 1]
lea eax, [ebp - 0x10]
mov ecx, dword [ecx - 0xc]
sub ecx, edx
push ecx
push edx
push eax
mov ecx, edi
call fcn.0040b1b9
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x14]
call fcn.00402898
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00401b78
push dword [ebp - 0x1c]
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.0040d5b7
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00402898
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00401b78
mov esi, dword [ebp - 0x14]
push 0x104
lea eax, [ebp - 0x27c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x10]
call fcn.00401691
mov edi, 0x44bdf8
mov byte [ebp - 4], 4
push edi
call fcn.004304f5
pop ecx
push eax
push edi
lea ecx, [ebp - 0x10]
call fcn.0040225c
lea eax, [ebp - 0x27c]
push eax
call fcn.004304f5
pop ecx
push eax
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040225c
mov edi, 0x44bdfc
push edi
call fcn.004304f5
pop ecx
push eax
push edi
lea ecx, [ebp - 0x10]
call fcn.0040225c
xor edi, edi
cmp dword [ebx + 0x260], edi
jle 0x40f984
push 0x44be10
call fcn.004304f5
pop ecx
push eax
push 0x44be10
lea ecx, [ebp - 0x10]
call fcn.0040225c
push edi
lea ecx, [ebx + 0x258]
call fcn.00401882
lea ecx, [ebp - 0x10]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.0040225c
push 0x44bdf8
call fcn.004304f5
pop ecx
push eax
push 0x44bdf8
lea ecx, [ebp - 0x10]
call fcn.0040225c
inc edi
cmp edi, dword [ebx + 0x260]
jl 0x40f92c
mov esi, dword [ebp - 0x14]
xor eax, eax
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
push 0x44
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x74]
pop edi
push edi
push 0
push eax
call fcn.0042bbd0
add esp, 0xc
mov dword [ebp - 0x74], edi
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x74]
push eax
xor eax, eax
push eax
push eax
push 0x400
push edi
push eax
push 1
push dword [ebx + 0x240]
push dword [ebp - 0x18]
push esi
call dword [sym.imp.ADVAPI32.dll_CreateProcessWithLogonW]
test eax, eax
je 0x40fa25
push 0xffffffffffffffff
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x30]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
push dword [ebp - 0x2c]
call ebx
mov ebx, dword [ebp - 0x20]
lea ecx, [edi - 0x10]
call fcn.00401b78
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00401b78
lea ecx, [esi - 0x10]
call fcn.00401b78
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
push 0x44be18
mov ecx, ebx
call fcn.0040f790
int3