Function at 0x40f26b
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0x48
call fcn.0047a2e4
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x12
rep stosd dword es:[edi], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x40f2c4
push eax
mov ebx, eax
call fcn.00401358
inc eax
push eax
call fcn.0047a2e4
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40f2d5
push ebx
call fcn.0047a2ea
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x49d2b0
push dword [ebp - 4]
call fcn.00401420
add esp, 8
cmp eax, 0
jne 0x40f32b
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0047be50
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40f327
push ebx
call fcn.0047a2ea
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
je 0x40f349
push eax
mov ebx, eax
call fcn.00401358
inc eax
push eax
call fcn.0047a2e4
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40f35a
push ebx
call fcn.0047a2ea
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x49d2b0
push dword [ebp - 8]
call fcn.00401420
add esp, 8
cmp eax, 0
jne 0x40f3b0
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0047be50
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40f3ac
push ebx
call fcn.0047a2ea
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0x28]
mov eax, dword [ebx]
test eax, eax
je 0x40f3ce
push eax
mov ebx, eax
call fcn.00401358
inc eax
push eax
call fcn.0047a2e4
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40f3df
push ebx
call fcn.0047a2ea
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x49d2b0
push dword [ebp - 0xc]
call fcn.00401420
add esp, 8
cmp eax, 0
je 0x40f425
lea eax, [ebp - 0xc]
push eax
call fcn.00403f20
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40f41c
push ebx
call fcn.0047a2ea
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
jmp 0x40f45e
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0047be50
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40f45a
push ebx
call fcn.0047a2ea
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x34], 0
mov eax, 0
sete al
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x40f4e3
mov ebx, dword [ebp + 0x30]
mov eax, dword [ebx]
push eax
push 0x48
call fcn.0047a2e4
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x40f4ae
push eax
mov ebx, eax
call fcn.00401358
inc eax
push eax
call fcn.0047a2e4
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
mov ecx, 0xf
rep movsd dword es:[edi], dword [esi]
pop eax
push eax
mov ebx, dword [ebp - 0x10]
push ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40f4d1
push ebx
call fcn.0047a2ea
add esp, 4
pop ebx
call fcn.0047a2ea
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
jmp 0x40f4f5
mov ebx, dword [ebp - 0x10]
add ebx, 0x2c
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebx], 0x44
cmp dword [ebp + 0x1c], 0
jne 0x40f515
mov dword [ebp + 0x18], 1
mov ebx, dword [ebp - 0x10]
add ebx, 0x30
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp + 0x18]
mov ebx, dword [ebp - 0x14]
mov word [ebx], ax
mov dword [ebp - 0x14], esp
mov ebx, dword [ebp + 0x38]
push dword [ebx]
mov eax, dword [ebp - 0x10]
push eax
push 0x44
call fcn.0047a2e4
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push dword [ebp - 0xc]
push 0
push 0
push dword [ebp + 0x20]
push 0
push 0
push dword [ebp - 8]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x40f646
push 0x557
push 0x4090a49
push 6
call fcn.0047a2f0
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x18]
push ebx
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.0040f234
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.0047a2ea
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x40f71f
mov eax, 0xffffffff
jmp 0x40f790
cmp dword [ebp + 0x3c], 0
jne 0x40f77b
mov ebx, dword [ebp + 0x38]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp dword [ebx], 0
je 0x40f755
mov ebx, dword [ebp + 0x38]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
push dword [ebx]
call fcn.00403040
mov ebx, dword [ebp + 0x38]
mov ebx, dword [ebx]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp dword [ebx], 0
je 0x40f77b
mov ebx, dword [ebp + 0x38]
mov ebx, dword [ebx]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
push dword [ebx]
call fcn.00403040
mov ebx, dword [ebp + 0x38]
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx]
jmp 0x40f790
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40f7a1
push ebx
call fcn.0047a2ea
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40f7b1
push ebx
call fcn.0047a2ea
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40f7c1
push ebx
call fcn.0047a2ea
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40f7d8
push ebx
call fcn.0047a2ea
add esp, 4
pop ebx
call fcn.0047a2ea
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x38