Function at 0x10012c00
Capabilities:
Check os version
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003f1e5
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x10056050]
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 0x10012e59
lea eax, [ebp - 0xec]
mov dword [ebp - 0xec], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0xe8], 6
jne 0x10012c6f
cmp dword [ebp - 0xe4], 1
je 0x10012e59
push esi
lea ecx, [ebp - 0x40]
call fcn.10004360
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 0x10012cb6
sub ebx, edi
movzx eax, byte [edi]
push eax
call fcn.100222b9
mov byte [edi + ebx], al
add esp, 4
inc edi
cmp edi, esi
jne 0x10012ca2
push dword [ebp - 0xf0]
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.10004360
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 0x10012d09
sub ebx, edi
movzx eax, byte [edi]
push eax
call fcn.100222b9
mov byte [edi + ebx], al
add esp, 4
inc edi
cmp edi, esi
jne 0x10012cf5
mov byte [ebp - 4], 1
mov eax, 0x7fffffff
mov ecx, dword [ebp - 0x30]
sub eax, ecx
cmp eax, 1
jb 0x10012e77
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 1
cmovae eax, dword [ebp - 0x40]
push 0x1004f554
push ecx
push eax
push ecx
push dword [ebp - 0xf0]
lea ecx, [ebp - 0x58]
call fcn.100102c0
push ecx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.1000ff40
mov edx, dword [ebp - 0x44]
mov esi, eax
cmp esi, 0xffffffff
setne bl
cmp edx, 0x10
jb 0x10012d8c
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10012d82
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012e7c
push edx
push ecx
call fcn.1001bb9d
add esp, 8
cmp dword [ebp - 0xe8], 6
jb 0x10012de3
cmp dword [ebp - 0xe4], 2
jb 0x10012de3
cmp esi, 0xffffffff
jne 0x10012de3
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x1000b9b0
push 0
push 0
call esi
push 0
push 0
push 0
push method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4
push 0
push 0
call esi
push 0x200030
push dword [0x1005b8fc]
push 0x1004ff28
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10012e13
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10012e09
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012e7c
push edx
push ecx
call fcn.1001bb9d
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 0x10012e55
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10012e4b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012e7c
push edx
push ecx
call fcn.1001bb9d
add esp, 8
mov al, bl
jmp 0x10012e5b
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.1001b845
mov esp, ebp
pop ebp
ret
call fcn.10001450
call fcn.10020268
int3