Function at 0x475dc0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a05f7
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x4c4330]
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.0045a880
lea edx, [ebp - 0x22c]
push edx
lea eax, [ebp - 0x220]
push eax
mov ebx, str.BaofengStormPlayerProfilesMovieListMediaLibrary.ini
mov dword [ebp - 4], 0
call fcn.0045bec0
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x228]
push edx
mov ebx, str.BaofengStormPlayerProfilesMovieList
mov byte [ebp - 4], 1
call fcn.0045bec0
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 0x475e77
mov ecx, dword [ebp - 0x228]
push ecx
call fcn.0045b280
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
cmp dword [esi + 0x60], 0
mov ebx, 1
je 0x475ead
push 0x4aadd0
lea ecx, [ebp - 0x224]
push ecx
jmp 0x475eb9
push 0x4aadec
lea edx, [ebp - 0x224]
push edx
call fcn.0045a790
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 0x475ef8
lea edi, [esi + 0x6c]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b59
call fcn.00479ea0
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 0x475f2e
lea edi, [esi + 0x6c]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b5a
call fcn.00479ea0
mov eax, dword [ebp - 0x220]
push eax
push 0x4aadd0
push str.1_att
push str.userlib
call ebx
test eax, eax
jne 0x475f62
lea edi, [esi + 0x6c]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b5b
call fcn.00479ea0
mov ecx, dword [ebp - 0x220]
push ecx
push 0x4ae79c
push str.1_cnt
push str.userlib
call ebx
test eax, eax
jne 0x475f96
lea edi, [esi + 0x6c]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b5c
call fcn.00479ea0
mov edx, dword [ebp - 0x220]
push edx
push str.242110
push str.2_lib
push str.userlib
call ebx
test eax, eax
jne 0x475fca
lea edi, [esi + 0x6c]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b5d
call fcn.00479ea0
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 0x476000
lea edi, [esi + 0x6c]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b5e
call fcn.00479ea0
mov edx, dword [ebp - 0x220]
push edx
push 0x4aadd0
push str.2_att
push str.userlib
call ebx
test eax, eax
jne 0x476034
lea edi, [esi + 0x6c]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b5f
call fcn.00479ea0
mov eax, dword [ebp - 0x220]
push eax
push 0x4ae79c
push str.2_cnt
push str.userlib
call ebx
test eax, eax
jne 0x476068
lea edi, [esi + 0x6c]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b60
call fcn.00479ea0
mov ecx, dword [ebp - 0x220]
push ecx
push str.1769860
push str.3_lib
push str.userlib
call ebx
test eax, eax
jne 0x47609c
lea edi, [esi + 0x6c]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b61
call fcn.00479ea0
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 0x4760d2
lea edi, [esi + 0x6c]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b62
call fcn.00479ea0
mov ecx, dword [ebp - 0x220]
push ecx
push 0x4aadd4
push str.3_att
push str.userlib
call ebx
test eax, eax
jne 0x476106
lea edi, [esi + 0x6c]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b63
call fcn.00479ea0
mov edx, dword [ebp - 0x220]
push edx
push 0x4ae79c
push str.3_cnt
push str.userlib
call ebx
test eax, eax
jne 0x47613a
lea edi, [esi + 0x6c]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b64
call fcn.00479ea0
mov eax, dword [ebp - 0x220]
push eax
push str.1843909
push str.4_lib
push str.userlib
call ebx
test eax, eax
jne 0x47616e
lea edi, [esi + 0x6c]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b65
call fcn.00479ea0
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 0x4761a4
lea edi, [esi + 0x6c]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b66
call fcn.00479ea0
mov eax, dword [ebp - 0x220]
push eax
push 0x4aadd4
push str.4_att
push str.userlib
call ebx
test eax, eax
jne 0x4761d8
lea edi, [esi + 0x6c]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b67
call fcn.00479ea0
mov ecx, dword [ebp - 0x220]
push ecx
push 0x4ae79c
push str.4_cnt
push str.userlib
call ebx
test eax, eax
jne 0x47620c
lea edi, [esi + 0x6c]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b68
call fcn.00479ea0
mov edx, dword [ebp - 0x220]
push edx
push str.1995645
push str.5_lib
push str.userlib
call ebx
test eax, eax
jne 0x476240
lea edi, [esi + 0x6c]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b69
call fcn.00479ea0
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 0x476276
lea edi, [esi + 0x6c]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b6a
call fcn.00479ea0
mov edx, dword [ebp - 0x220]
push edx
push 0x4aadd4
push str.5_att
push str.userlib
call ebx
test eax, eax
jne 0x4762aa
lea edi, [esi + 0x6c]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b6b
call fcn.00479ea0
mov eax, dword [ebp - 0x220]
push eax
push 0x4ae79c
push str.5_cnt
push str.userlib
call ebx
test eax, eax
jne 0x4762de
lea edi, [esi + 0x6c]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b6c
call fcn.00479ea0
mov ecx, dword [ebp - 0x220]
push ecx
push str.2000527
push str.6_lib
push str.userlib
call ebx
test eax, eax
jne 0x476312
lea edi, [esi + 0x6c]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b6d
call fcn.00479ea0
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 0x476348
lea edi, [esi + 0x6c]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b6e
call fcn.00479ea0
mov ecx, dword [ebp - 0x220]
push ecx
push 0x4aadd4
push str.6_att
push str.userlib
call ebx
test eax, eax
jne 0x47637c
lea edi, [esi + 0x6c]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b6f
call fcn.00479ea0
mov edx, dword [ebp - 0x220]
push edx
push 0x4ae79c
push str.6_cnt
push str.userlib
call ebx
test eax, eax
jne 0x4763b0
lea edi, [esi + 0x6c]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b70
call fcn.00479ea0
mov eax, dword [ebp - 0x220]
push eax
push str.2000534
push str.7_lib
push str.userlib
call ebx
test eax, eax
jne 0x4763e4
lea edi, [esi + 0x6c]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b71
call fcn.00479ea0
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 0x47641a
lea edi, [esi + 0x6c]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b72
call fcn.00479ea0
mov eax, dword [ebp - 0x220]
push eax
push 0x4aadd4
push str.7_att
push str.userlib
call ebx
test eax, eax
jne 0x47644e
lea edi, [esi + 0x6c]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b73
call fcn.00479ea0
mov ecx, dword [ebp - 0x220]
push ecx
push 0x4ae79c
push str.7_cnt
push str.userlib
call ebx
test eax, eax
jne 0x476482
lea edi, [esi + 0x6c]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b74
call fcn.00479ea0
mov edx, dword [ebp - 0x220]
push edx
push str.2025123
push str.8_lib
push str.userlib
call ebx
test eax, eax
jne 0x4764b6
lea edi, [esi + 0x6c]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b75
call fcn.00479ea0
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 0x4764ec
lea edi, [esi + 0x6c]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b76
call fcn.00479ea0
mov edx, dword [ebp - 0x220]
push edx
push 0x4aadd4
push str.8_att
push str.userlib
call ebx
test eax, eax
jne 0x476520
lea edi, [esi + 0x6c]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b77
call fcn.00479ea0
mov eax, dword [ebp - 0x220]
push eax
push 0x4ae79c
push str.8_cnt
push str.userlib
call ebx
test eax, eax
jne 0x476554
lea edi, [esi + 0x6c]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b78
call fcn.00479ea0
mov ecx, dword [ebp - 0x220]
push ecx
push str.2018184
push str.9_lib
push str.userlib
call ebx
test eax, eax
jne 0x476588
lea edi, [esi + 0x6c]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b79
call fcn.00479ea0
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 0x4765be
lea edi, [esi + 0x6c]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b7a
call fcn.00479ea0
mov ecx, dword [ebp - 0x220]
push ecx
push 0x4aadd4
push str.9_att
push str.userlib
call ebx
test eax, eax
jne 0x4765f2
lea edi, [esi + 0x6c]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b7b
call fcn.00479ea0
mov edx, dword [ebp - 0x220]
push edx
push 0x4ae79c
push str.9_cnt
push str.userlib
call ebx
test eax, eax
jne 0x476626
lea edi, [esi + 0x6c]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b7c
call fcn.00479ea0
mov eax, dword [ebp - 0x220]
push eax
push 0x4ae9b0
push 0x4ae9b4
push str.userlib
call ebx
test eax, eax
jne 0x47665a
lea edi, [esi + 0x6c]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x1b7d
call fcn.00479ea0
cmp dword [esi + 0x60], 0
je 0x4766c7
add esi, 0xc
lea ecx, [ebp - 0x21c]
push esi
push ecx
mov ebx, str.MediaLibraryUpdate.exe__hide
call fcn.0045bec0
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 0x476696
call fcn.00458bc0
push eax
push 0
call fcn.00458700
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 0x4766c7
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 0x4766ed
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 0x476713
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 0x476739
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 0x476762
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.00485631
mov esp, ebp
pop ebp
ret