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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x582148
push 0x538188
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffff20
push ebx
push esi
push edi
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0xb4]
xor ecx, ecx
mov cx, word [eax + 4]
test ecx, ecx
je 0x4ccc00
cmp dword [ebp + 8], 0
je 0x4ccc00
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x4ccc00
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax + 0x28]
mov edx, dword [ecx - 8]
mov dword [ebp - 0x94], edx
cmp dword [ebp - 0x94], 1
jge 0x4ccc0a
mov eax, 0x80004005
jmp 0x4cd2a1
lea eax, [ebp - 0x28]
push eax
push 0x58c814
push 1
push 0
push 0x58c7f4
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jge 0x4ccc33
mov eax, dword [ebp - 0x34]
jmp 0x4cd2a1
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x6c]
push ecx
push 0x58c824
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x28]
push edx
call dword [ecx + 0x18]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jl 0x4ccccf
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x6c]
push edx
call dword [ecx + 8]
mov dword [ebp - 0x6c], 0
cmp dword [ebp + 0xc], 0
je 0x4ccc98
push 0xffffffffffffffff
mov dword [ebp - 0xb8], 0x80070050
lea eax, [ebp - 0x10]
push eax
call fcn.00537432
add esp, 8
mov eax, dword [ebp - 0xb8]
jmp 0x4cd2a1
mov ecx, dword [ebp + 8]
push ecx
call fcn.004cd2c4
add esp, 4
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jge 0x4ccccf
push 0xffffffffffffffff
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0xbc], edx
lea eax, [ebp - 0x10]
push eax
call fcn.00537432
add esp, 8
mov eax, dword [ebp - 0xbc]
jmp 0x4cd2a1
lea ecx, [ebp - 0x6c]
push ecx
push 0x58c824
push 0x58c804
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x28]
push edx
call dword [ecx + 0x20]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jge 0x4ccd18
push 0xffffffffffffffff
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xc0], eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.00537432
add esp, 8
mov eax, dword [ebp - 0xc0]
jmp 0x4cd2a1
lea edx, [ebp - 0x24]
push edx
push 0x58c824
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x6c]
push edx
call dword [ecx]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jge 0x4ccd57
push 0xffffffffffffffff
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xc4], eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.00537432
add esp, 8
mov eax, dword [ebp - 0xc4]
jmp 0x4cd2a1
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x6c]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x6c], 0
mov edx, dword [ebp - 0xb4]
mov eax, dword [edx + 0x28]
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [eax + 0x80]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jge 0x4ccdba
push 0xffffffffffffffff
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0xc8], edx
lea eax, [ebp - 0x10]
push eax
call fcn.00537432
add esp, 8
mov eax, dword [ebp - 0xc8]
jmp 0x4cd2a1
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx + 0x2c]
mov eax, dword [edx - 8]
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
jle 0x4cce25
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx + 0x2c]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x24]
push eax
call dword [edx + 0x88]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jge 0x4cce25
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0xcc], ecx
lea edx, [ebp - 0x10]
push edx
call fcn.00537432
add esp, 8
mov eax, dword [ebp - 0xcc]
jmp 0x4cd2a1
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax + 0x30]
mov edx, dword [ecx - 8]
mov dword [ebp - 0xa4], edx
cmp dword [ebp - 0xa4], 0
jle 0x4cce90
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xa8], ecx
mov edx, dword [ebp - 0xa8]
push edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x24]
push edx
call dword [ecx + 0x90]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jge 0x4cce90
push 0xffffffffffffffff
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xd0], eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.00537432
add esp, 8
mov eax, dword [ebp - 0xd0]
jmp 0x4cd2a1
mov edx, dword [ebp - 0xb4]
mov eax, dword [edx + 0x3c]
mov ecx, dword [eax - 8]
mov dword [ebp - 0xac], ecx
cmp dword [ebp - 0xac], 0
jle 0x4ccef8
mov edx, dword [ebp - 0xb4]
mov eax, dword [edx + 0x3c]
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [eax + 0x48]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jge 0x4ccef8
push 0xffffffffffffffff
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0xd4], edx
lea eax, [ebp - 0x10]
push eax
call fcn.00537432
add esp, 8
mov eax, dword [ebp - 0xd4]
jmp 0x4cd2a1
mov dword [ebp - 0x38], 0x20c0
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0x80000000
test eax, eax
jne 0x4ccf17
mov ecx, dword [ebp - 0x38]
or ecx, 1
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x24]
push edx
call dword [ecx + 0x70]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jge 0x4ccf52
push 0xffffffffffffffff
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xd8], eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.00537432
add esp, 8
mov eax, dword [ebp - 0xd8]
jmp 0x4cd2a1
mov edx, dword [ebp - 0xb4]
cmp dword [edx + 0x40], 0
je 0x4cd005
mov dword [ebp - 0x80], 0x104
mov eax, dword [ebp - 0x80]
shl eax, 1
push eax
call fcn.0054d061
add esp, 4
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x7c], ecx
lea edx, [ebp - 0x80]
push edx
mov eax, dword [ebp - 0x7c]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x4ccfb0
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x88], ecx
mov edx, dword [ebp - 0x88]
push edx
call fcn.0054d08a
add esp, 4
push 0
mov eax, dword [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x24]
push eax
call dword [edx + 0x78]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x8c]
push edx
call fcn.0054d08a
add esp, 4
cmp dword [ebp - 0x34], 0
jge 0x4cd005
push 0xffffffffffffffff
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xdc], eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.00537432
add esp, 8
mov eax, dword [ebp - 0xdc]
jmp 0x4cd2a1
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x24]
push eax
call dword [edx + 0xc]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jge 0x4cd044
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0xe0], ecx
lea edx, [ebp - 0x10]
push edx
call fcn.00537432
add esp, 8
mov eax, dword [ebp - 0xe0]
jmp 0x4cd2a1
push 0x30
push 0
lea eax, [ebp - 0x68]
push eax
call fcn.005370b0
add esp, 0xc
mov word [ebp - 0x68], 0x30
mov ecx, dword [ebp - 0xb4]
mov dx, word [ecx + 4]
mov word [ebp - 0x64], dx
mov eax, dword [ebp - 0xb4]
mov cx, word [eax + 6]
mov word [ebp - 0x62], cx
mov edx, dword [ebp - 0xb4]
mov ax, word [edx + 0xa]
mov word [ebp - 0x60], ax
mov ecx, dword [ebp - 0xb4]
mov dx, word [ecx + 0xc]
mov word [ebp - 0x58], dx
mov eax, dword [ebp - 0xb4]
mov cx, word [eax + 0xe]
mov word [ebp - 0x56], cx
mov edx, dword [ebp - 0xb4]
xor eax, eax
mov ax, word [edx + 0x14]
test eax, eax
je 0x4cd0e1
mov dword [ebp - 0x4c], 1
mov ecx, dword [ebp - 0xb4]
mov dx, word [ecx + 0x14]
mov word [ebp - 0x5e], dx
mov eax, dword [ebp - 0xb4]
mov cx, word [eax + 0x16]
mov word [ebp - 0x5c], cx
mov edx, dword [ebp - 0xb4]
mov ax, word [edx + 0x1a]
mov word [ebp - 0x5a], ax
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0xe4], edx
mov eax, dword [ebp - 0xe4]
sub eax, 1
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 3
ja case.default.0x4cd112
mov ecx, dword [ebp - 0xe4]
jmp dword [ecx*4 + 0x4cd2b4]
mov dword [ebp - 0x48], 0
jmp case.default.0x4cd112
mov dword [ebp - 0x48], 1
mov word [ebp - 0x44], 1
jmp case.default.0x4cd112
mov dword [ebp - 0x48], 2
push 0xffffffffffffffff
mov edx, dword [ebp - 0xb4]
add edx, 4
push edx
lea ecx, [ebp - 0x90]
call fcn.0054ae47
lea eax, [ebp - 0x90]
push eax
mov ecx, dword [ebp - 0xb4]
call fcn.004cd339
mov word [ebp - 0x42], ax
mov word [ebp - 0x44], 1
jmp case.default.0x4cd112
mov dword [ebp - 0x48], 3
mov ecx, dword [ebp - 0xb4]
xor edx, edx
mov dx, word [ecx + 0xa]
mov ecx, edx
sub ecx, 1
mov eax, 1
shl eax, cl
mov dword [ebp - 0x44], eax
mov word [ebp - 0x40], 0xfff
lea ecx, [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x30]
push ecx
call dword [eax + 0xc]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jge 0x4cd1d0
push 0xffffffffffffffff
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0xe8], edx
lea eax, [ebp - 0x10]
push eax
call fcn.00537432
add esp, 8
mov eax, dword [ebp - 0xe8]
jmp 0x4cd2a1
lea ecx, [ebp - 0x1c]
push ecx
push 0x58c110
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [eax]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jge 0x4cd20f
push 0xffffffffffffffff
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0xec], edx
lea eax, [ebp - 0x10]
push eax
call fcn.00537432
add esp, 8
mov eax, dword [ebp - 0xec]
jmp 0x4cd2a1
push 0
push 0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x1c]
push eax
call dword [edx + 0x18]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jge 0x4cd247
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0xf0], ecx
lea edx, [ebp - 0x10]
push edx
call fcn.00537432
add esp, 8
mov eax, dword [ebp - 0xf0]
jmp 0x4cd2a1
mov dword [ebp - 4], 0xffffffff
call fcn.004cd255
jmp 0x4cd29e
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8