Function at 0x467080
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58c788
mov eax, dword fs:[0]
push eax
sub esp, 0x204
mov eax, dword [0x61b000]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1e0], ecx
mov dword [ebp - 0x18], 0
call fcn.00414230
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x18]
push ecx
push 0xf01ff
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x4670f0
jmp 0x467356
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
jne 0x467103
jmp 0x467356
mov dword [ebp - 0x144], 0x104
lea ecx, [ebp - 0x144]
push ecx
lea edx, [ebp - 0x124]
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x46712a
jmp 0x467356
push 0x5ea4c8
lea ecx, [ebp - 0x198]
call fcn.00406050
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 4], 0
push str.Win32_Account_WHERE_Name
lea ecx, [ebp - 0x1b4]
call fcn.00406050
mov dword [ebp - 0x1ec], eax
mov ecx, dword [ebp - 0x1ec]
mov dword [ebp - 0x1f0], ecx
mov byte [ebp - 4], 1
lea edx, [ebp - 0x124]
push edx
mov eax, dword [ebp - 0x1f0]
push eax
lea ecx, [ebp - 0x1d0]
push ecx
call fcn.00407cc0
add esp, 0xc
mov dword [ebp - 0x1f4], eax
mov edx, dword [ebp - 0x1f4]
mov dword [ebp - 0x1f8], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1e8]
push eax
mov ecx, dword [ebp - 0x1f8]
push ecx
lea edx, [ebp - 0x17c]
push edx
call fcn.0041ea00
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1d0]
call fcn.004060d0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1b4]
call fcn.004060d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x198]
call fcn.004060d0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1d4], esp
push 0x5ea4e8
call fcn.00406050
mov dword [ebp - 0x1fc], eax
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x200], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x17c]
call fcn.00406190
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1d8], esp
push eax
call fcn.00406050
mov dword [ebp - 0x204], eax
mov ecx, dword [ebp - 0x204]
mov dword [ebp - 0x208], ecx
mov byte [ebp - 4], 8
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1dc], esp
push 0x5ea4ec
call fcn.00406050
mov dword [ebp - 0x20c], eax
lea edx, [ebp - 0x140]
push edx
mov byte [ebp - 4], 6
call fcn.00416900
add esp, 0x58
mov dword [ebp - 0x210], eax
mov byte [ebp - 4], 9
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
test eax, eax
jne 0x4672bb
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x140]
call fcn.004060d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x17c]
call fcn.004060d0
jmp 0x467356
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x160]
push ecx
call fcn.00407cc0
add esp, 0xc
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x160]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1e0]
call fcn.00467380
cmp dword [ebp - 0x18], 0
je 0x467307
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x14], 0
je 0x46731e
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x160]
call fcn.004060d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x140]
call fcn.004060d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x17c]
call fcn.004060d0
xor eax, eax
jne 0x4670b1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00560c61
mov esp, ebp
pop ebp
ret 4