Function at 0x40f344
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.0047911e
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 0x40f39d
push eax
mov ebx, eax
call fcn.00401499
inc eax
push eax
call fcn.0047911e
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 0x40f3ae
push ebx
call fcn.00479124
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x48e230
push dword [ebp - 4]
call fcn.00401560
add esp, 8
cmp eax, 0
jne 0x40f404
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0047aba0
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40f400
push ebx
call fcn.00479124
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
je 0x40f422
push eax
mov ebx, eax
call fcn.00401499
inc eax
push eax
call fcn.0047911e
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 0x40f433
push ebx
call fcn.00479124
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x48e230
push dword [ebp - 8]
call fcn.00401560
add esp, 8
cmp eax, 0
jne 0x40f489
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0047aba0
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40f485
push ebx
call fcn.00479124
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0x28]
mov eax, dword [ebx]
test eax, eax
je 0x40f4a7
push eax
mov ebx, eax
call fcn.00401499
inc eax
push eax
call fcn.0047911e
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 0x40f4b8
push ebx
call fcn.00479124
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x48e230
push dword [ebp - 0xc]
call fcn.00401560
add esp, 8
cmp eax, 0
je 0x40f4fe
lea eax, [ebp - 0xc]
push eax
call fcn.0040404a
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40f4f5
push ebx
call fcn.00479124
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
jmp 0x40f537
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0047aba0
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40f533
push ebx
call fcn.00479124
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 0x40f5bc
mov ebx, dword [ebp + 0x30]
mov eax, dword [ebx]
push eax
push 0x48
call fcn.0047911e
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 0x40f587
push eax
mov ebx, eax
call fcn.00401499
inc eax
push eax
call fcn.0047911e
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 0x40f5aa
push ebx
call fcn.00479124
add esp, 4
pop ebx
call fcn.00479124
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
jmp 0x40f5ce
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 0x40f5ee
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.0047911e
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 0x40f71f
push 0x557
push 0x4080a6c
push 6
call fcn.0047912a
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.0040f30d
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.00479124
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x40f7f8
mov eax, 0xffffffff
jmp 0x40f869
cmp dword [ebp + 0x3c], 0
jne 0x40f854
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 0x40f82e
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.00403175
mov ebx, dword [ebp + 0x38]
mov ebx, dword [ebx]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp dword [ebx], 0
je 0x40f854
mov ebx, dword [ebp + 0x38]
mov ebx, dword [ebx]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
push dword [ebx]
call fcn.00403175
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 0x40f869
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40f87a
push ebx
call fcn.00479124
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40f88a
push ebx
call fcn.00479124
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40f89a
push ebx
call fcn.00479124
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40f8b1
push ebx
call fcn.00479124
add esp, 4
pop ebx
call fcn.00479124
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x38