Function at 0x41acce
Capabilities:
Get session user name

Disassembly:
push ebp
sub esp, 0x2a0
lea ebp, [esp - 4]
mov eax, dword [0x4a946c]
xor eax, ebp
mov dword [ebp + 0x2a0], eax
push 0x44
mov eax, 0x4702f0
call fcn.004550bc
mov dword [ebp - 0x14], ecx
call fcn.00442144
push eax
lea ecx, [ebp - 0x10]
call fcn.0040132d
xor ebx, ebx
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], ebx
call fcn.00435c47
mov byte [ebp - 4], 1
call fcn.00442144
push eax
lea ecx, [ebp - 0x34]
call fcn.0040132d
mov esi, SysReAllocStringLen
push esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00435a09
mov edi, 0x9c
push edi
lea eax, [ebp]
push ebx
push eax
call fcn.00457260
add esp, 0xc
lea eax, [ebp]
mov dword [ebp], edi
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push eax
call edi
cmp eax, ebx
jne 0x41ad6f
lea eax, [ebp]
push eax
mov dword [ebp], 0x94
call edi
test eax, eax
je 0x41af5b
cmp dword [ebp + 0x10], 2
jne 0x41aee1
call fcn.00442144
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040132d
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
mov byte [ebp - 4], 3
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
call fcn.00418fda
test eax, eax
je 0x41aebc
lea eax, [ebp + 0x9c]
push eax
push dword [ebp - 0x18]
mov ecx, edi
call fcn.004190ab
push str.SoftwareMicrosoftProtected_Storage_System_Provider_
lea ecx, [ebp - 0x10]
call fcn.00401759
lea eax, [ebp + 0x9c]
push eax
lea ecx, [ebp - 0x10]
call fcn.004041d2
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040170c
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x1c]
mov ecx, edi
push esi
call fcn.0041913b
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x18]
mov ecx, edi
call fcn.004191d0
test eax, eax
je 0x41ae89
push ebx
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x10]
mov ecx, edi
push esi
call fcn.0041939a
push str.Data
lea ecx, [ebp - 0x10]
call fcn.004041d2
push ebx
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x10]
mov ecx, edi
push esi
call fcn.0041939a
push str.e161255a_37c3_11d2_bcaa_00c04fd929db
lea ecx, [ebp - 0x10]
call fcn.004041d2
push 1
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x10]
mov ecx, edi
push esi
call fcn.0041939a
push esi
lea ecx, [ebp - 0x30]
call fcn.00435a09
push ebx
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x3c], esp
mov ecx, esp
push eax
call fcn.00401464
lea ecx, [ebp - 0x30]
call fcn.00436002
cmp eax, ebx
je 0x41ae89
lea ecx, [ebp - 0x30]
call fcn.00435b7b
lea ecx, [ebp - 0x30]
call fcn.00435a64
cmp dword [ebp - 0x20], ebx
je 0x41ae9f
push dword [ebp - 0x20]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 0x14], ebx
je 0x41aebc
push ebx
push dword [ebp - 0x14]
mov ecx, edi
push dword [ebp - 0x1c]
push esi
call fcn.0041939a
push dword [ebp - 0x14]
call fcn.004412f6
pop ecx
cmp dword [ebp - 0x18], ebx
je 0x41aed2
push dword [ebp - 0x18]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.004010af
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp + 0x19c]
push eax
mov dword [ebp - 0x38], 0x104
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
push str.SoftwareMicrosoftProtected_Storage_System_Provider_
lea ecx, [ebp - 0x10]
call fcn.00401759
lea eax, [ebp + 0x19c]
push eax
lea ecx, [ebp - 0x10]
call fcn.004041d2
push str.Datae161255a_37c3_11d2_bcaa_00c04fd929db
lea ecx, [ebp - 0x10]
call fcn.004041d2
push SysReAllocStringLen
lea ecx, [ebp - 0x30]
call fcn.00435a09
push ebx
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x3c], esp
mov ecx, esp
push eax
call fcn.00401464
lea ecx, [ebp - 0x30]
call fcn.00436002
cmp eax, ebx
je 0x41af5b
lea ecx, [ebp - 0x30]
call fcn.00435b7b
lea ecx, [ebp - 0x30]
call fcn.00435a64
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.004010af
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.00435c67
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004010af
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2a0]
xor ecx, ebp
call fcn.004550ad
add ebp, 0x2a4
leave
ret