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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4edb34
mov eax, dword fs:[0]
push eax
sub esp, 0x234
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
push 1
push 0x23
lea eax, [ebp - 0x218]
push eax
push 0
mov esi, ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x238]
push ecx
lea ecx, [ebp - 0x218]
call fcn.0045ab70
push 0x28
push str.BaofengStormPlayerProfilesConfig.ini
lea ebx, [ebp - 0x238]
mov dword [ebp - 4], 0
call fcn.0045a6d0
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x23c], ebx
mov byte [ebp - 4], 1
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x22c], eax
mov byte [ebp - 4], 2
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x234], eax
push 2
push 0x4f8990
lea edi, [ebp - 0x22c]
mov byte [ebp - 4], 3
call fcn.00458b70
push 0x33c
push 0x4f8990
lea edi, [ebp - 0x234]
call fcn.00458b70
mov eax, dword [ebx - 8]
mov edi, dword [ebp - 0x238]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, 0x104
add esp, 0x10
or eax, ecx
jge 0x47a9ef
mov eax, 0x104
lea ecx, [ebp - 0x23c]
call fcn.00458cd0
mov ebx, dword [ebp - 0x23c]
push edi
push 0x104
push ebx
push 0
push 0x4f891c
push str.INSTALL
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x224]
push ecx
mov ecx, str.5.15.0730.1111
call fcn.0045ab70
mov byte [ebp - 4], 4
mov eax, dword [esi + 8]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
test eax, eax
jne 0x47aacd
test ecx, ecx
jne 0x47aacd
test edx, edx
jne 0x47aacd
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], 5
mov ecx, dword [ebp - 0x224]
mov edx, dword [esi + 0x58]
mov eax, dword [ebp - 0x234]
push ebx
push ecx
mov ecx, dword [ebp - 0x22c]
push edx
push eax
push ecx
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 - 0x228], esp
mov ebx, esp
call fcn.0045c3c0
add eax, 0x10
mov dword [ebx], eax
call fcn.0046e000
mov byte [ebp - 4], 4
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x47abb0
mov ecx, dword [edi]
push edi
jmp 0x47aba9
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 - 0x220], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ebp - 0x224]
mov eax, dword [esi + 0x58]
push ecx
mov ecx, dword [ebp - 0x234]
push ebx
push edx
mov edx, dword [ebp - 0x22c]
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 - 0x220]
call fcn.00458b70
mov edi, dword [ebp - 0x220]
add esp, 0x1c
add edi, 0xfffffff0
mov eax, edi
mov dword [ebp - 0x228], esp
mov ebx, esp
call fcn.0045c3c0
add eax, 0x10
mov dword [ebx], eax
call fcn.0046e000
mov byte [ebp - 4], 6
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47ab8a
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
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 0x47abb0
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 - 0x220], eax
mov byte [ebp - 4], 9
cmp dword [esi + 0x64], 0
je 0x47ac03
push 0x4fa4f8
lea ecx, [ebp - 0x21c]
push ecx
mov ebx, 1
jmp 0x47ac11
push 0x4f5b64
lea edx, [ebp - 0x21c]
push edx
xor ebx, ebx
call fcn.0045aa80
cmp dword [esi + 0x60], 0
mov ebx, 1
je 0x47ac2f
push 0x4fa4f8
lea eax, [ebp - 0x220]
push eax
jmp 0x47ac3b
push 0x4fa4fc
lea ecx, [ebp - 0x220]
push ecx
call fcn.0045aa80
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x220]
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
push ecx
mov ecx, dword [ebp - 0x21c]
push edx
mov edx, dword [ebp - 0x224]
push eax
mov eax, dword [esi + 0x58]
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 - 0x230]
call fcn.00458b70
mov edi, dword [ebp - 0x230]
add esp, 0x1c
add edi, 0xfffffff0
mov eax, edi
mov dword [ebp - 0x228], esp
mov ebx, esp
call fcn.0045c3c0
add eax, 0x10
mov dword [ebx], eax
call fcn.0046e000
cmp dword [esi + 0x80], 0
je 0x47ad97
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x240], ebx
mov byte [ebp - 4], 0xb
mov eax, dword [ebx - 8]
mov edi, dword [ebp - 0x238]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, 0x104
or eax, ecx
jge 0x47ad12
mov eax, 0x104
lea ecx, [ebp - 0x240]
call fcn.00458cd0
mov ebx, dword [ebp - 0x240]
push edi
push 0x104
push ebx
push 0
push 0x4fe2e8
push str.Product
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp - 0x224]
mov edx, dword [esi + 0x58]
push ecx
push edx
push ebx
push str.http:__vip.log.baofeng.net_nvwa_logger.php
push str._s_categoryinstallruid_sclientid_st1veriosn_s
lea edi, [ebp - 0x230]
call fcn.00458b70
mov edi, dword [ebp - 0x230]
add esp, 0x10
add edi, 0xfffffff0
mov dword [ebp - 0x228], esp
mov eax, edi
mov dword [ebp - 0x228], esp
call fcn.0045c3c0
add eax, 0x10
mov ecx, esp
mov dword [ecx], eax
call fcn.0046e000
add ebx, 0xfffffff0
mov byte [ebp - 4], 0xa
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x47ad97
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov byte [ebp - 4], 9
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47adb4
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47adda
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 0x47ae00
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 - 0x224]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47ae26
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 - 0x234]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47ae4c
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 - 0x22c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47ae72
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 - 0x23c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47ae98
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 0x47aec1
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