Function at 0x10026208
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x100262bb
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x48], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x1002626b
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx]
mov eax, dword [eax + 0x10]
mov dword [ecx], eax
jmp 0x100262b6
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
jmp 0x10026299
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 2
jge 0x100262b6
mov eax, dword [ebp - 0x10]
push dword [eax]
mov ecx, dword [ebp - 0x58]
call fcn.10009b6a
mov dword [eax], 0xfffffffe
jmp 0x1002628e
jmp 0x100263f2
mov dword [ebp - 0xc], 0xfffffffc
mov dword [ebp - 0x60], 0xf0415773
mov dword [ebp - 0x14], 0
jmp 0x100262d9
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x100262ec
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 8], 0xfb6f65e7
jmp 0x100262d2
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 8]
mov dword [ebp - 0x64], eax
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 8]
cmp dword [ebp + eax - 8], ecx
jg 0x10026318
mov dword [ebp - 0x1c], 1
jmp 0x1002631c
and dword [ebp - 0x1c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 8]
cmp eax, dword [ebp - 0x1c]
jl 0x10026334
mov dword [ebp - 0x20], 1
jmp 0x10026338
and dword [ebp - 0x20], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 8]
cmp dword [ebp - 0x20], eax
jl 0x10026350
mov dword [ebp - 0x18], 1
jmp 0x10026354
and dword [ebp - 0x18], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp + eax - 8], ecx
mov eax, dword [ebp - 0xc]
imul eax, dword [ebp - 0x18]
test eax, eax
jne 0x1002637f
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 8], 0
jne 0x1002637f
and dword [ebp - 0x5c], 0
jmp 0x10026386
mov dword [ebp - 0x5c], 1
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0xc], 2
ja 0x100263a1
mov dword [ebp - 0x24], 1
jmp 0x100263a5
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x24], eax
jge 0x100263b6
mov dword [ebp - 0x28], 1
jmp 0x100263ba
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x60], eax
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x100263d9
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
push 0x30c0
push 0x2b9d
push 0
push 0x6c6b
call fcn.1003915d
add esp, 0x10
mov esp, ebp
pop ebp
ret