Function at 0x6bd1dc
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
mov eax, dword [0x7ccf60]
test eax, eax
jne 0x6bd47b
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
mov dword [esp + 8], 0x9c
mov dword [esp + 4], 0
lea eax, [ebp - 0xa8]
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov dword [ebp - 0xa8], 0x9c
lea eax, [ebp - 0xa8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetVersionExA]
call eax
sub esp, 4
test eax, eax
jne 0x6bd289
mov dword [esp + 8], 0x100
mov dword [esp + 4], 0x793b20
mov dword [esp], 0x7cce60
call fcn.006c1a88
mov dword [0x7ccf60], 1
mov eax, 0x7cce60
jmp 0x6bd480
movzx eax, byte [ebp - 0xe]
cmp al, 3
je 0x6bd299
movzx eax, byte [ebp - 0xe]
cmp al, 2
jne 0x6bd2a5
mov dword [ebp - 0xb0], 1
jmp 0x6bd2af
mov dword [ebp - 0xb4], 1
mov dword [ebp - 0xb8], 0
jmp 0x6bd32f
mov eax, dword [ebp - 0xb8]
shl eax, 4
add eax, 0x6ffaa0
mov edx, dword [eax]
mov eax, dword [ebp - 0xa4]
cmp edx, eax
jne 0x6bd328
mov eax, dword [ebp - 0xb8]
shl eax, 4
add eax, 0x6ffaa4
mov edx, dword [eax]
mov eax, dword [ebp - 0xa0]
cmp edx, eax
jne 0x6bd328
cmp dword [ebp - 0xb0], 0
je 0x6bd310
mov eax, dword [ebp - 0xb8]
shl eax, 4
add eax, 0x6ffaac
mov eax, dword [eax]
mov dword [ebp - 0xac], eax
jmp 0x6bd347
mov eax, dword [ebp - 0xb8]
shl eax, 4
add eax, 0x6ffaa8
mov eax, dword [eax]
mov dword [ebp - 0xac], eax
jmp 0x6bd347
add dword [ebp - 0xb8], 1
mov eax, dword [ebp - 0xb8]
shl eax, 4
add eax, 0x6ffaa0
mov eax, dword [eax]
test eax, eax
jne 0x6bd2bb
cmp dword [ebp - 0xac], 0
je 0x6bd373
mov dword [esp + 8], 0x100
mov eax, dword [ebp - 0xac]
mov dword [esp + 4], eax
mov dword [esp], 0x7cce60
call fcn.006c1a88
jmp 0x6bd406
mov edx, dword [ebp - 0xa4]
mov eax, dword [0x6ffaa0]
cmp edx, eax
ja 0x6bd3a0
mov edx, dword [ebp - 0xa4]
mov eax, dword [0x6ffaa0]
cmp edx, eax
jne 0x6bd3d4
mov edx, dword [ebp - 0xa0]
mov eax, dword [0x6ffaa4]
cmp edx, eax
jbe 0x6bd3d4
mov eax, dword [ebp - 0xa0]
mov edx, eax
mov eax, dword [ebp - 0xa4]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.Very_recent_version_of_Windows__major_d_minor_d_
mov dword [esp + 4], 0x100
mov dword [esp], 0x7cce60
call fcn.006c32ac
jmp 0x6bd406
mov eax, dword [ebp - 0xa0]
mov edx, eax
mov eax, dword [ebp - 0xa4]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.Unrecognized_version_of_Windows__major_d_minor_d_
mov dword [esp + 4], 0x100
mov dword [esp], 0x7cce60
call fcn.006c32ac
mov eax, dword [ebp - 0xa4]
cmp eax, 6
ja 0x6bd427
mov eax, dword [ebp - 0xa4]
cmp eax, 6
jne 0x6bd443
mov eax, dword [ebp - 0xa0]
cmp eax, 1
jbe 0x6bd443
mov dword [esp + 8], 0x100
mov dword [esp + 4], str.__or_later_
mov dword [esp], 0x7cce60
call fcn.006c1b00
cmp dword [ebp - 0xb0], 0
jne 0x6bd471
cmp dword [ebp - 0xb4], 0
jne 0x6bd471
mov dword [esp + 8], 0x100
mov dword [esp + 4], str.__client_or_server_
mov dword [esp], 0x7cce60
call fcn.006c1b00
mov dword [0x7ccf60], 1
mov eax, 0x7cce60
mov ecx, dword [ebp - 0xc]
xor ecx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x6bd490
call sub.libssp_0.dll___stack_chk_fail
leave
ret