Function at 0x40848a
Capabilities:
Get session user name
Schedule task via itaskscheduler

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x858
push ebx
push esi
push edi
lea eax, [ebp - 0xc]
push eax
push 0x41d89c
push 1
push 0
push 0x41d88c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x4084b9
xor al, al
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
mov edi, 0x41d8ac
push edi
mov esi, str.Watchmon_Service
push esi
push eax
call dword [ecx + 0x18]
mov ebx, eax
test ebx, ebx
jge 0x4084fd
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push edi
push 0x41d87c
push esi
push eax
call dword [ecx + 0x20]
mov ebx, eax
test ebx, ebx
jge 0x4084fd
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4084b2
cmp dword [ebp + 0x10], 0x28
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov esi, 0x418414
jge 0x408542
push 0x2000
push eax
call dword [ecx + 0x70]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x854]
push eax
mov dword [ebp - 0x18], 0x400
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x40854b
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 0
lea edx, [ebp - 0x854]
push edx
jmp 0x408545
push 0
push esi
push eax
call dword [ecx + 0x78]
mov ebx, eax
test ebx, ebx
jge 0x40855a
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4084f2
call fcn.00401676
push eax
push dword [ebp + 8]
call fcn.0040414b
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
test eax, eax
jne 0x408587
call fcn.00401676
mov edi, eax
call fcn.0040358c
mov dword [ebx], eax
test eax, eax
je 0x4084b2
mov eax, dword [ebp - 8]
push dword [ebx]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x80]
test eax, eax
jl 0x40854f
push 4
lea eax, [ebp - 0x54]
push eax
push dword [ebp + 8]
call fcn.00403269
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x54]
push edx
push eax
call dword [ecx + 0x88]
test eax, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
jl 0x408554
push esi
push eax
call dword [ecx + 0x90]
test eax, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
jl 0x408554
push 0xffffffffffffffff
push eax
call dword [ecx + 0xa8]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 0x20
push eax
call dword [ecx + 0x98]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x1c]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x40854f
push 0x30
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.0040ad30
add esp, 0xc
push 0x2d
xor esi, esi
inc esi
mov eax, 0x80c
mov word [ebp - 0x42], ax
mov eax, esi
mov word [ebp - 0x40], ax
mov word [ebp - 0x3e], ax
pop eax
mov word [ebp - 0x3a], ax
mov eax, esi
mov word [ebp - 0x44], ax
mov word [ebp - 0x46], ax
push 0x30
mov eax, 0x7d0
mov word [ebp - 0x48], ax
pop eax
mov word [ebp - 0x4c], ax
xor eax, eax
cmp dword [ebp + 0x10], 0x28
push 0x13
setl al
lea edx, [ebp - 0x4c]
mov dword [ebp - 0x38], 0xa
mov dword [ebp - 0x34], esi
add eax, 6
mov dword [ebp - 0x2c], eax
pop eax
mov word [ebp - 0x3c], ax
mov eax, esi
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x40854f
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 0x41d8bc
push eax
call dword [ecx]
test eax, eax
jl 0x40854f
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push esi
push 0
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp + 0x10], 0x32
je 0x4086e8
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
test eax, eax
jge 0x4086e8
xor bl, bl
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, bl
jmp 0x4084b4
mov bl, 1
jmp 0x4086cf