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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x494f48
push 0x466ca0
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x49c0a4]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
xor ebx, ebx
mov dword [ebp - 0xfc], ebx
mov dword [ebp - 0xf8], ebx
mov dword [ebp - 0x104], ebx
mov dword [ebp - 0xf4], ebx
mov dword [ebp - 0x100], ebx
lea eax, [ebp - 0xfc]
push eax
push 0x4844fc
push 1
push ebx
push 0x48451c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0xf0], eax
cmp eax, ebx
jl 0x4017ea
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax]
lea edx, [ebp - 0xf8]
push edx
push 0x4844ec
push edi
push eax
mov eax, dword [ecx + 0x18]
call eax
mov dword [ebp - 0xf0], eax
cmp eax, ebx
jge 0x4014c0
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax]
lea edx, [ebp - 0xf8]
push edx
push 0x4844ec
push 0x48450c
push edi
push eax
mov eax, dword [ecx + 0x20]
call eax
mov edi, eax
mov dword [ebp - 0xf0], edi
cmp edi, ebx
jge 0x4014c0
push 0xfffffffffffffffe
lea ecx, [ebp - 0x10]
push ecx
push 0x49c0a4
call fcn.00470090
add esp, 0xc
mov eax, edi
jmp 0x4017ea
mov eax, dword [ebp - 0xf8]
mov edx, dword [eax]
lea ecx, [ebp - 0xf4]
push ecx
push 0x4844ec
push eax
mov edx, dword [edx]
call edx
mov edi, eax
mov dword [ebp - 0xf0], edi
cmp edi, ebx
jge 0x4014ff
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x49c0a4
call fcn.00470090
add esp, 0xc
mov eax, edi
jmp 0x4017ea
mov eax, dword [ebp - 0xf4]
mov ecx, dword [eax]
lea edx, [ebp - 0x104]
push edx
push 0x48c1dc
push eax
mov eax, dword [ecx]
call eax
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf8]
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov dword [ebp - 0xf8], ebx
mov eax, dword [ebp - 0xf4]
mov ecx, dword [eax]
lea edx, [esi + 0x28]
push edx
push eax
mov eax, dword [ecx + 0x80]
call eax
mov edi, eax
mov dword [ebp - 0xf0], edi
cmp edi, ebx
jl 0x4014a6
mov eax, dword [ebp - 0xf4]
mov edx, dword [eax]
lea ecx, [esi + 0x828]
push ecx
push eax
mov edx, dword [edx + 0x88]
call edx
mov edi, eax
mov dword [ebp - 0xf0], edi
cmp edi, ebx
jl 0x4014e5
mov eax, dword [ebp - 0xf4]
mov ecx, dword [eax]
lea edx, [esi + 0x1028]
push edx
push eax
mov eax, dword [ecx + 0x90]
call eax
mov edi, eax
mov dword [ebp - 0xf0], edi
cmp edi, ebx
jl 0x4014a6
mov edx, dword [0x4aec38]
push edx
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
mov dword [ebp - 0x10c], 0x64
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0xec]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov eax, dword [ebp - 0xf4]
mov edx, dword [eax]
push ebx
lea ecx, [ebp - 0xec]
push ecx
push eax
mov edx, dword [edx + 0x78]
call edx
mov edi, eax
mov dword [ebp - 0xf0], edi
cmp edi, ebx
jl 0x4014e5
mov eax, dword [ebp - 0xf4]
mov ecx, dword [eax]
push 0x491e44
push eax
mov edx, dword [ecx + 0x48]
call edx
mov dword [ebp - 0xf0], eax
mov eax, 0x2001
mov dword [ebp - 0x114], eax
cmp byte [ebp + 8], bl
jne 0x401632
mov eax, 0x2005
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0xf4]
mov edx, dword [ecx]
push eax
push ecx
mov eax, dword [edx + 0x70]
call eax
mov edi, eax
mov dword [ebp - 0xf0], edi
cmp edi, ebx
jl 0x4014a6
mov dword [ebp - 0x108], ebx
mov eax, dword [ebp - 0xf4]
mov edx, dword [eax]
lea ecx, [ebp - 0x108]
push ecx
push eax
mov edx, dword [edx + 0x14]
call edx
mov dword [ebp - 0xf0], eax
cmp eax, ebx
jne 0x40169c
mov edi, 1
cmp word [ebp - 0x108], di
jne 0x40169c
mov eax, dword [ebp - 0xf4]
mov ecx, dword [eax]
lea edx, [ebp - 0x100]
push edx
push ebx
push eax
mov eax, dword [ecx + 0x18]
call eax
jmp 0x4016cd
mov eax, dword [ebp - 0xf4]
mov ecx, dword [eax]
lea edx, [ebp - 0x100]
push edx
lea edx, [ebp - 0x110]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov edi, eax
mov dword [ebp - 0xf0], edi
cmp edi, ebx
jl 0x4014a6
mov edi, 1
push 0x30
push ebx
lea edx, [ebp - 0x144]
push edx
call fcn.00466e30
add esp, 0xc
mov eax, 0x30
mov word [ebp - 0x144], ax
mov cx, word [esi + 4]
mov word [ebp - 0x140], cx
movzx edx, word [esi + 6]
mov word [ebp - 0x13e], dx
movzx ecx, word [esi + 0xa]
mov word [ebp - 0x13c], cx
mov ax, word [esi + 0xc]
mov word [ebp - 0x134], ax
movzx edx, word [esi + 0xe]
mov word [ebp - 0x132], dx
movzx eax, word [esi + 0x14]
xor edx, edx
cmp dx, ax
je 0x401750
mov dword [ebp - 0x128], edi
mov word [ebp - 0x13a], ax
mov ax, word [esi + 0x16]
mov word [ebp - 0x138], ax
mov dx, word [esi + 0x1a]
mov word [ebp - 0x136], dx
mov esi, dword [esi + 0x24]
lea eax, [esi - 1]
cmp eax, 3
ja case.default.0x40175b
jmp dword [eax*4 + 0x401884]
mov dword [ebp - 0x124], ebx
jmp case.default.0x40175b
mov dword [ebp - 0x124], edi
mov word [ebp - 0x120], di
jmp case.default.0x40175b
mov dword [ebp - 0x124], 2
mov eax, edi
mov word [ebp - 0x11e], ax
mov word [ebp - 0x120], di
jmp case.default.0x40175b
mov dword [ebp - 0x124], 3
dec ecx
shl edi, cl
mov dword [ebp - 0x120], edi
mov ecx, 0xfff
mov word [ebp - 0x11c], cx
mov eax, dword [ebp - 0x100]
mov edx, dword [eax]
lea ecx, [ebp - 0x144]
push ecx
push eax
mov edx, dword [edx + 0xc]
call edx
mov esi, eax
mov dword [ebp - 0xf0], esi
cmp esi, ebx
jge 0x401808
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x49c0a4
call fcn.00470090
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.00464c90
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x104]
mov ecx, dword [eax]
push ebx
push ebx
push eax
mov edx, dword [ecx + 0x18]
call edx
mov esi, eax
mov dword [ebp - 0xf0], esi
cmp esi, ebx
jl 0x4017d5
mov dword [ebp - 4], 0xfffffffe
call fcn.0040183a
jmp 0x4017e8