Function at 0x41bb70
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4326d2
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, ecx
test edi, edi
jne 0x41bb9c
xor eax, eax
jmp 0x41bb9f
mov eax, dword [edi + 0x20]
push 1
push 0x43515c
push eax
call dword [sym.imp.USER32.dll_SetPropA]
mov ecx, edi
call sub.mfc90.dll_Ordinal_4993
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_316]
push 0x2710
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0
call dword [sym.imp.mfc90.dll_Ordinal_4431]
mov eax, dword [esp + 0x1c]
push eax
mov ecx, edi
call sub.mfc90.dll_Ordinal_6559
call fcn.0041b2b0
test edi, edi
jne 0x41bbee
xor eax, eax
jmp 0x41bbf1
mov eax, dword [edi + 0x20]
push 0x10000
push 0
push eax
lea ebp, [edi + 0x78]
push 0
lea ecx, [ebp + 4]
push ecx
call dword [sym.imp.WINMM.dll_mixerOpen]
test eax, eax
jne 0x41bca3
mov esi, ebp
call fcn.0042dc90
test eax, eax
jl 0x41bca3
mov ebx, edi
call fcn.0041a220
lea esi, [esp + 0x17]
mov ecx, ebp
mov byte [esp + 0x17], 0
call fcn.0042dc00
test eax, eax
jl 0x41bca3
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jne 0x41bc48
xor bl, bl
jmp 0x41bc4c
mov bl, byte [esp + 0x17]
xor eax, eax
test bl, bl
sete al
mov dword [edi + 0x414], eax
mov eax, dword [edi + 0x384]
test eax, eax
je 0x41bc6e
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x2c], 1
mov esi, edi
test bl, bl
jne 0x41bc8a
push 0x89a
jmp 0x41bc8f
push 0x89b
call fcn.0041a180
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 0
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov edx, dword [edi + 0x20]
push 0
push edx
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call sub.mfc90.dll_Ordinal_2591
mov esi, eax
test esi, esi
je 0x41bd16
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_316]
push 0x7d2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 2
call dword [sym.imp.mfc90.dll_Ordinal_4431]
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0
je 0x41bd07
mov ecx, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_AppendMenuA]
push 0
push 0
push 0x800
push ecx
call ebx
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 4]
push edx
push 0x10
push 0
push eax
call ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 0
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [edi + 0x98]
mov ecx, dword [edi + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 1
push 0x80
push ecx
call esi
mov eax, dword [edi + 0x98]
mov edx, dword [edi + 0x20]
push eax
push 0
push 0x80
push edx
call esi
mov ebx, edi
call fcn.0041bae0
call fcn.004231f0
call fcn.004231f0
mov eax, dword [eax]
test eax, eax
je 0x41bdca
cmp dword [eax + 8], 0
je 0x41bdca
push 1
lea ecx, [edi + 0x550]
call sub.mfc90.dll_Ordinal_2360
push 1
lea ecx, [edi + 0x5a4]
call sub.mfc90.dll_Ordinal_2360
push 1
lea ecx, [edi + 0x5f8]
call sub.mfc90.dll_Ordinal_2360
lea esi, [edi + 0x64c]
push 1
mov ecx, esi
call sub.mfc90.dll_Ordinal_2360
push 5
mov ecx, esi
call sub.mfc90.dll_Ordinal_6584
lea ebp, [edi + 0x6c0]
push 0
mov ecx, ebp
call sub.mfc90.dll_Ordinal_6584
mov ebx, 1
mov esi, edi
call fcn.0041a480
mov ebx, dword [edi + 0x714]
mov ecx, edi
call fcn.0041b9a0
jmp 0x41be21
push 0
lea ecx, [edi + 0x550]
call sub.mfc90.dll_Ordinal_2360
push 0
lea ecx, [edi + 0x5a4]
call sub.mfc90.dll_Ordinal_2360
push 0
lea ecx, [edi + 0x5f8]
call sub.mfc90.dll_Ordinal_2360
lea esi, [edi + 0x64c]
push 0
mov ecx, esi
call sub.mfc90.dll_Ordinal_2360
push 0
mov ecx, esi
call sub.mfc90.dll_Ordinal_6584
lea ebp, [edi + 0x6c0]
push 5
mov ecx, ebp
call sub.mfc90.dll_Ordinal_6584
xor ebx, ebx
mov esi, edi
call fcn.0041a480
test ebp, ebp
je 0x41be5f
cmp dword [ebp + 0x20], 0
je 0x41be5f
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_316]
push 0x83e
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 3
call dword [sym.imp.mfc90.dll_Ordinal_4431]
mov eax, dword [esp + 0x18]
push eax
mov ecx, ebp
call sub.mfc90.dll_Ordinal_6559
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esp + 0x24]
pop edi
mov eax, 1
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret