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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x249733
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x265124]
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 - 0x130], 0
mov dword [ebp - 0x120], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x20e951
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x130]
call fcn.00223f40
mov byte [ebp - 4], 4
lea ebx, [ebp - 0x130]
cmp dword [ebp - 0x11c], 0x10
lea edi, [ebp - 0x130]
mov dword [ebp - 0x1a8], 0
lea ecx, [ebp - 0x1a8]
cmovae ebx, dword [ebp - 0x130]
add ebx, dword [ebp - 0x120]
cmp dword [ebp - 0x11c], 0x10
mov dword [ebp - 0x198], 0
cmovae edi, dword [ebp - 0x130]
xor eax, eax
mov word [ebp - 0x1a8], ax
mov eax, ebx
sub eax, edi
mov dword [ebp - 0x194], 7
push eax
call fcn.00225f60
mov byte [ebp - 0x218], 0
lea ecx, [ebp - 0x1a8]
push dword [ebp - 0x218]
push ebx
push edi
call fcn.00226300
mov byte [ebp - 4], 5
lea eax, [ebp - 0x1a8]
cmp dword [ebp - 0x194], 8
lea ebx, [ebp + 8]
lea edi, [ebp + 8]
mov dword [ebp - 0x190], 0
cmovae eax, dword [ebp - 0x1a8]
lea ecx, [ebp - 0x190]
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0x21c], eax
cmovae ebx, dword [ebp + 8]
add ebx, dword [ebp + 0x18]
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0x180], 0
cmovae edi, dword [ebp + 8]
xor eax, eax
mov word [ebp - 0x190], ax
mov eax, ebx
sub eax, edi
mov dword [ebp - 0x17c], 7
push eax
call fcn.00225f60
mov byte [ebp - 0x218], 0
lea ecx, [ebp - 0x190]
push dword [ebp - 0x218]
push ebx
push edi
call fcn.00226300
mov byte [ebp - 4], 6
lea eax, [ebp - 0x190]
cmp dword [ebp - 0x17c], 8
lea ecx, [ebp - 0x1c4]
cmovae eax, dword [ebp - 0x190]
mov dword [ebp - 0x118], eax
lea eax, [ebp + 0x20]
push eax
call fcn.00223030
mov byte [ebp - 4], 7
lea ebx, [ebp - 0x1c4]
cmp dword [ebp - 0x1b0], 0x10
lea edi, [ebp - 0x1c4]
mov dword [ebp - 0x178], 0
cmovae ebx, dword [ebp - 0x1c4]
add ebx, dword [ebp - 0x1b4]
cmp dword [ebp - 0x1b0], 0x10
mov dword [ebp - 0x168], 0
cmovae edi, dword [ebp - 0x1c4]
xor eax, eax
mov dword [ebp - 0x164], 7
mov word [ebp - 0x178], ax
lea ecx, [ebp - 0x178]
mov eax, ebx
sub eax, edi
push eax
call fcn.00225f60
mov byte [ebp - 0x218], 0
lea ecx, [ebp - 0x178]
push dword [ebp - 0x218]
push ebx
push edi
call fcn.00226300
mov byte [ebp - 4], 8
lea eax, [ebp - 0x178]
cmp dword [ebp - 0x164], 8
lea ebx, [ebp + 0x38]
lea edi, [ebp + 0x38]
mov dword [ebp - 0x160], 0
cmovae eax, dword [ebp - 0x178]
lea ecx, [ebp - 0x160]
cmp dword [ebp + 0x4c], 0x10
mov dword [ebp - 0x220], eax
cmovae ebx, dword [ebp + 0x38]
add ebx, dword [ebp + 0x48]
cmp dword [ebp + 0x4c], 0x10
mov dword [ebp - 0x150], 0
cmovae edi, dword [ebp + 0x38]
xor eax, eax
mov word [ebp - 0x160], ax
mov eax, ebx
sub eax, edi
mov dword [ebp - 0x14c], 7
push eax
call fcn.00225f60
mov byte [ebp - 0x218], 0
lea ecx, [ebp - 0x160]
push dword [ebp - 0x218]
push ebx
push edi
call fcn.00226300
mov byte [ebp - 4], 9
lea eax, [ebp - 0x160]
cmp dword [ebp - 0x14c], 8
lea ebx, [ebp + 0x50]
lea edi, [ebp + 0x50]
mov dword [ebp - 0x148], 0
cmovae eax, dword [ebp - 0x160]
lea ecx, [ebp - 0x148]
cmp dword [ebp + 0x64], 0x10
mov dword [ebp - 0x224], eax
cmovae ebx, dword [ebp + 0x50]
add ebx, dword [ebp + 0x60]
cmp dword [ebp + 0x64], 0x10
mov dword [ebp - 0x138], 0
cmovae edi, dword [ebp + 0x50]
xor eax, eax
mov word [ebp - 0x148], ax
mov eax, ebx
sub eax, edi
mov dword [ebp - 0x134], 7
push eax
call fcn.00225f60
mov byte [ebp - 0x218], 0
lea ecx, [ebp - 0x148]
push dword [ebp - 0x218]
push ebx
push edi
call fcn.00226300
mov byte [ebp - 4], 0xa
lea edi, [ebp - 0x148]
cmp dword [ebp - 0x134], 8
push 0
cmovae edi, dword [ebp - 0x148]
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x20ec85
lea eax, [ebp - 0x20c]
push eax
push 0x25d0ac
push 1
push 0
push 0x25d04c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x20f00b
call dword [sym.imp.ole32.dll_CoUninitialize]
xor esi, esi
mov edx, dword [ebp - 0x134]
cmp edx, 8
jb 0x20ecc7
mov ecx, dword [ebp - 0x148]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x20ecbd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x20f278
push edx
push ecx
call fcn.00229d26
add esp, 8
mov edx, dword [ebp - 0x14c]
xor eax, eax
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 7
mov word [ebp - 0x148], ax
cmp edx, 8
jb 0x20ed24
mov ecx, dword [ebp - 0x160]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x20ed1a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x20f278
push edx
push ecx
call fcn.00229d26
add esp, 8
mov edx, dword [ebp - 0x164]
xor eax, eax
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 7
mov word [ebp - 0x160], ax
cmp edx, 8
jb 0x20ed81
mov ecx, dword [ebp - 0x178]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x20ed77
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x20f278
push edx
push ecx
call fcn.00229d26
add esp, 8
mov edx, dword [ebp - 0x1b0]
xor eax, eax
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 7
mov word [ebp - 0x178], ax
cmp edx, 0x10
jb 0x20edd8
mov ecx, dword [ebp - 0x1c4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x20edce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x20f278
push edx
push ecx
call fcn.00229d26
add esp, 8
mov edx, dword [ebp - 0x17c]
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x1b0], 0xf
mov byte [ebp - 0x1c4], 0
cmp edx, 8
jb 0x20ee33
mov ecx, dword [ebp - 0x190]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x20ee29
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x20f278
push edx
push ecx
call fcn.00229d26
add esp, 8
mov edx, dword [ebp - 0x194]
xor eax, eax
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], 7
mov word [ebp - 0x190], ax
cmp edx, 8
jb 0x20ee90
mov ecx, dword [ebp - 0x1a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x20ee86
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x20f278
push edx
push ecx
call fcn.00229d26
add esp, 8
mov edx, dword [ebp - 0x11c]
xor eax, eax
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x194], 7
mov word [ebp - 0x1a8], ax
cmp edx, 0x10
jb 0x20eee7
mov ecx, dword [ebp - 0x130]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x20eedd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x20f278
push edx
push ecx
call fcn.00229d26
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 0x20ef36
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x20ef2c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x20f278
push edx
push ecx
call fcn.00229d26
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 0x20ef7c
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x20ef72
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x20f278
push edx
push ecx
call fcn.00229d26
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 0x20efc2
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x20efb8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x20f278
push edx
push ecx
call fcn.00229d26
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 0x20f25a
mov ecx, dword [ebp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x20f250
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x20f278
jmp 0x20f250
mov eax, dword [ebp - 0x20c]
lea edx, [ebp - 0x208]
mov esi, dword [ebp - 0x118]
push edx
push 0x25d1c0
mov ecx, dword [eax]
push 0x25cf64
push esi
push eax
call dword [ecx + 0x20]
test eax, eax
jns 0x20f0dc
cmp eax, 0x80070050
jne 0x20ec85
mov eax, dword [ebp - 0x20c]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
jns 0x20f06a
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x20c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x20ec85
call dword [sym.imp.ole32.dll_CoUninitialize]
sub esp, 0x18
lea eax, [ebp + 0x50]
mov ecx, esp
mov dword [ebp - 0x224], esp
push eax
call fcn.00223030
sub esp, 0x18
mov byte [ebp - 4], 0xb
lea eax, [ebp + 0x38]
mov dword [ebp - 0x220], esp
mov ecx, esp
push eax
call fcn.00223030
sub esp, 0x18
mov byte [ebp - 4], 0xc
lea eax, [ebp + 0x20]
mov dword [ebp - 0x21c], esp
mov ecx, esp
push eax
call fcn.00223030
sub esp, 0x18
mov byte [ebp - 4], 0xd
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00223030
mov byte [ebp - 4], 0xa
call fcn.0020e8d0
add esp, 0x60
mov esi, 1
jmp 0x20ec87
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 dword [ebp - 0x21c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x78]
mov eax, dword [ebp - 0x208]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x208]
push dword [ebp - 0x220]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x80]
mov eax, dword [ebp - 0x208]
push dword [ebp - 0x224]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [ebp - 0x208]
lea edx, [ebp - 0x214]
push edx
lea edx, [ebp - 0x1ac]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
push 0x30
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.0022b340
add esp, 0xc
lea eax, [ebp - 0x1d4]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x1ce]
lea edx, [ebp - 0x204]
mov word [ebp - 0x1fc], ax
movzx eax, word [ebp - 0x1d2]
mov word [ebp - 0x1fe], ax
movzx eax, word [ebp - 0x1d4]
mov word [ebp - 0x200], ax
movzx eax, word [ebp - 0x1cc]
mov word [ebp - 0x1f4], ax
mov eax, dword [ebp - 0x1ca]
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 0x250620
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 0x20ec87
push edx
push ecx
call fcn.00229d26
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.002296b0
mov esp, ebp
pop ebp
ret
call fcn.0022ea38
int3