Function at 0x10006710
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 0x10029d50
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x270
mov eax, dword [0x10040014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x10041964], 0
je 0x10006761
mov al, 1
jmp 0x10006cba
call fcn.100032e0
push 0x118
lea eax, [ebp - 0x154]
push 0
push eax
call fcn.10019120
add esp, 0xc
mov dword [ebp - 0x158], 0x11c
lea eax, [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10006880
cmp dword [ebp - 0x154], 6
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
ja 0x100067bd
jne 0x1000683e
cmp dword [ebp - 0x150], 2
jb 0x1000683e
push str.kernel32.dll
call edi
mov esi, eax
test esi, esi
je 0x1000683e
push 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1000683e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1000683e
movups xmm0, xmmword [0x100396a4]
push eax
movups xmmword [ebp - 0x34], xmm0
movups xmm0, xmmword [0x100396b4]
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1000683e
lea eax, [ebp - 0x34]
push eax
lea ecx, [esi + 6]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1000683e
cmp word [esi + 2], ax
jbe 0x1000683e
movzx edx, word [esi + 0x32]
movzx ecx, word [esi + 0x30]
movzx eax, word [esi + 0x36]
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x14c], eax
push str.ntdll.dll
call edi
push str.RtlGetVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x10006880
push 0x118
lea eax, [ebp - 0x274]
push 0
push eax
call fcn.10019120
add esp, 0xc
mov dword [ebp - 0x278], 0x11c
lea eax, [ebp - 0x278]
push eax
call esi
cmp dword [ebp - 0x154], 6
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
jae 0x10006a6e
push str.Kernel32.dll
call eax
mov esi, eax
push str.LoadLibraryA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x100069c3
test esi, esi
je 0x100068bc
push esi
call edi
cmp dword [0x100419a8], 0
je 0x100069bc
push 0
mov ecx, 0x100419a8
call fcn.10012cc0
mov eax, dword [0x100419a8]
cmp byte [eax + 0x54], 0
je 0x100069bc
cmp dword [eax + 0x58], 2
jb 0x100069bc
mov al, byte [eax + 0x5c]
mov byte [ebp - 0x279], al
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
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x2c]
push str.ldrloaddll_error__d__
push eax
call fcn.10013b60
add esp, 0xc
lea eax, [ebp - 0x2c]
mov ecx, 0x100419a8
push 0x49
push str.RC::RCAntiInject::StartHook
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src_sdreflectdefender_src_rcantiinject.cpp
push eax
push 2
call fcn.100135f0
cmp byte [ebp - 0x279], 0
je 0x10006967
lea eax, [ebp - 0x2c]
mov ecx, 0x100419a8
push eax
call fcn.10013990
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x100069a8
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000699e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006cd8
push edx
push ecx
call fcn.10017942
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
xor al, al
jmp 0x10006cba
push 0x1004195c
mov edx, 0x100070d0
mov ecx, eax
call fcn.10007b30
add esp, 4
mov byte [0x10041964], al
test esi, esi
je 0x100069e8
push esi
call edi
mov al, byte [0x10041964]
test al, al
jne 0x10006a69
push 2
mov ecx, 0x100419a8
call fcn.100135b0
mov esi, eax
test esi, esi
je 0x100069bc
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
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x2c]
push str.commitHookTransaction_error__d__
push eax
call fcn.10013b60
add esp, 0xc
lea eax, [ebp - 0x2c]
mov ecx, 0x100419a8
push 0x58
push str.RC::RCAntiInject::StartHook
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src_sdreflectdefender_src_rcantiinject.cpp
push eax
push 2
call fcn.100135f0
cmp esi, 1
jbe 0x10006967
jmp 0x10006959
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.ntdll.dll
call eax
mov esi, eax
push str.LdrLoadDll
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x10006b9f
cmp dword [0x100419a8], eax
je 0x10006b8d
push eax
mov ecx, 0x100419a8
call fcn.10012cc0
mov eax, dword [0x100419a8]
cmp byte [eax + 0x54], 0
je 0x10006b8d
cmp dword [eax + 0x58], 2
jb 0x10006b8d
mov al, byte [eax + 0x5c]
mov byte [ebp - 0x279], al
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
mov dword [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x2c]
push str.ldrloaddll_error__d__
push eax
call fcn.10013b60
add esp, 0xc
lea eax, [ebp - 0x2c]
mov ecx, 0x100419a8
push 0x62
push str.RC::RCAntiInject::StartHook
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src_sdreflectdefender_src_rcantiinject.cpp
push eax
push 2
call fcn.100135f0
cmp byte [ebp - 0x279], 0
je 0x10006b38
lea eax, [ebp - 0x2c]
mov ecx, 0x100419a8
push eax
call fcn.10013990
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x10006b79
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10006b6f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006cd8
push edx
push ecx
call fcn.10017942
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
test esi, esi
je 0x100069bc
push esi
call edi
xor al, al
jmp 0x10006cba
push 0x10041960
mov edx, 0x100071a0
mov ecx, eax
call fcn.10007b30
add esp, 4
mov byte [0x10041964], al
mov byte [ebp - 0x279], 1
test al, al
jne 0x10006cad
push 2
mov ecx, 0x100419a8
call fcn.100135b0
mov dword [ebp - 0x280], eax
test eax, eax
je 0x10006ca6
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
mov dword [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x2c]
push str.commitHookTransaction_error__d__
push eax
call fcn.10013b60
add esp, 0xc
lea eax, [ebp - 0x2c]
mov ecx, 0x100419a8
push 0x72
push str.RC::RCAntiInject::StartHook
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src_sdreflectdefender_src_rcantiinject.cpp
push eax
push 2
call fcn.100135f0
cmp dword [ebp - 0x280], 1
jbe 0x10006c55
lea eax, [ebp - 0x2c]
mov ecx, 0x100419a8
push eax
call fcn.10013990
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x10006c92
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10006c88
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006cd8
push edx
push ecx
call fcn.10017942
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 0x279], 0
test esi, esi
je 0x10006cb4
push esi
call edi
mov al, byte [ebp - 0x279]
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.100174a0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1001b6a9
int3