Function at 0x10007880
Capabilities:
Check os version
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10013970
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x1001e00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
sub dword [ebp + 0xc], 1
jne 0x10007bc4
push 0x94
lea eax, [ebp - 0xe4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xe4], 0x94
lea eax, [ebp - 0xe4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0xe0], 6
ja 0x10007909
cmp dword [ebp - 0xdc], 1
ja 0x10007909
mov byte [0x10128dc8], 1
jmp 0x10007910
mov ecx, edi
call fcn.100116e0
push 0x1f241e33
lea ecx, [ebp - 0x40]
call fcn.10007df0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xorps xmm0, xmm0
mov word [ebp - 0x38], 0
push 0x5cc72073
lea ecx, [ebp - 0x50]
movq qword [ebp - 0x40], xmm0
mov esi, eax
mov byte [ebp - 0x36], 0
call fcn.10007f80
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xorps xmm0, xmm0
mov word [ebp - 0x48], 0
movq qword [ebp - 0x50], xmm0
call eax
push ecx
push 0x1b
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], 0xffffffa1
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x28], 0xffff8b32
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x20], 0x78ffffff
mov dword [ebp - 0x1c], 0x8bffff89
mov word [ebp - 0x18], 0x8ff
mov byte [ebp - 0x16], 0x51
call fcn.10011500
add esp, 8
test eax, eax
je 0x10007c84
mov eax, dword [eax + 1]
lea edx, [ebp - 0x34]
push ecx
push 0x21
mov dword [0x10128e3c], eax
mov dword [ebp - 0x34], 0xffffffa1
mov dword [ebp - 0x30], 0xffff89ff
mov dword [ebp - 0x2c], 0x83ffffff
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x24], 0xffff02ff
mov dword [ebp - 0x20], 0xffffff83
mov dword [ebp - 0x1c], 0x7404ffff
mov dword [ebp - 0x18], 0x6affebff
mov byte [ebp - 0x14], 0
call fcn.10011500
add esp, 8
mov dword [0x10128e40], eax
test eax, eax
je 0x10007c48
mov eax, dword [eax + 1]
lea edx, [ebp - 0x2c]
push ecx
push 0x17
mov dword [0x10128e40], eax
mov dword [ebp - 0x2c], 0x8e68
mov dword [ebp - 0x28], 0xc16800
mov dword [ebp - 0x24], 0xff8d0000
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x1c], 0xffffffe8
mov word [ebp - 0x18], 0x6aff
mov byte [ebp - 0x16], 2
call fcn.10011500
mov esi, eax
add esp, 8
test esi, esi
je 0x10007c18
push ecx
push 0x1b
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], 0xffffffa1
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x28], 0xffff8b32
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x20], 0x78ffffff
mov dword [ebp - 0x1c], 0x8bffff89
mov word [ebp - 0x18], 0x8ff
mov byte [ebp - 0x16], 0x51
call fcn.10011500
add esp, 8
mov dword [0x10128dc0], eax
test eax, eax
je 0x10007be6
mov edx, dword [esi + 0x48]
add esi, 0x4c
mov eax, dword [eax + 0xb]
add edx, esi
mov dword [0x10128dc0], eax
mov dword [0x10128dbc], edx
push 0x76
mov esi, dword [edx + 0xb]
add esi, 0xf
add esi, edx
lea ecx, [esi + 0x2d]
mov dword [0x10128db8], esi
mov dword [0x10128db4], ecx
mov eax, dword [ecx + 1]
add ecx, 5
add eax, ecx
mov dword [0x10128db4], eax
mov eax, dword [edx + 0x26]
add eax, 0x2a
add edx, eax
mov dword [0x10128db0], edx
lea ecx, [edx + 8]
mov dword [0x1001e02c], ecx
mov eax, dword [ecx + 1]
add ecx, 5
add eax, ecx
lea ecx, [edx + 0x21]
mov dword [0x1001e038], ecx
mov dword [0x1001e02c], eax
mov eax, dword [ecx + 1]
add ecx, 5
add eax, ecx
lea ecx, [edx + 0x3a]
mov dword [0x1001e034], ecx
mov dword [0x1001e038], eax
mov eax, dword [ecx + 1]
add ecx, 5
add eax, ecx
lea ecx, [edx + 0x42]
mov dword [0x1001e034], eax
add edx, 0xc8
mov dword [0x1001e030], ecx
mov eax, dword [ecx + 1]
add ecx, 5
add eax, ecx
mov dword [0x1001e028], edx
mov dword [0x1001e030], eax
mov ecx, esi
mov eax, dword [edx + 1]
add eax, 5
mov dword [0x10128e44], 0x10007830
add eax, edx
mov dword [0x1001e028], eax
call fcn.10010bc0
mov ecx, dword [0x10128db0]
push 0x1e0
call fcn.10010bc0
mov ecx, dword [0x10128dbc]
push 0x33
call fcn.10010bc0
add esp, 8
call fcn.10010b70
add esp, 4
mov dword [0x10128dc4], edi
call fcn.1000eb90
call fcn.1000ec00
push 0
push ecx
push 0
push 0x10006b30
call fcn.100115c0
push 0
push ecx
push 0
push 0x100076d0
call fcn.100115c0
mov eax, 1
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.10012754
mov esp, ebp
pop ebp
ret 0xc
mov edx, 0x67
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + str.4__58]
xor al, dl
mov byte [ebp + ecx - 0x28], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x12
jb 0x10007bf0
mov byte [ebp - 0x16], 0
mov dword [ebp - 4], 0
call fcn.10010b20
mov edx, 0x72
xor ecx, ecx
nop
mov al, byte [ecx + 0x10019bd4]
xor al, dl
mov byte [ebp + ecx - 0x30], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x1b
jb 0x10007c20
mov byte [ebp - 0x15], 0
mov dword [ebp - 4], 1
call fcn.10010b20
mov edx, 0xba
xor ecx, ecx
nop
mov al, byte [ecx + 0x10019bb0]
xor al, dl
mov byte [ebp + ecx - 0x44], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xf
jb 0x10007c50
lea eax, [ebp - 0x44]
mov byte [ebp - 0x35], 0
push eax
push 0
push 0x1011e1d8
call fcn.100087b0
add esp, 0xc
call fcn.10010b20
mov edx, 0x82
xor eax, eax
nop dword [eax + eax]
mov cl, byte [eax + 0x10019bf0]
xor cl, dl
mov byte [ebp + eax - 0x24], cl
inc eax
lea ecx, [edx + 1]
movzx edx, cl
cmp eax, 0xf
jb 0x10007c90
lea eax, [ebp - 0x24]
mov byte [ebp - 0x15], 0
push eax
push 0
push 0x1011e1d8
call fcn.100087b0
add esp, 0xc
xorps xmm0, xmm0
movups xmmword [ebp - 0x24], xmm0
call fcn.10010b20
int3