Function at 0x424d1e
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x354
mov eax, dword [0x58569c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x298], 0
push ebx
push esi
push edi
call fcn.00452c1a
cmp dword [eax], 3
jl 0x424fbc
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x424fbc
push 0x543728
lea esi, [ebp - 0x268]
mov byte [ebp - 0x285], 0
call fcn.0040204f
call fcn.0040e52c
add eax, 0x1c
push eax
lea esi, [ebp - 0x284]
call fcn.0040202c
lea eax, [ebp - 0x24c]
push eax
mov eax, esi
push eax
lea eax, [ebp - 0x22c]
call fcn.0044a559
push eax
lea ecx, [ebp - 0x268]
call fcn.0044abc8
xor ebx, ebx
inc ebx
push ebx
xor edi, edi
lea esi, [ebp - 0x22c]
call fcn.004021a4
push ebx
lea esi, [ebp - 0x284]
call fcn.004021a4
push ebx
lea esi, [ebp - 0x268]
call fcn.004021a4
lea eax, [ebp - 0x24c]
call fcn.00449a3d
test al, al
jne 0x424dee
push ebx
lea esi, [ebp - 0x24c]
call fcn.004021a4
xor al, al
jmp 0x424fbe
mov eax, dword [ebp - 0x24c]
xor esi, esi
cmp dword [ebp - 0x238], 8
mov dword [ebp - 0x28c], esi
mov dword [ebp - 0x294], esi
mov dword [ebp - 0x290], esi
jae 0x424e17
lea eax, [ebp - 0x24c]
lea ecx, [ebp - 0x290]
push ecx
push esi
lea ecx, [ebp - 0x294]
push ecx
push esi
push esi
push 4
push ebx
push eax
call dword [0x52b050]
test eax, eax
jne 0x424f80
push 8
pop ecx
lea edi, [ebp - 0x230]
rep stosd dword es:[edi], eax
push 0x206
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push esi
push eax
mov dword [ebp - 0x230], 0x10000000
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], 3
mov dword [ebp - 0x21c], ebx
call fcn.00506540
add esp, 0xc
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x210]
push eax
push 2
mov dword [ebp - 0x29c], 0x104
call dword [0x52b4a8]
test al, al
je 0x424ec2
cmp word [ebp - 0x210], si
je 0x424ec2
lea eax, [ebp - 0x210]
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x214], eax
jmp 0x424f2f
mov edi, str.installer_tdsetupinstallinstall_logic.cpp
push 0x2c
mov eax, edi
call fcn.0044db79
pop ecx
cmp eax, ebx
jl 0x424f05
push 0x311
push edi
or eax, 0xffffffff
lea esi, [ebp - 0x350]
mov dword [ebp - 0x298], 2
call fcn.0044dd2b
add eax, 8
push str.Cannot_acquire_current_user_name
push eax
call fcn.0040c261
pop ecx
pop ecx
xor esi, esi
test byte [ebp - 0x298], 2
je 0x424f1b
lea esi, [ebp - 0x350]
call fcn.0044dd6a
xor esi, esi
mov dword [ebp - 0x218], 2
mov dword [ebp - 0x214], str.Authenticated_Users
lea eax, [ebp - 0x28c]
push eax
push dword [ebp - 0x294]
lea eax, [ebp - 0x230]
push eax
push ebx
call dword [0x52b040]
test eax, eax
jne 0x424f80
cmp dword [ebp - 0x238], 8
mov eax, dword [ebp - 0x24c]
jae 0x424f63
lea eax, [ebp - 0x24c]
push esi
push dword [ebp - 0x28c]
push esi
push esi
push 4
push ebx
push eax
call dword [0x52b04c]
test eax, eax
jne 0x424f80
mov byte [ebp - 0x285], bl
mov edi, dword [0x52b198]
cmp dword [ebp - 0x290], esi
je 0x424f96
push dword [ebp - 0x290]
call edi
cmp dword [ebp - 0x28c], esi
je 0x424fa6
push dword [ebp - 0x28c]
call edi
push ebx
xor edi, edi
lea esi, [ebp - 0x24c]
call fcn.004021a4
mov al, byte [ebp - 0x285]
jmp 0x424fbe
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fe191
leave
ret