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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eea45
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
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
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.004cfd40
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 0x47b779
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 0x47b74f
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 0x47b772
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x47d27f
lea ecx, [ebp - 0x22c]
push ecx
lea ecx, [ebp - 0x218]
call fcn.0045ab70
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.0045c1d0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 3
call fcn.0045c2b0
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 0x47b7e2
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.0045c1d0
push eax
lea eax, [ebp - 0x228]
push eax
mov ebx, str._skinlist.xml
mov byte [ebp - 4], 4
call fcn.0045c1d0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 5
call fcn.0045c2b0
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 0x47b848
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 0x47b86e
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 0x47b898
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b650
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.0045c1d0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 6
call fcn.0045c2b0
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 0x47b8e8
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.0045c1d0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str.DownloadConfig.xml
mov byte [ebp - 4], 7
call fcn.0045c1d0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 8
call fcn.0045c2b0
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 0x47b94e
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 0x47b974
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 0x47b99e
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b650
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.0045c1d0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 9
call fcn.0045c2b0
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 0x47b9e8
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.0045c1d0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str.dns.dat
mov byte [ebp - 4], 0xa
call fcn.0045c1d0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0xb
call fcn.0045c2b0
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 0x47ba4e
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 0x47ba74
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 0x47ba9e
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b650
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.0045c1d0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0xc
call fcn.0045c2b0
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 0x47bae8
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.0045c1d0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str._allpatch.s3db
mov byte [ebp - 4], 0xd
call fcn.0045c1d0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0xe
call fcn.0045c2b0
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 0x47bb4e
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 0x47bb74
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 0x47bb9e
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b650
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.0045c1d0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0xf
call fcn.0045c2b0
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 0x47bbe8
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.0045c1d0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str._bov.xml
mov byte [ebp - 4], 0x10
call fcn.0045c1d0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x11
call fcn.0045c2b0
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 0x47bc4e
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 0x47bc74
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 0x47bc9e
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b650
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.0045c1d0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0x12
call fcn.0045c2b0
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 0x47bce8
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.0045c1d0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str.common.xml
mov byte [ebp - 4], 0x13
call fcn.0045c1d0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x14
call fcn.0045c2b0
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 0x47bd4e
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 0x47bd74
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 0x47bd9e
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b650
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.0045c1d0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0x15
call fcn.0045c2b0
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 0x47bde8
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.0045c1d0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str.online_tips.swf
mov byte [ebp - 4], 0x16
call fcn.0045c1d0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x17
call fcn.0045c2b0
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 0x47be4e
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 0x47be74
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 0x47be9e
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b650
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.0045c1d0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0x18
call fcn.0045c2b0
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 0x47bee8
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.0045c1d0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str.data.xml
mov byte [ebp - 4], 0x19
call fcn.0045c1d0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x1a
call fcn.0045c2b0
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 0x47bf4e
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 0x47bf74
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 0x47bf9e
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b650
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.0045c1d0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0x1b
call fcn.0045c2b0
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 0x47bfe8
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.0045c1d0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str.loading.swf
mov byte [ebp - 4], 0x1c
call fcn.0045c1d0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x1d
call fcn.0045c2b0
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 0x47c04e
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 0x47c074
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 0x47c09e
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b650
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.0045c1d0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0x1e
call fcn.0045c2b0
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 0x47c0e8
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.0045c1d0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str.m1.swf
mov byte [ebp - 4], 0x1f
call fcn.0045c1d0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x20
call fcn.0045c2b0
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 0x47c14e
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 0x47c174
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 0x47c19e
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b650
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.0045c1d0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0x21
call fcn.0045c2b0
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 0x47c1e8
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.0045c1d0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str.check.dat
mov byte [ebp - 4], 0x22
call fcn.0045c1d0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x23
call fcn.0045c2b0
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 0x47c24e
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 0x47c274
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 0x47c29e
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b650
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.0045c1d0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0x24
call fcn.0045c2b0
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 0x47c2e8
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.0045c1d0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str.data.xml
mov byte [ebp - 4], 0x25
call fcn.0045c1d0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x26
call fcn.0045c2b0
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 0x47c34e
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 0x47c374
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 0x47c39e
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b650
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.0045c1d0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0x27
call fcn.0045c2b0
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 0x47c3e8
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.0045c1d0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str.download.xml
mov byte [ebp - 4], 0x28
call fcn.0045c1d0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x29
call fcn.0045c2b0
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 0x47c44e
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 0x47c474
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 0x47c49e
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b650
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.0045c1d0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0x2a
call fcn.0045c2b0
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 0x47c4e8
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.0045c1d0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str.mainSwf.swf
mov byte [ebp - 4], 0x2b
call fcn.0045c1d0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x2c
call fcn.0045c2b0
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 0x47c54e
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 0x47c574
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 0x47c59e
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b650
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.0045c1d0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0x2d
call fcn.0045c2b0
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 0x47c5e8
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.0045c1d0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str.movie34.jpg
mov byte [ebp - 4], 0x2e
call fcn.0045c1d0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x2f
call fcn.0045c2b0
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 0x47c64e
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 0x47c674
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 0x47c69e
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b650
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.0045c1d0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0x30
call fcn.0045c2b0
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 0x47c6e8
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.0045c1d0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str.movie35.jpg
mov byte [ebp - 4], 0x31
call fcn.0045c1d0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x32
call fcn.0045c2b0
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 0x47c74e
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 0x47c774
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 0x47c79e
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b650
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.0045c1d0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0x33
call fcn.0045c2b0
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 0x47c7e8
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.0045c1d0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str.movie37.jpg
mov byte [ebp - 4], 0x34
call fcn.0045c1d0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x35
call fcn.0045c2b0
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 0x47c84e
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 0x47c874
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 0x47c89e
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b650
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.0045c1d0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0x36
call fcn.0045c2b0
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 0x47c8e8
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.0045c1d0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str.SkinMat.zip
mov byte [ebp - 4], 0x37
call fcn.0045c1d0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x38
call fcn.0045c2b0
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 0x47c94e
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 0x47c974
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 0x47c99e
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b650
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.0045c1d0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0x39
call fcn.0045c2b0
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 0x47c9e8
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.0045c1d0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str.close.swf
mov byte [ebp - 4], 0x3a
call fcn.0045c1d0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x3b
call fcn.0045c2b0
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 0x47ca4e
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 0x47ca74
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 0x47ca9e
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b650
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.0045c1d0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0x3c
call fcn.0045c2b0
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 0x47cae8
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.0045c1d0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str.main.swf
mov byte [ebp - 4], 0x3d
call fcn.0045c1d0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x3e
call fcn.0045c2b0
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 0x47cb4e
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 0x47cb74
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 0x47cb9e
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b650
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.0045c1d0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0x3f
call fcn.0045c2b0
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 0x47cbe8
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.0045c1d0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str.materiel.xml
mov byte [ebp - 4], 0x40
call fcn.0045c1d0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x41
call fcn.0045c2b0
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 0x47cc4e
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 0x47cc74
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 0x47cc9e
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b650
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.0045c1d0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0x42
call fcn.0045c2b0
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 0x47cce8
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.0045c1d0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str.pauseMaterials.zip
mov byte [ebp - 4], 0x43
call fcn.0045c1d0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x44
call fcn.0045c2b0
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 0x47cd4e
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 0x47cd74
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 0x47cd9e
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b650
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.0045c1d0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0x45
call fcn.0045c2b0
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 0x47cde8
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.0045c1d0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str._scheme.xml
mov byte [ebp - 4], 0x46
call fcn.0045c1d0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x47
call fcn.0045c2b0
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 0x47ce4e
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 0x47ce74
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 0x47ce9e
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b650
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.0045c1d0
add esp, 8
lea edi, [ebp - 0x220]
mov byte [ebp - 4], 0x48
call fcn.0045c2b0
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 0x47cee8
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.0045c1d0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str.data.xml
mov byte [ebp - 4], 0x49
call fcn.0045c1d0
add esp, 0x10
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 0x4a
call fcn.0045c2b0
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 0x47cf4e
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 0x47cf74
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 0x47cf9e
mov edi, dword [ebp - 0x224]
push edi
call fcn.0045b650
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.00458b70
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.00458b70
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 0x47d012
push esi
call fcn.0045b650
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 0x47cfa3
mov eax, dword [ebp - 0x230]
push eax
lea ecx, [ebp - 0x228]
push ecx
mov ebx, str.ApplicationDataProfiles_sw.dat
call fcn.0045c1d0
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 0x47d09a
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x47d08a
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x47d08a
call fcn.0045c3c0
mov dword [ebp - 0x21c], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x47d079
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 0x47d09a
mov ebx, dword [ecx - 0xc]
push ecx
lea edx, [ebp - 0x220]
push edx
call fcn.0045aa80
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 0x47d0c0
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.0045c1d0
push eax
lea eax, [ebp - 0x21c]
push eax
mov ebx, str._sw.dat
mov byte [ebp - 4], 0x4c
call fcn.0045c1d0
add esp, 0x10
mov byte [ebp - 4], 0x4d
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea edi, [esi - 0x10]
cmp eax, edi
je 0x47d14e
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x47d138
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x47d138
call fcn.0045c3c0
mov esi, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x47d12d
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 0x47d14e
mov ebx, dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x224]
push ecx
call fcn.0045aa80
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 0x47d174
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 0x47d19a
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 0x47d1be
push esi
call fcn.0045b650
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.0045c1d0
mov byte [ebp - 4], 0x4e
mov eax, dword [ebp - 0x234]
push 0
push eax
call fcn.0045bf10
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 0x47d211
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 0x47d237
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 0x47d257
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 0x47d27a
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