Function at 0x5653e0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x575e4e
mov eax, dword fs:[0]
push eax
sub esp, 0xb24
mov eax, dword [0x5d4e64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00413cb1
push 0
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call fcn.00415b50
mov edi, eax
mov dword [ebp - 0xb28], edi
test edi, edi
je 0x5654ff
call fcn.0040c10a
mov ecx, eax
test ecx, ecx
jne 0x56544b
push 0x80004005
call fcn.00401f20
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x565460
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x565462
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0xb24], esi
push 0x65
mov dword [ebp - 4], 0
call fcn.00415e63
test eax, eax
je 0x565491
push 0x65
push eax
lea ecx, [ebp - 0xb24]
call fcn.00403030
mov esi, dword [ebp - 0xb24]
cmp dword [esi - 0xc], 0
je 0x5654bb
push 0
push 0
push 0x800
push dword [edi + 4]
mov edi, dword [sym.imp.USER32.dll_AppendMenuA]
call edi
mov eax, dword [ebp - 0xb28]
push esi
push 0x10
push 0
push dword [eax + 4]
call edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x5654ff
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x5654fd
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x5654fd
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x5654ff
call edx
push dword [ebx + 0xa8]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push 0x80
push dword [ebx + 0x20]
call esi
push dword [ebx + 0xa8]
push 0
push 0x80
push dword [ebx + 0x20]
call esi
mov ecx, ebx
mov dword [ebx + 0xcc], 0
call fcn.00564aa0
lea eax, [ebp - 0xb30]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.005647e0
push 0
cmp eax, 1
jne 0x565555
push eax
jmp 0x565557
push 0
push 0xf1
push dword [ebx + 0x1640]
call esi
mov eax, dword [0x5ad81c]
movq xmm0, qword [str.Administrator]
mov dword [ebp - 0x208], eax
mov ax, word [0x5ad820]
push 0x1f2
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push 0
push eax
movq qword [ebp - 0x210], xmm0
call fcn.00548070
add esp, 0xc
mov dword [ebp - 0xb2c], 0x200
lea eax, [ebp - 0xb2c]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea eax, [ebp - 0x210]
push eax
push str.Username:__s
lea eax, [ebp - 0x710]
push 0x400
push eax
call fcn.00401ad0
add esp, 0x10
lea eax, [ebp - 0x710]
lea ecx, [ebx + 0x10b0]
push eax
call fcn.0040bc57
lea ecx, [ebp - 0x310]
call fcn.00562e50
lea eax, [ebp - 0x310]
push eax
push str.Operating_System:__s
lea eax, [ebp - 0xb10]
push 0x400
push eax
call fcn.00401ad0
add esp, 0x10
lea eax, [ebp - 0xb10]
lea ecx, [ebx + 0x1130]
push eax
call fcn.0040bc57
push 0
push 0
push 0
push 0
push ebx
push 0x5643e0
call fcn.00410097
mov esi, dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0xb20]
push eax
push dword [ebx + 0x108]
call esi
mov eax, dword [ebp - 0xb18]
sub eax, dword [ebp - 0xb20]
mov dword [ebx + 0x168], eax
mov eax, dword [ebp - 0xb14]
sub eax, dword [ebp - 0xb1c]
mov dword [ebx + 0x16c], eax
lea eax, [ebp - 0xb20]
push eax
push dword [ebx + 0x20]
mov dword [ebx + 0xd8], 1
call esi
mov ecx, dword [ebp - 0xb18]
xor edx, edx
sub ecx, dword [ebp - 0xb20]
mov eax, dword [ebx + 0x16c]
imul eax, ecx
push 0x46
div dword [ebx + 0x168]
push eax
push ecx
push 0
push 0
push 0
lea ecx, [ebx + 0xe8]
call fcn.0040bbfb
push 0
push 0
push 0
push 0
push ebx
push 0x565700
call fcn.00410097
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00544e9b
mov esp, ebp
pop ebp
ret