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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x18130e8
mov eax, dword fs:[0]
push eax
sub esp, 0x4ac
mov eax, dword [0x181b520]
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 0x18170d4
push 1
push edi
push 0x18170f4
mov byte [ebp - 4], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x17f671c
mov eax, dword [ebp - 0x494]
cmp eax, edi
je 0x17f6722
lea eax, [ebp - 0x4a0]
push eax
mov ecx, esi
call fcn.017f6820
mov byte [ebp - 4], 2
cmp dword [ebp + 0xc], edi
jne 0x17f61c2
push 0x400
lea edx, [ebp - 0x43a]
xor ecx, ecx
push edi
push edx
mov word [ebp - 0x43c], cx
call fcn.018033e0
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.017f68d0
lea eax, [ebp - 0x43c]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x17f61a0
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x43c]
push edx
lea ebx, [ebp - 0x4a0]
call fcn.017f6af0
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 0x18170c4
push 0x18170e4
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
cmp eax, esi
mov eax, dword [ebp - 0x490]
jne 0x17f66e6
cmp eax, esi
je 0x17f66e6
lea edx, [ebp - 0x488]
push edx
mov dword [ebp - 0x488], esi
mov ecx, dword [eax]
push 0x18170c4
push eax
mov eax, dword [ecx]
call eax
mov bl, 4
mov byte [ebp - 4], bl
cmp dword [ebp - 0x488], esi
je 0x17f66ca
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.018033e0
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 0x17f6346
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 0x17f62fa
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 0x17f66ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x17f66ca
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 0x17f66bf
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x38]
push ecx
push 0x18175cc
lea edi, [ebp - 0x480]
call fcn.017f6de0
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 0x17f6381
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 0x17f66ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x17f66ca
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 0x17f66bf
mov edx, dword [ebp - 0x484]
xor ebx, ebx
test edx, edx
je 0x17f63d8
mov eax, edx
lea esi, [eax + 2]
jmp 0x17f63b0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x17f63b0
sub eax, esi
sar eax, 1
je 0x17f63d8
mov eax, dword [ebp - 0x488]
mov ecx, dword [eax]
push edx
mov edx, dword [ecx + 0x48]
push eax
call edx
cmp eax, ebx
jne 0x17f66bf
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 0x17f66af
cmp eax, ebx
je 0x17f66af
mov eax, dword [ebp - 0x488]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xa8]
push 0xffffffffffffffff
push eax
call edx
cmp eax, ebx
je 0x17f6440
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x48c]
jmp 0x17f66b3
push 0x2e
lea eax, [ebp - 0x47a]
push ebx
push eax
call fcn.018033e0
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 - 0x484]
adc dword [ebp - 0x4a4], edx
call fcn.017f6800
push 0x6c
mov byte [ebp - 4], 7
call fcn.017f6e80
add esp, 4
cmp eax, ebx
je 0x17f655d
push eax
mov eax, 0x6c
mov edi, esi
call fcn.017f69d0
cmp eax, ebx
je 0x17f655d
mov eax, dword [ebp - 0x484]
cmp dword [eax - 0xc], ebx
je 0x17f655d
push eax
call fcn.018013f0
cdq
add esp, 4
cmp edx, ebx
jl 0x17f655d
jg 0x17f6544
cmp eax, ebx
jbe 0x17f655d
push ebx
push 0x23c34600
push edx
push eax
call fcn.01810080
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 0x17f65ea
lea eax, [ebp - 0x484]
call fcn.017fe5b0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x48c]
jmp 0x17f66b3
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 0x17f6620
lea eax, [ebp - 0x484]
call fcn.017fe5b0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x48c]
jmp 0x17f66b3
mov ecx, dword [ebp - 0x490]
xor eax, eax
mov dword [ebp - 0x498], eax
cmp ecx, ebx
je 0x17f664b
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [ebp - 0x498]
push edx
push 0x18175d8
push ecx
call eax
mov eax, dword [ebp - 0x498]
mov byte [ebp - 4], 8
cmp eax, ebx
jne 0x17f666a
lea eax, [ebp - 0x484]
call fcn.017fe5b0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x48c]
jmp 0x17f66b3
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 0x17f6698
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea eax, [ebp - 0x484]
call fcn.017fe5b0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x48c]
jmp 0x17f66b3
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x17f66bf
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [ebp - 0x480]
call fcn.017fe5b0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x488]
test eax, eax
je 0x17f66e0
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 0x17f66f6
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 0x17f671c
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 0x17f6732
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.018013cb
mov esp, ebp
pop ebp
ret