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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ef4d3
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x521390]
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 - 0x250], esi
call fcn.0045c3c0
add eax, 0x10
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x22c]
push ecx
mov ebx, str.StormPlayer.exe
mov dword [ebp - 4], 0
call fcn.0045c1d0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x22c]
push 0
push edx
call fcn.00458760
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47a544
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x244], eax
lea ecx, [ebp - 0x228]
push ecx
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [ebp - 0x222]
movzx eax, word [ebp - 0x226]
movzx ecx, word [ebp - 0x228]
push edx
push eax
push ecx
push str._4d_.2d_.2d
lea edi, [ebp - 0x244]
call fcn.00458b70
add esp, 0x10
push 1
push 0x23
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x218]
call fcn.0045ab70
lea ecx, [ebp - 0x230]
push ecx
lea edx, [ebp - 0x24c]
push edx
mov ebx, str.BaofengStormPlayerProfilesConfig.ini
mov byte [ebp - 4], 4
call fcn.0045c1d0
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x234]
push ecx
mov ebx, str.BaofengStormPlayerProfiles
mov byte [ebp - 4], 5
call fcn.0045c1d0
add esp, 0x10
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x47a61d
mov eax, dword [ebp - 0x234]
push eax
call fcn.0045b570
add esp, 4
mov ecx, 1
mov edx, esi
call fcn.00478cb0
push str.BaofengPlatform
mov esi, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov edi, SysReAllocStringLen
call fcn.0045c550
add esp, 4
lea ecx, [ebp - 0x240]
push 0x4f8ee0
push ecx
lea ecx, [ebp - 0x238]
call fcn.0046a480
push eax
lea edx, [ebp - 0x22c]
push edx
mov ebx, str.BaofengPlatform.exe___autorun
mov byte [ebp - 4], 7
call fcn.0045c1d0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x240]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47a696
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x22c]
push ecx
push str.BaofengPlatform
mov edi, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.0045c4c0
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47a6d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x23c]
push ecx
mov ecx, str.111111CFE08E1D4060FDBFB9A3428606
call fcn.0045ab70
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x23c]
push edx
push str.FILEMD5
mov edi, str.SoftwareBaofengStormPlayerZM
mov ebx, SysReAllocStringLen
call fcn.0045c4c0
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x248]
push ecx
mov ebx, str.BaofengStormPlayerUpdateStormPlayerServerUpdate.xml
call fcn.0045c1d0
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x248]
add esp, 0xc
add eax, 0xfffffff0
mov dword [ebp - 0x240], esp
mov esi, esp
call fcn.0045c3c0
add eax, 0x10
mov dword [esi], eax
call fcn.0045bb10
add esp, 4
lea edx, [ebp - 0x22c]
xor ebx, ebx
push edx
mov dword [ebp - 0x22c], ebx
call dword [sym.imp.SensApi.dll_IsNetworkAlive]
test eax, eax
jne 0x47a78b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0x47a796
push ebx
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x47a796
mov al, byte [ebp - 0x22c]
test al, 0x20
jne 0x47a796
test al, 7
je 0x47a796
mov ecx, dword [ebp - 0x250]
call fcn.0047a8d0
mov byte [ebp - 4], 8
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 0x47a7bc
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 - 0x23c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47a7e2
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 - 0x234]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47a808
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 - 0x24c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47a82e
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 0x47a854
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 - 0x244]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47a879
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 - 0x238]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47a8a2
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.004cbf11
mov esp, ebp
pop ebp
ret