Function at 0x4f6450
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0xffffffffffffffff
push 0x5a7acc
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x6336a0]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6336a0]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
lea ecx, [esp + 0x14]
push ecx
xor eax, eax
push 0x20019
push eax
push 0x5fe7b0
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4f669c
mov ebx, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
lea esi, [esp + 0x24]
mov edi, 0x5d2b58
call fcn.00497310
add esp, 4
test eax, eax
je 0x4f669c
mov esi, dword [esp + 0x20]
shr esi, 1
call fcn.00555692
push eax
push esi
mov esi, dword [esp + 0x24]
push esi
lea ecx, [esp + 0x20]
call fcn.00401e70
push str.Lyrics
push str.TTPlayer.exe
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x244], 0
call fcn.00414390
mov ebx, dword [esp + 0x14]
cmp dword [ebx - 0xc], 0
je 0x4f6541
push 0
mov edi, 0x63c1dc
call fcn.0047c8d0
test eax, eax
jge 0x4f6541
mov edx, dword [0x63c1e4]
lea ecx, [esp + 0x14]
push ecx
push edx
mov ecx, edi
call fcn.0055d4af
push esi
call fcn.0055517b
add esp, 4
push str.TTPlayer.xml
push str.Lyrics
lea eax, [esp + 0x1c]
push eax
call fcn.00414390
call fcn.00555692
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4f6578
push 0x80004005
call fcn.00401f90
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x238], 1
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0044a860
mov ebp, dword [esp + 0x1c]
add esp, 4
test eax, eax
je 0x4f664d
cmp dword [ebp - 0xc], 0
jl 0x4f664d
push str.DownLoadFolder_
push ebp
call fcn.0057781d
add esp, 8
test eax, eax
je 0x4f664d
sub eax, ebp
sar eax, 1
mov ebx, eax
test ebx, ebx
jle 0x4f664d
lea edi, [ebx + 0x10]
mov ecx, edi
mov edx, 0x5e9da8
lea esi, [esp + 0x18]
call fcn.004145f0
sub eax, ebx
sub eax, 0x11
push eax
push edi
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00423ae0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x23c], 2
call fcn.00402330
lea ecx, [esp + 0x1c]
mov byte [esp + 0x238], 1
call fcn.00401f20
mov ebx, dword [esp + 0x14]
cmp dword [ebx - 0xc], 0
je 0x4f664d
push 0
mov edi, 0x63c1dc
call fcn.0047c8d0
test eax, eax
jge 0x4f664d
mov ecx, dword [0x63c1e4]
lea eax, [esp + 0x14]
push eax
push ecx
mov ecx, edi
call fcn.0055d4af
lea eax, [ebp - 0x10]
mov byte [esp + 0x238], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4f6671
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x238], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4f669c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
push ecx
push 0
push 0
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x4f6741
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x1c]
call fcn.004023b0
push str.iLaba_PlayerLyrics
lea ecx, [esp + 0x1c]
mov dword [esp + 0x23c], 3
call fcn.004043a0
mov ebx, dword [esp + 0x18]
push 0
mov edi, 0x63c1dc
call fcn.0047c8d0
test eax, eax
jge 0x4f6716
mov eax, dword [esp + 0x18]
push eax
call fcn.0044adc0
add esp, 4
test eax, eax
je 0x4f6716
mov edx, dword [0x63c1e4]
lea ecx, [esp + 0x18]
push ecx
push edx
mov ecx, edi
call fcn.0055d4af
mov dword [esp + 0x238], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4f6741
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x63c1d0]
call fcn.0044ad40
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.00577139
add esp, 0x228
ret