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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d028
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
mov eax, dword [0x4ab028]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, edx
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x2c0], edi
call dword [0x479d7c]
xor esi, esi
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 4], esi
call dword [0x479d7c]
mov byte [ebp - 4], 1
xor eax, eax
mov dword [ebp - 0x2b8], esi
mov dword [ebp - 0x2a8], esi
mov dword [ebp - 0x2ac], esi
mov dword [ebp - 0x29c], esi
mov dword [ebp - 0x2b4], esi
cmp ax, word [ebx + 4]
je 0x46872b
cmp edi, esi
je 0x46872b
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x46872b
mov ecx, dword [ebx + 0x28]
cmp dword [ecx - 0xc], 1
jl 0x46872b
lea edx, [ebp - 0x2b8]
push edx
push 0x47a0d0
push 1
push esi
push 0x47a0f0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x4686c7
mov eax, dword [ebp - 0x2b8]
mov ecx, dword [eax]
lea edx, [ebp - 0x2a8]
push edx
push 0x47a0c0
push 0x47a0e0
push edi
push eax
mov eax, dword [ecx + 0x20]
call eax
mov esi, eax
test esi, esi
js 0x4686c7
mov eax, dword [ebp - 0x2a8]
mov ecx, dword [eax]
lea edx, [ebp - 0x29c]
push edx
push 0x47a0c0
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
test esi, esi
js 0x4686c7
mov eax, dword [ebp - 0x2a8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebp - 0x29c]
mov dword [ebp - 0x2a8], 0
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x80]
push ecx
call eax
mov esi, eax
test esi, esi
js 0x4686c7
mov eax, dword [ebx + 0x2c]
cmp dword [eax - 0xc], 0
jle 0x468384
mov ecx, dword [ebp - 0x29c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x88]
push ecx
call eax
mov esi, eax
test esi, esi
js 0x4686c7
mov eax, dword [ebx + 0x30]
cmp dword [eax - 0xc], 0
jle 0x4683a9
mov ecx, dword [ebp - 0x29c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x90]
push ecx
call eax
mov esi, eax
test esi, esi
js 0x4686c7
mov eax, dword [ebx + 0x34]
cmp dword [eax - 0xc], 0
jle 0x4683cb
mov ecx, dword [ebp - 0x29c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x48]
push ecx
call eax
mov esi, eax
test esi, esi
js 0x4686c7
mov esi, 0x20c0
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
js 0x4683df
mov esi, 0x20c1
mov eax, dword [ebp - 0x29c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x70]
push esi
push eax
call edx
xor eax, eax
push 0x256
push eax
lea ecx, [ebp - 0x266]
push ecx
mov word [ebp - 0x268], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [ebp - 0x2bc]
push edx
lea eax, [ebp - 0x268]
push eax
mov dword [ebp - 0x2bc], 0x12c
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea ecx, [ebp - 0x268]
push ecx
lea ecx, [ebp - 0x2a4]
call dword [0x479d34]
push eax
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 2
call dword [0x479d44]
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea edx, [ebp - 0x2bc]
push edx
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea ecx, [ebp - 0x268]
push ecx
lea ecx, [ebp - 0x2a4]
call dword [0x479d34]
push eax
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 3
call dword [0x479d44]
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea edx, [ebp - 0x2b0]
push edx
lea eax, [ebp - 0x2c4]
push eax
mov edi, 0x47a250
call fcn.00402840
lea ecx, [ebp - 0x2a0]
push ecx
lea edx, [ebp - 0x2a4]
push edx
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00402620
add esp, 0x10
push eax
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 5
call dword [0x479d44]
lea ecx, [ebp - 0x2a4]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov eax, dword [ebp - 0x29c]
mov edx, dword [ebp - 0x2a0]
mov ecx, dword [eax]
push 0
push edx
push eax
mov eax, dword [ecx + 0x78]
call eax
mov esi, eax
test esi, esi
js 0x4686c7
mov eax, dword [ebp - 0x29c]
mov ecx, dword [eax]
lea edx, [ebp - 0x2b4]
push edx
lea edx, [ebp - 0x2c8]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov esi, eax
test esi, esi
js 0x4686c7
push 0x30
lea ecx, [ebp - 0x298]
push 0
push ecx
call sub.MSVCR100.dll_memset
movzx eax, word [ebx + 4]
movzx ecx, word [ebx + 6]
mov word [ebp - 0x294], ax
movzx eax, word [ebx + 0xc]
mov edx, 0x30
mov word [ebp - 0x298], dx
mov dx, word [ebx + 0xa]
mov word [ebp - 0x288], ax
movzx eax, word [ebx + 0x14]
mov word [ebp - 0x292], cx
movzx ecx, word [ebx + 0xe]
mov word [ebp - 0x290], dx
xor edx, edx
add esp, 0xc
mov word [ebp - 0x286], cx
cmp dx, ax
je 0x4685d6
mov cx, word [ebx + 0x1a]
mov word [ebp - 0x28e], ax
mov ax, word [ebx + 0x16]
mov dword [ebp - 0x27c], 1
mov word [ebp - 0x28c], ax
mov word [ebp - 0x28a], cx
mov eax, dword [ebx + 0x24]
dec eax
cmp eax, 3
ja case.default.0x4685df
jmp dword [eax*4 + 0x468768]
mov dword [ebp - 0x278], edx
jmp case.default.0x4685df
mov dx, word [ebp + 0xc]
mov dword [ebp - 0x278], 1
mov word [ebp - 0x274], dx
jmp case.default.0x4685df
mov ax, word [ebp + 8]
mov cx, word [ebp + 0xc]
mov dword [ebp - 0x278], 2
mov word [ebp - 0x272], ax
mov word [ebp - 0x274], cx
jmp case.default.0x4685df
mov edx, dword [ebp + 0xc]
mov eax, 0xfff
mov dword [ebp - 0x278], 3
mov dword [ebp - 0x274], edx
mov word [ebp - 0x270], ax
mov eax, dword [ebp - 0x2b4]
mov ecx, dword [eax]
lea edx, [ebp - 0x298]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov esi, eax
test esi, esi
js 0x4686c7
mov eax, dword [ebp - 0x29c]
mov ecx, dword [eax]
lea edx, [ebp - 0x2ac]
push edx
push 0x47a0ac
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
test esi, esi
js 0x4686c7
mov eax, dword [ebp - 0x2ac]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push 0
push 0
push eax
call edx
mov esi, eax
test esi, esi
jns 0x4686c7
and eax, 0xffff
cmp eax, 0x50
jne 0x4686c7
mov eax, dword [ebp - 0x2c0]
call fcn.00468780
mov esi, eax
test esi, esi
js 0x4686c7
mov eax, dword [ebp - 0x2ac]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push 0
push 0
push eax
call edx
mov esi, eax
mov eax, dword [ebp - 0x2ac]
test eax, eax
je 0x4686d9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x2b4]
test eax, eax
je 0x4686eb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x29c]
test eax, eax
je 0x4686fd
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x2b8]
test eax, eax
je 0x46870f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebp - 0x2a0]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [ebp - 0x2b0]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov eax, esi
jmp 0x468748
lea ecx, [ebp - 0x2a0]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [ebp - 0x2b0]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046bf30
mov esp, ebp
pop ebp
ret 8