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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
push 0x48
call fcn.004588c7
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x12
rep stosd dword es:[edi], eax
push 0x10
call fcn.004588c7
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push dword [ebp + 8]
call fcn.004018ce
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41f0ec
push ebx
call fcn.004588cd
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx], 0x44
cmp dword [ebp + 0x28], 0
mov eax, 0
sete al
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x41f13d
cmp dword [ebp + 0x24], 2
je 0x41f13d
cmp dword [ebp + 0x24], 0
jle 0x41f13d
cmp dword [ebp + 0x24], 6
jg 0x41f13d
mov eax, 1
jmp 0x41f13f
xor eax, eax
test eax, eax
je 0x41f1c9
mov ebx, dword [ebp - 8]
add ebx, 0x2c
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx], 1
mov ebx, dword [ebp - 8]
add ebx, 0x30
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp + 0x24]
cmp eax, 1
jl 0x41f16f
cmp eax, 7
jl 0x41f17c
push 9
call fcn.004588d3
add esp, 4
dec eax
call 0x41f182
pop ebx
add ebx, dword [eax*4 + 0x67481f]
jmp ebx
push dword [ebp + 8]
call fcn.0040d42d
mov dword [ebp - 0x10], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.0045d0a0
add esp, 0x10
mov dword [ebp - 0x14], eax
push 0x80000301
push 0
push 0x20
push 0x80000301
push 0
push 0x4000000
push 2
mov ebx, 0xc8
call fcn.0045d040
add esp, 0x1c
mov dword [ebp - 0x18], eax
lea eax, [ebp - 4]
push eax
call fcn.0040d42d
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
mov eax, dword [ebp - 8]
push eax
push 0x44
call fcn.004588c7
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], 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 - 0x1c]
push 0
push dword [ebp - 0x18]
push 0
push 0
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41f341
push 6
call fcn.004588d3
add esp, 4
push eax
mov ebx, dword [ebp - 0x24]
push ebx
mov edi, dword [ebp - 0x28]
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 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.004588cd
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41f41b
push ebx
call fcn.004588cd
add esp, 4
cmp dword [ebp - 0x2c], 0
jne 0x41f42f
mov eax, 0
jmp 0x41f55a
mov ebx, dword [ebp - 0xc]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx]
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], eax
cmp dword [ebp + 0xc], 0
je 0x41f4ad
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], esp
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x41f476
push 6
call fcn.004588d3
add esp, 4
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], esp
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x41f4a3
push 6
call fcn.004588d3
add esp, 4
mov eax, 1
jmp 0x41f55a
cmp dword [ebp + 0x18], 0
jne 0x41f513
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], esp
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x41f4e1
push 6
call fcn.004588d3
add esp, 4
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], esp
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x41f50e
push 6
call fcn.004588d3
add esp, 4
jmp 0x41f550
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx]
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], esp
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x41f550
push 6
call fcn.004588d3
add esp, 4
mov eax, 1
jmp 0x41f55a
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41f56b
push ebx
call fcn.004588cd
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
call fcn.004588cd
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.004588cd
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x24