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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x578
mov eax, dword [0x5746cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x52c]
push esi
push edi
push 0x118
push 0
push eax
mov dword [ebp - 0x538], ecx
call fcn.004a3360
push 0x118
lea eax, [ebx + 4]
mov dword [ebp - 0x530], 0x11c
push 0
push eax
call fcn.004a3360
add esp, 0x18
mov dword [ebx], 0x11c
push ebx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebx + 4], 5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
jne 0x48c772
push str.IsWow64Process
push 0x52b34c
call eax
push eax
call edi
mov esi, eax
mov dword [ebp - 0x534], 0
test esi, esi
je 0x48c76d
lea eax, [ebp - 0x534]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x48c76d
cmp dword [ebp - 0x534], 0
jne 0x48c954
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.RtlGetVersion
push str.ntdll
call eax
push eax
call edi
test eax, eax
je 0x48c78e
lea ecx, [ebp - 0x530]
push ecx
call eax
mov eax, dword [ebx + 4]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 8]
lea esi, [eax + ecx*2]
mov eax, dword [ebp - 0x52c]
mov dword [ebp - 0x544], esi
lea ecx, [eax + eax*4]
mov eax, dword [ebp - 0x528]
lea eax, [eax + ecx*2]
cmp eax, esi
jle 0x48c7cb
mov ecx, 0x47
mov dword [ebp - 0x544], eax
lea esi, [ebp - 0x530]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push 0x410
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.004a3360
mov ecx, dword [ebp - 0x538]
lea eax, [ebp - 0x414]
add esp, 0xc
push eax
call fcn.0048c560
test eax, eax
js 0x48c954
push 2
xor esi, esi
lea eax, [ebp - 0x414]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x48c89e
push 0x10
push 1
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x53c], eax
test eax, eax
je 0x48c897
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x53c]
mov dword [ebp - 0x534], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x540], eax
test eax, eax
je 0x48c897
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x53c], eax
test eax, eax
je 0x48c88b
push dword [ebp - 0x534]
call fcn.004c0091
mov esi, eax
add esp, 4
test esi, esi
je 0x48c88b
push dword [ebp - 0x534]
push dword [ebp - 0x53c]
push esi
call fcn.004a4160
add esp, 0xc
push dword [ebp - 0x540]
call dword [sym.imp.KERNEL32.dll_FreeResource]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor edi, edi
test esi, esi
je 0x48c954
lea eax, [ebp - 0x540]
mov dword [ebp - 0x534], edi
push eax
lea eax, [ebp - 0x534]
mov dword [ebp - 0x540], edi
push eax
push 0x5299d4
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x48c8fc
mov eax, dword [ebp - 0x534]
mov edi, 1
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x578], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x568], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ebp - 0x558], xmm0
push esi
call fcn.004be9b7
add esp, 4
test edi, edi
je 0x48c954
mov eax, dword [ebp - 0x568]
mov ecx, eax
shr ecx, 0x10
movzx edx, ax
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*2]
cmp dword [ebp - 0x544], eax
jge 0x48c947
mov eax, dword [ebp - 0x564]
mov dword [ebx + 4], ecx
mov ecx, dword [ebp - 0x538]
shr eax, 0x10
mov dword [ebx + 0xc], eax
mov eax, 1
mov dword [ebx + 8], edx
mov dword [ecx + 4], eax
jmp 0x48c961
mov ecx, dword [ebp - 0x538]
xor eax, eax
mov dword [ecx + 4], eax
jmp 0x48c961
mov eax, dword [ebp - 0x538]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004864b8
mov esp, ebp
pop ebp
ret 4