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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x428a68
mov eax, dword fs:[0]
push eax
sub esp, 0x4b0
mov eax, dword [0x430618]
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 - 0x4b0], eax
mov esi, ecx
mov ebx, edx
mov dword [ebp - 0x49c], edi
mov dword [ebp - 0x494], edi
push 0x42c9f0
push str.Kernel32.dll
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x48c], eax
cmp eax, edi
je 0x4067c4
lea ecx, [ebp - 0x494]
push ecx
push 0x42c0fc
push 1
push edi
push 0x42c11c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x4067c4
mov eax, dword [ebp - 0x494]
cmp eax, edi
je 0x4067ca
lea edx, [ebp - 0x498]
push edx
mov ecx, esi
call fcn.004068c0
mov byte [ebp - 4], 2
cmp dword [ebp + 0xc], edi
jne 0x4062f3
xor eax, eax
push 0x400
push eax
lea ecx, [ebp - 0x43a]
push ecx
mov word [ebp - 0x43c], ax
call fcn.004178a0
add esp, 0xc
lea edx, [ebp - 0x4a0]
push edx
lea eax, [ebp - 0x43c]
push eax
mov dword [ebp - 0x4a0], 0x201
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea edi, [ebp - 0x498]
call fcn.004069b0
lea edx, [ebp - 0x43c]
mov eax, edi
call fcn.00406970
mov eax, dword [ebp - 0x494]
mov edx, dword [ebp - 0x498]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
xor edi, edi
mov dword [ebp - 0x490], edi
lea edx, [ebp - 0x490]
push edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x494]
mov edx, dword [ebp - 0x498]
mov ecx, dword [eax]
push 0x42ca28
push 0x42c10c
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
cmp eax, edi
mov eax, dword [ebp - 0x490]
jne 0x40678e
cmp eax, edi
je 0x40678e
lea edx, [ebp - 0x484]
push edx
mov dword [ebp - 0x484], edi
mov ecx, dword [eax]
push 0x42ca28
push eax
mov eax, dword [ecx]
call eax
cmp dword [ebp - 0x484], edi
je 0x406770
lea esi, [ebp - 0x480]
mov edi, 0x200
call fcn.004068a0
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.004178a0
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 0x406432
lea ecx, [ebp - 0x4ac]
push ecx
lea edx, [ebp - 0x43c]
push edx
mov dword [ebp - 0x4ac], 0x201
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x406765
lea eax, [ebp - 0x4b4]
push eax
lea ecx, [ebp - 0x38]
push ecx
mov dword [ebp - 0x4b4], 0x11
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x406765
lea edx, [ebp - 0x43c]
push edx
lea eax, [ebp - 0x38]
push eax
push 0x42ca1c
mov edi, esi
call fcn.00406e10
add esp, 0xc
mov edi, 0x2200
mov eax, dword [ebp - 0x484]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x70]
push edi
push eax
call edx
xor esi, esi
cmp eax, esi
jne 0x406765
mov eax, dword [ebp - 0x484]
mov edx, dword [ebp - 0x480]
mov ecx, dword [eax]
push esi
push edx
push eax
mov eax, dword [ecx + 0x78]
call eax
cmp eax, esi
jne 0x406765
cmp ebx, esi
je 0x40649a
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x406472
sub eax, edx
sar eax, 1
je 0x40649a
mov eax, dword [ebp - 0x484]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x48]
push ebx
push eax
call edx
cmp eax, esi
jne 0x406765
mov dword [ebp - 0x488], esi
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x484]
lea edx, [ebp - 0x488]
push edx
lea edx, [ebp - 0x4b8]
mov dword [ebp - 0x4b8], esi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, esi
mov eax, dword [ebp - 0x488]
jne 0x406755
cmp eax, esi
je 0x406755
mov eax, dword [ebp - 0x484]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xa8]
push 0xffffffffffffffff
push eax
call edx
cmp eax, esi
je 0x406502
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x488]
jmp 0x406759
push 0x2e
lea eax, [ebp - 0x47a]
push esi
push eax
call fcn.004178a0
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 [ebp - 0x48c]
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]
xor ebx, ebx
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 - 0x48c]
adc dword [ebp - 0x4a4], edx
call fcn.004068a0
push 0x6c
mov byte [ebp - 4], 7
call fcn.00406eb0
add esp, 4
cmp eax, ebx
je 0x40661f
push eax
lea eax, [ebx + 0x6c]
mov edi, esi
call fcn.00406a10
cmp eax, ebx
je 0x40661f
mov eax, dword [ebp - 0x48c]
cmp dword [eax - 0xc], ebx
je 0x40661f
push eax
call fcn.00415579
cdq
add esp, 4
cmp edx, ebx
jl 0x40661f
jg 0x406606
cmp eax, ebx
jbe 0x40661f
push ebx
push 0x23c34600
push edx
push eax
call fcn.00424bc0
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 - 0x488]
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 0x4066ae
lea eax, [ebp - 0x48c]
call fcn.00406ab0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x488]
cmp eax, ebx
jmp 0x40675b
cmp dword [ebp + 0x10], ebx
je 0x4066cb
call fcn.00405ee0
test eax, eax
je 0x4066cb
mov eax, dword [ebp - 0x484]
push eax
call fcn.004060b0
add esp, 4
mov eax, dword [ebp - 0x484]
mov edx, dword [ebp - 0x4b0]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x80]
call eax
cmp eax, ebx
jne 0x406692
mov ecx, dword [ebp - 0x490]
xor eax, eax
mov dword [ebp - 0x4a0], eax
cmp ecx, ebx
je 0x406712
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [ebp - 0x4a0]
push edx
push 0x42ca38
push ecx
call eax
mov eax, dword [ebp - 0x4a0]
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x406692
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 - 0x4a0]
mov dword [ebp - 0x49c], ecx
cmp eax, ebx
je 0x406692
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x406692
mov byte [ebp - 4], 5
cmp eax, esi
je 0x406765
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [ebp - 0x480]
call fcn.00406ab0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x484]
xor edi, edi
cmp eax, edi
je 0x406788
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x490]
mov byte [ebp - 4], 2
cmp eax, edi
je 0x40679e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x498]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4067c4
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
cmp eax, edi
je 0x4067da
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.00415554
mov esp, ebp
pop ebp
ret