Function at 0x40b419
Capabilities:
Create process on windows

Disassembly:
push 0x27c
mov eax, 0x43eea2
call fcn.004265cd
mov ebx, ecx
lea edi, [ebx + 0x23c]
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.00401977
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x220], esi
and dword [ebp - 4], 0
call fcn.0040ecdb
push eax
lea ecx, [ebp - 0x224]
call fcn.00402015
push 0
push 0x5c
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0040a738
mov dword [ebp - 0x228], eax
test eax, eax
js 0x40b4f1
mov ecx, dword [edi]
lea edx, [eax + 1]
lea eax, [ebp - 0x21c]
mov ecx, dword [ecx - 0xc]
sub ecx, edx
push ecx
push edx
push eax
mov ecx, edi
call fcn.00408260
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x220]
call fcn.00402911
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402052
push dword [ebp - 0x228]
lea eax, [ebp - 0x228]
mov ecx, edi
push eax
call fcn.0040a6cb
push eax
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 3
call fcn.00402911
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.00402052
mov esi, dword [ebp - 0x220]
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.0040ecdb
push eax
lea ecx, [ebp - 0x21c]
call fcn.00402015
mov edi, 0x45076c
mov byte [ebp - 4], 4
push edi
call fcn.00401b6e
pop ecx
push eax
push edi
lea ecx, [ebp - 0x21c]
call fcn.00402405
lea eax, [ebp - 0x218]
push eax
call fcn.00401b6e
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00402405
mov edi, 0x450770
push edi
call fcn.00401b6e
pop ecx
push eax
push edi
lea ecx, [ebp - 0x21c]
call fcn.00402405
xor edi, edi
cmp dword [ebx + 0x260], edi
jle 0x40b5da
push 0x450784
call fcn.00401b6e
pop ecx
push eax
push 0x450784
lea ecx, [ebp - 0x21c]
call fcn.00402405
push edi
lea ecx, [ebx + 0x258]
call fcn.004016bd
lea ecx, [ebp - 0x21c]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00402405
push 0x45076c
call fcn.00401b6e
pop ecx
push eax
push 0x45076c
lea ecx, [ebp - 0x21c]
call fcn.00402405
inc edi
cmp edi, dword [ebx + 0x260]
jl 0x40b576
mov esi, dword [ebp - 0x220]
xor eax, eax
lea edi, [ebp - 0x23c]
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 - 0x288]
pop edi
push edi
push 0
push eax
call fcn.00428540
add esp, 0xc
mov dword [ebp - 0x288], edi
mov edi, dword [ebp - 0x21c]
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x288]
push eax
xor eax, eax
push eax
push eax
push 0x400
push edi
push eax
push 1
push dword [ebx + 0x240]
push dword [ebp - 0x224]
push esi
call dword [sym.imp.ADVAPI32.dll_CreateProcessWithLogonW]
test eax, eax
je 0x40b69c
push 0xffffffffffffffff
push dword [ebp - 0x23c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x22c]
push eax
push dword [ebp - 0x23c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x23c]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
push dword [ebp - 0x238]
call ebx
mov ebx, dword [ebp - 0x22c]
lea ecx, [edi - 0x10]
call fcn.00402052
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
call fcn.00402052
lea ecx, [esi - 0x10]
call fcn.00402052
mov eax, ebx
call fcn.00426577
ret
push ecx
mov ecx, ebx
call fcn.0040b3a2
int3