Function at 0x401cc8
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 0x3c
call fcn.00407dc3
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xf
rep stosd dword es:[edi], eax
mov dword [ebp - 8], 0
mov ebx, dword [ebp - 4]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebx], 0x3c
mov eax, 0x21c8438
xor ecx, ecx
test eax, eax
je 0x401d12
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
xor ebx, ebx
test eax, eax
je 0x401d25
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x401d3c
dec eax
test ecx, ecx
je 0x401d3c
call fcn.00401c1c
add esp, 0xc
test eax, eax
jne 0x401e44
call fcn.004022f0
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
push eax
call fcn.00401a47
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401d77
push ebx
call fcn.00407dc9
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x401d8b
push ebx
call fcn.00407dc9
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
add ebx, 0x10
mov dword [ebp - 0xc], ebx
push 0
mov ebx, 0x108
call fcn.004085d0
add esp, 4
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
push 0x21c840d
mov ecx, 2
call fcn.004010b9
add esp, 8
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x401dd5
push ebx
call fcn.00407dc9
add esp, 4
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
call fcn.004016b7
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401dfd
push ebx
call fcn.00407dc9
add esp, 4
push dword [ebp - 0x1c]
push dword [ebp - 8]
mov ecx, 2
call fcn.0040179d
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x401e23
push ebx
call fcn.00407dc9
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x401e39
push ebx
call fcn.00407dc9
add esp, 4
pop eax
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
jmp 0x401e82
mov ebx, dword [ebp - 4]
add ebx, 0x10
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x401e69
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00407dc3
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x401e7c
push ebx
call fcn.00407dc9
add esp, 4
pop eax
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 0x14
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
je 0x401ea7
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00407dc3
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x401eba
push ebx
call fcn.00407dc9
add esp, 4
pop eax
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov eax, 0x21c844a
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.004016b7
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401ef9
push ebx
call fcn.00407dc9
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x401f0f
push ebx
call fcn.00407dc9
add esp, 4
pop eax
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x18], 0
jg 0x401f5c
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0xc], ebx
push 0x80000301
push 0
push 0x4000
push 0x80000301
push 0
push 0x100
push 2
mov ebx, 0xc8
call fcn.00408980
add esp, 0x1c
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
jmp 0x401fa0
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0xc], ebx
push 0x80000301
push 0
push 0x40
push 0x80000301
push 0
push 0x4000
push 0x80000301
push 0
push 0x100
push 3
mov ebx, 0xc8
call fcn.00408980
add esp, 0x28
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
cmp dword [ebp + 0x24], 0
je 0x401fc2
cmp dword [ebp + 0x20], 0
jl 0x401fc2
cmp dword [ebp + 0x20], 0xb
jg 0x401fc2
xor eax, eax
jmp 0x401fc7
mov eax, 1
test eax, eax
je 0x401fe6
mov ebx, dword [ebp - 4]
add ebx, 0x1c
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebx], 0xa
jmp 0x401ff7
mov ebx, dword [ebp - 4]
add ebx, 0x1c
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp + 0x20]
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov dword [ebp - 0xc], esp
mov eax, dword [ebp - 4]
push eax
push 0x3c
call fcn.00407dc3
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 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
test eax, eax
je 0x40203f
add eax, 8
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
test eax, eax
je 0x402050
add eax, 8
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
test eax, eax
je 0x402061
add eax, 8
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
test eax, eax
je 0x402072
add eax, 8
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
test eax, eax
je 0x4020a1
add eax, 8
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
xor eax, eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4020f4
push 0x382
push 0x4010b19
push 6
call fcn.00407ddb
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x10]
push ebx
mov edi, dword [ebp - 0x14]
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
add edi, 0x10
add ebx, 0x10
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
add edi, 4
add ebx, 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.00407dc9
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x40218c
mov eax, 0
jmp 0x402268
mov ebx, dword [ebp - 4]
add ebx, 0x38
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 0
je 0x40225e
mov ebx, dword [ebp - 4]
add ebx, 0x38
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esp
push dword [ebp + 0x18]
mov ebx, dword [ebp - 0xc]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x4021db
push 0x41c
push 0x4010b19
push 6
call fcn.00407ddb
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x102
jne 0x402227
mov ebx, dword [ebp - 4]
add ebx, 0x38
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esp
push 0
mov ebx, dword [ebp - 0xc]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x402227
push 0x44d
push 0x4010b19
push 6
call fcn.00407ddb
add esp, 0xc
mov ebx, dword [ebp - 4]
add ebx, 0x38
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp - 0xc]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x40225e
push 0x47b
push 0x4010b19
push 6
call fcn.00407ddb
add esp, 0xc
mov eax, 1
jmp 0x402268
push eax
mov ebx, dword [ebp - 4]
push ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x402280
push ebx
call fcn.00407dc9
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x402294
push ebx
call fcn.00407dc9
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4022a8
push ebx
call fcn.00407dc9
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4022bc
push ebx
call fcn.00407dc9
add esp, 4
pop ebx
add ebx, 0x10
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4022d0
push ebx
call fcn.00407dc9
add esp, 4
pop ebx
call fcn.00407dc9
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4022e9
push ebx
call fcn.00407dc9
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x20