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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e6fec
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x66a074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor bl, bl
mov dword [ebp - 0x148], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 3
push eax
push 0x62965c
push 1
push 0
push 0x62964c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4c11e6
mov eax, dword [ebp - 0x148]
test eax, eax
je 0x4c11ec
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x4c1000
mov edx, dword [esi]
mov ecx, dword [eax]
lea edi, [ebp - 0x144]
push edi
push 0x62966c
push 0x62963c
push edx
push eax
call dword [ecx + 0x20]
test eax, eax
js 0x4c11e6
cmp dword [esi + 0x44], 8
lea edx, [esi + 0x30]
jb 0x4c102b
mov edx, dword [edx]
mov eax, dword [ebp - 0x144]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x80]
cmp dword [esi + 0x2c], 8
lea edx, [esi + 0x18]
jb 0x4c1046
mov edx, dword [edx]
mov eax, dword [ebp - 0x144]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x144]
push 0x2000
push eax
mov ecx, dword [eax]
call dword [ecx + 0x70]
cmp dword [esi + 0x5c], 8
lea edx, [esi + 0x48]
jb 0x4c106f
mov edx, dword [edx]
mov eax, dword [ebp - 0x144]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x88]
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.005b9c20
add esp, 0xc
mov dword [ebp - 0x154], 0x7f
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x4c11e6
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x110]
push 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x78]
test eax, eax
js 0x4c11e6
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x14c]
push edx
mov dword [ebp - 0x158], 0
lea edx, [ebp - 0x158]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x4c11e6
push 0x30
lea eax, [ebp - 0x140]
push 0
push eax
call fcn.005b9c20
mov ecx, dword [esi + 0x7c]
lea edx, [ebp - 0x140]
mov eax, 0x30
shl ecx, 4
sub ecx, dword [esi + 0x7c]
add esp, 0xc
mov word [ebp - 0x140], ax
movzx eax, word [esi + 0x6c]
mov word [ebp - 0x138], ax
movzx eax, word [esi + 0x68]
mov word [ebp - 0x13a], ax
movzx eax, word [esi + 0x64]
mov word [ebp - 0x13c], ax
movzx eax, word [esi + 0x70]
mov word [ebp - 0x130], ax
movzx eax, word [esi + 0x74]
mov word [ebp - 0x12e], ax
movzx eax, word [esi + 0x78]
shl ecx, 2
mov dword [ebp - 0x12c], ecx
mov word [ebp - 0x11c], ax
mov eax, dword [esi + 0x80]
mov ecx, eax
shl ecx, 4
sub ecx, eax
mov dword [ebp - 0x120], 1
mov eax, dword [ebp - 0x14c]
shl ecx, 2
mov dword [ebp - 0x128], ecx
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x4c11e6
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x150]
push edx
push 0x605d68
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x4c11e6
mov eax, dword [ebp - 0x150]
push 1
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmovns ebx, ecx
mov eax, dword [ebp - 0x148]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x14c]
test ecx, ecx
je 0x4c1206
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x148]
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x150]
test ecx, ecx
je 0x4c1220
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x148]
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x144]
test ecx, ecx
je 0x4c123a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x148]
mov dword [ebp - 4], 7
test eax, eax
je 0x4c124b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b75ab
mov esp, ebp
pop ebp
ret