Function at 0x13bff60
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x153fdd8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x15a16ec]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x15a16ec]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x4c]
mov edi, edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x44], edx
mov ebx, dword [edi + 0x74]
mov eax, dword [esi + 0x18]
mov ebp, dword [ecx + 8]
mov dword [esp + 0x30], ebx
mov ebx, dword [edi + 0x80]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
jne 0x13bffd5
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x14], eax
cmp eax, edx
jne 0x13bffde
mov eax, dword [ebp + 0x5c]
jmp 0x13bfffa
lea ecx, [ebp + 0x38]
lea ebx, [esp + 0x14]
lea eax, [esp + 0x24]
call fcn.013d1fa0
mov ecx, dword [esp + 0x24]
cmp ecx, dword [ebp + 0x3c]
je 0x13c0002
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x13c0009
push 4
jmp 0x13c0181
lea ecx, [eax + 0xc]
lea ebx, [esp + 0x24]
lea eax, [esp + 0x18]
mov dword [esp + 0x24], edi
call fcn.013ce230
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp ecx, dword [edx + 0x10]
je 0x13c003c
mov eax, dword [ecx + 0x10]
cmp eax, 3
je 0x13c0048
cmp eax, 4
je 0x13c0048
cmp eax, 5
je 0x13c0048
mov eax, dword [esp + 0x20]
push 0xb
push eax
jmp 0x13c0186
mov ecx, dword [esi + 0x28]
shr ecx, 6
test cl, 1
je 0x13c017f
mov eax, dword [esi + 0x20]
mov edx, dword [0x15bd70c]
mov ecx, eax
test eax, eax
jne 0x13c0069
mov ecx, dword [edx + 0x20]
cmp dword [ecx + 0xa8], 0
je 0x13c017f
test eax, eax
jne 0x13c007d
mov eax, dword [edx + 0x20]
mov edx, dword [eax + 0xa4]
mov eax, dword [edx]
cmp dword [eax + 0xc], 0
je 0x13c017f
mov edi, dword [esp + 0x28]
lea ecx, [edi + 0xc]
lea ebx, [esp + 0x2c]
lea eax, [esp + 0x18]
call fcn.013c0ac0
mov eax, dword [edi + 0x10]
mov edi, dword [esp + 0x18]
cmp edi, eax
jne 0x13c00c9
mov eax, dword [esp + 0x20]
push 0
push eax
mov ecx, ebp
mov dword [esp + 0x24], 0
call fcn.013bbe50
jmp 0x13c0195
lea ecx, [edi + 0x10]
lea ebx, [esp + 0x30]
lea eax, [esp + 0x24]
mov dword [esp + 0x18], ecx
call fcn.013c0fb0
mov edi, dword [edi + 0x14]
cmp dword [esp + 0x24], edi
jne 0x13c0101
mov ecx, dword [esp + 0x20]
push 0
push ecx
mov ecx, ebp
mov dword [esp + 0x24], 0
call fcn.013bbe50
jmp 0x13c0195
mov byte [esp + 0x14], 0
call fcn.01391160
mov edx, dword [eax + 0xa4]
mov ebx, dword [edx]
xor edi, edi
cmp dword [ebx + 0xc], edi
jle 0x13c015f
mov ebp, dword [esp + 0x24]
add ebp, 0x10
mov eax, dword [ebx + 8]
mov eax, dword [eax + edi*4]
push ebp
push eax
call fcn.013c0730
add esp, 8
test al, al
je 0x13c013a
mov byte [esp + 0x14], 1
inc edi
cmp edi, dword [ebx + 0xc]
jl 0x13c0121
cmp byte [esp + 0x14], 0
je 0x13c015f
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push eax
call fcn.013c0420
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [eax + 8]
push edx
mov dword [esp + 0x24], 0
call fcn.013bbe50
jmp 0x13c0195
push 5
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, ebp
mov dword [esp + 0x24], 0
call fcn.013bbdc0
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.014c8a41
add esp, 0x34
ret 4