Function at 0x100b47f
Capabilities:
Get session user name

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x100f008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x414]
push eax
xor ebx, ebx
mov esi, 0x104
push 2
mov dword [ebp - 0x428], ecx
xor edi, edi
mov dword [ebp - 0x41c], ebx
mov dword [ebp - 0x418], ebx
mov dword [ebp - 0x42c], esi
call sub.Secur32.dll_GetUserNameExW
test al, al
jbe 0x100b6c4
lea eax, [ebp - 0x414]
push eax
push 0x1001a94
push 0x1001b3c
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.01008548
mov esi, dword [sym.imp.SHLWAPI.dll_StrChrW]
add esp, 0x14
lea eax, [ebp - 0x20c]
jmp 0x100b50d
push 0x5f
pop ecx
mov word [eax], cx
add eax, 2
push 0x5c
push eax
call esi
cmp eax, ebx
jne 0x100b504
mov ecx, dword [ebp - 0x428]
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x41c]
push eax
call fcn.0100a9e4
mov edi, eax
cmp edi, ebx
jl 0x100b6a8
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x424], ebx
call esi
mov dword [ebp - 0x420], eax
cmp eax, ebx
je 0x100b67d
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax]
lea edx, [ebp - 0x424]
push edx
push dword [ebp - 0x420]
push eax
call dword [ecx + 0x34]
mov edi, eax
test edi, edi
jl 0x100b593
mov eax, dword [ebp - 0x424]
mov ecx, dword [eax]
xor ebx, ebx
push eax
inc ebx
call dword [ecx + 8]
and dword [ebp - 0x424], 0
jmp 0x100b59d
cmp edi, 0x80070002
jne 0x100b59d
xor edi, edi
cmp dword [ebp + 8], 0
je 0x100b63b
test ebx, ebx
jne 0x100b6e9
lea eax, [ebp - 0x414]
push eax
call esi
mov esi, eax
test esi, esi
je 0x100b613
push dword [ebp - 0x41c]
mov ecx, dword [ebp - 0x428]
push esi
push dword [ebp - 0x420]
push dword [ebp - 0x418]
call fcn.0100b2a4
mov edi, eax
test edi, edi
jge 0x100b607
mov eax, dword [section..data]
cmp eax, section..data
je 0x100b607
test byte [eax + 0x1c], 4
je 0x100b607
push edi
push 0x1001a80
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01006af6
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x100b6e9
mov edi, 0x8007000e
mov eax, dword [section..data]
cmp eax, section..data
je 0x100b6e9
test byte [eax + 0x1c], 4
je 0x100b6e9
push 0x1001a80
push 0xb
jmp 0x100b69b
test ebx, ebx
je 0x100b6e9
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax]
push 0
push dword [ebp - 0x420]
push eax
call dword [ecx + 0x3c]
mov edi, eax
test edi, edi
jge 0x100b6e9
mov eax, dword [section..data]
cmp eax, section..data
je 0x100b6e9
test byte [eax + 0x1c], 4
je 0x100b6e9
push edi
push 0x1001a80
push 0xc
jmp 0x100b6de
mov edi, 0x8007000e
mov eax, dword [section..data]
cmp eax, section..data
je 0x100b6e9
test byte [eax + 0x1c], 4
je 0x100b6e9
push 0x1001a80
push 0xd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01006742
jmp 0x100b6e9
mov eax, dword [section..data]
cmp eax, section..data
je 0x100b6e9
test byte [eax + 0x1c], 4
je 0x100b6e9
push edi
push 0x1001a80
push 0xe
jmp 0x100b6de
mov eax, dword [section..data]
cmp eax, section..data
je 0x100b6e9
test byte [eax + 0x1c], 4
je 0x100b6e9
push ebx
push 0x1001a80
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01006af6
mov eax, dword [ebp - 0x418]
test eax, eax
je 0x100b700
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 0x418], 0
mov eax, dword [ebp - 0x41c]
test eax, eax
je 0x100b710
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100d5e7
leave
ret 4