Function at 0x4c81f0
Capabilities:
Set file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f457e
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 0x4c821f
xor eax, eax
jmp 0x4c8474
push edi
lea eax, [esp + 0x14]
push str.skin_
push eax
call fcn.00426640
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 0x4c8272
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 0x4c829c
mov ecx, dword [esp + 0x10]
push ecx
push str.SkinManager
mov ecx, eax
call fcn.00428ef0
jmp 0x4c829e
xor eax, eax
mov dword [esp + 0x1c], edi
lea edi, [esi + 0x1b4]
push 0x531f34
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.00429130
test eax, eax
jne 0x4c8336
push 0x531fcc
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 0x4c8474
mov eax, dword [esi + 0x238]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jge 0x4c842c
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 0x4c8395
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 0x4c836b
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 0x4c83b5
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 0x4c83df
mov ecx, dword [esp + 0x10]
push ecx
push str.SkinManager
mov ecx, eax
call fcn.00428ef0
jmp 0x4c83e1
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.00429090
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 0x4c8474
push 0x531f58
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