Function at 0x101aecc
Capabilities:
Get session user name

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
xor ecx, ecx
xor ebx, ebx
inc ecx
mov dword [ebp - 0x41c], ebx
mov dword [ebp - 0x418], ecx
cmp eax, ebx
je 0x101af1e
lea edx, [ebp - 0x418]
push edx
push 0x1389
push ebx
push ecx
push eax
call dword [sym.imp.UxTheme.dll_GetThemeBool]
cmp dword [ebp - 0x418], ebx
je 0x101b0d9
push edi
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x408]
push eax
push 2
mov dword [ebp - 0x424], 0x201
call sub.Secur32.dll_GetUserNameExW
test al, al
je 0x101b076
push ebx
push ebx
lea eax, [ebp - 0x420]
push eax
push ebx
lea eax, [ebp - 0x408]
push eax
call fcn.0101b58b
test eax, eax
jl 0x101b076
lea ecx, [ebp - 0x414]
call fcn.0101beb3
cmp dword [ebp - 0x414], ebx
je 0x101b06b
push ebx
push dword [ebp - 0x420]
call fcn.0101ad75
mov edi, eax
mov dword [ebp - 0x428], edi
cmp edi, ebx
je 0x101b05f
push 0x30
pop eax
mov ecx, edi
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
call fcn.0101bc95
mov ecx, edi
mov ebx, eax
call fcn.0101b0fd
mov ecx, edi
cmp ebx, eax
ja 0x1061221
call fcn.0101b0fd
mov ecx, edi
mov ebx, eax
call fcn.0101bc95
cmp ebx, eax
ja 0x1061240
push 8
pop eax
push 0x40
lea edi, [esi + 0x24]
mov dword [edi], eax
lea ebx, [esi + 0x28]
mov dword [ebx], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x2c], eax
pop eax
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x40c], eax
lea eax, [ebp - 0x410]
push eax
call fcn.0101494a
lea eax, [esi + 0x3c]
push eax
lea eax, [esi + 0x40]
push eax
call fcn.01014903
lea eax, [esi + 0x2c]
push eax
push edi
call fcn.01014903
lea eax, [esi + 0x30]
push eax
push ebx
call fcn.01014903
cmp dword [ebp + 8], 0
mov eax, dword [ebp - 0x40c]
mov dword [esi + 0x34], eax
mov eax, dword [ebp - 0x410]
mov dword [esi + 0x38], eax
je 0x101b044
mov ecx, esi
call fcn.0101a3e3
mov dword [ebp - 0x41c], eax
push dword [ebp + 8]
mov edi, dword [ebp - 0x428]
push edi
mov ecx, esi
call fcn.0101bdc9
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
xor ebx, ebx
push dword [ebp - 0x420]
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [ebp - 0x414]
call fcn.0101be8d
cmp dword [esi + 0x44], ebx
jne 0x101b0ab
lea eax, [ebp - 0x410]
push eax
push 1
push 0x400
push 0x4000000
push 0x8002
push dword [esi + 0x18]
mov dword [ebp - 0x40c], ebx
mov dword [ebp - 0x410], ebx
call dword [sym.imp.SHELL32.dll_SHChangeNotifyRegister]
mov dword [esi + 0x44], eax
lea eax, [ebp - 0x42c]
push eax
lea edi, [esi + 0x68]
push edi
mov dword [ebp - 0x42c], 0x101
call sub.SHELL32.dll_Ordinal_241
push edi
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
pop edi
cmp dword [ebp + 8], ebx
je 0x1061261
push 1
mov ecx, esi
call fcn.010147b4
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x41c]
pop esi
xor ecx, ebp
pop ebx
call fcn.01001feb
leave
ret 4
call fcn.0101bc95
push eax
mov ecx, edi
call fcn.0101b0fd
push eax
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esi + 0x3c], eax
jmp 0x101afd0
mov ecx, edi
call fcn.0101b0fd
push eax
mov ecx, edi
call fcn.0101bc95
push eax
push dword [esi + 0x3c]
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esi + 0x40], eax
jmp 0x101afd0
push ebx
push ebx
push ebx
push 0x149
push 0x10141a8
push 0x1036970
push dword [esi + 4]
call dword [sym.imp.SHLWAPI.dll_Ordinal_484]
jmp 0x101b0d9