Function at 0x10094a9b
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1045f77b
mov eax, dword fs:[0]
push eax
mov eax, 0x100fc
call fcn.10440b90
mov eax, dword [0x1072a790]
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 edi, ecx
mov dword [ebp - 0x100f0], edi
lea eax, [ebp - 0x10108]
mov dword [ebp - 0x10108], 0x7fff
push eax
lea eax, [ebp - 0x10010]
xor bh, bh
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
cmp eax, 1
jne 0x10094dca
lea eax, [ebp - 0x10010]
push eax
lea ecx, [ebp - 0x10070]
call fcn.10079d71
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10100], eax
mov dword [ebp - 0x100fc], eax
mov dword [ebp - 0x100f8], eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x10058]
push eax
call fcn.10094df1
mov byte [ebp - 4], 2
mov edx, eax
push ecx
lea ecx, [ebp - 0x10100]
push ecx
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.100989b8
pop ecx
pop ecx
mov bl, al
mov byte [ebp - 4], 1
push 0
push 1
lea ecx, [ebp - 0x10058]
call fcn.1007a42c
test bl, bl
je 0x10094da4
mov eax, dword [ebp - 0x100fc]
mov esi, dword [ebp - 0x10100]
mov dword [ebp - 0x10104], eax
cmp esi, eax
je 0x10094da4
push esi
lea ecx, [ebp - 0x10040]
mov byte [ebp - 0x100e9], 0
call fcn.1008097d
mov byte [ebp - 4], 3
xor eax, eax
mov dword [ebp - 0x10018], eax
mov dword [ebp - 0x10014], eax
mov dword [ebp - 0x10014], 7
mov dword [ebp - 0x10018], eax
mov word [ebp - 0x10028], ax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x100d0]
push eax
call fcn.10094fc7
mov edi, eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x100e8]
push eax
call fcn.10094edc
mov byte [ebp - 4], 6
mov edx, eax
push 0x105410bc
lea ecx, [ebp - 0x100a0]
call fcn.1007ec19
pop ecx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x10040]
push ecx
mov edx, eax
lea ecx, [ebp - 0x10088]
call fcn.1007ec5f
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x10028]
push ecx
push edi
mov edx, eax
call fcn.10098aa4
add esp, 0xc
mov bl, al
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x10088]
push 0
push 1
call fcn.1007a42c
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x100a0]
push 0
push 1
call fcn.1007a42c
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x100e8]
push 0
push 1
call fcn.1007a42c
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x100d0]
push 0
push 1
call fcn.1007a42c
test bl, bl
je 0x10094d5a
lea eax, [ebp - 0x10028]
push eax
lea ecx, [ebp - 0x10058]
call fcn.1008097d
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x100b8]
push eax
lea ecx, [ebp - 0x10058]
call fcn.10435d50
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x10028]
cmp ecx, eax
je 0x10094cc1
push 0xffffffffffffffff
push 0
push eax
call fcn.1007a2b8
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x100b8]
push 0
push 1
call fcn.1007a42c
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10058]
push 0
push 1
call fcn.1007a42c
push 1
call fcn.1041f669
pop ecx
mov dword [ebp - 0x100f4], eax
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x100f4]
push eax
lea edx, [ebp - 0x10070]
lea ecx, [ebp - 0x10028]
call fcn.1008021b
pop ecx
mov bl, al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x100f4]
call fcn.10076880
test bl, bl
je 0x10094d5a
mov edi, dword [ebp - 0x100f0]
lea eax, [ebp - 0x10040]
cmp edi, eax
je 0x10094d43
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.1007a2b8
mov bh, 1
mov byte [ebp - 4], 3
push 0
push 1
lea ecx, [ebp - 0x10028]
call fcn.1007a42c
jmp 0x10094d7a
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10028]
push 0
push 1
call fcn.1007a42c
mov edi, dword [ebp - 0x100f0]
mov byte [ebp - 0x100e9], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10040]
push 0
push 1
call fcn.1007a42c
cmp byte [ebp - 0x100e9], 0
je 0x10094da4
mov eax, dword [ebp - 0x10104]
add esi, 0x18
jmp 0x10094b80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10100]
call fcn.1007ea88
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10070]
push 0
push 1
call fcn.1007a42c
test bh, bh
jne 0x10094dd3
mov ecx, edi
call fcn.10095073
mov bh, al
mov al, bh
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.10436e26
mov esp, ebp
pop ebp
ret