Function at 0x477fc0
Capabilities:
Check if file exists
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1085
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
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
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov esi, ecx
mov ecx, section..data
call edx
lea ebx, [eax + 0x10]
mov dword [ebp - 0x220], ebx
mov dword [ebp - 4], 0
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
lea edi, [eax + 0x10]
mov dword [ebp - 0x224], edi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
mov byte [ebp - 4], 1
push ecx
mov word [ebp - 0x218], ax
call fcn.00488d60
add esp, 0xc
push 1
push 0x23
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x4780a9
mov byte [ebp - 4], al
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47807f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4780a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x479baf
lea ecx, [ebp - 0x22c]
push ecx
lea ecx, [ebp - 0x218]
call fcn.0045a880
add esi, 0xc
lea edx, [ebp - 0x228]
push esi
push edx
mov ebx, str.ApplicationDataProfiles_skinlist.xml
mov byte [ebp - 4], 2
mov dword [ebp - 0x230], esi
call fcn.0045bec0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 3
call fcn.0045bfa0
mov byte [ebp - 4], 2
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 0x478112
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x21c]
push edx
mov ebx, str.BaofengStormPlayerProfiles
call fcn.0045bec0
push eax
lea eax, [ebp - 0x228]
push eax
mov ebx, str._skinlist.xml
mov byte [ebp - 4], 4
call fcn.0045bec0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 5
call fcn.0045bfa0
mov byte [ebp - 4], 4
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 0x478178
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 - 0x21c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47819e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x220]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4781c8
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b360
add esp, 4
push 2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, dword [ebp - 0x230]
lea ecx, [ebp - 0x21c]
push esi
push ecx
mov ebx, str.ApplicationDataProfilesDownloadConfig.xml
call fcn.0045bec0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 6
call fcn.0045bfa0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x478218
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x228]
push edx
mov ebx, str.BaofengStormPlayerProfiles
call fcn.0045bec0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str.DownloadConfig.xml
mov byte [ebp - 4], 7
call fcn.0045bec0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 8
call fcn.0045bfa0
mov byte [ebp - 4], 7
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 0x47827e
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 - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4782a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x220]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4782ce
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b360
add esp, 4
push 2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x21c]
push esi
push ecx
mov ebx, str.ApplicationDataProfilesdns.dat
call fcn.0045bec0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 9
call fcn.0045bfa0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x478318
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x228]
push edx
mov ebx, str.BaofengStormPlayerProfiles
call fcn.0045bec0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str.dns.dat
mov byte [ebp - 4], 0xa
call fcn.0045bec0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0xb
call fcn.0045bfa0
mov byte [ebp - 4], 0xa
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 0x47837e
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 - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4783a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x220]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4783ce
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b360
add esp, 4
push 2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x21c]
push esi
push ecx
mov ebx, str.ApplicationDataProfilesMovieList_allpatch.s3db
call fcn.0045bec0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0xc
call fcn.0045bfa0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x478418
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x228]
push edx
mov ebx, str.BaofengStormPlayerProfilesMovieList
call fcn.0045bec0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str._allpatch.s3db
mov byte [ebp - 4], 0xd
call fcn.0045bec0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0xe
call fcn.0045bfa0
mov byte [ebp - 4], 0xd
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 0x47847e
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 - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4784a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x220]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4784ce
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b360
add esp, 4
push 2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x21c]
push esi
push ecx
mov ebx, str.ApplicationDataProfilesMovieList_bov.xml
call fcn.0045bec0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0xf
call fcn.0045bfa0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x478518
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x228]
push edx
mov ebx, str.BaofengStormPlayerProfilesMovieList
call fcn.0045bec0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str._bov.xml
mov byte [ebp - 4], 0x10
call fcn.0045bec0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x11
call fcn.0045bfa0
mov byte [ebp - 4], 0x10
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 0x47857e
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 - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4785a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x220]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4785ce
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b360
add esp, 4
push 2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x21c]
push esi
push ecx
mov ebx, str.ApplicationDataProfiles_vodcommon.xml
call fcn.0045bec0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0x12
call fcn.0045bfa0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x478618
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x228]
push edx
mov ebx, str.BaofengStormPlayerProfiles_vod
call fcn.0045bec0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str.common.xml
mov byte [ebp - 4], 0x13
call fcn.0045bec0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x14
call fcn.0045bfa0
mov byte [ebp - 4], 0x13
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 0x47867e
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 - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4786a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x220]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4786ce
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b360
add esp, 4
push 2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x21c]
push esi
push ecx
mov ebx, str.ApplicationDataProfiles_vod_tipsonline_tips.swf
call fcn.0045bec0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0x15
call fcn.0045bfa0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x478718
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x228]
push edx
mov ebx, str.BaofengStormPlayerProfiles_vod_tips
call fcn.0045bec0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str.online_tips.swf
mov byte [ebp - 4], 0x16
call fcn.0045bec0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x17
call fcn.0045bfa0
mov byte [ebp - 4], 0x16
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 0x47877e
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 - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4787a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x220]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4787ce
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b360
add esp, 4
push 2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x21c]
push esi
push ecx
mov ebx, str.ApplicationDataProfiles_vodloadingdata.xml
call fcn.0045bec0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0x18
call fcn.0045bfa0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x478818
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x228]
push edx
mov ebx, str.BaofengStormPlayerProfiles_vodloading
call fcn.0045bec0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str.data.xml
mov byte [ebp - 4], 0x19
call fcn.0045bec0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x1a
call fcn.0045bfa0
mov byte [ebp - 4], 0x19
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 0x47887e
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 - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4788a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x220]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4788ce
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b360
add esp, 4
push 2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x21c]
push esi
push ecx
mov ebx, str.ApplicationDataProfiles_vodloadingloading.swf
call fcn.0045bec0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0x1b
call fcn.0045bfa0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x478918
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x228]
push edx
mov ebx, str.BaofengStormPlayerProfiles_vodloading
call fcn.0045bec0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str.loading.swf
mov byte [ebp - 4], 0x1c
call fcn.0045bec0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x1d
call fcn.0045bfa0
mov byte [ebp - 4], 0x1c
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 0x47897e
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 - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4789a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x220]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4789ce
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b360
add esp, 4
push 2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x21c]
push esi
push ecx
mov ebx, str.ApplicationDataProfiles_vodloadingm1.swf
call fcn.0045bec0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0x1e
call fcn.0045bfa0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x478a18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x228]
push edx
mov ebx, str.BaofengStormPlayerProfiles_vodloading
call fcn.0045bec0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str.m1.swf
mov byte [ebp - 4], 0x1f
call fcn.0045bec0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x20
call fcn.0045bfa0
mov byte [ebp - 4], 0x1f
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 0x478a7e
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 - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x478aa4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x220]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x478ace
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b360
add esp, 4
push 2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x21c]
push esi
push ecx
mov ebx, str.ApplicationDataProfiles_vodloadingcheck.dat
call fcn.0045bec0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0x21
call fcn.0045bfa0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x478b18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x228]
push edx
mov ebx, str.BaofengStormPlayerProfiles_vodloading
call fcn.0045bec0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str.check.dat
mov byte [ebp - 4], 0x22
call fcn.0045bec0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x23
call fcn.0045bfa0
mov byte [ebp - 4], 0x22
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 0x478b7e
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 - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x478ba4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x220]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x478bce
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b360
add esp, 4
push 2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x21c]
push esi
push ecx
mov ebx, str.ApplicationDataSkinMatdata.xml
call fcn.0045bec0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0x24
call fcn.0045bfa0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x478c18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x228]
push edx
mov ebx, str.BaofengStormPlayerSkinMat
call fcn.0045bec0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str.data.xml
mov byte [ebp - 4], 0x25
call fcn.0045bec0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x26
call fcn.0045bfa0
mov byte [ebp - 4], 0x25
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 0x478c7e
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 - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x478ca4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x220]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x478cce
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b360
add esp, 4
push 2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x21c]
push esi
push ecx
mov ebx, str.ApplicationDataSkinMatdownload.xml
call fcn.0045bec0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0x27
call fcn.0045bfa0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x478d18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x228]
push edx
mov ebx, str.BaofengStormPlayerSkinMat
call fcn.0045bec0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str.download.xml
mov byte [ebp - 4], 0x28
call fcn.0045bec0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x29
call fcn.0045bfa0
mov byte [ebp - 4], 0x28
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 0x478d7e
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 - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x478da4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x220]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x478dce
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b360
add esp, 4
push 2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x21c]
push esi
push ecx
mov ebx, str.ApplicationDataSkinMatmainSwf.swf
call fcn.0045bec0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0x2a
call fcn.0045bfa0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x478e18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x228]
push edx
mov ebx, str.BaofengStormPlayerSkinMat
call fcn.0045bec0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str.mainSwf.swf
mov byte [ebp - 4], 0x2b
call fcn.0045bec0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x2c
call fcn.0045bfa0
mov byte [ebp - 4], 0x2b
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 0x478e7e
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 - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x478ea4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x220]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x478ece
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b360
add esp, 4
push 2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x21c]
push esi
push ecx
mov ebx, str.ApplicationDataSkinMatmovie34.jpg
call fcn.0045bec0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0x2d
call fcn.0045bfa0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x478f18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x228]
push edx
mov ebx, str.BaofengStormPlayerSkinMat
call fcn.0045bec0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str.movie34.jpg
mov byte [ebp - 4], 0x2e
call fcn.0045bec0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x2f
call fcn.0045bfa0
mov byte [ebp - 4], 0x2e
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 0x478f7e
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 - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x478fa4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x220]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x478fce
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b360
add esp, 4
push 2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x21c]
push esi
push ecx
mov ebx, str.ApplicationDataSkinMatmovie35.jpg
call fcn.0045bec0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0x30
call fcn.0045bfa0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x479018
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x228]
push edx
mov ebx, str.BaofengStormPlayerSkinMat
call fcn.0045bec0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str.movie35.jpg
mov byte [ebp - 4], 0x31
call fcn.0045bec0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x32
call fcn.0045bfa0
mov byte [ebp - 4], 0x31
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 0x47907e
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 - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4790a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x220]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4790ce
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b360
add esp, 4
push 2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x21c]
push esi
push ecx
mov ebx, str.ApplicationDataSkinMatmovie37.jpg
call fcn.0045bec0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0x33
call fcn.0045bfa0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x479118
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x228]
push edx
mov ebx, str.BaofengStormPlayerSkinMat
call fcn.0045bec0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str.movie37.jpg
mov byte [ebp - 4], 0x34
call fcn.0045bec0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x35
call fcn.0045bfa0
mov byte [ebp - 4], 0x34
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 0x47917e
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 - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4791a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x220]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4791ce
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b360
add esp, 4
push 2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x21c]
push esi
push ecx
mov ebx, str.ApplicationDataSkinMatSkinMat.zip
call fcn.0045bec0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0x36
call fcn.0045bfa0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x479218
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x228]
push edx
mov ebx, str.BaofengStormPlayerSkinMat
call fcn.0045bec0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str.SkinMat.zip
mov byte [ebp - 4], 0x37
call fcn.0045bec0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x38
call fcn.0045bfa0
mov byte [ebp - 4], 0x37
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 0x47927e
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 - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4792a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x220]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4792ce
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b360
add esp, 4
push 2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x21c]
push esi
push ecx
mov ebx, str.ApplicationDataProfiles_voddefault_midADclose.swf
call fcn.0045bec0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0x39
call fcn.0045bfa0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x479318
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x228]
push edx
mov ebx, str.BaofengStormPlayerProfiles_voddefault_midAD
call fcn.0045bec0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str.close.swf
mov byte [ebp - 4], 0x3a
call fcn.0045bec0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x3b
call fcn.0045bfa0
mov byte [ebp - 4], 0x3a
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 0x47937e
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 - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4793a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x220]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4793ce
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b360
add esp, 4
push 2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x21c]
push esi
push ecx
mov ebx, str.ApplicationDataProfiles_voddefault_midADmain.swf
call fcn.0045bec0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0x3c
call fcn.0045bfa0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x479418
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x228]
push edx
mov ebx, str.BaofengStormPlayerProfiles_voddefault_midAD
call fcn.0045bec0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str.main.swf
mov byte [ebp - 4], 0x3d
call fcn.0045bec0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x3e
call fcn.0045bfa0
mov byte [ebp - 4], 0x3d
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 0x47947e
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 - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4794a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x220]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4794ce
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b360
add esp, 4
push 2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x21c]
push esi
push ecx
mov ebx, str.ApplicationDataProfiles_voddefault_midADmateriel.xml
call fcn.0045bec0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0x3f
call fcn.0045bfa0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x479518
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x228]
push edx
mov ebx, str.BaofengStormPlayerProfiles_voddefault_midAD
call fcn.0045bec0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str.materiel.xml
mov byte [ebp - 4], 0x40
call fcn.0045bec0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x41
call fcn.0045bfa0
mov byte [ebp - 4], 0x40
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 0x47957e
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 - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4795a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x220]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4795ce
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b360
add esp, 4
push 2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x21c]
push esi
push ecx
mov ebx, str.ApplicationDataProfiles_voddefault_midADpauseMaterials.zip
call fcn.0045bec0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0x42
call fcn.0045bfa0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x479618
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x228]
push edx
mov ebx, str.BaofengStormPlayerProfiles_voddefault_midAD
call fcn.0045bec0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str.pauseMaterials.zip
mov byte [ebp - 4], 0x43
call fcn.0045bec0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x44
call fcn.0045bfa0
mov byte [ebp - 4], 0x43
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 0x47967e
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 - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4796a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x220]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4796ce
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b360
add esp, 4
push 2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x21c]
push esi
push ecx
mov ebx, str.ApplicationDataProfiles_voddefault_midAD_scheme.xml
call fcn.0045bec0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0x45
call fcn.0045bfa0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x479718
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x228]
push edx
mov ebx, str.BaofengStormPlayerProfiles_voddefault_midAD
call fcn.0045bec0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str._scheme.xml
mov byte [ebp - 4], 0x46
call fcn.0045bec0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x47
call fcn.0045bfa0
mov byte [ebp - 4], 0x46
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 0x47977e
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 - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4797a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x220]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4797ce
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b360
add esp, 4
push 2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x21c]
push esi
push ecx
mov ebx, str.ApplicationDataProfiles_voddefault_midADdata.xml
call fcn.0045bec0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0x48
call fcn.0045bfa0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x479818
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x228]
push edx
mov ebx, str.BaofengStormPlayerProfiles_voddefault_midAD
call fcn.0045bec0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str.data.xml
mov byte [ebp - 4], 0x49
call fcn.0045bec0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x4a
call fcn.0045bfa0
mov byte [ebp - 4], 0x49
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 0x47987e
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 - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4798a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x220]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4798ce
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b360
add esp, 4
push 2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ebx, 1
mov ecx, dword [ebp - 0x230]
mov edx, dword [ecx]
push ebx
push str.ApplicationDataProfiles_voddefault_midAD
push edx
push str._s_simagesm_d.jpg
lea edi, [ebp - 0x220]
call fcn.00458a90
mov eax, dword [ebp - 0x22c]
push ebx
push str.BaofengStormPlayerProfiles_voddefault_midAD
push eax
push str._s_simagesm_d.jpg
lea edi, [ebp - 0x224]
call fcn.00458a90
mov ecx, dword [ebp - 0x220]
add esp, 0x20
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, dword [ebp - 0x224]
test eax, eax
je 0x479942
push esi
call fcn.0045b360
mov edx, dword [ebp - 0x220]
add esp, 4
push 2
push esi
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
inc ebx
cmp ebx, 0x10
jl 0x4798d3
mov eax, dword [ebp - 0x230]
push eax
lea ecx, [ebp - 0x228]
push ecx
mov ebx, str.ApplicationDataProfiles_sw.dat
call fcn.0045bec0
add esp, 8
mov byte [ebp - 4], 0x4b
mov ecx, dword [eax]
mov edi, dword [ebp - 0x220]
lea eax, [ecx - 0x10]
add edi, 0xfffffff0
cmp eax, edi
je 0x4799ca
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x4799ba
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x4799ba
call fcn.0045c0b0
mov dword [ebp - 0x21c], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4799a9
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [ebp - 0x21c]
add ecx, 0x10
mov dword [ebp - 0x220], ecx
jmp 0x4799ca
mov ebx, dword [ecx - 0xc]
push ecx
lea edx, [ebp - 0x220]
push edx
call fcn.0045a790
mov byte [ebp - 4], 2
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 0x4799f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 0x228]
push edx
mov ebx, str.BaofengStormPlayerProfiles
call fcn.0045bec0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str._sw.dat
mov byte [ebp - 4], 0x4c
call fcn.0045bec0
add esp, 0x10
mov byte [ebp - 4], 0x4d
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea edi, [esi - 0x10]
cmp eax, edi
je 0x479a7e
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x479a68
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x479a68
call fcn.0045c0b0
mov esi, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x479a5d
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add esi, 0x10
mov dword [ebp - 0x224], esi
jmp 0x479a7e
mov ebx, dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x224]
push ecx
call fcn.0045a790
mov esi, dword [ebp - 0x224]
mov byte [ebp - 4], 0x4c
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x479aa4
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 - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x479aca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x220]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x479aee
push esi
call fcn.0045b360
add esp, 4
push 2
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 0x230]
push ecx
lea edx, [ebp - 0x234]
push edx
mov ebx, str.ApplicationData_
call fcn.0045bec0
mov byte [ebp - 4], 0x4e
mov eax, dword [ebp - 0x234]
push 0
push eax
call fcn.0045bc10
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x234]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x479b41
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 0x479b67
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x479b87
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x479baa
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