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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4241e8
mov eax, dword fs:[0]
push eax
sub esp, 0x4ac
mov eax, dword [0x42c520]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x4b4], eax
mov esi, edx
mov dword [ebp - 0x488], ecx
mov dword [ebp - 0x49c], edi
mov dword [ebp - 0x494], edi
lea edx, [ebp - 0x494]
push edx
push 0x428154
push 1
push edi
push 0x428174
mov byte [ebp - 4], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x406869
mov eax, dword [ebp - 0x494]
cmp eax, edi
je 0x40686f
lea eax, [ebp - 0x4a0]
push eax
mov ecx, esi
call fcn.00406960
mov byte [ebp - 4], 2
cmp dword [ebp + 0xc], edi
jne 0x4062f2
push 0x400
lea edx, [ebp - 0x43a]
xor ecx, ecx
push edi
push edx
mov word [ebp - 0x43c], cx
call fcn.004142b0
add esp, 0xc
lea eax, [ebp - 0x498]
push eax
lea ecx, [ebp - 0x43c]
push ecx
mov dword [ebp - 0x498], 0x201
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea ecx, [ebp - 0x4a0]
call fcn.00406a10
lea eax, [ebp - 0x43c]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4062d0
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x43c]
push edx
lea ebx, [ebp - 0x4a0]
call fcn.00406c70
mov eax, dword [ebp - 0x494]
mov edx, dword [ebp - 0x4a0]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
xor esi, esi
mov dword [ebp - 0x490], esi
lea edx, [ebp - 0x490]
push edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x494]
mov edx, dword [ebp - 0x4a0]
mov ecx, dword [eax]
push 0x428144
push 0x428164
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
cmp eax, esi
mov eax, dword [ebp - 0x490]
jne 0x406833
cmp eax, esi
je 0x406833
lea edx, [ebp - 0x484]
push edx
mov dword [ebp - 0x484], esi
mov ecx, dword [eax]
push 0x428144
push eax
mov eax, dword [ecx]
call eax
mov bl, 4
mov byte [ebp - 4], bl
cmp dword [ebp - 0x484], esi
je 0x406817
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
mov esi, 0x200
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x480], edi
xor ecx, ecx
push 0x400
push ecx
lea edx, [ebp - 0x43a]
mov byte [ebp - 4], 5
push edx
mov word [ebp - 0x43c], cx
call fcn.004142b0
xor eax, eax
add esp, 0xc
mov word [ebp - 0x38], ax
mov dword [ebp - 0x36], eax
mov dword [ebp - 0x32], eax
mov dword [ebp - 0x2e], eax
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
cmp dword [ebp + 0xc], eax
jne 0x406476
lea ecx, [ebp - 0x4b0]
push ecx
lea edx, [ebp - 0x43c]
push edx
mov dword [ebp - 0x4b0], 0x201
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x40642a
lea eax, [edi - 0x10]
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406817
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x406817
lea ecx, [ebp - 0x4b8]
push ecx
lea edx, [ebp - 0x38]
push edx
mov dword [ebp - 0x4b8], 0x11
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x40680c
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x38]
push ecx
push 0x428a4c
lea edi, [ebp - 0x480]
call fcn.00406f60
mov edi, dword [ebp - 0x480]
add esp, 0xc
mov esi, 0x2200
mov eax, dword [ebp - 0x484]
mov edx, dword [eax]
push esi
push eax
mov eax, dword [edx + 0x70]
call eax
test eax, eax
je 0x4064b1
lea eax, [edi - 0x10]
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406817
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x406817
mov eax, dword [ebp - 0x484]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x78]
push 0
push edi
push eax
call edx
test eax, eax
jne 0x40680c
mov edx, dword [ebp - 0x488]
xor ebx, ebx
test edx, edx
je 0x406508
mov eax, edx
lea esi, [eax + 2]
jmp 0x4064e0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4064e0
sub eax, esi
sar eax, 1
je 0x406508
mov eax, dword [ebp - 0x484]
mov ecx, dword [eax]
push edx
mov edx, dword [ecx + 0x48]
push eax
call edx
cmp eax, ebx
jne 0x40680c
mov dword [ebp - 0x48c], ebx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x484]
lea edx, [ebp - 0x48c]
push edx
lea edx, [ebp - 0x4ac]
mov dword [ebp - 0x4ac], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, ebx
mov eax, dword [ebp - 0x48c]
jne 0x4067fc
cmp eax, ebx
je 0x4067fc
mov eax, dword [ebp - 0x484]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xa8]
push 0xffffffffffffffff
push eax
call edx
cmp eax, ebx
je 0x406570
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x48c]
jmp 0x406800
push 0x2e
lea eax, [ebp - 0x47a]
push ebx
push eax
call fcn.004142b0
xor eax, eax
mov dword [ebp - 0x44a], eax
mov dword [ebp - 0x446], eax
mov dword [ebp - 0x442], eax
mov word [ebp - 0x43e], ax
add esp, 0xc
lea eax, [ebp - 0x44c]
mov ecx, 0x30
xor edx, edx
push eax
mov word [ebp - 0x47c], cx
mov word [ebp - 0x44c], dx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov cx, word [ebp - 0x446]
mov dx, word [ebp - 0x44a]
mov ax, word [ebp - 0x44c]
mov word [ebp - 0x474], cx
lea ecx, [ebp - 0x4a8]
mov word [ebp - 0x476], dx
push ecx
lea edx, [ebp - 0x44c]
push edx
mov word [ebp - 0x478], ax
mov dword [ebp - 0x4a8], ebx
mov dword [ebp - 0x4a4], ebx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov eax, dword [ebp + 0xc]
neg eax
sbb eax, eax
and eax, 0x23c34600
add eax, 0x23c34600
cdq
add dword [ebp - 0x4a8], eax
lea esi, [ebp - 0x488]
adc dword [ebp - 0x4a4], edx
call fcn.00406940
push 0x6c
mov byte [ebp - 4], 7
call fcn.00407000
add esp, 4
cmp eax, ebx
je 0x40668d
push eax
mov eax, 0x6c
mov edi, esi
call fcn.00406b10
cmp eax, ebx
je 0x40668d
mov eax, dword [ebp - 0x488]
cmp dword [eax - 0xc], ebx
je 0x40668d
push eax
call fcn.0041219d
cdq
add esp, 4
cmp edx, ebx
jl 0x40668d
jg 0x406674
cmp eax, ebx
jbe 0x40668d
push ebx
push 0x23c34600
push edx
push eax
call fcn.00420ff0
add dword [ebp - 0x4a8], eax
adc dword [ebp - 0x4a4], edx
lea eax, [ebp - 0x44c]
push eax
lea ecx, [ebp - 0x4a8]
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov ax, word [ebp - 0x442]
mov dx, word [ebp - 0x444]
mov ecx, 1
mov word [ebp - 0x46a], ax
mov eax, dword [ebp - 0x48c]
mov word [ebp - 0x458], cx
mov word [ebp - 0x46c], dx
lea ecx, [ebp - 0x47c]
mov dword [ebp - 0x468], 0x5a0
mov dword [ebp - 0x464], 0xf
mov dword [ebp - 0x45c], 1
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push ecx
push eax
call edx
cmp eax, ebx
je 0x40671a
lea eax, [ebp - 0x488]
call fcn.0040e440
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x48c]
jmp 0x406800
cmp dword [ebp + 0x10], ebx
je 0x406737
call fcn.00405ee0
test eax, eax
je 0x406737
mov eax, dword [ebp - 0x484]
push eax
call fcn.004060b0
add esp, 4
mov eax, dword [ebp - 0x484]
mov edx, dword [ebp - 0x4b4]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x80]
call eax
cmp eax, ebx
je 0x40676d
lea eax, [ebp - 0x488]
call fcn.0040e440
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x48c]
jmp 0x406800
mov ecx, dword [ebp - 0x490]
xor eax, eax
mov dword [ebp - 0x498], eax
cmp ecx, ebx
je 0x406798
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [ebp - 0x498]
push edx
push 0x428a58
push ecx
call eax
mov eax, dword [ebp - 0x498]
mov byte [ebp - 4], 8
cmp eax, ebx
jne 0x4067b7
lea eax, [ebp - 0x488]
call fcn.0040e440
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x48c]
jmp 0x406800
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push 1
push ebx
push eax
call edx
xor ecx, ecx
cmp eax, ebx
sete cl
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x498]
mov dword [ebp - 0x49c], ecx
cmp eax, ebx
je 0x4067e5
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea eax, [ebp - 0x488]
call fcn.0040e440
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x48c]
jmp 0x406800
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x40680c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [ebp - 0x480]
call fcn.0040e440
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x484]
test eax, eax
je 0x40682d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x490]
mov byte [ebp - 4], 2
test eax, eax
je 0x406843
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x4a0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406869
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x494]
mov byte [ebp - 4], 0
test eax, eax
je 0x40687f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x49c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00412178
mov esp, ebp
pop ebp
ret