Function at 0x449f50
Capabilities:
Get session user name
Get user security identifier

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481f2b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x950
mov eax, dword [0x4a5018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x95c], edx
mov esi, ecx
mov dword [ebp - 0x808], esi
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
push 0xc8
mov dword [ebp - 0x960], eax
lea eax, [ebp - 0x148]
push 0
push eax
movups xmmword [ebp - 0x3c], xmm0
movups xmmword [ebp - 0x2c], xmm0
movq qword [ebp - 0x1c], xmm0
call fcn.004573c0
add esp, 0xc
lea eax, [ebp - 0x5f8]
push 0x4ac
push 0
push eax
call fcn.004573c0
add esp, 0xc
mov dword [ebp - 0x954], 0
test esi, esi
je 0x44a4b4
mov edi, dword [sym.imp.Secur32.dll_GetUserNameExW]
lea eax, [ebp - 0x94c]
push eax
push 0
push 2
mov dword [ebp - 0x804], 0
mov dword [ebp - 0x944], 0
mov dword [ebp - 0x94c], 0
mov dword [ebp - 0x950], 0
mov dword [ebp - 0x948], 0
call edi
test al, al
jne 0x44a4b4
mov eax, dword [ebp - 0x94c]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045d3aa
mov esi, eax
add esp, 4
test esi, esi
je 0x44a4b4
lea eax, [ebp - 0x94c]
push eax
push esi
push 2
call edi
test al, al
je 0x44a4b4
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x950]
push eax
push 0
lea eax, [ebp - 0x944]
push eax
push 0
push esi
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x44a4ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x44a4ab
push dword [ebp - 0x944]
call fcn.0045d3aa
mov edi, eax
add esp, 4
test edi, edi
je 0x44a4ab
mov eax, dword [ebp - 0x950]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045d3aa
add esp, 4
mov dword [ebp - 0x958], eax
test eax, eax
jne 0x44a109
push esi
call fcn.00459833
add esp, 4
push edi
jmp 0x44a4ac
lea ecx, [ebp - 0x810]
push ecx
lea ecx, [ebp - 0x950]
push ecx
push eax
lea eax, [ebp - 0x944]
push eax
push edi
push esi
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x44a178
lea eax, [ebp - 0x948]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidW]
test eax, eax
je 0x44a178
push dword [ebp - 0x948]
mov edx, 0x64
lea ecx, [ebp - 0x148]
call fcn.004150c0
push dword [ebp - 0x948]
xor ecx, ecx
test eax, eax
setns cl
mov dword [ebp - 0x804], ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x948], 0
push esi
call fcn.00459833
add esp, 4
push edi
call fcn.00459833
add esp, 4
push dword [ebp - 0x958]
call fcn.00459833
add esp, 4
cmp dword [ebp - 0x804], 0
je 0x44a4b4
push dword [ebp - 0x95c]
mov esi, dword [ebp - 0x808]
lea eax, [ebp - 0x148]
push eax
push esi
push str._s_s_s
lea eax, [ebp - 0x5f8]
push 0x256
push eax
call fcn.00424a90
add esp, 0x18
test eax, eax
js 0x44a4b4
push 0x118
lea eax, [ebp - 0x93c]
push 0
push eax
call fcn.004573c0
add esp, 0xc
mov dword [ebp - 0x940], 0x11c
push str.RtlGetVersion
push str.ntdll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x44a21e
lea ecx, [ebp - 0x940]
push ecx
call eax
cmp dword [ebp - 0x93c], 0xa
jne 0x44a42a
cmp dword [ebp - 0x938], 0
jne 0x44a42a
cmp dword [ebp - 0x934], 0x295a
jb 0x44a42a
push str.rChoice
push esi
push str.tVersionExplorerFile
push str.SoftwareMicrosoftWindowsCurren_sExts_sUse_s
lea eax, [ebp - 0x800]
push 0x104
push eax
call fcn.00424a90
add esp, 0x18
test eax, eax
js 0x44a4b4
lea eax, [ebp - 0x944]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x800]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44a4b4
lea eax, [ebp - 0x80c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x944]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
push dword [ebp - 0x944]
test eax, eax
je 0x44a2d8
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x44a4b4
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x820]
push eax
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
xor eax, eax
mov dword [ebp - 0x814], eax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x820]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
push dword [ebp - 0x80c]
lea eax, [ebp - 0x80]
push dword [ebp - 0x808]
push str._08x_08x
push 0x20
push eax
call fcn.00424a90
add esp, 0x14
test eax, eax
js 0x44a4b4
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x5f8]
call fcn.00415030
test eax, eax
js 0x44a4b4
call fcn.00449640
test eax, eax
je 0x44a3db
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x44a4d8
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x804], eax
push str.341_9318_804003BAF
push str.oice_set_via_Windows
mov dword [ebp - 4], 0
push str.User_Ch_s_User_Experience_D18B6DD5_6124_4_sA0B
lea eax, [ebp - 0x804]
push eax
call fcn.00407700
mov esi, dword [ebp - 0x804]
lea ecx, [ebp - 0x5f8]
add esp, 0x10
push esi
call fcn.00415030
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
test eax, eax
jns 0x44a415
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x44a4b4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x44a4b4
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x44a4d8
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x804], eax
push str.e4_45ae_ba6d_85
push str.oice_set_via_Windows_U
mov dword [ebp - 4], 1
push str.User_Ch_sser_Experience_480368b3_f2_s2c4f639a40
jmp 0x44a38e
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x44a42a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 0x256
lea eax, [ebp - 0x5f8]
push eax
call dword [sym.imp.USER32.dll_CharLowerBuffW]
lea edx, [ebp - 0x5f8]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x44a445
sub edx, ecx
lea eax, [ebp - 0x3c]
sar edx, 1
push ecx
push eax
lea ecx, [ebp - 0x5f8]
lea edx, [edx*2 + 2]
call fcn.00449c90
add esp, 8
test eax, eax
je 0x44a4b4
lea edx, [ebp - 0x3c]
lea esi, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x44a480
mov ecx, dword [ebp - 0x960]
lea eax, [ebp - 0x3c]
sub edx, esi
sar edx, 1
push edx
push eax
call fcn.00405dc0
mov dword [ebp - 0x954], 1
jmp 0x44a4b4
push esi
call fcn.00459833
add esp, 4
mov eax, dword [ebp - 0x954]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00454d47
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x80004005
call fcn.00402980
int3