Function at 0x41afc0
Capabilities:
Check os version
Create process on windows
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f801
mov eax, dword fs:[0]
push eax
sub esp, 0x360
mov eax, dword [0x495014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x364], edx
mov edi, ecx
mov dword [ebp - 0x368], edi
call fcn.00403bd0
mov esi, eax
cmp dword [esi + 0x10], 0
jne 0x41b00f
xor al, al
jmp 0x41b550
lea ecx, [ebp - 0x4c]
call fcn.00403ac0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x4c]
mov ecx, edi
call fcn.00417d30
mov edx, edi
lea ecx, [ebp - 0xd8]
call fcn.004173f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd8]
call fcn.00403990
mov edx, 0x483ccc
mov ecx, eax
call fcn.00415de0
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x35d], al
mov dword [ebp - 0x34], 0
call fcn.00420c00
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea ecx, [ebp - 0x34]
call fcn.00421a80
neg al
sbb al, al
and byte [ebp - 0x35d], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.00420c80
cmp byte [ebp - 0x35d], 0
je 0x41b282
xorps xmm0, xmm0
mov dword [ebp - 0x90], 0x44
xor eax, eax
movlpd qword [ebp - 0x8c], xmm0
mov word [ebp - 0x4e], ax
lea ecx, [ebp - 0x28]
mov eax, 1
movlpd qword [ebp - 0x84], xmm0
movlpd qword [ebp - 0x7c], xmm0
movlpd qword [ebp - 0x74], xmm0
movlpd qword [ebp - 0x6c], xmm0
movlpd qword [ebp - 0x5e], xmm0
movlpd qword [ebp - 0x56], xmm0
movups xmmword [ebp - 0x320], xmm0
mov word [ebp - 0x60], ax
mov dword [ebp - 0x64], 0x81
call fcn.00403ac0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00403bd0
mov edi, eax
mov edx, dword [edi + 0x10]
mov dword [ebp - 0x36c], edx
cmp edx, 0x104
ja 0x41b13e
cmp dword [edi + 0x14], 0x104
jae 0x41b13e
mov byte [ebp - 0x34], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x34]
mov eax, 0x104
sub eax, edx
push eax
call fcn.0040ca00
mov eax, dword [ebp - 0x36c]
mov dword [edi + 0x10], eax
push 0x483b94
call fcn.00403ff0
add esp, 4
lea ecx, [ebp - 0x28]
push eax
push 0x483b94
call fcn.00403d00
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41b163
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.00408040
push 0x483b94
call fcn.00403ff0
add esp, 4
lea ecx, [ebp - 0x28]
push eax
push 0x483b94
call fcn.00408040
mov ecx, dword [ebp - 0x364]
call fcn.00403bd0
mov esi, eax
cmp dword [esi + 0x10], 0
je 0x41b1ce
push 0x482934
call fcn.00403ff0
add esp, 4
lea ecx, [ebp - 0x28]
push eax
push 0x482934
call fcn.00408040
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41b1c2
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.00408040
lea ecx, [ebp - 0x4c]
call fcn.00403bd0
mov eax, dword [eax + 0x10]
test eax, eax
je 0x41b1e5
lea ecx, [ebp - 0x4c]
call fcn.00403990
lea ecx, [ebp - 0x320]
push ecx
lea ecx, [ebp - 0x90]
push ecx
push eax
push 0
push 0x30
push 0
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.00403990
mov ecx, dword [ebp - 0x368]
push eax
call fcn.00403990
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x41b276
mov eax, dword [ebp - 0x31c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x41b23a
push eax
call esi
mov dword [ebp - 0x31c], 0
mov eax, dword [ebp - 0x320]
test eax, eax
jne 0x41b256
mov byte [ebp - 0x35d], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
jmp 0x41b527
push eax
call esi
mov dword [ebp - 0x320], 0
mov byte [ebp - 0x35d], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
jmp 0x41b527
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.004039d0
push str.open
lea ecx, [ebp - 0xa8]
call fcn.00403a70
mov byte [ebp - 4], 4
lea eax, [ebp - 0x1f0]
push pe_nt_image_headers32
push 0
push eax
call fcn.0044de20
add esp, 0xc
mov dword [ebp - 0x1f4], 0x11c
lea eax, [ebp - 0x1f4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41b3cd
cmp dword [ebp - 0x1f0], 6
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
ja 0x41b2f3
jne 0x41b374
cmp dword [ebp - 0x1ec], 2
jb 0x41b374
push str.kernel32.dll
call edi
mov esi, eax
test esi, esi
je 0x41b374
push 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41b374
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41b374
movups xmm0, xmmword [0x484974]
push eax
movups xmmword [ebp - 0x30], xmm0
movups xmm0, xmmword [0x484984]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41b374
lea eax, [ebp - 0x30]
push eax
lea ecx, [esi + 6]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41b374
cmp word [esi + 2], ax
jbe 0x41b374
movzx edx, word [esi + 0x32]
movzx ecx, word [esi + 0x30]
movzx eax, word [esi + 0x36]
mov dword [ebp - 0x1f0], edx
mov dword [ebp - 0x1ec], ecx
mov dword [ebp - 0x1e8], eax
push str.ntdll.dll
call edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RtlGetVersion
push eax
call edi
mov esi, eax
test esi, esi
je 0x41b3cd
push pe_nt_image_headers32
lea eax, [ebp - 0x30c]
push 0
push eax
call fcn.0044de20
add esp, 0xc
mov dword [ebp - 0x310], 0x11c
lea eax, [ebp - 0x310]
push eax
call esi
mov ecx, dword [ebp - 0x1e8]
test eax, eax
cmove ecx, dword [ebp - 0x304]
mov dword [ebp - 0x1e8], ecx
cmp dword [ebp - 0x1f0], 6
jb 0x41b3f4
push str.runas
call fcn.00403ff0
add esp, 4
lea ecx, [ebp - 0xa8]
push eax
push str.runas
call fcn.00403d00
push dword [ebp - 0x364]
lea ecx, [ebp - 0xc0]
call fcn.00403ae0
mov byte [ebp - 4], 5
xorps xmm0, xmm0
lea ecx, [ebp - 0xa8]
movlpd qword [ebp - 0x33c], xmm0
movlpd qword [ebp - 0x334], xmm0
movlpd qword [ebp - 0x32c], xmm0
mov dword [ebp - 0x324], 0
mov dword [ebp - 0x35c], 0x3c
mov dword [ebp - 0x354], 0
mov dword [ebp - 0x358], 0x100540
call fcn.00403990
mov ecx, dword [ebp - 0x368]
mov dword [ebp - 0x350], eax
call fcn.00403990
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x34c], eax
call fcn.00403990
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x344], eax
call fcn.00403990
push str.Shell32.dll
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x348], eax
mov dword [ebp - 0x340], 1
call fcn.00403a70
mov byte [ebp - 4], 6
lea eax, [ebp - 0x28]
push eax
call fcn.00423830
mov ecx, eax
call fcn.004238f0
mov esi, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.004039d0
test esi, esi
je 0x41b507
push str.ShellExecuteExW
push esi
call edi
test eax, eax
je 0x41b507
lea ecx, [ebp - 0x35c]
push ecx
call eax
test eax, eax
je 0x41b507
mov eax, dword [ebp - 0x324]
test eax, eax
je 0x41b507
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x324], 0
mov byte [ebp - 0x35d], 1
jmp 0x41b50e
mov byte [ebp - 0x35d], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc0]
call fcn.004039d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa8]
call fcn.004039d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd8]
call fcn.004039d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.004039d0
mov al, byte [ebp - 0x35d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00436e3f
mov esp, ebp
pop ebp
ret