Function at 0x401e05
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.0040f686
push 1
lea ecx, [ebp - 8]
mov dword [ebp - 8], ebx
call fcn.0040f686
push ebx
push 0x416554
lea ecx, [ebp - 8]
call fcn.0040f73d
push dword [edi + 0x10]
lea ecx, [ebp - 8]
call fcn.0040f793
push ebx
mov esi, 0x4164dc
push esi
lea ecx, [ebp - 8]
call fcn.0040f73d
push 0x13
lea ecx, [ebp - 8]
call fcn.0040f793
push ebx
push esi
lea ecx, [ebp - 8]
call fcn.0040f73d
cmp byte [ebp + 8], bl
mov eax, 0x416538
jne 0x401e80
mov eax, 0x416534
push ebx
push eax
lea ecx, [ebp - 8]
call fcn.0040f73d
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
mov ecx, edi
call fcn.00401a07
test al, al
je 0x402062
push 1
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
call fcn.0040f686
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.00401922
test al, al
je 0x40205a
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
push 1
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
call fcn.0040f686
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.0040145d
cmp dword [ebp - 0xc], ebx
mov byte [ebp + 0xb], al
je 0x401f08
push dword [ebp - 0xc]
call fcn.0040e93e
cmp eax, ebx
pop ecx
jbe 0x401f08
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401de8
lea ecx, [ebp - 0xc]
call fcn.0040f6f4
cmp byte [ebp + 0xb], bl
jne 0x401ecb
cmp dword [ebp - 0x10], ebx
je 0x40204e
push dword [ebp - 0x10]
call fcn.0040e93e
cmp eax, ebx
pop ecx
jbe 0x40204e
mov esi, dword [ebp - 0x28]
cmp esi, ebx
jbe 0x40204e
push dword [ebp - 0x10]
call fcn.0040ea3f
cmp dword [edi + 0x14], eax
pop ecx
mov dword [ebp - 0x24], eax
jge 0x40204e
cmp esi, ebx
jbe 0x402042
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esi
mov ecx, dword [ebp - 0x1c]
push 0x416444
call fcn.0040f872
mov esi, eax
cmp dword [esi + 4], 2
mov dword [ebp - 0xc], esi
je 0x401f85
lea ecx, [ebp - 0xc]
call fcn.00401db2
jmp 0x402032
mov edi, dword [esi]
push str.download
push dword [edi]
call fcn.0040e8ff
test eax, eax
pop ecx
pop ecx
je 0x401fab
push str.update
push dword [edi]
call fcn.0040e8ff
test eax, eax
pop ecx
pop ecx
jne 0x402027
push 1
lea ecx, [ebp + 8]
mov dword [ebp + 8], ebx
call fcn.0040f686
mov eax, dword [esi]
lea ecx, [ebp + 8]
add eax, 4
push ecx
push dword [eax]
call fcn.0040155d
test al, al
pop ecx
pop ecx
je 0x40201f
push 0x40
lea eax, [ebp - 0x7c]
push ebx
push eax
mov dword [ebp - 0x80], 0x44
call fcn.0040e856
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 0x40201f
push str.update
push dword [edi]
call fcn.0040e8ff
test eax, eax
pop ecx
pop ecx
jne 0x40201f
mov ecx, dword [ebp - 0x18]
call fcn.0040150c
lea ecx, [ebp + 8]
call fcn.0040f6f4
lea ecx, [ebp - 0xc]
call fcn.00401db2
mov edi, dword [ebp - 0x18]
add dword [ebp - 0x1c], 4
dec dword [ebp - 0x20]
jne 0x401f60
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [edi + 0x1c]
mov dword [edi + 0x14], eax
call fcn.00403ed3
lea ecx, [ebp - 0x2c]
mov byte [ebp - 1], 1
call fcn.00401cc3
lea ecx, [ebp - 0x10]
call fcn.0040f6f4
lea ecx, [ebp - 8]
call fcn.0040f6f4
lea ecx, [ebp - 0x14]
call fcn.0040f6f4
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret 4