Function at 0x1000ad90
Capabilities:
Contain obfuscated stackstrings
Get session information
Get session user name
Start service
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x634
mov eax, dword [0x1002d00c]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x10029c60]
lea eax, [ebp - 0x14]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push esi
push edi
push eax
mov dword [ebp - 0x14], 0x4e52454b
mov dword [ebp - 0x10], 0x32334c45
mov dword [ebp - 0xc], 0x6c6c642e
mov byte [ebp - 8], 0
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x4c], 0x64496e6f
mov byte [ebp - 0x48], 0
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x1000ae03
lea eax, [ebp - 0x14]
push eax
call esi
test eax, eax
jne 0x1000ae03
mov dword [ebp - 0x62c], eax
jmp 0x1000ae10
lea ecx, [ebp - 0x5c]
push ecx
push eax
call edi
mov dword [ebp - 0x62c], eax
movaps xmm0, xmmword [0x10029ca0]
lea eax, [ebp - 0x14]
push eax
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0x53656c6f
mov dword [ebp - 0x30], 0x69737365
mov dword [ebp - 0x2c], 0x64496e6f
mov byte [ebp - 0x28], 0
call ebx
test eax, eax
jne 0x1000ae50
lea eax, [ebp - 0x14]
push eax
call esi
test eax, eax
jne 0x1000ae50
mov dword [ebp - 0x630], eax
jmp 0x1000ae5d
lea ecx, [ebp - 0x44]
push ecx
push eax
call edi
mov dword [ebp - 0x630], eax
movaps xmm0, xmmword [0x10029cc0]
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], 0x41564441
mov dword [ebp - 0x20], 0x32334950
mov dword [ebp - 0x1c], 0x6c6c642e
mov byte [ebp - 0x18], 0
movups xmmword [ebp - 0x70], xmm0
mov byte [ebp - 0x60], 0
call ebx
test eax, eax
jne 0x1000ae99
lea eax, [ebp - 0x24]
push eax
call esi
test eax, eax
je 0x1000aea0
lea ecx, [ebp - 0x70]
push ecx
push eax
call edi
cmp byte [0x1002d8bc], 2
je 0x1000aebc
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000c111
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x620]
mov dword [ebp - 0x620], 0x9c
push eax
call dword [0x1002e1b4]
push str.ntdll.dll
call esi
mov esi, eax
test esi, esi
je 0x1000af17
push str.RtlGetNtVersionNumbers
push esi
call edi
test eax, eax
je 0x1000af10
lea ecx, [ebp - 0x614]
push ecx
lea ecx, [ebp - 0x618]
push ecx
lea ecx, [ebp - 0x61c]
push ecx
call eax
movzx eax, word [ebp - 0x614]
mov dword [ebp - 0x614], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x104
lea eax, [ebp - 0x178]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x178]
push eax
lea eax, [ebp - 0x578]
push str._s__acsi
push eax
call fcn.1000b420
add esp, 0xc
mov dword [ebp - 0x57c], 0
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
nop word [eax + eax]
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x57c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [ebp - 0x62c]
test eax, eax
je 0x1000af60
call dword [ebp - 0x630]
cmp eax, 0xffffffff
je 0x1000af60
cmp dword [ebp - 0x57c], eax
je 0x1000af60
lea ecx, [ebp - 0x580]
mov dword [ebp - 0x628], str._rsvc
push ecx
lea ecx, [ebp - 0x624]
mov dword [ebp - 0x624], 0
push ecx
push 5
push eax
push 0
mov dword [ebp - 0x580], 0
call dword [sym.imp.WTSAPI32.dll_WTSQuerySessionInformationA]
test eax, eax
je 0x1000aff9
mov ecx, dword [ebp - 0x624]
mov esi, ecx
lea edx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x1000afe0
push ecx
sub esi, edx
call dword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
xor ebx, ebx
test esi, esi
sete bl
jmp 0x1000affe
mov ebx, 1
cmp dword [0x10030018], 0
je 0x1000b00f
test ebx, ebx
jne 0x1000af60
push dword [0x1002f3b8]
call edi
cmp dword [0x10030018], 0
jne 0x1000b0af
cmp dword [ebp - 0x61c], 6
jne 0x1000b049
cmp dword [ebp - 0x618], 2
jb 0x1000b04b
lea edx, [ebp - 0x578]
call fcn.1000abe0
push eax
call edi
jmp 0x1000b0cc
ja 0x1000b036
push 0x20000
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
test esi, esi
je 0x1000af60
push 0x10
push str.Pqrstu_Wxyabcde
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
test edi, edi
jne 0x1000b084
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1000af50
lea eax, [ebp - 0x628]
push eax
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
test eax, eax
jne 0x1000b0a8
call ebx
push esi
call ebx
jmp 0x1000af50
call ebx
push esi
call ebx
jmp 0x1000b0cc
lea edx, [ebp - 0x578]
call fcn.1000abe0
push eax
call edi
push 0
mov ecx, 1
call fcn.10009580
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]