Function at 0x5439d0
Capabilities:
Set file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x587aee
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 0x5439ff
xor eax, eax
jmp 0x543c54
push edi
lea eax, [esp + 0x14]
push str.skin_
push eax
call fcn.004528d0
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 0x543a52
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 0x543a7c
mov ecx, dword [esp + 0x10]
push ecx
push str.SkinManager
mov ecx, eax
call fcn.00455d40
jmp 0x543a7e
xor eax, eax
mov dword [esp + 0x1c], edi
lea edi, [esi + 0x1b4]
push 0x5e3004
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.00455f80
test eax, eax
jne 0x543b16
push 0x5e309c
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 0x543c54
mov eax, dword [esi + 0x238]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jge 0x543c0c
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 0x543b75
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 0x543b4b
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 0x543b95
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 0x543bbf
mov ecx, dword [esp + 0x10]
push ecx
push str.SkinManager
mov ecx, eax
call fcn.00455d40
jmp 0x543bc1
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.00455ee0
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 0x543c54
push 0x5e3028
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