Function at 0x10084ef0
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 0x101b6f0e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2d0
mov eax, dword [0x10224008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2d8], esi
mov eax, dword [ebx + 8]
mov dword [ebp - 0x2d4], eax
mov eax, dword [0x1022c990]
test al, 1
jne 0x1008518d
or eax, 1
mov dword [0x1022c990], eax
push 1
push 1
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
mov dword [ebp - 0x2cc], esp
push 0x101cdc64
call fcn.10004fc0
mov byte [ebp - 4], 1
mov ecx, 0x1022c998
push 0
mov byte [ebp - 4], 0
call fcn.10085700
push 1
push 1
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x2cc], esp
push 0x101cdc64
call fcn.10004fc0
mov byte [ebp - 4], 3
mov ecx, 0x1022c9bc
push 0x10
mov byte [ebp - 4], 2
call fcn.10085700
push 1
push 2
sub esp, 0x18
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x2cc], esp
push 0x101cdc64
call fcn.10004fc0
mov byte [ebp - 4], 5
mov ecx, 0x1022c9e0
push 0x19
mov byte [ebp - 4], 4
call fcn.10085700
push 1
push 5
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ebp - 0x2cc], esp
push 0x101cdc64
call fcn.10004fc0
mov byte [ebp - 4], 7
mov ecx, 0x1022ca04
push 2
mov byte [ebp - 4], 6
call fcn.10085700
push 1
push 5
sub esp, 0x18
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0x2cc], esp
push str.MicrosoftWindowsStart_MenuPrograms
call fcn.10004fc0
mov byte [ebp - 4], 9
mov ecx, 0x1022ca28
push 0x1a
mov byte [ebp - 4], 8
call fcn.10085700
push 1
mov byte [ebp - 4], 0xa
push 6
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2cc], esp
push 0x101cdc64
call fcn.10004fc0
mov byte [ebp - 4], 0xb
mov ecx, 0x1022ca4c
push 0x17
mov byte [ebp - 4], 0xa
call fcn.10085700
push 0
push 3
sub esp, 0x18
mov byte [ebp - 4], 0xc
mov ecx, esp
mov dword [ebp - 0x2cc], esp
push 0x101cdc64
call fcn.10004fc0
mov byte [ebp - 4], 0xd
mov ecx, 0x1022ca70
push 0xb
mov byte [ebp - 4], 0xc
call fcn.10085700
push 1
push 3
sub esp, 0x18
mov byte [ebp - 4], 0xe
mov ecx, esp
mov dword [ebp - 0x2cc], esp
push 0x101e07e0
call fcn.10004fc0
mov byte [ebp - 4], 0xf
mov ecx, 0x1022ca94
push 0x1a
mov byte [ebp - 4], 0xe
call fcn.10085700
push 0
push 4
sub esp, 0x18
mov byte [ebp - 4], 0x10
mov ecx, esp
mov dword [ebp - 0x2cc], esp
push 0x101cdc64
call fcn.10004fc0
mov byte [ebp - 4], 0x11
mov ecx, 0x1022cab8
push 0x16
mov byte [ebp - 4], 0x10
call fcn.10085700
push 0
push 8
sub esp, 0x18
mov byte [ebp - 4], 0x12
mov ecx, esp
mov dword [ebp - 0x2cc], esp
push str.MicrosoftInternet_ExplorerQuick_Launch
call fcn.10004fc0
mov byte [ebp - 4], 0x13
mov ecx, 0x1022cadc
push 0x1a
mov byte [ebp - 4], 0x12
call fcn.10085700
push 1
push 7
sub esp, 0x18
mov byte [ebp - 4], 0x14
mov ecx, esp
mov dword [ebp - 0x2cc], esp
push 0x101e08b0
call fcn.10004fc0
mov byte [ebp - 4], 0x15
mov ecx, 0x1022cb00
push 0x1a
mov byte [ebp - 4], 0x14
call fcn.10085700
push 0x101c6c80
mov byte [ebp - 4], 0
call fcn.1019ebf9
add esp, 4
mov dword [ebp - 4], 0xffffffff
xorps xmm0, xmm0
xor al, al
movups xmmword [ebp - 0x44], xmm0
mov byte [ebp - 0x44], al
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x2d0], eax
mov dword [ebp - 0x38], 0
push 0x118
lea eax, [ebp - 0x1a4]
mov dword [ebp - 4], 0x16
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x1a8], 0x11c
lea eax, [ebp - 0x1a8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100852db
cmp dword [ebp - 0x1a4], 6
ja 0x10085212
jne 0x10085293
cmp dword [ebp - 0x1a0], 2
jb 0x10085293
push str.kernel32.dll
call edi
mov esi, eax
test esi, esi
je 0x10085293
push 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x10085293
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10085293
movups xmm0, xmmword [0x101e4238]
push eax
movups xmmword [ebp - 0x34], xmm0
movups xmm0, xmmword [0x101e4248]
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10085293
lea eax, [ebp - 0x34]
push eax
lea ecx, [esi + 6]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10085293
cmp word [esi + 2], ax
jbe 0x10085293
movzx edx, word [esi + 0x32]
movzx ecx, word [esi + 0x30]
movzx eax, word [esi + 0x36]
mov dword [ebp - 0x1a4], edx
mov dword [ebp - 0x1a0], ecx
mov dword [ebp - 0x19c], eax
push 0x101e0f40
call edi
push str.RtlGetVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x100852d5
push 0x118
lea eax, [ebp - 0x2c4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x2c8], 0x11c
lea eax, [ebp - 0x2c8]
push eax
call esi
mov esi, dword [ebp - 0x2d8]
cmp dword [ebp - 0x1a4], 6
jb 0x100852f5
lea ecx, [ebp - 0x44]
call fcn.1006ee30
mov dl, byte [ebp - 0x44]
mov dword [ebp - 0x2d0], edx
mov edi, 0x1022c99c
mov dword [ebp - 0x2dc], edi
mov ecx, dword [esi]
test ecx, ecx
je 0x10085314
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
test al, al
jne 0x10085505
lea ecx, [ebp - 0x88]
call fcn.10005010
mov byte [ebp - 4], 0x17
lea edx, [ebp - 0x88]
mov ecx, dword [edi - 4]
call fcn.10068110
lea ecx, [ebp - 0x88]
test al, al
jne 0x10085349
mov byte [ebp - 4], 0x16
call fcn.10004f10
jmp 0x100854f0
mov edx, 0x20
call fcn.100b4c20
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x18
call fcn.10005010
push edi
lea edx, [ebp - 0x88]
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x2c]
call fcn.10086970
add esp, 4
mov esi, eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x1a
cmp eax, esi
je 0x100853ad
mov ecx, eax
call fcn.10005540
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x60], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x19
call fcn.10004f10
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x58], eax
mov al, byte [edi + 0x1c]
mov byte [ebp - 0x48], al
mov eax, dword [ebp - 0x2d4]
mov byte [ebp - 0x54], 0
mov esi, dword [eax]
mov eax, esi
mov edi, dword [esi + 4]
cmp byte [edi + 0xd], 0
jne 0x10085421
nop dword [eax]
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
lea ecx, [edi + 0x10]
cmovae eax, dword [ebp - 0x70]
cmp dword [edi + 0x24], 8
jb 0x100853f7
mov ecx, dword [edi + 0x10]
push dword [ebp - 0x60]
mov edx, dword [edi + 0x20]
push eax
call fcn.1004c670
add esp, 8
test eax, eax
jns 0x1008540f
mov edi, dword [edi + 8]
jmp 0x10085413
mov esi, edi
mov edi, dword [edi]
cmp byte [edi + 0xd], 0
je 0x100853e0
mov eax, dword [ebp - 0x2d4]
mov eax, dword [eax]
cmp esi, eax
je 0x10085451
cmp dword [esi + 0x24], 8
lea edx, [esi + 0x10]
jb 0x10085431
mov edx, dword [esi + 0x10]
mov edi, dword [ebp - 0x5c]
lea ecx, [ebp - 0x70]
push dword [esi + 0x20]
cmp edi, 8
push edx
cmovae ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x60]
call fcn.1004c670
add esp, 8
test eax, eax
jns 0x1008548f
lea eax, [ebp - 0x70]
push ecx
mov dword [ebp - 0x2e0], eax
lea eax, [ebp - 0x2e0]
push eax
push ecx
mov ecx, dword [ebp - 0x2d4]
call fcn.100877b0
mov ecx, dword [ebp - 0x2d4]
push eax
add eax, 0x10
push eax
push esi
lea eax, [ebp - 0x2cc]
push eax
call fcn.10087870
mov esi, dword [ebp - 0x2cc]
mov edi, dword [ebp - 0x5c]
add esi, 0x28
lea eax, [ebp - 0x70]
cmp esi, eax
je 0x100854ab
push dword [ebp - 0x60]
cmp edi, 8
mov ecx, esi
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.100055f0
mov eax, dword [ebp - 0x58]
mov dword [esi + 0x18], eax
mov al, byte [ebp - 0x54]
mov byte [esi + 0x1c], al
mov eax, dword [ebp - 0x50]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x4c]
mov dword [esi + 0x24], eax
mov al, byte [ebp - 0x48]
mov byte [esi + 0x28], al
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x1b
call fcn.10004f10
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x16
call fcn.10004f10
mov edi, dword [ebp - 0x2dc]
mov esi, dword [ebp - 0x2d8]
add edi, 0x24
mov dword [ebp - 0x2dc], edi
cmp edi, 0x1022cb28
jl 0x10085300
push 0x118
lea eax, [ebp - 0x1a4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x1a8], 0x11c
lea eax, [ebp - 0x1a8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10085627
cmp dword [ebp - 0x1a4], 6
ja 0x10085556
jne 0x100855df
cmp dword [ebp - 0x1a0], 2
jb 0x100855df
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.kernel32.dll
call edi
mov esi, eax
test esi, esi
je 0x100855e5
push 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x100855e5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x100855e5
movups xmm0, xmmword [0x101e4238]
push eax
movups xmmword [ebp - 0x34], xmm0
movups xmm0, xmmword [0x101e4248]
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100855e5
lea eax, [ebp - 0x34]
push eax
lea ecx, [esi + 6]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100855e5
cmp word [esi + 2], ax
jbe 0x100855e5
movzx edx, word [esi + 0x32]
movzx ecx, word [esi + 0x30]
movzx eax, word [esi + 0x36]
mov dword [ebp - 0x1a4], edx
mov dword [ebp - 0x1a0], ecx
mov dword [ebp - 0x19c], eax
jmp 0x100855e5
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x101e0f40
call edi
push str.RtlGetVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x10085627
push 0x118
lea eax, [ebp - 0x2c4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x2c8], 0x11c
lea eax, [ebp - 0x2c8]
push eax
call esi
cmp dword [ebp - 0x1a4], 6
mov ecx, dword [ebp - 0x2d0]
mov edi, dword [ebp - 0x40]
jb 0x10085674
test cl, cl
je 0x10085674
test edi, edi
je 0x10085674
push str.RevertToSelf
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1008566e
call eax
mov ecx, dword [ebp - 0x2d0]
xor edx, edx
test eax, eax
movzx ecx, cl
cmovne ecx, edx
mov dword [ebp - 0x2d0], ecx
mov byte [ebp - 0x44], cl
jmp 0x10085674
mov ecx, dword [ebp - 0x2d0]
mov dword [ebp - 4], 0x1c
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test cl, cl
je 0x100856ae
test edi, edi
je 0x100856bc
push str.RevertToSelf
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100856ae
call eax
mov edx, dword [ebp - 0x2d0]
movzx ecx, dl
xor edx, edx
test eax, eax
cmovne ecx, edx
mov byte [ebp - 0x44], cl
test edi, edi
je 0x100856bc
push edi
call esi
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x100856cd
push eax
call esi
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1019e7b8
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4