Function at 0x1000a610
Capabilities:
Check os version
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10028ee5
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x1003b050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0xf0], eax
mov esi, ecx
cmp dword [eax + 0x10], 0
je 0x1000a851
lea eax, [ebp - 0xec]
mov dword [ebp - 0xec], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0xe8], 6
jne 0x1000a67f
cmp dword [ebp - 0xe4], 1
je 0x1000a851
push esi
lea ecx, [ebp - 0x40]
call fcn.10004310
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 0x40]
lea ebx, [ebp - 0x40]
mov eax, dword [ebp - 0x30]
lea edi, [ebp - 0x40]
cmovae ecx, edx
cmovae ebx, edx
add eax, ecx
cmp dword [ebp - 0x2c], 0x10
mov esi, eax
cmovae edi, edx
cmp edi, esi
je 0x1000a6c6
sub ebx, edi
movzx eax, byte [edi]
push eax
call fcn.10015709
mov byte [edi + ebx], al
add esp, 4
inc edi
cmp edi, esi
jne 0x1000a6b2
push dword [ebp - 0xf0]
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.10004310
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
lea ebx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
lea edi, [ebp - 0x28]
cmovae ecx, edx
cmovae ebx, edx
add eax, ecx
cmp dword [ebp - 0x14], 0x10
mov esi, eax
cmovae edi, edx
cmp edi, esi
je 0x1000a719
sub ebx, edi
movzx eax, byte [edi]
push eax
call fcn.10015709
mov byte [edi + ebx], al
add esp, 4
inc edi
cmp edi, esi
jne 0x1000a705
mov byte [ebp - 4], 1
mov eax, 0x7fffffff
mov ecx, dword [ebp - 0x30]
sub eax, ecx
cmp eax, 1
jb 0x1000a86f
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 1
cmovae eax, dword [ebp - 0x40]
push 0x10035614
push ecx
push eax
push ecx
push dword [ebp - 0xf0]
lea ecx, [ebp - 0x58]
call fcn.10008ad0
push ecx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.100087e0
mov edx, dword [ebp - 0x44]
mov esi, eax
cmp esi, 0xffffffff
setne bl
cmp edx, 0x10
jb 0x1000a79c
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a792
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a874
push edx
push ecx
call fcn.1000f00b
add esp, 8
cmp dword [ebp - 0xe8], 6
jb 0x1000a7db
cmp dword [ebp - 0xe4], 2
jb 0x1000a7db
cmp esi, 0xffffffff
jne 0x1000a7db
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x1000a410
push 0
push 0
call esi
push 0
push 0
push 0
push 0x1000a430
push 0
push 0
call esi
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1000a80b
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a801
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a874
push edx
push ecx
call fcn.1000f00b
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x1000a84d
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a843
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a874
push edx
push ecx
call fcn.1000f00b
add esp, 8
mov al, bl
jmp 0x1000a853
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000ecb3
mov esp, ebp
pop ebp
ret
call fcn.10001450
call fcn.100136b8
int3