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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425028
mov eax, dword fs:[0]
push eax
sub esp, 0x4ac
mov eax, dword [0x42d520]
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 0x429114
push 1
push edi
push 0x429134
mov byte [ebp - 4], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x406879
mov eax, dword [ebp - 0x494]
cmp eax, edi
je 0x40687f
lea eax, [ebp - 0x4a0]
push eax
mov ecx, esi
call fcn.00406970
mov byte [ebp - 4], 2
cmp dword [ebp + 0xc], edi
jne 0x406302
push 0x400
lea edx, [ebp - 0x43a]
xor ecx, ecx
push edi
push edx
mov word [ebp - 0x43c], cx
call fcn.00415120
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.00406a20
lea eax, [ebp - 0x43c]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4062e0
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x43c]
push edx
lea ebx, [ebp - 0x4a0]
call fcn.00406c80
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 0x429104
push 0x429124
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
cmp eax, esi
mov eax, dword [ebp - 0x490]
jne 0x406843
cmp eax, esi
je 0x406843
lea edx, [ebp - 0x484]
push edx
mov dword [ebp - 0x484], esi
mov ecx, dword [eax]
push 0x429104
push eax
mov eax, dword [ecx]
call eax
mov bl, 4
mov byte [ebp - 4], bl
cmp dword [ebp - 0x484], esi
je 0x406827
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.00415120
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 0x406486
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 0x40643a
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 0x406827
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x406827
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 0x40681c
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x38]
push ecx
push 0x429a0c
lea edi, [ebp - 0x480]
call fcn.00406f80
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 0x4064c1
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 0x406827
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x406827
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 0x40681c
mov edx, dword [ebp - 0x488]
xor ebx, ebx
test edx, edx
je 0x406518
mov eax, edx
lea esi, [eax + 2]
jmp 0x4064f0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4064f0
sub eax, esi
sar eax, 1
je 0x406518
mov eax, dword [ebp - 0x484]
mov ecx, dword [eax]
push edx
mov edx, dword [ecx + 0x48]
push eax
call edx
cmp eax, ebx
jne 0x40681c
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 0x40680c
cmp eax, ebx
je 0x40680c
mov eax, dword [ebp - 0x484]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xa8]
push 0xffffffffffffffff
push eax
call edx
cmp eax, ebx
je 0x406580
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x48c]
jmp 0x406810
push 0x2e
lea eax, [ebp - 0x47a]
push ebx
push eax
call fcn.00415120
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.00406950
push 0x6c
mov byte [ebp - 4], 7
call fcn.00407020
add esp, 4
cmp eax, ebx
je 0x40669d
push eax
mov eax, 0x6c
mov edi, esi
call fcn.00406b20
cmp eax, ebx
je 0x40669d
mov eax, dword [ebp - 0x488]
cmp dword [eax - 0xc], ebx
je 0x40669d
push eax
call fcn.00412e4f
cdq
add esp, 4
cmp edx, ebx
jl 0x40669d
jg 0x406684
cmp eax, ebx
jbe 0x40669d
push ebx
push 0x23c34600
push edx
push eax
call fcn.00421e60
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 0x40672a
lea eax, [ebp - 0x488]
call fcn.0040d7d0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x48c]
jmp 0x406810
cmp dword [ebp + 0x10], ebx
je 0x406747
call fcn.00405ee0
test eax, eax
je 0x406747
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 0x40677d
lea eax, [ebp - 0x488]
call fcn.0040d7d0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x48c]
jmp 0x406810
mov ecx, dword [ebp - 0x490]
xor eax, eax
mov dword [ebp - 0x498], eax
cmp ecx, ebx
je 0x4067a8
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [ebp - 0x498]
push edx
push 0x429a18
push ecx
call eax
mov eax, dword [ebp - 0x498]
mov byte [ebp - 4], 8
cmp eax, ebx
jne 0x4067c7
lea eax, [ebp - 0x488]
call fcn.0040d7d0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x48c]
jmp 0x406810
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 0x4067f5
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea eax, [ebp - 0x488]
call fcn.0040d7d0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x48c]
jmp 0x406810
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x40681c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [ebp - 0x480]
call fcn.0040d7d0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x484]
test eax, eax
je 0x40683d
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 0x406853
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 0x406879
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 0x40688f
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.00412e2a
mov esp, ebp
pop ebp
ret