Function at 0x10013de0
Capabilities:
Check os version
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10042035
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x1005a050]
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 0x10014021
lea eax, [ebp - 0xec]
mov dword [ebp - 0xec], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0xe8], 6
jne 0x10013e4f
cmp dword [ebp - 0xe4], 1
je 0x10014021
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 0x10013e96
sub ebx, edi
movzx eax, byte [edi]
push eax
call fcn.10024cc9
mov byte [edi + ebx], al
add esp, 4
inc edi
cmp edi, esi
jne 0x10013e82
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 0x10013ee9
sub ebx, edi
movzx eax, byte [edi]
push eax
call fcn.10024cc9
mov byte [edi + ebx], al
add esp, 4
inc edi
cmp edi, esi
jne 0x10013ed5
mov byte [ebp - 4], 1
mov eax, 0x7fffffff
mov ecx, dword [ebp - 0x30]
sub eax, ecx
cmp eax, 1
jb 0x1001403f
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 1
cmovae eax, dword [ebp - 0x40]
push 0x10052abc
push ecx
push eax
push ecx
push dword [ebp - 0xf0]
lea ecx, [ebp - 0x58]
call fcn.10011470
push ecx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.10011180
mov edx, dword [ebp - 0x44]
mov esi, eax
cmp esi, 0xffffffff
setne bl
cmp edx, 0x10
jb 0x10013f6c
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10013f62
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014044
push edx
push ecx
call fcn.1001e5ae
add esp, 8
cmp dword [ebp - 0xe8], 6
jb 0x10013fab
cmp dword [ebp - 0xe4], 2
jb 0x10013fab
cmp esi, 0xffffffff
jne 0x10013fab
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x10013be0
push 0
push 0
call esi
push 0
push 0
push 0
push 0x10013c00
push 0
push 0
call esi
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10013fdb
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10013fd1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014044
push edx
push ecx
call fcn.1001e5ae
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 0x1001401d
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10014013
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014044
push edx
push ecx
call fcn.1001e5ae
add esp, 8
mov al, bl
jmp 0x10014023
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.1001e256
mov esp, ebp
pop ebp
ret
call fcn.10001450
call fcn.10022c78
int3