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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448cce
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x461014]
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
lea eax, [ebp - 0x118]
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], 0x104
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x130], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409d07
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x130]
call fcn.00417a20
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x130]
cmp dword [ebp - 0x11c], 0x10
mov eax, dword [ebp - 0x120]
cmovae ecx, dword [ebp - 0x130]
add eax, ecx
cmp dword [ebp - 0x11c], 0x10
lea ecx, [ebp - 0x130]
cmovae ecx, dword [ebp - 0x130]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x1d4]
call fcn.00417e70
mov byte [ebp - 4], 5
lea ebx, [ebp - 0x1d4]
cmp dword [ebp - 0x1c0], 8
lea ecx, [ebp + 8]
mov eax, dword [ebp + 0x18]
cmovae ebx, dword [ebp - 0x1d4]
cmp dword [ebp + 0x1c], 0x10
cmovae ecx, dword [ebp + 8]
add eax, ecx
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
cmovae ecx, dword [ebp + 8]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x1bc]
call fcn.00417e70
mov byte [ebp - 4], 6
lea eax, [ebp + 0x20]
cmp dword [ebp - 0x1a8], 8
lea edi, [ebp - 0x1bc]
push eax
cmovae edi, dword [ebp - 0x1bc]
lea ecx, [ebp - 0x14c]
call fcn.00417360
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14c]
cmp dword [ebp - 0x138], 0x10
mov eax, dword [ebp - 0x13c]
cmovae ecx, dword [ebp - 0x14c]
add eax, ecx
cmp dword [ebp - 0x138], 0x10
lea ecx, [ebp - 0x14c]
cmovae ecx, dword [ebp - 0x14c]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x1a4]
call fcn.00417e70
mov byte [ebp - 4], 8
lea eax, [ebp - 0x1a4]
cmp dword [ebp - 0x190], 8
lea ecx, [ebp + 0x38]
cmovae eax, dword [ebp - 0x1a4]
cmp dword [ebp + 0x4c], 0x10
mov dword [ebp - 0x118], eax
cmovae ecx, dword [ebp + 0x38]
mov eax, dword [ebp + 0x48]
add eax, ecx
cmp dword [ebp + 0x4c], 0x10
lea ecx, [ebp + 0x38]
cmovae ecx, dword [ebp + 0x38]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x18c]
call fcn.00417e70
mov byte [ebp - 4], 9
lea eax, [ebp - 0x18c]
cmp dword [ebp - 0x178], 8
lea ecx, [ebp + 0x50]
cmovae eax, dword [ebp - 0x18c]
cmp dword [ebp + 0x64], 0x10
mov dword [ebp - 0x218], eax
cmovae ecx, dword [ebp + 0x50]
mov eax, dword [ebp + 0x60]
add eax, ecx
cmp dword [ebp + 0x64], 0x10
lea ecx, [ebp + 0x50]
cmovae ecx, dword [ebp + 0x50]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x174]
call fcn.00417e70
mov byte [ebp - 4], 0xa
lea esi, [ebp - 0x174]
cmp dword [ebp - 0x160], 8
push 0
cmovae esi, dword [ebp - 0x174]
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x409eea
lea eax, [ebp - 0x20c]
push eax
push 0x458280
push 1
push 0
push 0x458270
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x40a270
call dword [sym.imp.ole32.dll_CoUninitialize]
xor esi, esi
mov edx, dword [ebp - 0x160]
cmp edx, 8
jb 0x409f2c
mov ecx, dword [ebp - 0x174]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409f22
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a4d2
push edx
push ecx
call fcn.0041cfc8
add esp, 8
mov edx, dword [ebp - 0x178]
xor eax, eax
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x160], 7
mov word [ebp - 0x174], ax
cmp edx, 8
jb 0x409f89
mov ecx, dword [ebp - 0x18c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409f7f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a4d2
push edx
push ecx
call fcn.0041cfc8
add esp, 8
mov edx, dword [ebp - 0x190]
xor eax, eax
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x178], 7
mov word [ebp - 0x18c], ax
cmp edx, 8
jb 0x409fe6
mov ecx, dword [ebp - 0x1a4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409fdc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a4d2
push edx
push ecx
call fcn.0041cfc8
add esp, 8
mov edx, dword [ebp - 0x138]
xor eax, eax
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x190], 7
mov word [ebp - 0x1a4], ax
cmp edx, 0x10
jb 0x40a03d
mov ecx, dword [ebp - 0x14c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a033
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a4d2
push edx
push ecx
call fcn.0041cfc8
add esp, 8
mov edx, dword [ebp - 0x1a8]
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0xf
mov byte [ebp - 0x14c], 0
cmp edx, 8
jb 0x40a098
mov ecx, dword [ebp - 0x1bc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a08e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a4d2
push edx
push ecx
call fcn.0041cfc8
add esp, 8
mov edx, dword [ebp - 0x1c0]
xor eax, eax
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1a8], 7
mov word [ebp - 0x1bc], ax
cmp edx, 8
jb 0x40a0f5
mov ecx, dword [ebp - 0x1d4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a0eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a4d2
push edx
push ecx
call fcn.0041cfc8
add esp, 8
mov edx, dword [ebp - 0x11c]
xor eax, eax
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1c0], 7
mov word [ebp - 0x1d4], ax
cmp edx, 0x10
jb 0x40a14c
mov ecx, dword [ebp - 0x130]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a142
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a4d2
push edx
push ecx
call fcn.0041cfc8
add esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
cmp edx, 0x10
jb 0x40a19b
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a191
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a4d2
push edx
push ecx
call fcn.0041cfc8
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x40a1e1
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a1d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a4d2
push edx
push ecx
call fcn.0041cfc8
add esp, 8
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp edx, 0x10
jb 0x40a227
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a21d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a4d2
push edx
push ecx
call fcn.0041cfc8
add esp, 8
mov edx, dword [ebp + 0x64]
mov dword [ebp + 0x48], 0
mov dword [ebp + 0x4c], 0xf
mov byte [ebp + 0x38], 0
cmp edx, 0x10
jb 0x40a4b4
mov ecx, dword [ebp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a4aa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a4d2
jmp 0x40a4aa
mov eax, dword [ebp - 0x20c]
lea edx, [ebp - 0x208]
push edx
push 0x458304
push 0x457dd8
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x20]
test eax, eax
jns 0x40a33b
cmp eax, 0x80070050
jne 0x409eea
mov eax, dword [ebp - 0x20c]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
jns 0x40a2c9
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x20c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x409eea
call dword [sym.imp.ole32.dll_CoUninitialize]
sub esp, 0x18
lea eax, [ebp + 0x50]
mov ecx, esp
mov dword [ebp - 0x218], esp
push eax
call fcn.00417360
sub esp, 0x18
mov byte [ebp - 4], 0xb
lea eax, [ebp + 0x38]
mov dword [ebp - 0x118], esp
mov ecx, esp
push eax
call fcn.00417360
sub esp, 0x18
mov byte [ebp - 4], 0xc
lea eax, [ebp + 0x20]
mov dword [ebp - 0x21c], esp
mov ecx, esp
push eax
call fcn.00417360
sub esp, 0x18
mov byte [ebp - 4], 0xd
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00417360
mov byte [ebp - 4], 0xa
call fcn.00409c90
add esp, 0x60
mov esi, 1
jmp 0x409eec
mov eax, dword [ebp - 0x208]
push 0x2000
push eax
mov ecx, dword [eax]
call dword [ecx + 0x70]
mov eax, dword [ebp - 0x208]
push 0
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov eax, dword [ebp - 0x208]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x208]
push dword [ebp - 0x118]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x80]
mov eax, dword [ebp - 0x208]
push dword [ebp - 0x218]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [ebp - 0x208]
lea edx, [ebp - 0x214]
push edx
lea edx, [ebp - 0x134]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
push 0x30
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.00433a50
add esp, 0xc
lea eax, [ebp - 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x156]
lea edx, [ebp - 0x204]
mov word [ebp - 0x1fc], ax
movzx eax, word [ebp - 0x15a]
mov word [ebp - 0x1fe], ax
movzx eax, word [ebp - 0x15c]
mov word [ebp - 0x200], ax
movzx eax, word [ebp - 0x154]
mov word [ebp - 0x1f4], ax
mov eax, dword [ebp - 0x152]
inc eax
mov dword [ebp - 0x1f0], 0x503340
mov word [ebp - 0x1f2], ax
mov eax, 0x30
mov word [ebp - 0x204], ax
mov eax, 1
mov word [ebp - 0x1e0], ax
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x1ec], 1
mov dword [ebp - 0x1e4], 0
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x208]
lea edx, [ebp - 0x210]
push edx
push 0x44f560
push eax
mov ecx, dword [eax]
call dword [ecx]
mov eax, dword [ebp - 0x208]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x210]
push 1
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x210]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov esi, 1
jmp 0x409eec
push edx
push ecx
call fcn.0041cfc8
add esp, 8
mov eax, esi
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.0041c951
mov esp, ebp
pop ebp
ret
call fcn.00436597
int3