Function at 0x476e60
Capabilities:
Check internet connectivity via wininet
Get common file path
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1108
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x4c4330]
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
mov esi, ecx
mov eax, dword [esi + 0xc]
sub eax, 0x10
mov dword [ebp - 0x24c], esi
call fcn.0045c0b0
add eax, 0x10
mov dword [ebp - 0x240], eax
mov dword [ebp - 4], 0
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x228]
push eax
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0x222]
movzx edx, word [ebp - 0x226]
movzx eax, word [ebp - 0x228]
push ecx
push edx
push eax
push str._4d_.2d_.2d
lea edi, [ebp - 0x23c]
call fcn.00458a90
add esp, 0x10
push 1
push 0x23
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0x234]
push edx
lea ecx, [ebp - 0x218]
call fcn.0045a880
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x248]
push ecx
mov ebx, str.BaofengStormPlayerProfilesConfig.ini
mov byte [ebp - 4], 4
call fcn.0045bec0
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x238]
push eax
mov ebx, str.BaofengStormPlayerProfiles
mov byte [ebp - 4], 5
call fcn.0045bec0
add esp, 0x10
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x238]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x476f89
mov edx, dword [ebp - 0x238]
push edx
call fcn.0045b280
add esp, 4
mov ecx, 1
mov edx, esi
call fcn.00475670
push str.BaofengPlatform
mov esi, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov edi, SysReAllocString
call fcn.0045c220
add esp, 4
lea eax, [ebp - 0x250]
push 0x4a9c60
push eax
lea ecx, [ebp - 0x240]
call fcn.00479db0
push eax
lea ecx, [ebp - 0x230]
push ecx
mov ebx, str.BaofengPlatform.exe___autorun
mov byte [ebp - 4], 7
call fcn.0045bec0
add esp, 0x10
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x250]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x477002
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x230]
push ecx
push str.BaofengPlatform
mov edi, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.0045c190
add esp, 8
push str.111111CFE08E1D4060FDBFB9A3428606
lea edx, [ebp - 0x230]
push edx
mov ebx, 0x20
call fcn.0045a790
mov eax, dword [ebp - 0x230]
push eax
push str.FILEMD5
mov edi, str.SoftwareBaofengStormPlayerZM
mov ebx, SysReAllocString
call fcn.0045c190
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp - 0x244]
push edx
mov ebx, str.BaofengStormPlayerUpdateStormPlayerServerUpdate.xml
call fcn.0045bec0
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x244]
add esp, 0xc
add eax, 0xfffffff0
mov dword [ebp - 0x22c], esp
mov esi, esp
call fcn.0045c0b0
add eax, 0x10
mov dword [esi], eax
call fcn.0045b820
add esp, 4
lea eax, [ebp - 0x22c]
xor ebx, ebx
push eax
mov dword [ebp - 0x22c], ebx
call dword [sym.imp.SensApi.dll_IsNetworkAlive]
test eax, eax
jne 0x4770d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0x4770e1
push ebx
lea ecx, [ebp - 0x22c]
push ecx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x4770e1
mov al, byte [ebp - 0x22c]
test al, 0x20
jne 0x4770e1
test al, 7
je 0x4770e1
mov ecx, dword [ebp - 0x24c]
call fcn.00477210
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x477107
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
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 0x47712d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
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 0x477153
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x248]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x477179
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 - 0x234]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47719f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x23c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4771c4
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 - 0x240]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4771ed
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.00485631
mov esp, ebp
pop ebp
ret