Function at 0x48bb80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4edb97
mov eax, dword fs:[0]
push eax
sub esp, 0x224
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 - 0x22c]
push ecx
lea ecx, [ebp - 0x218]
call fcn.0045ab70
lea edx, [ebp - 0x22c]
push edx
lea eax, [ebp - 0x220]
push eax
mov ebx, str.BaofengStormPlayerProfilesMovieListMediaLibrary.ini
mov dword [ebp - 4], 0
call fcn.0045c1d0
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x228]
push edx
mov ebx, str.BaofengStormPlayerProfilesMovieList
mov byte [ebp - 4], 1
call fcn.0045c1d0
add esp, 0x10
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x48bc37
mov ecx, dword [ebp - 0x228]
push ecx
call fcn.0045b570
add esp, 4
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], 3
mov ecx, dword [0x5284a0]
mov eax, dword [ecx + 0x90]
mov ebx, 1
test eax, eax
je 0x48bc77
push 0x4fa4f8
lea edx, [ebp - 0x224]
push edx
jmp 0x48bc83
push 0x4fa9c4
lea eax, [ebp - 0x224]
push eax
call fcn.0045aa80
mov ecx, dword [ebp - 0x220]
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push ecx
push str.242099
push str.1_lib
push str.userlib
call ebx
test eax, eax
jne 0x48bcc5
lea edi, [esi + 0x274]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b59
call fcn.0047d470
mov edx, dword [ebp - 0x220]
mov eax, dword [ebp - 0x224]
push edx
push eax
push str.1_upd
push str.userlib
call ebx
test eax, eax
jne 0x48bcfe
lea edi, [esi + 0x274]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b5a
call fcn.0047d470
mov ecx, dword [ebp - 0x220]
push ecx
push 0x4fa4f8
push str.1_att
push str.userlib
call ebx
test eax, eax
jne 0x48bd35
lea edi, [esi + 0x274]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b5b
call fcn.0047d470
mov edx, dword [ebp - 0x220]
push edx
push 0x4fe43c
push str.1_cnt
push str.userlib
call ebx
test eax, eax
jne 0x48bd6c
lea edi, [esi + 0x274]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b5c
call fcn.0047d470
mov eax, dword [ebp - 0x220]
push eax
push str.242110
push str.2_lib
push str.userlib
call ebx
test eax, eax
jne 0x48bda3
lea edi, [esi + 0x274]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b5d
call fcn.0047d470
mov ecx, dword [ebp - 0x220]
mov edx, dword [ebp - 0x224]
push ecx
push edx
push str.2_upd
push str.userlib
call ebx
test eax, eax
jne 0x48bddc
lea edi, [esi + 0x274]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b5e
call fcn.0047d470
mov eax, dword [ebp - 0x220]
push eax
push 0x4fa4f8
push str.2_att
push str.userlib
call ebx
test eax, eax
jne 0x48be13
lea edi, [esi + 0x274]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b5f
call fcn.0047d470
mov ecx, dword [ebp - 0x220]
push ecx
push 0x4fe43c
push str.2_cnt
push str.userlib
call ebx
test eax, eax
jne 0x48be4a
lea edi, [esi + 0x274]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b60
call fcn.0047d470
mov edx, dword [ebp - 0x220]
push edx
push str.1769860
push str.3_lib
push str.userlib
call ebx
test eax, eax
jne 0x48be81
lea edi, [esi + 0x274]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b61
call fcn.0047d470
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x224]
push eax
push ecx
push str.3_upd
push str.userlib
call ebx
test eax, eax
jne 0x48beba
lea edi, [esi + 0x274]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b62
call fcn.0047d470
mov edx, dword [ebp - 0x220]
push edx
push 0x4fa4fc
push str.3_att
push str.userlib
call ebx
test eax, eax
jne 0x48bef1
lea edi, [esi + 0x274]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b63
call fcn.0047d470
mov eax, dword [ebp - 0x220]
push eax
push 0x4fe43c
push str.3_cnt
push str.userlib
call ebx
test eax, eax
jne 0x48bf28
lea edi, [esi + 0x274]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b64
call fcn.0047d470
mov ecx, dword [ebp - 0x220]
push ecx
push str.1843909
push str.4_lib
push str.userlib
call ebx
test eax, eax
jne 0x48bf5f
lea edi, [esi + 0x274]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b65
call fcn.0047d470
mov edx, dword [ebp - 0x220]
mov eax, dword [ebp - 0x224]
push edx
push eax
push str.4_upd
push str.userlib
call ebx
test eax, eax
jne 0x48bf98
lea edi, [esi + 0x274]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b66
call fcn.0047d470
mov ecx, dword [ebp - 0x220]
push ecx
push 0x4fa4fc
push str.4_att
push str.userlib
call ebx
test eax, eax
jne 0x48bfcf
lea edi, [esi + 0x274]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b67
call fcn.0047d470
mov edx, dword [ebp - 0x220]
push edx
push 0x4fe43c
push str.4_cnt
push str.userlib
call ebx
test eax, eax
jne 0x48c006
lea edi, [esi + 0x274]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b68
call fcn.0047d470
mov eax, dword [ebp - 0x220]
push eax
push str.1995645
push str.5_lib
push str.userlib
call ebx
test eax, eax
jne 0x48c03d
lea edi, [esi + 0x274]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b69
call fcn.0047d470
mov ecx, dword [ebp - 0x220]
mov edx, dword [ebp - 0x224]
push ecx
push edx
push str.5_upd
push str.userlib
call ebx
test eax, eax
jne 0x48c076
lea edi, [esi + 0x274]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b6a
call fcn.0047d470
mov eax, dword [ebp - 0x220]
push eax
push 0x4fa4fc
push str.5_att
push str.userlib
call ebx
test eax, eax
jne 0x48c0ad
lea edi, [esi + 0x274]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b6b
call fcn.0047d470
mov ecx, dword [ebp - 0x220]
push ecx
push 0x4fe43c
push str.5_cnt
push str.userlib
call ebx
test eax, eax
jne 0x48c0e4
lea edi, [esi + 0x274]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b6c
call fcn.0047d470
mov edx, dword [ebp - 0x220]
push edx
push str.2000527
push str.6_lib
push str.userlib
call ebx
test eax, eax
jne 0x48c11b
lea edi, [esi + 0x274]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b6d
call fcn.0047d470
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x224]
push eax
push ecx
push str.6_upd
push str.userlib
call ebx
test eax, eax
jne 0x48c154
lea edi, [esi + 0x274]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b6e
call fcn.0047d470
mov edx, dword [ebp - 0x220]
push edx
push 0x4fa4fc
push str.6_att
push str.userlib
call ebx
test eax, eax
jne 0x48c18b
lea edi, [esi + 0x274]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b6f
call fcn.0047d470
mov eax, dword [ebp - 0x220]
push eax
push 0x4fe43c
push str.6_cnt
push str.userlib
call ebx
test eax, eax
jne 0x48c1c2
lea edi, [esi + 0x274]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b70
call fcn.0047d470
mov ecx, dword [ebp - 0x220]
push ecx
push str.2000534
push str.7_lib
push str.userlib
call ebx
test eax, eax
jne 0x48c1f9
lea edi, [esi + 0x274]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b71
call fcn.0047d470
mov edx, dword [ebp - 0x220]
mov eax, dword [ebp - 0x224]
push edx
push eax
push str.7_upd
push str.userlib
call ebx
test eax, eax
jne 0x48c232
lea edi, [esi + 0x274]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b72
call fcn.0047d470
mov ecx, dword [ebp - 0x220]
push ecx
push 0x4fa4fc
push str.7_att
push str.userlib
call ebx
test eax, eax
jne 0x48c269
lea edi, [esi + 0x274]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b73
call fcn.0047d470
mov edx, dword [ebp - 0x220]
push edx
push 0x4fe43c
push str.7_cnt
push str.userlib
call ebx
test eax, eax
jne 0x48c2a0
lea edi, [esi + 0x274]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b74
call fcn.0047d470
mov eax, dword [ebp - 0x220]
push eax
push str.2025123
push str.8_lib
push str.userlib
call ebx
test eax, eax
jne 0x48c2d7
lea edi, [esi + 0x274]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b75
call fcn.0047d470
mov ecx, dword [ebp - 0x220]
mov edx, dword [ebp - 0x224]
push ecx
push edx
push str.8_upd
push str.userlib
call ebx
test eax, eax
jne 0x48c310
lea edi, [esi + 0x274]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b76
call fcn.0047d470
mov eax, dword [ebp - 0x220]
push eax
push 0x4fa4fc
push str.8_att
push str.userlib
call ebx
test eax, eax
jne 0x48c347
lea edi, [esi + 0x274]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b77
call fcn.0047d470
mov ecx, dword [ebp - 0x220]
push ecx
push 0x4fe43c
push str.8_cnt
push str.userlib
call ebx
test eax, eax
jne 0x48c37e
lea edi, [esi + 0x274]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b78
call fcn.0047d470
mov edx, dword [ebp - 0x220]
push edx
push str.2018184
push str.9_lib
push str.userlib
call ebx
test eax, eax
jne 0x48c3b5
lea edi, [esi + 0x274]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b79
call fcn.0047d470
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x224]
push eax
push ecx
push str.9_upd
push str.userlib
call ebx
test eax, eax
jne 0x48c3ee
lea edi, [esi + 0x274]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b7a
call fcn.0047d470
mov edx, dword [ebp - 0x220]
push edx
push 0x4fa4fc
push str.9_att
push str.userlib
call ebx
test eax, eax
jne 0x48c425
lea edi, [esi + 0x274]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b7b
call fcn.0047d470
mov eax, dword [ebp - 0x220]
push eax
push 0x4fe43c
push str.9_cnt
push str.userlib
call ebx
test eax, eax
jne 0x48c45c
lea edi, [esi + 0x274]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b7c
call fcn.0047d470
mov ecx, dword [ebp - 0x220]
push ecx
push 0x4fe650
push 0x4fe654
push str.userlib
call ebx
test eax, eax
jne 0x48c493
lea edi, [esi + 0x274]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b7d
call fcn.0047d470
mov edx, dword [0x5284a0]
mov eax, dword [edx + 0x90]
test eax, eax
je 0x48c50d
add esi, 0x23c
lea eax, [ebp - 0x21c]
push esi
push eax
mov ebx, str.MediaLibraryUpdate.exe__hide
call fcn.0045c1d0
add esp, 8
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax - 0xc]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x48c4dc
call fcn.004cac50
push eax
push 0
call fcn.00458760
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48c50d
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 - 0x224]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48c533
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 - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48c559
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 - 0x220]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48c57f
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 - 0x22c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48c5a8
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