Function at 0x484bf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5062f7
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x54b2c0]
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.00459530
lea edx, [ebp - 0x22c]
push edx
lea eax, [ebp - 0x220]
push eax
mov ebx, str.BaofengStormPlayerProfilesMovieListMediaLibrary.ini
mov dword [ebp - 4], 0
call fcn.0045c970
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x228]
push edx
mov ebx, str.BaofengStormPlayerProfilesMovieList
mov byte [ebp - 4], 1
call fcn.0045c970
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 0x484ca3
mov ecx, dword [ebp - 0x228]
call fcn.0045b970
mov edx, dword [0x54af18]
mov eax, dword [edx + 0xc]
mov ecx, 0x54af18
call eax
add eax, 0x10
mov dword [ebp - 0x224], eax
mov byte [ebp - 4], 3
cmp dword [esi + 0x6c], 0
mov ebx, 1
je 0x484cd9
push 0x51a4fc
lea ecx, [ebp - 0x224]
push ecx
jmp 0x484ce5
push 0x51a410
lea edx, [ebp - 0x224]
push edx
call fcn.00459440
mov eax, dword [ebp - 0x220]
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push eax
push str.242099
push str.1_lib
push str.userlib
call ebx
test eax, eax
jne 0x484d27
lea edi, [esi + 0xb8]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b59
call fcn.00472960
mov ecx, dword [ebp - 0x220]
mov edx, dword [ebp - 0x224]
push ecx
push edx
push str.1_upd
push str.userlib
call ebx
test eax, eax
jne 0x484d60
lea edi, [esi + 0xb8]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b5a
call fcn.00472960
mov eax, dword [ebp - 0x220]
push eax
push 0x51a4fc
push str.1_att
push str.userlib
call ebx
test eax, eax
jne 0x484d97
lea edi, [esi + 0xb8]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b5b
call fcn.00472960
mov ecx, dword [ebp - 0x220]
push ecx
push 0x51feb0
push str.1_cnt
push str.userlib
call ebx
test eax, eax
jne 0x484dce
lea edi, [esi + 0xb8]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b5c
call fcn.00472960
mov edx, dword [ebp - 0x220]
push edx
push str.242110
push str.2_lib
push str.userlib
call ebx
test eax, eax
jne 0x484e05
lea edi, [esi + 0xb8]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b5d
call fcn.00472960
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x224]
push eax
push ecx
push str.2_upd
push str.userlib
call ebx
test eax, eax
jne 0x484e3e
lea edi, [esi + 0xb8]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b5e
call fcn.00472960
mov edx, dword [ebp - 0x220]
push edx
push 0x51a4fc
push str.2_att
push str.userlib
call ebx
test eax, eax
jne 0x484e75
lea edi, [esi + 0xb8]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b5f
call fcn.00472960
mov eax, dword [ebp - 0x220]
push eax
push 0x51feb0
push str.2_cnt
push str.userlib
call ebx
test eax, eax
jne 0x484eac
lea edi, [esi + 0xb8]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b60
call fcn.00472960
mov ecx, dword [ebp - 0x220]
push ecx
push str.1769860
push str.3_lib
push str.userlib
call ebx
test eax, eax
jne 0x484ee3
lea edi, [esi + 0xb8]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b61
call fcn.00472960
mov edx, dword [ebp - 0x220]
mov eax, dword [ebp - 0x224]
push edx
push eax
push str.3_upd
push str.userlib
call ebx
test eax, eax
jne 0x484f1c
lea edi, [esi + 0xb8]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b62
call fcn.00472960
mov ecx, dword [ebp - 0x220]
push ecx
push 0x51a500
push str.3_att
push str.userlib
call ebx
test eax, eax
jne 0x484f53
lea edi, [esi + 0xb8]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b63
call fcn.00472960
mov edx, dword [ebp - 0x220]
push edx
push 0x51feb0
push str.3_cnt
push str.userlib
call ebx
test eax, eax
jne 0x484f8a
lea edi, [esi + 0xb8]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b64
call fcn.00472960
mov eax, dword [ebp - 0x220]
push eax
push str.1843909
push str.4_lib
push str.userlib
call ebx
test eax, eax
jne 0x484fc1
lea edi, [esi + 0xb8]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b65
call fcn.00472960
mov ecx, dword [ebp - 0x220]
mov edx, dword [ebp - 0x224]
push ecx
push edx
push str.4_upd
push str.userlib
call ebx
test eax, eax
jne 0x484ffa
lea edi, [esi + 0xb8]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b66
call fcn.00472960
mov eax, dword [ebp - 0x220]
push eax
push 0x51a500
push str.4_att
push str.userlib
call ebx
test eax, eax
jne 0x485031
lea edi, [esi + 0xb8]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b67
call fcn.00472960
mov ecx, dword [ebp - 0x220]
push ecx
push 0x51feb0
push str.4_cnt
push str.userlib
call ebx
test eax, eax
jne 0x485068
lea edi, [esi + 0xb8]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b68
call fcn.00472960
mov edx, dword [ebp - 0x220]
push edx
push str.1995645
push str.5_lib
push str.userlib
call ebx
test eax, eax
jne 0x48509f
lea edi, [esi + 0xb8]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b69
call fcn.00472960
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x224]
push eax
push ecx
push str.5_upd
push str.userlib
call ebx
test eax, eax
jne 0x4850d8
lea edi, [esi + 0xb8]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b6a
call fcn.00472960
mov edx, dword [ebp - 0x220]
push edx
push 0x51a500
push str.5_att
push str.userlib
call ebx
test eax, eax
jne 0x48510f
lea edi, [esi + 0xb8]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b6b
call fcn.00472960
mov eax, dword [ebp - 0x220]
push eax
push 0x51feb0
push str.5_cnt
push str.userlib
call ebx
test eax, eax
jne 0x485146
lea edi, [esi + 0xb8]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b6c
call fcn.00472960
mov ecx, dword [ebp - 0x220]
push ecx
push str.2000527
push str.6_lib
push str.userlib
call ebx
test eax, eax
jne 0x48517d
lea edi, [esi + 0xb8]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b6d
call fcn.00472960
mov edx, dword [ebp - 0x220]
mov eax, dword [ebp - 0x224]
push edx
push eax
push str.6_upd
push str.userlib
call ebx
test eax, eax
jne 0x4851b6
lea edi, [esi + 0xb8]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b6e
call fcn.00472960
mov ecx, dword [ebp - 0x220]
push ecx
push 0x51a500
push str.6_att
push str.userlib
call ebx
test eax, eax
jne 0x4851ed
lea edi, [esi + 0xb8]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b6f
call fcn.00472960
mov edx, dword [ebp - 0x220]
push edx
push 0x51feb0
push str.6_cnt
push str.userlib
call ebx
test eax, eax
jne 0x485224
lea edi, [esi + 0xb8]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b70
call fcn.00472960
mov eax, dword [ebp - 0x220]
push eax
push str.2000534
push str.7_lib
push str.userlib
call ebx
test eax, eax
jne 0x48525b
lea edi, [esi + 0xb8]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b71
call fcn.00472960
mov ecx, dword [ebp - 0x220]
mov edx, dword [ebp - 0x224]
push ecx
push edx
push str.7_upd
push str.userlib
call ebx
test eax, eax
jne 0x485294
lea edi, [esi + 0xb8]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b72
call fcn.00472960
mov eax, dword [ebp - 0x220]
push eax
push 0x51a500
push str.7_att
push str.userlib
call ebx
test eax, eax
jne 0x4852cb
lea edi, [esi + 0xb8]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b73
call fcn.00472960
mov ecx, dword [ebp - 0x220]
push ecx
push 0x51feb0
push str.7_cnt
push str.userlib
call ebx
test eax, eax
jne 0x485302
lea edi, [esi + 0xb8]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b74
call fcn.00472960
mov edx, dword [ebp - 0x220]
push edx
push str.2025123
push str.8_lib
push str.userlib
call ebx
test eax, eax
jne 0x485339
lea edi, [esi + 0xb8]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b75
call fcn.00472960
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x224]
push eax
push ecx
push str.8_upd
push str.userlib
call ebx
test eax, eax
jne 0x485372
lea edi, [esi + 0xb8]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b76
call fcn.00472960
mov edx, dword [ebp - 0x220]
push edx
push 0x51a500
push str.8_att
push str.userlib
call ebx
test eax, eax
jne 0x4853a9
lea edi, [esi + 0xb8]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b77
call fcn.00472960
mov eax, dword [ebp - 0x220]
push eax
push 0x51feb0
push str.8_cnt
push str.userlib
call ebx
test eax, eax
jne 0x4853e0
lea edi, [esi + 0xb8]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b78
call fcn.00472960
mov ecx, dword [ebp - 0x220]
push ecx
push str.2018184
push str.9_lib
push str.userlib
call ebx
test eax, eax
jne 0x485417
lea edi, [esi + 0xb8]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b79
call fcn.00472960
mov edx, dword [ebp - 0x220]
mov eax, dword [ebp - 0x224]
push edx
push eax
push str.9_upd
push str.userlib
call ebx
test eax, eax
jne 0x485450
lea edi, [esi + 0xb8]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b7a
call fcn.00472960
mov ecx, dword [ebp - 0x220]
push ecx
push 0x51a500
push str.9_att
push str.userlib
call ebx
test eax, eax
jne 0x485487
lea edi, [esi + 0xb8]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b7b
call fcn.00472960
mov edx, dword [ebp - 0x220]
push edx
push 0x51feb0
push str.9_cnt
push str.userlib
call ebx
test eax, eax
jne 0x4854be
lea edi, [esi + 0xb8]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b7c
call fcn.00472960
mov eax, dword [ebp - 0x220]
push eax
push 0x5200c4
push 0x5200c8
push str.userlib
call ebx
test eax, eax
jne 0x4854f5
lea edi, [esi + 0xb8]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b7d
call fcn.00472960
cmp dword [esi + 0x6c], 0
je 0x485565
add esi, 0xb4
lea ecx, [ebp - 0x21c]
push esi
push ecx
mov ebx, str.MediaLibraryUpdate.exe__hide
call fcn.0045c970
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 0x485534
call fcn.0045f360
push eax
push 0
call fcn.004586f0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x485565
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 0x48558b
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 0x4855b1
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 0x4855d7
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 0x485600
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.004e0040
mov esp, ebp
pop ebp
ret