Function at 0x402c55
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4db020]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x2c
mov eax, 0x4a22a2
call fcn.0049cb58
mov eax, dword [0x4dff94]
mov esi, 0x4dff94
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [0x4dff94]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
mov eax, dword [0x4dff94]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
mov eax, dword [0x4dff94]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
push 0x206
lea eax, [ebp + 2]
push ebx
mov byte [ebp - 4], 3
push eax
mov word [ebp], bx
call sub.MSVCR80.dll_memset
lea ecx, [ebp - 0x18]
call fcn.0047ac8d
lea ecx, [ebp - 0x28]
push str.kingsoft_antivirus_skins2012_
push ecx
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00407fbe
add esp, 0x14
lea edi, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.00408098
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.00401291
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00401291
lea eax, [ebp - 0x18]
push str.skincfg.ini
push eax
mov ecx, edi
call fcn.00407fbe
pop ecx
pop ecx
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.00408098
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00401291
mov esi, dword [sym.imp.MSVCR80.dll__waccess]
push ebx
push dword [ebp - 0x14]
call esi
test eax, eax
pop ecx
pop ecx
jne 0x402e36
push dword [ebp - 0x14]
mov edi, 0x4ab534
push ebx
push str.enable
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x402e36
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x34]
cmp eax, ebx
jne 0x402d9c
push 7
pop eax
dec eax
push eax
lea eax, [ebp - 0x24]
push str.skin_d
push eax
call fcn.00408085
add esp, 0xc
push dword [ebp - 0x14]
lea eax, [ebp]
push 0x104
push eax
push 0x4ab8a8
push dword [ebp - 0x24]
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004012a9
mov edi, dword [ebp - 0x1c]
cmp dword [edi - 0xc], ebx
je 0x402e39
lea eax, [ebp - 0x28]
push str.package_
push eax
lea ecx, [ebp - 0x20]
call fcn.00407fbe
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.00407f2b
mov eax, dword [eax]
push ebx
push eax
call esi
add esp, 0x18
test eax, eax
mov eax, dword [ebp - 0x18]
setne byte [ebp - 0xd]
add eax, 0xfffffff0
call fcn.00401291
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.00401291
cmp byte [ebp - 0xd], bl
jne 0x402e39
push edi
call fcn.00402bff
pop ecx
jmp 0x402e39
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00401291
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00401291
lea eax, [edi - 0x10]
call fcn.00401291
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.00401291
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.00495616
add ebp, 0x20c
leave
ret