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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x86c
push ebx
push esi
push edi
xor eax, eax
mov edi, 0x206
push edi
xor esi, esi
mov word [ebp - 0x460], ax
lea eax, [ebp - 0x45e]
push esi
push eax
call fcn.0040e740
xor eax, eax
push edi
mov word [ebp - 0x86c], ax
lea eax, [ebp - 0x86a]
push esi
push eax
call fcn.0040e740
add esp, 0x14
lea eax, [ebp - 0x86c]
push eax
push ecx
lea eax, [ebp - 0x460]
push eax
call fcn.0040a470
xor eax, eax
push edi
mov word [ebp - 0x258], ax
lea eax, [ebp - 0x256]
push esi
push eax
call fcn.0040e740
add esp, 0xc
call fcn.00402fb6
push eax
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
call fcn.004030a5
push eax
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
call fcn.00402fb6
push esi
mov edi, eax
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 8]
push eax
push 0x414388
xor ebx, ebx
inc ebx
push ebx
push esi
push 0x4143a8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x40a806
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x460]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
mov ecx, dword [eax]
push edx
push 0x414378
push 0x414398
lea edx, [ebp - 0x460]
push edx
push eax
call dword [ecx + 0x20]
test eax, eax
js 0x40a806
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x258]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x80]
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x86c]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x48]
mov eax, dword [ebp - 4]
push str._check_update
mov ecx, dword [eax]
push eax
call dword [ecx + 0x88]
mov eax, dword [ebp - 4]
push edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x90]
mov eax, dword [ebp - 4]
push 0x2000
mov ecx, dword [eax]
push eax
call dword [ecx + 0x70]
xor eax, eax
push 0x200
mov word [ebp - 0x664], ax
lea eax, [ebp - 0x662]
push esi
push eax
call fcn.0040e740
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x664]
push eax
mov dword [ebp - 0x14], 0x101
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov eax, dword [ebp - 4]
push esi
mov ecx, dword [eax]
lea edx, [ebp - 0x664]
push edx
push eax
call dword [ecx + 0x78]
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x10]
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0x18]
push edx
push eax
mov word [ebp - 0x20], bx
call dword [ecx + 0xc]
test eax, eax
js 0x40a7c9
push 0x30
pop edi
push edi
lea eax, [ebp - 0x50]
push esi
push eax
call fcn.0040e740
xor eax, eax
mov dword [ebp - 0x40], eax
mov eax, 0x7d0
mov word [ebp - 0x4c], ax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x50]
mov word [ebp - 0x50], di
mov word [ebp - 0x48], bx
mov word [ebp - 0x4a], bx
mov dword [ebp - 0x3c], 0x5a0
mov dword [ebp - 0x38], 0x1e
mov dword [ebp - 0x30], ebx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xc]
mov ecx, dword [eax]
push edx
push 0x414368
push eax
call dword [ecx]
test eax, eax
js 0x40a7f2
mov eax, dword [ebp - 0xc]
push ebx
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov esi, ebx
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret