Function at 0x5fc0c0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x6cbb39
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
mov ebp, ecx
mov edx, dword [ebp + 0xec]
mov eax, dword [ebp + 0xf4]
sub eax, edx
push esi
mov esi, dword [esp + 0x50]
mov dword [esp + 0x24], eax
mov eax, dword [esi]
mov ecx, eax
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x48]
push edi
mov edi, dword [esi + 4]
mov dword [esp + 0x20], ecx
cmp byte [eax], 0
mov edx, edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x30], edi
mov dword [esp + 0x38], edx
mov ebx, eax
mov dword [esp + 0x14], eax
je 0x5fc428
lea esp, [esp]
mov al, byte [ebx]
xor edx, edx
xor cl, cl
test al, al
mov byte [esp + 0x4c], dl
jns 0x5fc18f
mov al, byte [ebx + 1]
test al, al
je 0x5fc360
movzx edx, word [ebx]
mov dword [esp + 0x18], 2
mov eax, dword [ebp + 0x44]
mov ecx, dword [0x74e914]
mov dword [esp + 0x24], eax
push dword [esp + 0x24]
mov eax, dword [ecx]
push edx
call dword [eax + 0xbc]
mov ecx, dword [esp + 0x2c]
add eax, ecx
cmp eax, dword [esp + 0x28]
jg 0x5fc1e9
mov cl, byte [esp + 0x4c]
test cl, cl
jne 0x5fc1e9
mov dword [esp + 0x2c], eax
add ebx, dword [esp + 0x18]
jmp 0x5fc357
cmp al, 0xd
jne 0x5fc1aa
mov cl, byte [ebx + 1]
xor eax, eax
cmp cl, 0xa
sete al
mov byte [esp + 0x4c], 1
inc eax
mov dword [esp + 0x18], eax
jmp 0x5fc154
cmp al, 0xa
jne 0x5fc1bd
mov eax, 1
mov dword [esp + 0x18], eax
mov byte [esp + 0x4c], al
jmp 0x5fc154
cmp al, 9
jne 0x5fc1c3
mov cl, 1
test cl, cl
movsx edx, al
mov dword [esp + 0x18], 1
je 0x5fc154
mov ecx, dword [0x74e914]
mov eax, dword [ebp + 0x44]
mov edx, dword [ecx]
push eax
call dword [edx + 0xb4]
shl eax, 2
jmp 0x5fc16e
cmp ebx, dword [esp + 0x14]
jne 0x5fc1fb
mov al, byte [esp + 0x4c]
test al, al
je 0x5fc30f
push 0x4c
call fcn.0062e875
add esp, 4
xor esi, esi
cmp eax, esi
je 0x5fc23c
mov byte [eax + 4], 0
mov dword [eax + 0x34], 0xf
mov dword [eax + 0x30], esi
mov byte [eax + 0x20], 0
mov dword [eax + 0x3c], esi
mov dword [eax + 0x40], esi
mov dword [eax + 0x44], esi
mov dword [eax], 0x6f1f20
mov dword [eax + 0x48], 0x2020
mov dword [eax + 0x18], 0xffffff00
mov esi, eax
mov eax, dword [ebp + 0x18c]
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
add eax, edi
mov dword [esi + 0xc], edi
mov edi, ebx
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x14]
sub edi, ebp
mov dword [esi + 8], edx
mov edx, dword [esp + 0x50]
mov dword [esi + 0x10], ecx
push edi
lea ebp, [esi + 0x1c]
push eax
mov ecx, ebp
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x2c], esi
mov dword [esi + 0x18], edx
call fcn.0040cb40
mov ecx, dword [esp + 0x1c]
test byte [ecx + 0xa8], 0x20
je 0x5fc2bd
push 0
lea ecx, [esi + 0x38]
push edi
call fcn.0043a130
cmp dword [ebp + 0x18], 0x10
mov eax, dword [esi + 0x3c]
jb 0x5fc2a9
mov ebp, dword [ebp + 4]
jmp 0x5fc2ac
add ebp, 4
mov edx, dword [esp + 0x50]
push edx
push 0xffffffffffffffff
push eax
push ebp
call fcn.00579650
add esp, 0x10
mov edx, dword [esp + 0x58]
mov edi, dword [edx + 4]
test edi, edi
jne 0x5fc2cc
xor ecx, ecx
jmp 0x5fc2d4
mov ecx, dword [edx + 8]
sub ecx, edi
sar ecx, 2
test edi, edi
je 0x5fc2f1
mov eax, dword [edx + 0xc]
sub eax, edi
sar eax, 2
cmp ecx, eax
jae 0x5fc2f1
mov eax, dword [edx + 8]
mov dword [eax], esi
add eax, 4
mov dword [edx + 8], eax
jmp 0x5fc303
mov eax, dword [edx + 8]
lea ecx, [esp + 0x24]
push ecx
push 1
push eax
mov ecx, edx
call fcn.005fb930
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x54]
mov eax, dword [esp + 0x20]
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x5c]
add edi, eax
add edx, eax
cmp eax, ecx
mov dword [esp + 0x30], edi
mov dword [esi + 4], edx
jne 0x5fc333
mov edx, dword [ebp + 0x18c]
mov dword [esp + 0x20], edx
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], eax
mov al, byte [esp + 0x4c]
test al, al
mov dword [esi], 0
mov dword [esp + 0x38], edi
je 0x5fc353
add ebx, dword [esp + 0x18]
mov dword [esp + 0x14], ebx
cmp byte [ebx], 0
jne 0x5fc130
cmp ebx, dword [esp + 0x14]
je 0x5fc428
push 0x4c
call fcn.0062e875
add esp, 4
mov dword [esp + 0x5c], eax
test eax, eax
mov dword [esp + 0x44], 3
je 0x5fc38f
mov ecx, eax
call fcn.005fbc70
mov esi, eax
jmp 0x5fc391
xor esi, esi
mov eax, dword [ebp + 0x18c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
add eax, edi
mov dword [esi + 0xc], edi
mov edi, dword [esp + 0x14]
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x54]
mov dword [esi + 0x14], eax
mov eax, edx
mov dword [esi + 0x10], edx
mov edx, dword [esp + 0x50]
sub ebx, edi
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
mov ebp, ebx
push ebp
lea edi, [esi + 0x1c]
push eax
mov ecx, edi
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x64], esi
mov dword [esi + 0x18], edx
call fcn.0040cb40
mov ecx, dword [esp + 0x1c]
test byte [ecx + 0xa8], 0x20
je 0x5fc41a
push 0
push ebp
lea ecx, [esi + 0x38]
call fcn.0043a130
cmp dword [edi + 0x18], 0x10
mov esi, dword [esi + 0x3c]
jb 0x5fc406
mov edi, dword [edi + 4]
jmp 0x5fc409
add edi, 4
mov edx, dword [esp + 0x50]
push edx
push 0xffffffffffffffff
push esi
push edi
call fcn.00579650
add esp, 0x10
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x5c]
push eax
call fcn.005fbbc0
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 0x14