Function at 0x100ec13
Capabilities:
Get session user name

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
lea eax, [ebp - 0xc]
xor edi, edi
mov ebx, 0x100
push eax
mov dword [ebp - 8], ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x18], edi
call fcn.01031307
mov esi, eax
cmp esi, edi
jge 0x100ec5f
push esi
push 0x7da
push 0x1002900
push 0x100189c
push 1
call fcn.01014247
add esp, 0x14
jmp 0x100ef39
push 0x200
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 4], eax
cmp eax, edi
jne 0x100ec89
mov esi, 0x8007000e
push esi
push 0x7dc
jmp 0x100ef0f
mov ecx, dword [ebp - 8]
push dword [ecx + 0x40]
push 0x10028f0
push ebx
push eax
call fcn.0100dd8e
mov esi, eax
add esp, 0x10
cmp esi, edi
jge 0x100ecaf
push esi
push 0x7e2
jmp 0x100ef0f
mov ecx, dword [ebp - 8]
push edi
push edi
push edi
push dword [ebp - 4]
push 0x10028d4
call fcn.0100cc01
mov esi, eax
cmp esi, edi
jge 0x100ecd3
push esi
push 0x7e5
jmp 0x100ef0f
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
push 2
call sub.Secur32.dll_GetUserNameExW
test al, al
jne 0x100ed0a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x100ecf9
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, edi
jge 0x100ed0a
push esi
push 0x7eb
jmp 0x100ef0f
mov ecx, dword [ebp - 8]
push edi
push edi
push edi
push dword [ebp - 4]
push 0x10028c4
call fcn.0100cc01
mov esi, eax
cmp esi, edi
jge 0x100ed2e
push esi
push 0x7ee
jmp 0x100ef0f
mov eax, dword [section..data]
push ebx
push dword [ebp - 4]
add eax, 0x14
push eax
call fcn.010301ce
mov esi, eax
cmp esi, edi
jge 0x100ed51
push esi
push 0x7f8
jmp 0x100ef0f
mov ecx, dword [ebp - 8]
push edi
push edi
push edi
push dword [ebp - 4]
push 0x10028b0
call fcn.0100cc01
mov esi, eax
cmp esi, edi
jge 0x100ed75
push esi
push 0x7fb
jmp 0x100ef0f
mov eax, dword [0x104e188]
cmp dword [eax + 0xd0], 9
jne 0x100edc6
push ebx
push dword [ebp - 4]
push 0x168
call fcn.010301ce
mov esi, eax
cmp esi, edi
jge 0x100eda2
push esi
push 0x808
jmp 0x100ef0f
mov ecx, dword [ebp - 8]
push edi
push edi
push edi
push dword [ebp - 4]
push 0x10028a0
call fcn.0100cc01
mov esi, eax
cmp esi, edi
jge 0x100ee17
push esi
push 0x80b
jmp 0x100ef0f
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x7c], edi
jbe 0x100ee1a
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [ebp - 8]
push eax
push edi
push edi
push eax
mov ebx, 0x10028a0
push ebx
call fcn.0100cc01
mov esi, eax
cmp esi, edi
jge 0x100edf6
push esi
push 0x810
jmp 0x100ef0f
mov ecx, dword [ebp - 8]
push 1
push ebx
call fcn.0100ccfe
mov esi, eax
cmp esi, edi
jge 0x100ee12
push esi
push 0x813
jmp 0x100ef0f
mov ebx, 0x100
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x10], eax
cmp eax, edi
je 0x100ee90
lea ecx, [ebp - 0x18]
push ecx
push eax
push 0x24
push dword [ebp - 4]
call fcn.01014418
mov esi, eax
cmp esi, edi
jge 0x100ee46
push esi
push 0x820
jmp 0x100ef0f
push dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
push edi
push dword [ebp - 0x10]
mov ebx, 0x1002888
push dword [ebp - 4]
push ebx
call fcn.0100cc01
mov esi, eax
cmp esi, edi
jge 0x100ee6f
push esi
push 0x823
jmp 0x100ef0f
mov ecx, dword [ebp - 8]
push 1
push ebx
call fcn.0100ccfe
mov esi, eax
cmp esi, edi
jge 0x100ee8b
push esi
push 0x826
jmp 0x100ef0f
mov ebx, 0x100
lea eax, [ebp - 0x1c]
push eax
push edi
call fcn.01036bfb
test eax, eax
je 0x100eeab
mov esi, 0x80004005
push esi
push 0x82e
jmp 0x100ef0f
mov eax, dword [ebp - 0x1c]
sub eax, edi
je 0x100eed3
dec eax
je 0x100eecc
dec eax
je 0x100eec5
mov esi, 0x80004005
push esi
push 0x83d
jmp 0x100ef0f
mov eax, 0x16b
jmp 0x100eed8
mov eax, 0x16a
jmp 0x100eed8
mov eax, 0x169
push ebx
push dword [ebp - 4]
push eax
call fcn.010301ce
mov esi, eax
cmp esi, edi
jge 0x100eef0
push esi
push 0x841
jmp 0x100ef0f
mov ecx, dword [ebp - 8]
push edi
push edi
push edi
push dword [ebp - 4]
push 0x1002870
call fcn.0100cc01
mov esi, eax
cmp esi, edi
jge 0x100ef23
push esi
push 0x844
push 0x1002900
push 0x100189c
push 1
call fcn.01014247
add esp, 0x14
cmp dword [ebp - 4], edi
je 0x100ef39
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret