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

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0xd8
mov eax, dword [0x43bc80]
xor eax, ebp
mov dword [ebp + 0x64], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x78]
xor esi, esi
push esi
push esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
push 0xa
push 0x2710
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea eax, [ebp - 0x44]
push eax
push 0x433f50
push 1
push esi
push 0x435208
mov dword [ebp - 0x44], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 0x5c], esi
jl 0x40f452
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
lea edx, [ebp - 0x5c]
push edx
push eax
call dword [ecx + 0x38]
mov ebx, eax
cmp ebx, esi
jl 0x40f452
push dword [ebp + 0x7c]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x40]
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 0x68], esi
jl 0x40f46e
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
lea edx, [ebp - 0x68]
push edx
push 1
push esi
push dword [ebp - 0x5c]
push eax
call dword [ecx + 0x10]
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 0x4c], esi
jl 0x40f485
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
lea edx, [ebp - 0x4c]
push edx
push esi
push eax
call dword [ecx + 0x34]
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 0x50], esi
jl 0x40f49b
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
lea edx, [ebp - 0x50]
push edx
push eax
call dword [ecx + 0x2c]
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], esi
jl 0x40f4b8
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
lea edx, [ebp - 0x70]
push edx
lea edx, [ebp - 0x6c]
push edx
push eax
call dword [ecx + 0xc]
mov ebx, eax
mov esi, 0x435228
lea edi, [ebp + 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
cmp ebx, esi
jl 0x40f5b7
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
lea edx, [ebp + 0x54]
push edx
push eax
call dword [ecx + 0x10]
mov ebx, eax
cmp ebx, esi
jl 0x40f5b7
push 3
pop edi
mov esi, 0x94
push esi
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.004154b0
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x40], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x3c], 0xa
jb 0x40f512
push 4
pop edi
mov eax, dword [ebp - 0x70]
fild dword [ebp - 0x70]
mov esi, dword [ebp - 0x50]
mov ebx, dword [esi]
push edi
test eax, eax
jge 0x40f528
fadd qword [0x433f48]
fmul qword [ebp + 0x70]
call fcn.00418786
fild dword [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x6c]
test eax, eax
jge 0x40f541
fadd qword [0x433f48]
fmul qword [ebp + 0x70]
call fcn.00418786
push eax
push dword [ebp - 0x4c]
push esi
call dword [ebx + 0x20]
mov ebx, eax
test ebx, ebx
jge 0x40f5a0
cmp edi, 4
jne 0x40f5a0
mov eax, dword [ebp - 0x70]
fild dword [ebp - 0x70]
mov esi, dword [ebp - 0x50]
mov ebx, dword [esi]
push 3
pop edi
push edi
test eax, eax
jge 0x40f575
fadd qword [0x433f48]
fmul qword [ebp + 0x70]
call fcn.00418786
fild dword [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x6c]
test eax, eax
jge 0x40f58e
fadd qword [0x433f48]
fmul qword [ebp + 0x70]
call fcn.00418786
push eax
push dword [ebp - 0x4c]
push esi
call dword [ebx + 0x20]
mov ebx, eax
push ebx
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push edi
push str.interpolation_mode__d__d__d__p
call fcn.0040ea46
add esp, 0x14
xor esi, esi
cmp ebx, esi
mov dword [ebp - 0x60], esi
jl 0x40f5cd
lea eax, [ebp - 0x60]
push eax
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 0x58], esi
jl 0x40f5f5
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
lea edx, [ebp - 0x58]
push edx
push eax
call dword [ecx + 0x38]
mov ebx, eax
cmp ebx, esi
jl 0x40f5f5
mov eax, dword [ebp - 0x58]
push dword [ebp - 0x60]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x38]
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 0x54], esi
jl 0x40f625
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
lea edx, [ebp - 0x54]
push edx
push esi
push 0x435218
push eax
call dword [ecx + 0x20]
mov ebx, eax
cmp ebx, esi
jl 0x40f625
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
push 2
push dword [ebp - 0x58]
push eax
call dword [ecx + 0xc]
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 0x48], esi
jl 0x40f684
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
push esi
lea edx, [ebp - 0x48]
push edx
push eax
call dword [ecx + 0x28]
cmp eax, esi
jl 0x40f684
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0xc]
cmp eax, esi
jl 0x40f684
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
lea edx, [ebp + 0x54]
push edx
push eax
call dword [ecx + 0x18]
cmp eax, esi
jl 0x40f684
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
push esi
push dword [ebp - 0x50]
push eax
call dword [ecx + 0x2c]
cmp eax, esi
jl 0x40f684
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
cmp eax, esi
jl 0x40f684
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x44]
cmp eax, esi
je 0x40f691
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x5c]
cmp eax, esi
je 0x40f69e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x68]
cmp eax, esi
je 0x40f6ab
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x4c]
cmp eax, esi
je 0x40f6b8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x50]
cmp eax, esi
je 0x40f6c5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x58]
cmp eax, esi
je 0x40f6d2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x54]
cmp eax, esi
je 0x40f6df
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x48]
pop edi
cmp eax, esi
pop esi
pop ebx
je 0x40f6ef
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp + 0x64]
mov eax, dword [ebp - 0x60]
xor ecx, ebp
call fcn.00413c78
add ebp, 0x68
leave
ret