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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x59
push 0
push 0
dec ecx
jne 0xdd80c
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 0x1a8]
mov edx, dword [0x182d8]
call fcn.00014888
xor eax, eax
push ebp
push 0xdea54
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xdea6c
call fcn.000dd194
xor eax, eax
push ebp
push 0xde9ef
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x400
call fcn.00079390
mov dword [ebp - 0x48], eax
mov eax, 0x400
call fcn.00079390
mov dword [ebp - 0x24], eax
mov eax, 0x5000
call fcn.000793dc
mov dword [ebp - 0x14], eax
mov dl, 1
mov eax, dword [0x79fdc]
call fcn.0007a0bc
mov dword [ebp - 0x3c], eax
xor eax, eax
push ebp
push 0xde9de
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0x3c]
call fcn.0007a1a4
mov eax, dword [0xeabe0]
mov eax, dword [eax]
add eax, 0xf003f
mov edx, dword [ebp - 0x3c]
mov dword [edx + 4], eax
xor ecx, ecx
mov edx, 0xdea98
mov eax, dword [ebp - 0x3c]
call fcn.0007a274
test al, al
je 0xde9a8
mov eax, dword [ebp - 0x48]
call fcn.000788b0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x48]
call fcn.000788ec
push eax
call sub.advapi32.dll_GetUserNameA
lea ecx, [ebp - 0x34]
mov edx, 0xdeae4
mov eax, dword [ebp - 0x3c]
call fcn.0007a82c
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x34]
call fcn.00013cfc
mov edx, dword [ebp - 0x34]
mov eax, 0xdeafc
call fcn.000141d0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0xdd926
lea eax, [ebp - 8]
mov ecx, dword [ebp - 0x18]
mov edx, 1
call fcn.0001412c
mov edx, dword [ebp - 8]
mov eax, 0xdeafc
call fcn.000141d0
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x18], 0
jle 0xdd942
cmp dword [ebp - 0x40], 0
jg 0xdd959
mov eax, 0xdeb08
call fcn.000dd1f8
mov eax, dword [ebp - 0x34]
call fcn.000dd1f8
jmp 0xde9a8
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x40]
mov edx, 1
mov eax, dword [ebp - 0x34]
call fcn.000140ec
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0xdda28
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 0xdda06
lea eax, [ebp - 0x1c4]
push eax
push 0xdeb38
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0xd], al
mov dword [ebp - 0x1c8], 1
mov dword [ebp - 0x1bc], 2
mov dword [ebp - 0x44], 0x10
xor eax, eax
mov dword [ebp - 0x30], eax
cmp byte [ebp - 0xd], 0
je 0xdda06
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x1b8]
push eax
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x1c8]
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 0xdda2f
cmp dword [ebp - 0x1c], 0
je 0xdda22
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 - 0x3c]
call fcn.0007a158
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xde9e5
mov eax, dword [ebp - 0x3c]
call fcn.00012efc
lea eax, [ebp - 0x14]
call fcn.00079400
lea eax, [ebp - 0x24]
call fcn.000793b4
lea eax, [ebp - 0x48]
call fcn.000793b4
ret