Function at 0x101d88e
Capabilities:
Get session user name

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x10b0090]
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 0x101d8e0
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 0x101da9b
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 0x101da38
push ebx
push ebx
lea eax, [ebp - 0x420]
push eax
push ebx
lea eax, [ebp - 0x408]
push eax
call fcn.0101df4d
test eax, eax
jl 0x101da38
lea ecx, [ebp - 0x414]
call fcn.0101e7b7
cmp dword [ebp - 0x414], ebx
je 0x101da2d
push ebx
push dword [ebp - 0x420]
call fcn.0101d69a
mov edi, eax
mov dword [ebp - 0x428], edi
cmp edi, ebx
je 0x101da21
push 0x30
pop eax
mov ecx, edi
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
call fcn.0101e599
mov ecx, edi
mov ebx, eax
call fcn.0101dabf
mov ecx, edi
cmp ebx, eax
ja 0x105e379
call fcn.0101dabf
mov ecx, edi
mov ebx, eax
call fcn.0101e599
cmp ebx, eax
ja 0x105e398
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.01016ccc
lea eax, [esi + 0x3c]
push eax
lea eax, [esi + 0x40]
push eax
call fcn.01016c85
lea eax, [esi + 0x2c]
push eax
push edi
call fcn.01016c85
lea eax, [esi + 0x30]
push eax
push ebx
call fcn.01016c85
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 0x101da06
mov ecx, esi
call fcn.0101ca67
mov dword [ebp - 0x41c], eax
push dword [ebp + 8]
mov edi, dword [ebp - 0x428]
push edi
mov ecx, esi
call fcn.0101e6cd
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.0101e791
cmp dword [esi + 0x44], ebx
jne 0x101da6d
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 0x105e3b9
push 1
mov ecx, esi
call fcn.01016b76
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x41c]
pop esi
xor ecx, ebp
pop ebx
call fcn.0100204d
leave
ret 4
call fcn.0101e599
push eax
mov ecx, edi
call fcn.0101dabf
push eax
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esi + 0x3c], eax
jmp 0x101d992
mov ecx, edi
call fcn.0101dabf
push eax
mov ecx, edi
call fcn.0101e599
push eax
push dword [esi + 0x3c]
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esi + 0x40], eax
jmp 0x101d992
push ebx
push ebx
push ebx
push 0x149
push 0x10164a4
push 0x1034128
push dword [esi + 4]
call dword [sym.imp.SHLWAPI.dll_Ordinal_484]
jmp 0x101da9b