Function at 0x4cf1d0
Capabilities:
Set file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4fb72e
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 0x4cf1ff
xor eax, eax
jmp 0x4cf454
push edi
lea eax, [esp + 0x14]
push str.skin_
push eax
call fcn.00422130
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 0x4cf252
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 0x4cf27c
mov ecx, dword [esp + 0x10]
push ecx
push str.SkinManager
mov ecx, eax
call fcn.00425b80
jmp 0x4cf27e
xor eax, eax
mov dword [esp + 0x1c], edi
lea edi, [esi + 0x1b4]
push 0x53b364
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.00425dc0
test eax, eax
jne 0x4cf316
push 0x53b3fc
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 0x4cf454
mov eax, dword [esi + 0x238]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jge 0x4cf40c
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 0x4cf375
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 0x4cf34b
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 0x4cf395
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 0x4cf3bf
mov ecx, dword [esp + 0x10]
push ecx
push str.SkinManager
mov ecx, eax
call fcn.00425b80
jmp 0x4cf3c1
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.00425d20
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 0x4cf454
push 0x53b388
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