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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x419f98
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x284
mov eax, dword [0x42801c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x118
lea eax, [ebp - 0x16c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x170], 0x11c
lea eax, [ebp - 0x170]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x40208c
cmp dword [ebp - 0x16c], 6
ja 0x401fc1
jne 0x402046
cmp dword [ebp - 0x168], 2
jb 0x402046
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x402046
push 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x402046
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x402046
movups xmm0, xmmword [0x420808]
push eax
movups xmmword [ebp - 0x34], xmm0
movups xmm0, xmmword [0x420818]
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402046
lea eax, [ebp - 0x34]
push eax
lea ecx, [esi + 6]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x402046
cmp word [esi + 2], ax
jbe 0x402046
movzx edx, word [esi + 0x32]
movzx ecx, word [esi + 0x30]
movzx eax, word [esi + 0x36]
mov dword [ebp - 0x16c], edx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x164], eax
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.RtlGetVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x40208c
push 0x118
lea eax, [ebp - 0x28c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x290], 0x11c
lea eax, [ebp - 0x290]
push eax
call esi
cmp dword [ebp - 0x16c], 6
jae 0x4021a9
cmp dword [0x42897c], 0
je 0x4021a2
push ecx
mov ecx, 0x42897c
call fcn.0040d250
mov eax, dword [0x42897c]
cmp byte [eax + 0x54], 0
je 0x4021a2
cmp dword [eax + 0x58], 2
jb 0x4021a2
mov al, byte [eax + 0x5c]
mov byte [ebp - 0x291], al
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
push 0x19
push str.Processor_version_too_old
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 1
call fcn.00402f50
push 0x21
push str.RC::IsNeedPrivileging
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src2345associate2345associate.cpp
lea eax, [ebp - 0x4c]
push eax
push ecx
mov ecx, 0x42897c
call fcn.0040e270
cmp byte [ebp - 0x291], 0
je 0x402144
lea eax, [ebp - 0x4c]
mov ecx, 0x42897c
push eax
call fcn.0040e8e0
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x402187
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40217d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40217d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004189cc
add esp, 8
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
mov dword [ebp - 4], 0xffffffff
xor al, al
jmp 0x402306
xorps xmm0, xmm0
movups xmmword [ebp - 0x44], xmm0
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.004054f0
test al, al
je 0x4022ea
cmp dword [0x42897c], 0
je 0x4022e1
push ecx
mov ecx, 0x42897c
call fcn.0040d250
mov eax, dword [0x42897c]
cmp byte [eax + 0x54], 0
je 0x4022e1
cmp dword [eax + 0x58], 2
jb 0x4022e1
mov al, byte [eax + 0x5c]
mov byte [ebp - 0x291], al
mov byte [ebp - 4], 7
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
push 0x17
push str.Processor_admin_already
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call fcn.00402f50
push 0x29
push str.RC::IsNeedPrivileging
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src2345associate2345associate.cpp
lea eax, [ebp - 0x2c]
push eax
push ecx
mov ecx, 0x42897c
call fcn.0040e270
cmp byte [ebp - 0x291], 0
je 0x402289
lea eax, [ebp - 0x2c]
mov ecx, 0x42897c
push eax
call fcn.0040e8e0
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x4022c9
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4022bf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4022bf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004189cc
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 6
mov byte [ebp - 0x291], 0
jmp 0x4022f1
mov byte [ebp - 0x291], 1
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
call fcn.00405000
mov al, byte [ebp - 0x291]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041870e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret