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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a9d0
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x45e274]
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
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x84], edx
mov edx, dword [0x45e020]
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x80], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x45e020
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x60], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x70], 0x101
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x101
or eax, ecx
jge 0x4249fb
push 0x101
lea ecx, [ebp - 0x60]
call fcn.004035c0
mov esi, dword [ebp - 0x60]
lea ecx, [ebp - 0x70]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0042f896
add esp, 8
test eax, eax
js 0x424e5d
cmp eax, dword [esi - 8]
jg 0x424e5d
mov dword [esi - 0xc], eax
xor edx, edx
mov word [esi + eax*2], dx
mov ecx, str.SYSTEM
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x424a5a
test dx, dx
je 0x424a56
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x424a5a
add eax, 4
add ecx, 4
test dx, dx
jne 0x424a34
xor eax, eax
jmp 0x424a5f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x424a8d
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x424a86
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, 1
jmp 0x424aee
mov dword [ebp - 0x5c], 0
lea ecx, [ebp - 0x5c]
push ecx
push 0x44d8f0
push 1
push 0
push 0x44d910
mov byte [ebp - 4], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
jns 0x424b0c
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x424ac9
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424aec
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, edi
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.0042f0df
mov esp, ebp
pop ebp
ret 0x10
push ebx
lea ecx, [ebp - 0x58]
call fcn.00402c30
push 1
push 0x455228
lea ebx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.00402e80
mov eax, dword [esi - 0xc]
push eax
push esi
call fcn.00402e80
push 1
push 0x455528
call fcn.00402e80
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x58]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
xor ebx, ebx
mov dword [ebp - 0x54], ebx
lea edx, [ebp - 0x54]
push edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x58]
mov ecx, dword [eax]
push 0x44d8e0
push 0x44d900
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
mov edi, eax
cmp edi, ebx
jge 0x424bed
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x424b8c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424baf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x5c]
cmp eax, ebx
je 0x424bc1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x424aec
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
jmp 0x424aec
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x78]
push ebx
push esi
push eax
call edx
mov edi, eax
cmp edi, ebx
jl 0x424b79
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x7c]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
mov esi, eax
cmp esi, ebx
jge 0x424c55
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x424c2c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebp - 0x58]
call fcn.00403740
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x5c]
cmp eax, ebx
je 0x424c46
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebp - 0x60]
call fcn.00403740
mov eax, esi
jmp 0x424aee
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x84]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x88]
call eax
mov esi, eax
cmp esi, ebx
jl 0x424c19
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x78]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x80]
call eax
mov esi, eax
cmp esi, ebx
jl 0x424c19
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x80]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x90]
call eax
mov esi, eax
cmp esi, ebx
jl 0x424c19
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x64], ebx
lea edx, [ebp - 0x64]
push edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
lea edx, [ebp - 0x74]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov esi, eax
cmp esi, ebx
jge 0x424ce3
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x64]
cmp eax, ebx
je 0x424c19
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x424c19
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x2e
lea ecx, [ebp - 0x4e]
push ebx
push ecx
call fcn.00431630
mov ax, word [ebp - 0x20]
mov cx, word [ebp - 0x1e]
mov edx, 0x30
mov word [ebp - 0x4c], ax
mov eax, dword [ebp - 0x16]
mov word [ebp - 0x50], dx
mov dx, word [ebp - 0x1a]
mov word [ebp - 0x4a], cx
mov ecx, dword [ebp - 0x18]
add esp, 0xc
mov word [ebp - 0x48], dx
mov word [ebp - 0x40], cx
mov word [ebp - 0x3e], ax
cmp ax, bx
jbe 0x424d33
dec eax
jmp 0x424d42
cmp cx, bx
jbe 0x424d46
dec ecx
mov word [ebp - 0x40], cx
mov eax, 0x3b
mov word [ebp - 0x3e], ax
mov cx, word [ebp + 0x14]
mov eax, dword [ebp - 0x64]
mov word [ebp - 0x2c], cx
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x30], 1
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push ecx
push eax
call edx
mov esi, eax
cmp esi, ebx
jl 0x424cc7
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
lea edx, [ebp - 0x6c]
push edx
push eax
mov eax, dword [ecx + 0x74]
call eax
mov esi, eax
cmp esi, ebx
jl 0x424cc7
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x54]
and eax, 0xffffffbb
or eax, 0x2000
mov dword [ebp - 0x6c], eax
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x70]
push ecx
call eax
mov esi, eax
cmp esi, ebx
jl 0x424cc7
mov dword [ebp - 0x68], ebx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
lea edx, [ebp - 0x68]
push edx
push 0x44d940
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
cmp esi, ebx
jge 0x424de7
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x68]
cmp eax, ebx
je 0x424cc7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x424cc7
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push 1
push ebx
push eax
call edx
mov esi, eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x68]
cmp esi, ebx
jl 0x424dd2
cmp eax, ebx
je 0x424e0e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x64]
cmp eax, ebx
je 0x424e21
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x54]
cmp eax, ebx
je 0x424e34
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebp - 0x58]
call fcn.00403740
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x5c]
cmp eax, ebx
je 0x424e4e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebp - 0x60]
call fcn.00403740
xor eax, eax
jmp 0x424aee
push 0x80070057
call fcn.00403700
int3