Function at 0x405f20
Capabilities:
Get session user name
Schedule task via itaskservice

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x540
mov dword [ebp - 0x50], 0x41d770
push 0x208
push 0
lea eax, [ebp - 0x540]
push eax
call fcn.00408d30
add esp, 0xc
mov ecx, 0x5c
mov word [ebp - 0x3c], cx
xor edx, edx
mov word [ebp - 0x3a], dx
push 0x208
push 0
lea eax, [ebp - 0x338]
push eax
call fcn.00408d30
add esp, 0xc
mov ecx, 0x50
mov word [ebp - 0x48], cx
mov edx, 0x54
mov word [ebp - 0x46], dx
mov eax, 0x30
mov word [ebp - 0x44], ax
mov ecx, 0x53
mov word [ebp - 0x42], cx
xor edx, edx
mov word [ebp - 0x40], dx
mov dword [ebp - 0x4c], 0x104
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x24], 0
push 0x104
lea eax, [ebp - 0x338]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x540]
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0
push 0
push 3
push 6
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0x10]
push eax
push 0x41d8c0
push 1
push 0
push 0x41d8e0
call dword [sym.imp.ole32.dll_CoCreateInstance]
nop
lea ecx, [ebp - 0x100]
call fcn.00405ce0
mov ecx, dword [eax]
mov dword [ebp - 0x60], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x5c], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x58], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x54], edx
lea ecx, [ebp - 0xf0]
call fcn.00405ce0
mov ecx, dword [eax]
mov dword [ebp - 0x70], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x6c], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x68], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x64], edx
lea ecx, [ebp - 0xe0]
call fcn.00405ce0
mov ecx, dword [eax]
mov dword [ebp - 0x80], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x7c], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x78], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x74], edx
lea ecx, [ebp - 0xd0]
call fcn.00405ce0
mov ecx, dword [eax]
mov dword [ebp - 0x90], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x8c], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x88], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x84], edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x60]
mov dword [eax], ecx
mov edx, dword [ebp - 0x5c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x58]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x54]
mov dword [eax + 0xc], edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x70]
mov dword [eax], ecx
mov edx, dword [ebp - 0x6c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x68]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x64]
mov dword [eax + 0xc], edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x80]
mov dword [eax], ecx
mov edx, dword [ebp - 0x7c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x78]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x74]
mov dword [eax + 0xc], edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x90]
mov dword [eax], ecx
mov edx, dword [ebp - 0x8c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x88]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x84]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
call eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0xd0]
call fcn.00405d00
lea ecx, [ebp - 0xe0]
call fcn.00405d00
lea ecx, [ebp - 0xf0]
call fcn.00405d00
lea ecx, [ebp - 0x100]
call fcn.00405d00
nop
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ecx + 0x1c]
call eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 8]
push ecx
push 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [eax + 0x24]
call edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [edx + 0x2c]
call ecx
mov dword [ebp - 4], eax
push 0xffffffffffffffff
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [eax + 0x58]
call edx
mov dword [ebp - 4], eax
push 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ecx + 0x48]
call eax
push 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [edx + 0x40]
call ecx
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ecx + 0x70]
call eax
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [eax + 0x24]
call edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1c]
push eax
push 1
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [edx + 0x28]
call ecx
mov dword [ebp - 4], eax
lea edx, [ebp - 0x14]
push edx
push 0x41d8d0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ecx]
call eax
mov dword [ebp - 4], eax
cmp dword [0x4260a0], 0
je 0x4062a5
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [eax + 0x3c]
call edx
push 1
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ecx + 0x48]
call eax
nop
push str.2005_01_01T12:05:00
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [edx + 0x3c]
call ecx
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ecx + 0x28]
call eax
push str.PT5M
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [edx + 0x20]
call ecx
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ecx + 0x44]
call eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x2c]
push ecx
push 0
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [eax + 0x30]
call edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x30]
push eax
push str.MbLk
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [edx]
call ecx
mov dword [ebp - 4], eax
lea edx, [ebp - 0x338]
push edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ecx + 0x2c]
call eax
mov dword [ebp - 4], eax
push 0x41d7b0
lea ecx, [ebp - 0x130]
call fcn.00405c90
mov ecx, dword [eax]
mov dword [ebp - 0xa0], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x9c], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x98], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x94], edx
lea ecx, [ebp - 0x120]
call fcn.00405ce0
mov ecx, dword [eax]
mov dword [ebp - 0xb0], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0xac], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0xa8], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0xa4], edx
lea ecx, [ebp - 0x110]
call fcn.00405ce0
mov ecx, dword [eax]
mov dword [ebp - 0xc0], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0xbc], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0xb8], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0xb4], edx
lea eax, [ebp - 0x38]
push eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0xa0]
mov dword [ecx], edx
mov eax, dword [ebp - 0x9c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x98]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x94]
mov dword [ecx + 0xc], eax
push 3
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0xb0]
mov dword [ecx], edx
mov eax, dword [ebp - 0xac]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0xa8]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0xa4]
mov dword [ecx + 0xc], eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0xc0]
mov dword [ecx], edx
mov eax, dword [ebp - 0xbc]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0xb8]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0xb4]
mov dword [ecx + 0xc], eax
push 6
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov eax, dword [edx + 0x44]
call eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x110]
call fcn.00405d00
lea ecx, [ebp - 0x120]
call fcn.00405d00
lea ecx, [ebp - 0x130]
call fcn.00405d00
nop
cmp dword [ebp - 0xc], 0
je 0x406499
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [edx + 8]
call ecx
nop
cmp dword [ebp - 0x18], 0
je 0x4064ae
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [eax + 8]
call edx
nop
cmp dword [ebp - 0x1c], 0
je 0x4064c3
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ecx + 8]
call eax
nop
cmp dword [ebp - 0x20], 0
je 0x4064d8
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [edx + 8]
call ecx
nop
cmp dword [ebp - 0x24], 0
je 0x4064ed
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [eax + 8]
call edx
nop
cmp dword [ebp - 0x14], 0
je 0x406502
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ecx + 8]
call eax
nop
cmp dword [ebp - 0x28], 0
je 0x406517
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [edx + 8]
call ecx
nop
cmp dword [ebp - 0x2c], 0
je 0x40652c
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [eax + 8]
call edx
nop
cmp dword [ebp - 0x30], 0
je 0x406541
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ecx + 8]
call eax
nop
cmp dword [ebp - 0x10], 0
je 0x406556
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [edx + 8]
call ecx
nop
cmp dword [ebp - 0x34], 0
je 0x40656b
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [eax + 8]
call edx
nop
cmp dword [ebp - 8], 0
je 0x406580
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ecx + 8]
call eax
nop
cmp dword [ebp - 0x38], 0
je 0x406595
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [edx + 8]
call ecx
nop
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov esp, ebp
pop ebp
ret