Function at 0x41a8f0
Capabilities:
Check os version
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x475aa8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [0x4770e8]
push edi
push 0xf1
push dword [ebp + 8]
mov edi, ecx
mov dword [ebp - 0xa8], eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41ab9f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41ab9f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x41ab9f
movzx ecx, word [eax + 6]
lea ebx, [eax + 8]
movzx esi, word [eax + 4]
movzx eax, word [eax + 2]
mov dword [ebp - 0x9c], ecx
mov ecx, dword [edi + 0x48]
mov dword [ebp - 0xa4], eax
test ecx, ecx
je 0x41a996
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
test eax, eax
jne 0x41a9bc
push dword [edi + 0x48]
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
mov eax, dword [ebp - 0xa4]
mov dword [edi + 0x48], 0
test eax, eax
je 0x41a9bc
test esi, esi
je 0x41a9bc
mov dword [edi + 0x90], eax
add eax, 6
mov dword [edi + 0x98], eax
lea eax, [esi + 6]
mov dword [edi + 0x94], esi
mov dword [edi + 0x9c], eax
mov eax, dword [edi + 0x48]
test eax, eax
jne 0x41aa3e
mov esi, dword [0x4770e8]
push 2
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push 1
cmp word [eax + 0xe], 0x20
mov al, byte [edi + 0x85]
setne cl
and al, 0xdf
dec cl
and cl, 0x20
or cl, al
mov eax, dword [ebp - 0xa0]
mov byte [edi + 0x85], cl
test cl, 0x20
movzx eax, word [eax + 6]
push eax
mov eax, 0
setne al
lea eax, [eax*8 + 0x19]
push eax
push dword [edi + 0x94]
push dword [edi + 0x90]
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov dword [edi + 0x48], eax
test eax, eax
je 0x41ab9f
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
cmp byte [ebp + 0xc], 0
mov dword [ebp - 0xa0], eax
je 0x41aa72
push dword [ebp + 0x18]
movzx ecx, word [ebp + 0x10]
push dword [ebp - 0xa8]
movsx edx, word [ebp + 8]
push ecx
push edx
push dword [0x4770e8]
call dword [sym.imp.COMCTL32.dll_CreateMappedBitmap]
jmp 0x41aaa6
test byte [edi + 0x85], 0x20
je 0x41aa97
push 0x2040
push 0
push 0
push 0
push dword [ebp + 8]
push dword [0x4770e8]
call dword [sym.imp.USER32.dll_LoadImageA]
jmp 0x41aaa6
push dword [ebp + 8]
push dword [0x4770e8]
call dword [sym.imp.USER32.dll_LoadBitmapA]
mov esi, eax
test esi, esi
jne 0x41aac3
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041de32
mov esp, ebp
pop ebp
ret 0x14
push dword [edi + 0xa0]
push esi
push dword [edi + 0x48]
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
cmp eax, 0xffffffff
jne 0x41aaf6
push esi
xor edi, edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041de32
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 0x9c]
test eax, eax
je 0x41ab23
cmp word [ebx], 0
je 0x41ab15
push ebx
lea ecx, [edi + 0x4c]
call fcn.00417e80
mov eax, dword [ebp - 0x9c]
add ebx, 2
sub eax, 1
mov dword [ebp - 0x9c], eax
jne 0x41ab00
push dword [edi + 0x48]
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
mov ebx, eax
cmp ebx, dword [edi + 0x50]
jne 0x41aad8
push 0x90
lea eax, [ebp - 0x94]
mov dword [ebp - 0x98], 0x94
push 0
push eax
call fcn.00420310
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x41ab7e
cmp dword [ebp - 0x94], 6
jb 0x41ab7e
mov eax, dword [ebp - 0xa0]
mov ecx, edi
sub ebx, eax
push ebx
push eax
call fcn.0041a6e0
push esi
mov edi, 1
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041de32
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041de32
mov esp, ebp
pop ebp
ret 0x14