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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0x48
call fcn.00401a81
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
push 0x10
call fcn.00401a81
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0
push 0
push 0
push 1
mov ebx, 0x264
call fcn.00401cb0
add esp, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4012bf
push ebx
call fcn.00401a7b
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4012d6
mov eax, 0x404200
push eax
push 1
mov ebx, 0x244
call fcn.00401d80
add esp, 0x10
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4012fc
mov eax, 0x404200
push eax
push 1
mov ebx, 0x130
call fcn.00401d90
add esp, 0x10
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x20]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fsub qword [0x404201]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
call fcn.00401000
push 0x80000301
push 0
push eax
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x401347
mov eax, 0x404200
push eax
push 2
mov ebx, 0x134
call fcn.00401db0
add esp, 0x1c
mov dword [ebp - 0x2c], eax
push 0x404209
push dword [ebp - 0x2c]
mov ecx, 2
call fcn.00401092
add esp, 8
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401385
push ebx
call fcn.00401a7b
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401399
push ebx
call fcn.00401a7b
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov eax, 0x40420d
test eax, eax
je 0x4013b9
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00401a81
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 0x4013ca
push ebx
call fcn.00401a7b
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0
mov ebx, 0x104
call fcn.00401e10
add esp, 4
mov dword [ebp - 0x18], eax
push 0
mov ebx, 0x108
call fcn.00401eb0
add esp, 4
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
push 0x40421b
push dword [ebp - 0x18]
mov ecx, 3
call fcn.00401092
add esp, 0xc
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401423
push ebx
call fcn.00401a7b
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x401433
push ebx
call fcn.00401a7b
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x401446
mov eax, 0x404200
push eax
push 1
mov ebx, 0x268
call fcn.00401f50
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40146c
push ebx
call fcn.00401a7b
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401480
push ebx
call fcn.00401a7b
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x80000005
push 0
push 0x40421d
push 0x80000301
push 0
push 0xe6
push 2
mov ebx, 0x1c0
call fcn.00401fc0
add esp, 0x1c
mov dword [ebp - 0x18], eax
push 0x80000005
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4014c4
mov eax, 0x404229
push eax
push 1
mov ebx, 0x194
call fcn.00402040
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0
push 0
push 0
push 0x80000005
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4014f3
mov eax, 0x404229
push eax
push 0x80000005
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x401507
mov eax, 0x404229
push eax
push 3
mov ebx, 0x1ac
call fcn.00402050
add esp, 0x28
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [0x404231]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
call fcn.00401000
push 0x80000301
push 0
push eax
push 0x80000005
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x401552
mov eax, 0x404229
push eax
push 0x80000005
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x401566
mov eax, 0x404229
push eax
push 3
mov ebx, 0x1ac
call fcn.00402050
add esp, 0x28
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fild dword [ebp - 0x34]
fstp qword [ebp - 0x44]
fsub qword [ebp - 0x44]
fsub qword [0x404239]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
call fcn.00401000
push 0x80000301
push 0
push eax
push 0x80000005
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4015ba
mov eax, 0x404229
push eax
push 2
mov ebx, 0x1a4
call fcn.004020e0
add esp, 0x1c
mov dword [ebp - 0x50], eax
push dword [ebp - 0x50]
push 0x404241
push dword [ebp - 0x18]
mov ecx, 3
call fcn.004010ee
add esp, 0xc
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4015fb
push ebx
call fcn.00401a7b
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40160b
push ebx
call fcn.00401a7b
add esp, 4
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40161f
push ebx
call fcn.00401a7b
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x80000005
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x401636
mov eax, 0x404229
push eax
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40164a
mov eax, 0x404200
push eax
push 2
mov ebx, 0x26c
call fcn.00402110
add esp, 0x1c
push 0x80000301
push 0
push 2
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40167c
mov eax, 0x404200
push eax
push 2
mov ebx, 0x260
call fcn.004021b0
add esp, 0x1c
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 0x41
mov eax, 0x404250
test eax, eax
je 0x4016ba
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00401a81
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 0x4016cb
push ebx
call fcn.00401a7b
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov eax, 0x40425a
xor ecx, ecx
test eax, eax
je 0x4016dd
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 8]
xor ebx, ebx
test eax, eax
je 0x4016ee
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x401705
dec eax
test ecx, ecx
je 0x401705
call fcn.00401145
add esp, 0xc
test eax, eax
jne 0x401722
mov ebx, dword [ebp - 0x10]
add ebx, 0x2c
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
push 0x80000004
push 0
push str.ComSpec
push 1
mov ebx, 0x10c
call fcn.004021d0
add esp, 0x10
mov dword [ebp - 0x18], eax
push 0x40426c
push dword [ebp - 4]
push str.__c__
push dword [ebp - 0x18]
mov ecx, 4
call fcn.00401092
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401773
push ebx
call fcn.00401a7b
add esp, 4
mov dword [ebp - 0x20], esp
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
push eax
push 0x41
call fcn.00401a81
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 byte [edi], al
inc edi
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 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x1c]
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x40188a
push 6
call fcn.00401a8d
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
call fcn.004011f1
call fcn.004011f1
call fcn.004011f1
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 al, byte [ebx]
inc ebx
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.00401a7b
add esp, 4
pop eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x401950
push ebx
call fcn.00401a7b
add esp, 4
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], esp
push 0xffffffff
mov ebx, dword [ebp - 0x18]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x40197f
push 6
call fcn.00401a8d
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x401992
mov eax, 0x404200
push eax
push 1
mov ebx, 0x244
call fcn.00401d80
add esp, 0x10
mov eax, 0
jmp 0x4019af
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4019c0
push ebx
call fcn.00401a7b
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4019d0
push ebx
call fcn.00401a7b
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4019e0
push ebx
call fcn.00401a7b
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4019f7
push ebx
call fcn.00401a7b
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x401a0b
push ebx
call fcn.00401a7b
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x401a1f
push ebx
call fcn.00401a7b
add esp, 4
pop ebx
call fcn.00401a7b
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.00401a7b
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret