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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421f88
mov eax, dword fs:[0]
push eax
sub esp, 0x4ac
mov eax, dword [0x42a520]
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 - 0x484], ecx
mov dword [ebp - 0x49c], edi
mov dword [ebp - 0x494], edi
lea edx, [ebp - 0x494]
push edx
push 0x4260e4
push 1
push edi
push 0x426104
mov byte [ebp - 4], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x40671c
mov eax, dword [ebp - 0x494]
cmp eax, edi
je 0x406722
lea eax, [ebp - 0x4a0]
push eax
mov ecx, esi
call fcn.00406820
mov byte [ebp - 4], 2
cmp dword [ebp + 0xc], edi
jne 0x4061c2
push 0x400
lea edx, [ebp - 0x43a]
xor ecx, ecx
push edi
push edx
mov word [ebp - reloc.kernel32.dll_IsDBCSLeadByte], cx
call fcn.00412510
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.004068f0
lea eax, [ebp - 0x43c]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4061a0
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x43c]
push edx
lea ebx, [ebp - 0x4a0]
call fcn.00406b10
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 0x4265e8
push 0x4260f4
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
cmp eax, esi
mov eax, dword [ebp - 0x490]
jne 0x4066e6
cmp eax, esi
je 0x4066e6
lea edx, [ebp - 0x488]
push edx
mov dword [ebp - 0x488], esi
mov ecx, dword [eax]
push 0x4265e8
push eax
mov eax, dword [ecx]
call eax
mov bl, 4
mov byte [ebp - 4], bl
cmp dword [ebp - 0x488], esi
je 0x4066ca
mov edx, dword [section..reloc]
mov eax, dword [edx + 0xc]
mov ecx, section..reloc
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 - reloc.kernel32.dll_IsDBCSLeadByte], cx
call fcn.00412510
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 0x406346
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 0x4062fa
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 0x4066ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4066ca
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 0x4066bf
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x38]
push ecx
push 0x4265dc
lea edi, [ebp - 0x480]
call fcn.00406e00
mov edi, dword [ebp - 0x480]
add esp, 0xc
mov esi, 0x2200
mov eax, dword [ebp - 0x488]
mov edx, dword [eax]
push esi
push eax
mov eax, dword [edx + 0x70]
call eax
test eax, eax
je 0x406381
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 0x4066ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4066ca
mov eax, dword [ebp - 0x488]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x78]
push 0
push edi
push eax
call edx
test eax, eax
jne 0x4066bf
mov edx, dword [ebp - 0x484]
xor ebx, ebx
test edx, edx
je 0x4063d8
mov eax, edx
lea esi, [eax + 2]
jmp 0x4063b0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4063b0
sub eax, esi
sar eax, 1
je 0x4063d8
mov eax, dword [ebp - 0x488]
mov ecx, dword [eax]
push edx
mov edx, dword [ecx + 0x48]
push eax
call edx
cmp eax, ebx
jne 0x4066bf
mov dword [ebp - 0x48c], ebx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x488]
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 0x4066af
cmp eax, ebx
je 0x4066af
mov eax, dword [ebp - 0x488]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xa8]
push 0xffffffffffffffff
push eax
call edx
cmp eax, ebx
je 0x406440
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x48c]
jmp 0x4066b3
push 0x2e
lea eax, [ebp - 0x47a]
push ebx
push eax
call fcn.00412510
xor eax, eax
mov dword [ebp - 0x44a], eax
mov dword [ebp - 0x446], eax
mov dword [ebp - 0x442], eax
mov word [ebp - reloc.kernel32.dll_IsDBCSLeadByte], ax
add esp, 0xc
lea eax, [ebp - 0x44c]
mov ecx, 0x30
xor edx, edx
push eax
mov word [ebp - reloc.kernel32.dll_IsDBCSLeadByte], cx
mov word [ebp - reloc.kernel32.dll_IsDBCSLeadByte], dx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov cx, word [ebp - reloc.kernel32.dll_IsDBCSLeadByte]
mov dx, word [ebp - reloc.kernel32.dll_IsDBCSLeadByte]
mov ax, word [ebp - reloc.kernel32.dll_IsDBCSLeadByte]
mov word [ebp - reloc.kernel32.dll_IsDBCSLeadByte], cx
lea ecx, [ebp - 0x4a8]
mov word [ebp - reloc.kernel32.dll_IsDBCSLeadByte], dx
push ecx
lea edx, [ebp - 0x44c]
push edx
mov word [ebp - reloc.kernel32.dll_IsDBCSLeadByte], 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 - 0x484]
adc dword [ebp - 0x4a4], edx
call fcn.00406800
push 0x6c
mov byte [ebp - 4], 7
call fcn.00406ea0
add esp, 4
cmp eax, ebx
je 0x40655d
push eax
mov eax, 0x6c
mov edi, esi
call fcn.004069f0
cmp eax, ebx
je 0x40655d
mov eax, dword [ebp - 0x484]
cmp dword [eax - 0xc], ebx
je 0x40655d
push eax
call fcn.004106ec
cdq
add esp, 4
cmp edx, ebx
jl 0x40655d
jg 0x406544
cmp eax, ebx
jbe 0x40655d
push ebx
push 0x23c34600
push edx
push eax
call fcn.0041f190
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 - reloc.kernel32.dll_IsDBCSLeadByte]
mov dx, word [ebp - reloc.kernel32.dll_IsDBCSLeadByte]
mov ecx, 1
mov word [ebp - reloc.kernel32.dll_IsDBCSLeadByte], ax
mov eax, dword [ebp - 0x48c]
mov word [ebp - reloc.kernel32.dll_IsDBCSLeadByte], cx
mov word [ebp - reloc.kernel32.dll_IsDBCSLeadByte], 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 0x4065ea
lea eax, [ebp - 0x484]
call fcn.004068d0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x48c]
jmp 0x4066b3
mov eax, dword [ebp - 0x488]
mov edx, dword [ebp - 0x4b4]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x80]
call eax
cmp eax, ebx
je 0x406620
lea eax, [ebp - 0x484]
call fcn.004068d0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x48c]
jmp 0x4066b3
mov ecx, dword [ebp - 0x490]
xor eax, eax
mov dword [ebp - 0x498], eax
cmp ecx, ebx
je 0x40664b
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [ebp - 0x498]
push edx
push 0x4265f8
push ecx
call eax
mov eax, dword [ebp - 0x498]
mov byte [ebp - 4], 8
cmp eax, ebx
jne 0x40666a
lea eax, [ebp - 0x484]
call fcn.004068d0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x48c]
jmp 0x4066b3
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 0x406698
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea eax, [ebp - 0x484]
call fcn.004068d0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x48c]
jmp 0x4066b3
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x4066bf
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [ebp - 0x480]
call fcn.004068d0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x488]
test eax, eax
je 0x4066e0
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 0x4066f6
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 0x40671c
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 0x406732
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.004106c7
mov esp, ebp
pop ebp
ret