Function at 0x408900
Capabilities:
Check if file exists
Create process on windows
Get file attributes
Schedule task via schtasks

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d188
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push esi
push edi
mov eax, dword [0x439654]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor esi, esi
cmp dword [edi + 8], esi
je 0x408991
cmp dword [edi], esi
je 0x408991
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x48], esi
call fcn.00408810
mov dword [ebp - 4], esi
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x408989
test al, 0x10
je 0x4089a7
lea esi, [ebp - 0x6c]
call fcn.004086f0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x400
call fcn.0041695e
push 0x400
mov ebx, eax
push esi
push ebx
call fcn.0041c390
add esp, 0x10
cmp dword [edi + 0xc], 1
mov edx, str.MONTHLY
jne 0x4089d2
mov edx, str.ONLOGON
lea eax, [ebx - 1]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4089d5
mov ecx, dword [str.schtasks__create__sc]
mov dword [eax], ecx
mov ecx, dword [0x431d78]
mov dword [eax + 4], ecx
mov ecx, dword [0x431d7c]
mov dword [eax + 8], ecx
mov ecx, dword [0x431d80]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x431d84]
mov dword [eax + 0x10], ecx
mov cx, word [0x431d88]
mov word [eax + 0x14], cx
mov eax, edx
mov esi, edx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408a18
sub eax, esi
lea edi, [ebx - 1]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x408a24
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebx - 1]
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x408a40
mov edx, dword [str.__tn]
mov dword [eax], edx
mov cx, word [0x431d90]
mov edx, dword [ebp + 8]
mov word [eax + 4], cx
mov eax, dword [edx + 8]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408a63
sub eax, esi
lea edi, [ebx - 1]
nop
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x408a70
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebx - 1]
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x408a90
mov ecx, dword [str.__tr___]
mov dword [eax], ecx
mov ecx, dword [0x431d98]
mov dword [eax + 4], ecx
mov cl, byte [0x431d9c]
mov byte [eax + 8], cl
mov eax, dword [edx]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408ab6
sub eax, esi
lea edi, [ebx - 1]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x408ac2
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 1]
jmp 0x408ae0
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x408ae0
mov eax, dword [0x431da0]
mov dword [edi], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x408b1a
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408af8
sub eax, esi
lea edi, [ebx - 1]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x408b04
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebx - 1]
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x408b20
mov ecx, dword [str.___rl_HIGHEST]
mov dword [eax], ecx
mov edx, dword [0x431da8]
mov dword [eax + 4], edx
mov ecx, dword [0x431dac]
mov dword [eax + 8], ecx
mov dx, word [0x431db0]
mov word [eax + 0xc], dx
push 0x40
lea eax, [ebp - 0xb0]
push 0
push eax
mov edi, 1
mov dword [ebp - 0xb4], 0x44
call fcn.0041c390
xor eax, eax
add esp, 0xc
push 0x64
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0xb4]
push edx
push 0
push 0
push 0x8000000
push 0
push 0
push 0
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x408bd6
mov eax, dword [ebp - 0x20]
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x408bd6
mov edx, dword [ebp - 0x20]
lea ecx, [ebp + 8]
push ecx
push edx
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp + 8], 0
je 0x408bd8
xor edi, edi
push ebx
call fcn.004176ca
add esp, 4
lea esi, [ebp - 0x6c]
call fcn.004086f0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4