Function at 0xebe0c
Capabilities:
Get session user name
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x71
push 0
push 0
dec ecx
jne 0xebe14
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 0x1b4]
mov edx, dword [0x1836c]
call fcn.0001489c
xor eax, eax
push ebp
push 0xed4d0
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1cc]
mov eax, 0xed4e0
call fcn.0007a2b0
mov eax, dword [ebp - 0x1cc]
call fcn.000eb6d8
xor eax, eax
push ebp
push 0xed421
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x400
call fcn.0007b534
mov dword [ebp - 0x48], eax
mov eax, 0x400
call fcn.0007b534
mov dword [ebp - 8], eax
mov eax, 0x5000
call fcn.0007b580
mov dword [ebp - 4], eax
mov dl, 1
mov eax, dword [0x83a8c]
call fcn.00083b6c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0xed410
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.00083c54
mov eax, dword [0xfb1e0]
mov eax, dword [eax]
add eax, 0xf003f
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x10], eax
lea edx, [ebp - 0x1d0]
mov eax, 0xed504
call fcn.0007a2b0
mov edx, dword [ebp - 0x1d0]
xor ecx, ecx
mov eax, dword [ebp - 0xc]
call fcn.00083d24
test al, al
je 0xed3da
mov eax, dword [ebp - 0x48]
call fcn.0007aa4c
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x48]
call fcn.0007aa88
push eax
call sub.advapi32.dll_GetUserNameA
lea edx, [ebp - 0x1d4]
mov eax, 0xed548
call fcn.0007a2b0
mov edx, dword [ebp - 0x1d4]
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 0xc]
call fcn.000842e0
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 0x40]
call fcn.00013d10
lea edx, [ebp - 0x1d8]
mov eax, 0xed558
call fcn.0007a2b0
mov eax, dword [ebp - 0x1d8]
mov edx, dword [ebp - 0x40]
call fcn.000141e4
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jle 0xebf72
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp - 0x34]
mov edx, 1
call fcn.00014140
lea edx, [ebp - 0x1dc]
mov eax, 0xed558
call fcn.0007a2b0
mov eax, dword [ebp - 0x1dc]
mov edx, dword [ebp - 0x3c]
call fcn.000141e4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x34], 0
jle 0xebf9f
cmp dword [ebp - 0x14], 0
jg 0xebfc7
lea edx, [ebp - 0x1e0]
mov eax, 0xed55c
call fcn.0007a2b0
mov eax, dword [ebp - 0x1e0]
call fcn.000eb73c
mov eax, dword [ebp - 0x40]
call fcn.000eb73c
jmp 0xed3da
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x14]
mov edx, 1
mov eax, dword [ebp - 0x40]
call fcn.00014100
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0xec08a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
push eax
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0xec068
lea eax, [ebp - 0x58]
push eax
push 0xed58c
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0xd], al
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x50], 2
mov dword [ebp - 0x30], 0x10
xor eax, eax
mov dword [ebp - 0x38], eax
cmp byte [ebp - 0xd], 0
je 0xec068
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x1c8]
push eax
mov eax, dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xec091
cmp dword [ebp - 0x1c], 0
je 0xec084
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
mov dword [ebp - 0x1c], eax
ret
mov eax, dword [ebp - 0xc]
call fcn.00083c08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xed417
mov eax, dword [ebp - 0xc]
call fcn.00012f10
lea eax, [ebp - 4]
call fcn.0007b5a4
lea eax, [ebp - 8]
call fcn.0007b558
lea eax, [ebp - 0x48]
call fcn.0007b558
ret