Function at 0x48cfc0
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed750
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
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 eax, dword [ebp + 8]
push 1
push 0x23
lea ecx, [ebp - 0x218]
push ecx
push 0
mov dword [ebp - 0x230], eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0x234]
push edx
lea ecx, [ebp - 0x218]
call fcn.0045ab70
push 0x28
push str.BaofengStormPlayerProfilesConfig.ini
lea ebx, [ebp - 0x234]
mov dword [ebp - 4], 0
call fcn.0045a6d0
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x244], esi
mov byte [ebp - 4], 1
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 2
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x240], eax
push 2
push 0x4f8990
lea edi, [ebp - 0x238]
mov byte [ebp - 4], 3
call fcn.00458b70
push 0x33c
push 0x4f8990
lea edi, [ebp - 0x240]
call fcn.00458b70
mov eax, dword [esi - 8]
mov edi, dword [ebp - 0x234]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
add esp, 0x10
or eax, ecx
jge 0x48d0e3
mov eax, 0x104
lea ecx, [ebp - 0x244]
call fcn.00458cd0
mov esi, dword [ebp - 0x244]
push edi
push 0x104
push esi
push 0
push 0x4f891c
push str.INSTALL
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x22c]
push eax
mov ecx, str.5.15.0730.1111
call fcn.0045ab70
mov byte [ebp - 4], 4
mov eax, dword [0x5284a0]
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x24]
mov eax, dword [eax + 0x28]
test ecx, ecx
jne 0x48d1d6
test edx, edx
jne 0x48d1d6
test eax, eax
jne 0x48d1d6
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov edx, dword [ebp - 0x230]
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x22c]
mov eax, dword [edx + 0x268]
mov edx, dword [ebp - 0x238]
push esi
push ecx
mov ecx, dword [ebp - 0x240]
push eax
push ecx
push edx
push str.http:__active.baofeng.com_active5
push str._s_pid_sid_suid_st1ver_sidate_sinstallday0
lea edi, [ebp - 0x21c]
call fcn.00458b70
mov edi, dword [ebp - 0x21c]
add esp, 0x18
add edi, 0xfffffff0
mov eax, edi
mov dword [ebp - 0x220], esp
mov esi, esp
call fcn.0045c3c0
add eax, 0x10
mov dword [esi], eax
mov esi, dword [0x5284a0]
call fcn.004674c0
mov byte [ebp - 4], 4
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48d2c2
mov ecx, dword [edi]
push edi
jmp 0x48d2bb
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 6
call fcn.00458a00
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x224], eax
mov edx, dword [ebp - 0x230]
mov byte [ebp - 4], 7
mov ebx, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x22c]
mov eax, dword [edx + 0x268]
mov edx, dword [ebp - 0x238]
push ebx
push esi
push ecx
mov ecx, dword [ebp - 0x240]
push eax
push ecx
push edx
push str.http:__active.baofeng.com_active5
push str._s_pid_sid_suid_st8ver_sidate_sinstallday_s
lea edi, [ebp - 0x224]
call fcn.00458b70
mov edi, dword [ebp - 0x224]
add esp, 0x1c
add edi, 0xfffffff0
mov eax, edi
mov dword [ebp - 0x220], esp
mov esi, esp
call fcn.0045c3c0
add eax, 0x10
mov dword [esi], eax
mov esi, dword [0x5284a0]
call fcn.004674c0
mov byte [ebp - 4], 6
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48d2a2
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48d2c2
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
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 - 0x21c], eax
mov byte [ebp - 4], 8
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x224], eax
mov byte [ebp - 4], 9
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x248], eax
mov byte [ebp - 4], 0xa
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x23c], eax
push 0x4f5b64
lea ecx, [ebp - 0x21c]
push ecx
xor ebx, ebx
mov byte [ebp - 4], 0xb
call fcn.0045aa80
mov edx, dword [0x5284a0]
cmp dword [edx + 0x90], ebx
mov ebx, 1
je 0x48d36a
push 0x4fa4f8
lea eax, [ebp - 0x23c]
push eax
jmp 0x48d376
push 0x4fa4fc
lea ecx, [ebp - 0x23c]
push ecx
call fcn.0045aa80
mov eax, dword [0x5284a0]
lea esi, [ebp - 0x220]
call fcn.00467460
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0xc
call fcn.0045c2b0
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48d3c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [0x5284a0]
lea esi, [ebp - 0x228]
call fcn.00467490
lea edi, [ebp - 0x248]
mov byte [ebp - 4], 0xd
call fcn.0045c2b0
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48d405
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 - 0x228], eax
mov ebx, dword [ebp - 0x230]
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x23c]
mov edx, dword [ebp - 0x248]
mov eax, dword [ebp - 0x224]
push ecx
mov ecx, dword [ebp - 0x21c]
push edx
mov edx, dword [ebp - 0x22c]
push eax
mov eax, dword [ebx + 0x268]
push ecx
push edx
push eax
push str.http:__action.logger.baofeng.com_ninstall_action.html
push str._s_type3uid_sver_sstartmi_overend1rls_senv_sbit_smovie_s
lea edi, [ebp - 0x228]
call fcn.00458b70
mov edi, dword [ebp - 0x228]
add esp, 0x1c
add edi, 0xfffffff0
mov eax, edi
mov dword [ebp - 0x220], esp
mov esi, esp
call fcn.0045c3c0
add eax, 0x10
mov dword [esi], eax
mov esi, dword [0x5284a0]
call fcn.004674c0
cmp dword [ebx + 0x284], 0
je 0x48d57a
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x220], ebx
mov byte [ebp - 4], 0xf
mov eax, dword [ebx - 8]
mov esi, dword [ebp - 0x234]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, 0x104
or eax, ecx
jge 0x48d4ec
mov eax, 0x104
lea ecx, [ebp - 0x220]
call fcn.00458cd0
mov ebx, dword [ebp - 0x220]
push esi
push 0x104
push ebx
push 0
push 0x4fe2e8
push str.Product
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ebp - 0x230]
mov eax, dword [edx + 0x268]
push ecx
push eax
push ebx
push str.http:__vip.log.baofeng.net_nvwa_logger.php
push str._s_categoryinstallruid_sclientid_st1veriosn_s
lea edi, [ebp - 0x228]
call fcn.00458b70
mov edi, dword [ebp - 0x228]
add esp, 0x10
add edi, 0xfffffff0
mov eax, edi
mov dword [ebp - 0x230], esp
mov esi, esp
call fcn.0045c3c0
add eax, 0x10
mov dword [esi], eax
mov esi, dword [0x5284a0]
call fcn.004674c0
add ebx, 0xfffffff0
mov byte [ebp - 4], 0xe
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48d57a
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov byte [ebp - 4], 0xb
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48d597
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov byte [ebp - 4], 0xa
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 0x48d5bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 9
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 0x48d5e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 8
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 0x48d609
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 - 0x21c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48d62f
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 - 0x22c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48d655
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
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 0x48d67b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
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 0x48d6a1
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 - 0x244]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48d6c7
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 - 0x234]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48d6f0
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 4