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

Disassembly:
push ebp
lea ebp, [esp - 0x238]
sub esp, 0x238
push 0xffffffffffffffff
push 0x549a20
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x5938b4]
xor eax, ebp
mov dword [ebp + 0x234], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x240]
xor bl, bl
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1c]
push eax
push 0x54fcf8
push 1
push 0
push 0x54fd18
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4f500c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4f500c
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x4f4e65
mov edx, dword [esi]
mov ecx, dword [eax]
lea edi, [ebp - 0x10]
push edi
push 0x54fce8
push 0x54fd08
push edx
push eax
call dword [ecx + 0x20]
test eax, eax
js 0x4f500c
cmp dword [esi + 0x44], 8
lea edx, [esi + 0x30]
jb 0x4f4e8d
mov edx, dword [edx]
mov eax, dword [ebp - 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x80]
cmp dword [esi + 0x2c], 8
lea edx, [esi + 0x18]
jb 0x4f4ea5
mov edx, dword [edx]
mov eax, dword [ebp - 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x10]
push 0x2000
push eax
mov ecx, dword [eax]
call dword [ecx + 0x70]
cmp dword [esi + 0x5c], 8
lea edx, [esi + 0x48]
jb 0x4f4ec8
mov edx, dword [edx]
mov eax, dword [ebp - 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x88]
push 0x202
lea eax, [ebp + 0x30]
push 0
push eax
call fcn.004fb1f0
add esp, 0xc
mov dword [ebp - 0x20], 0x101
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x4f500c
mov eax, dword [ebp - 0x10]
lea edx, [ebp + 0x30]
push 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x78]
test eax, eax
js 0x4f500c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x24], 0
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x4f500c
push 0x30
lea eax, [ebp]
push 0
push eax
call fcn.004fb1f0
mov eax, 0x30
add esp, 0xc
mov word [ebp], ax
mov eax, dword [esi + 0x64]
sub eax, 0
je 0x4f4f6f
sub eax, 1
jne 0x4f500c
mov dword [ebp + 0x20], 7
jmp 0x4f4fcc
movzx eax, word [esi + 0x70]
mov word [ebp + 8], ax
movzx eax, word [esi + 0x6c]
mov word [ebp + 6], ax
movzx eax, word [esi + 0x68]
mov word [ebp + 4], ax
movzx eax, word [esi + 0x74]
mov word [ebp + 0x10], ax
movzx eax, word [esi + 0x78]
mov word [ebp + 0x12], ax
movzx eax, word [esi + 0x7c]
mov word [ebp + 0x24], ax
mov eax, dword [esi + 0x80]
mov ecx, eax
shl ecx, 4
sub ecx, eax
mov dword [ebp + 0x20], 1
mov eax, dword [esi + 0x84]
shl ecx, 2
mov dword [ebp + 0x14], ecx
mov ecx, eax
shl ecx, 4
sub ecx, eax
shl ecx, 2
mov dword [ebp + 0x18], ecx
mov eax, dword [ebp - 0x14]
lea edx, [ebp]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
test eax, eax
js 0x4f500c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x18]
push edx
push 0x54fe18
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x4f500c
mov eax, dword [ebp - 0x18]
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 byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4f501d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4f502e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4f503f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4f5053
mov edx, dword [ecx]
push ecx
call dword [edx + 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 + 0x234]
xor ecx, ebp
call fcn.004f8545
lea esp, [ebp + 0x238]
pop ebp
ret