Function at 0x10025b64
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
push ebx
push esi
mov dword [ebp - 4], 3
mov eax, ecx
mov dword [ebp - 4], 0x13
cmp dword [ebp - 4], 0xffffffed
push 0
mov dword [ebp - 0x20], eax
pop ebx
je 0x10025cf0
push edi
mov dword [ebp - 0x1c], 4
mov byte [ebp - 5], bl
cmp byte [ebp - 5], 0
je 0x10025cda
mov dword [ebp - 0x10], 0x25f4
cmp dword [ebp - 0x10], 0x12fe
jge 0x10025ccf
lea eax, [ebp - 0x18]
push eax
push 0x10009d04
call fcn.10055d2e
xor eax, eax
inc eax
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x18], eax
jl 0x10025ccf
lea eax, [ebp - 0x14]
push eax
push 0x10009d04
call fcn.10055d2e
mov esi, dword [ebp - 0x14]
pop ecx
pop ecx
test esi, esi
jle 0x10025c0c
lea edi, [ebp - 0xdc]
push edi
push 0x10009d04
call fcn.10055d2e
mov esi, dword [ebp - 0x14]
inc ebx
pop ecx
add edi, 4
pop ecx
cmp ebx, esi
jl 0x10025bf4
lea eax, [esi + esi]
test eax, eax
jle 0x10025c25
push eax
lea eax, [ebp - 0x8c]
push 0
push eax
call fcn.100559a0
add esp, 0xc
xor edx, edx
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0xc], edx
test esi, esi
jle 0x10025cbc
mov esi, dword [ebp + edi*4 - 0xdc]
cmp edx, esi
je 0x10025c59
sub esi, edx
lea eax, [ebp - 0x64]
push esi
add eax, ebx
push 0x28
push eax
call fcn.100559a0
add esp, 0xc
add ebx, esi
add dword [ebp - 0xc], esi
mov byte [ebp + ebx - 0x64], 0x29
inc ebx
xor ecx, ecx
lea eax, [ebx - 1]
cmp byte [ebp + eax - 0x8c], 0
jne 0x10025c75
cmp byte [ebp + eax - 0x64], 0x28
je 0x10025c80
cmp byte [ebp + eax - 0x64], 0x29
jne 0x10025c7d
inc ecx
dec eax
jmp 0x10025c64
push ecx
push 0x10009d04
mov byte [ebp + eax - 0x8c], 1
call fcn.100558e6
mov eax, dword [ebp - 0x14]
dec eax
pop ecx
pop ecx
cmp edi, eax
jne 0x10025ca4
push 0x10009ef8
jmp 0x10025ca9
push 0x10009f58
call fcn.100558e6
mov edx, dword [ebp - 0xc]
inc edi
pop ecx
cmp edi, dword [ebp - 0x14]
jl 0x10025c36
mov edi, dword [ebp - 0x10]
inc edi
push 0
mov dword [ebp - 0x10], edi
pop ebx
cmp edi, dword [ebp - 0x18]
jle 0x10025bd7
push 0x2542
call dword [sym.imp.USER32.dll_GetQueueStatus]
cmp dword [ebp - 0x1c], ebx
jne 0x10025cec
dec dword [ebp - 4]
cmp dword [ebp - 4], 0xffffffed
jne 0x10025b90
mov eax, dword [ebp - 0x20]
pop edi
cmp byte [eax], 0
mov esi, dword [sym.imp.ADVAPI32.dll_GetUserNameA]
je 0x10025cff
push ebx
push ebx
call esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], ebx
jmp 0x10025d19
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x38], 0xfffffff6
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jl 0x10025d0b
xor eax, eax
mov dword [ebp - 4], ebx
inc eax
cmp dword [ebp - 4], eax
jg 0x10025d68
mov ecx, 0x272
mov dword [ebp - 0xc], 0xfffffffd
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], ebx
jl 0x10025d5b
mov eax, dword [ebp - 0xc]
cmp dword [ebp + eax*4 - 0x38], ebx
jne 0x10025d58
dec dword [ebp - 0xc]
jns 0x10025d4a
xor eax, eax
inc eax
cmp dword [ebp - 0x2c], ebx
jne 0x10025d68
inc dword [ebp - 4]
cmp dword [ebp - 4], eax
jle 0x10025d2f
mov dword [ebp - 4], eax
cmp dword [ebp - 4], ebx
jl 0x10025d82
mov byte [ebp - 5], bl
cmp byte [ebp - 5], 0
je 0x10025d7d
push ebx
push ebx
call esi
dec dword [ebp - 4]
jns 0x10025d70
pop esi
pop ebx
mov esp, ebp
pop ebp
ret