Function at 0x486500
Capabilities:
Get common file path
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5061ad
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x54b2c0]
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
push 1
push 0x23
lea eax, [ebp - 0x218]
push eax
mov esi, ecx
push 0
mov dword [ebp - 0x228], esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x218]
call fcn.00459530
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x234]
push eax
mov ebx, str.BaofengStormPlayerProfilesConfig.ini
mov dword [ebp - 4], 0
call fcn.0045c970
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x224]
push edx
mov ebx, str.BaofengStormPlayerProfiles
mov byte [ebp - 4], 1
call fcn.0045c970
add esp, 0x10
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x4865b9
mov ecx, dword [ebp - 0x224]
call fcn.0045b970
mov ecx, esi
call fcn.00486800
mov edx, dword [0x54af18]
mov eax, dword [edx + 0xc]
mov ecx, 0x54af18
call eax
add eax, 0x10
mov dword [ebp - 0x220], eax
push str.BaofengPlatform
mov esi, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov edi, SysReAllocString
mov byte [ebp - 4], 3
call fcn.0045cd60
mov ecx, dword [ebp - 0x228]
add esp, 4
lea edx, [ebp - 0x230]
push 0x5185a8
add ecx, 0xb4
push edx
call fcn.00489800
push eax
lea eax, [ebp - 0x238]
push eax
mov ebx, str.BaofengPlatform.exe___autorun
mov byte [ebp - 4], 4
call fcn.0045c970
add esp, 0x10
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 5
call fcn.0045ca50
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x238]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48665f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x230]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x486685
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x220]
push ecx
push str.BaofengPlatform
mov edi, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.0045ccd0
add esp, 8
push str.111111CFE08E1D4060FDBFB9A3428606
lea edx, [ebp - 0x220]
push edx
mov ebx, 0x20
call fcn.00459440
mov esi, dword [ebp - 0x220]
push esi
push str.FILEMD5
mov edi, str.SoftwareBaofengStormPlayerZM
mov ebx, SysReAllocString
call fcn.0045ccd0
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x22c]
push ecx
mov ebx, str.BaofengStormPlayerUpdateStormPlayerServerUpdate.xml
call fcn.0045c970
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x22c]
add esp, 0xc
add eax, 0xfffffff0
mov dword [ebp - 0x228], esp
mov edi, esp
call fcn.0045cb40
add eax, 0x10
mov dword [edi], eax
call fcn.0045bf00
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48673c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48675c
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x486782
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x234]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4867a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4867d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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.004e0040
mov esp, ebp
pop ebp
ret