Function at 0x5333f0
Capabilities:
Set file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x570b1e
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x22c], edi
jne 0x53341f
xor eax, eax
jmp 0x533674
push edi
lea eax, [esp + 0x14]
push str.skin_
push eax
call fcn.0044c570
add esp, 0xc
lea ecx, [esp + 0x10]
push str.SkinsList.zip
lea edx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x38], edi
call sub.MFC42.DLL_operator_2
push str.http:__download.baofeng.com_stormII_Skin_version.txt
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esi + 0x228]
mov byte [esp + 0x2c], 2
cmp ecx, edi
je 0x533472
mov eax, dword [ecx]
push 1
call dword [eax]
push 0x28
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, edi
mov byte [esp + 0x2c], 3
je 0x53349c
mov ecx, dword [esp + 0x10]
push ecx
push str.SkinManager
mov ecx, eax
call fcn.0044f830
jmp 0x53349e
xor eax, eax
mov dword [esp + 0x1c], edi
lea edi, [esi + 0x1b4]
push 0x5c84f4
mov ecx, edi
mov byte [esp + 0x30], 2
mov dword [esi + 0x228], eax
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [esi + 0x20]
mov ebp, dword [sym.imp.USER32.dll_InvalidateRect]
lea ebx, [esi + 0x1c8]
push 1
push ebx
push edx
call ebp
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
push ecx
mov ecx, dword [esi + 0x228]
call fcn.0044fa70
test eax, eax
jne 0x533536
push 0x5c858c
mov ecx, edi
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [esi + 0x20]
push 1
push ebx
push edx
call ebp
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x533674
mov eax, dword [esi + 0x238]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jge 0x53362c
mov eax, dword [esi + 0x1b0]
mov ecx, dword [esi + 0x180]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 4
push 0x110a
push ecx
call ebx
mov edi, eax
test edi, edi
je 0x533595
mov edx, dword [esi + 0x180]
push edi
push 1
push 0x110a
push edx
call ebx
mov ebp, eax
mov eax, dword [esi + 0x180]
push edi
push 0
push 0x1101
push eax
call ebx
test ebp, ebp
mov edi, ebp
jne 0x53356b
mov ecx, dword [esp + 0x18]
push 0x80
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [esi + 0x228]
test ecx, ecx
je 0x5335b5
mov edx, dword [ecx]
push 1
call dword [edx]
push 0x28
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov byte [esp + 0x2c], 4
je 0x5335df
mov ecx, dword [esp + 0x10]
push ecx
push str.SkinManager
mov ecx, eax
call fcn.0044f830
jmp 0x5335e1
xor eax, eax
mov edx, dword [esp + 0x34]
mov ecx, eax
push edx
push esi
mov byte [esp + 0x34], 2
mov dword [esi + 0x228], eax
call fcn.0044f9d0
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
jmp 0x533674
push 0x5c8518
mov ecx, edi
mov dword [esi + 0x22c], 0
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4