Function at 0x401bca
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
push 1
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], edi
mov byte [ebp - 1], bl
mov dword [ebp - 0x14], ebx
call fcn.0040cfe3
push 1
lea ecx, [ebp - 8]
mov dword [ebp - 8], ebx
call fcn.0040cfe3
push ebx
push 0x4142d8
lea ecx, [ebp - 8]
call fcn.0040d09a
push dword [edi + 0x10]
lea ecx, [ebp - 8]
call fcn.0040d0f0
push ebx
mov esi, 0x414260
push esi
lea ecx, [ebp - 8]
call fcn.0040d09a
push 8
lea ecx, [ebp - 8]
call fcn.0040d0f0
push ebx
push esi
lea ecx, [ebp - 8]
call fcn.0040d09a
cmp byte [ebp + 8], bl
mov eax, 0x4142bc
jne 0x401c45
mov eax, 0x4142b8
push ebx
push eax
lea ecx, [ebp - 8]
call fcn.0040d09a
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
mov ecx, edi
call fcn.00401998
test al, al
je 0x401e27
push 1
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
call fcn.0040cfe3
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.004018be
test al, al
je 0x401e1f
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
push 1
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
call fcn.0040cfe3
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.0040140d
cmp dword [ebp - 0xc], ebx
mov byte [ebp + 0xb], al
je 0x401ccd
push dword [ebp - 0xc]
call fcn.0040c29b
cmp eax, ebx
pop ecx
jbe 0x401ccd
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401bad
lea ecx, [ebp - 0xc]
call fcn.0040d051
cmp byte [ebp + 0xb], bl
jne 0x401c90
cmp dword [ebp - 0x10], ebx
je 0x401e13
push dword [ebp - 0x10]
call fcn.0040c29b
cmp eax, ebx
pop ecx
jbe 0x401e13
mov esi, dword [ebp - 0x28]
cmp esi, ebx
jbe 0x401e13
push dword [ebp - 0x10]
call fcn.0040c39c
cmp dword [edi + 0x14], eax
pop ecx
mov dword [ebp - 0x24], eax
jge 0x401e13
cmp esi, ebx
jbe 0x401e07
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esi
mov ecx, dword [ebp - 0x1c]
push 0x4141c8
call fcn.0040d172
mov esi, eax
cmp dword [esi + 4], 2
mov dword [ebp - 0xc], esi
je 0x401d4a
lea ecx, [ebp - 0xc]
call fcn.00401b77
jmp 0x401df7
mov edi, dword [esi]
push str.download
push dword [edi]
call fcn.0040c28c
test eax, eax
pop ecx
pop ecx
je 0x401d70
push str.update
push dword [edi]
call fcn.0040c28c
test eax, eax
pop ecx
pop ecx
jne 0x401dec
push 1
lea ecx, [ebp + 8]
mov dword [ebp + 8], ebx
call fcn.0040cfe3
mov eax, dword [esi]
lea ecx, [ebp + 8]
add eax, 4
push ecx
push dword [eax]
call fcn.004014ec
test al, al
pop ecx
pop ecx
je 0x401de4
push pe_nt_image_headers32
lea eax, [ebp - 0x7c]
push ebx
push eax
mov dword [ebp - 0x80], 0x44
call fcn.0040c1e3
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
test eax, eax
setne al
cmp al, bl
je 0x401de4
push str.update
push dword [edi]
call fcn.0040c28c
test eax, eax
pop ecx
pop ecx
jne 0x401de4
mov ecx, dword [ebp - 0x18]
call fcn.004014bc
lea ecx, [ebp + 8]
call fcn.0040d051
lea ecx, [ebp - 0xc]
call fcn.00401b77
mov edi, dword [ebp - 0x18]
add dword [ebp - 0x1c], 4
dec dword [ebp - 0x20]
jne 0x401d25
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [edi + 0x1c]
mov dword [edi + 0x14], eax
call fcn.00402ec7
lea ecx, [ebp - 0x2c]
mov byte [ebp - 1], 1
call fcn.00401aa4
lea ecx, [ebp - 0x10]
call fcn.0040d051
lea ecx, [ebp - 8]
call fcn.0040d051
lea ecx, [ebp - 0x14]
call fcn.0040d051
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret 4