Function at 0x4e3b70
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x598b9c
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x615720]
xor eax, esp
mov dword [esp + 0x284], eax
push esi
push edi
mov eax, dword [0x615720]
xor eax, esp
push eax
lea eax, [esp + 0x298]
mov dword fs:[0], eax
mov eax, dword [0x61eec0]
mov edi, dword [ebp + 8]
mov dword [esp + 0x30], 0
test al, 1
jne 0x4e3bf4
or eax, 1
mov dword [0x61ef10], 7
mov dword [0x61eec0], eax
xor eax, eax
push 0x5a3960
mov dword [0x61ef0c], 0
mov word [0x61eefc], ax
call fcn.0055c01c
add esp, 4
sub esp, 0x18
mov dword [esp + 0x4c], 0
mov ecx, esp
xor eax, eax
push 0xc
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push str.explorer.exe
mov word [ecx], ax
call fcn.004e9ac0
lea eax, [esp + 0x4c]
push eax
call fcn.004e6800
add esp, 0x1c
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
push 0x104
lea eax, [esp + 0x88]
push 0
push eax
call fcn.0055ebc0
add esp, 0xc
mov dword [esp + 0x48], 0x104
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
sub esp, 0x18
mov dword [esp + 0x50], 0
mov edx, esp
mov dword [esp + 0x54], 0
xor eax, eax
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
mov word [edx], ax
cmp word [esp + 0x9c], ax
jne 0x4e3ca5
xor ecx, ecx
jmp 0x4e3cbf
lea ecx, [esp + 0x9c]
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e3cb0
sub ecx, esi
sar ecx, 1
push ecx
lea eax, [esp + 0xa0]
mov ecx, edx
push eax
call fcn.004e9ac0
lea ecx, [esp + 0x54]
call fcn.004e4620
add esp, 0x18
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x40]
call dword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidW]
mov edx, dword [esp + 0x38]
cmp word [edx], 0
jne 0x4e3cf8
xor ecx, ecx
jmp 0x4e3d0f
mov ecx, edx
lea esi, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e3d00
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, 0x61eefc
call fcn.004e9ac0
push 0
push 0x61eefc
push reloc.WS2_32.dll_closesocket
call fcn.004e8760
add esp, 0xc
test al, al
jne 0x4e3f60
xor eax, eax
mov dword [esp + 0x2c], 7
xorps xmm0, xmm0
mov dword [esp + 0x28], 0
push eax
push 0x5f727c
lea ecx, [esp + 0x20]
movdqa xmmword [esp + 0x6c], xmm0
movdqa xmmword [esp + 0x7c], xmm0
mov word [esp + 0x20], ax
call fcn.004e9ac0
mov dword [esp + 0x2a0], 0
lea ecx, [esp + 0x68]
xor eax, eax
mov dword [esp + 0x64], reloc.WS2_32.dll_closesocket
push 0xffffffffffffffff
push eax
mov word [esp + 0x70], ax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], 0
call fcn.004ebc00
mov dword [esp + 0x80], 0xf003f
mov byte [esp + 0x2a0], 2
cmp dword [esp + 0x2c], 8
jb 0x4e3dd3
push dword [esp + 0x18]
call fcn.0055be79
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], 7
xorps xmm0, xmm0
mov dword [esp + 0x28], 0
movq qword [esp + 0x40], xmm0
mov word [esp + 0x18], ax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
call fcn.004ee110
mov dword [esp + 0x40], eax
lea eax, [esp + 0x40]
mov byte [esp + 0x2a0], 3
push eax
lea ecx, [esp + 0x68]
call fcn.004ee740
test eax, eax
jne 0x4e3f21
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
mov dword [esp + 0x3c], eax
cmp eax, ecx
je 0x4e3f25
cmp dword [eax + 0x24], 8
lea edx, [eax + 0x10]
jb 0x4e3e3f
mov edx, dword [edx]
xor eax, eax
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], ax
cmp word [edx], ax
je 0x4e3e6f
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4e3e60
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x54]
call fcn.004e9ac0
push 7
push 0
push str.Classes
lea ecx, [esp + 0x58]
mov byte [esp + 0x2ac], 4
call fcn.004ebd20
push dword [0x61ef0c]
cmp dword [0x61ef10], 8
mov ecx, 0x61eefc
push 0
cmovae ecx, dword [0x61eefc]
mov esi, eax
push ecx
lea ecx, [esp + 0x58]
call fcn.004ebd20
cmp eax, 0xffffffff
je 0x4e3ec5
cmp esi, 0xffffffff
je 0x4e3efb
mov byte [esp + 0x2a0], 3
cmp dword [esp + 0x60], 8
jb 0x4e3ee0
push dword [esp + 0x4c]
call fcn.0055be79
add esp, 4
lea ecx, [esp + 0x3c]
call fcn.004ec250
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jne 0x4e3e34
jmp 0x4e3f25
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x54]
mov ecx, 0x61eefc
push eax
call fcn.004ebc00
cmp dword [esp + 0x60], 8
jb 0x4e3f21
push dword [esp + 0x4c]
call fcn.0055be79
add esp, 4
mov ecx, dword [esp + 0x40]
push ecx
push dword [ecx]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x4c]
call fcn.004ed1a0
push dword [esp + 0x40]
call fcn.0055be79
add esp, 4
mov dword [esp + 0x2a0], 0xffffffff
cmp dword [esp + 0x7c], 8
jb 0x4e3f60
push dword [esp + 0x68]
call fcn.0055be79
add esp, 4
xor eax, eax
mov dword [edi + 0x14], 7
push 0xffffffffffffffff
push eax
mov dword [edi + 0x10], 0
mov ecx, edi
push 0x61eefc
mov word [edi], ax
call fcn.004ebc00
mov eax, edi
mov ecx, dword [esp + 0x298]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x284]
xor ecx, esp
call fcn.0055e4ed
mov esp, ebp
pop ebp
ret