Function at 0x5bcadc
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x14c], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5bcf2a
push dword fs:[eax]
mov dword fs:[eax], esp
or edi, 0xffffffff
or esi, 0xffffffff
xor ebx, ebx
lea edx, [ebp - 4]
mov eax, dword [0x6088f8]
mov eax, dword [eax]
call fcn.00422890
mov eax, dword [0x608fe4]
mov eax, dword [eax]
dec eax
je 0x5bcb43
dec eax
je 0x5bcbcd
jmp case.default.0x5bcdbf
mov eax, dword [0x608d44]
mov eax, dword [eax]
sub eax, 0xa
jb 0x5bcb5b
sub eax, 0x50
jb 0x5bcb87
je 0x5bcbc6
jmp case.default.0x5bcdbf
mov eax, dword [ebp - 4]
mov edx, 0x5bcf48
call fcn.0040af1c
je 0x5bcb79
mov eax, dword [ebp - 4]
mov edx, 0x5bcf58
call fcn.0040af1c
jne 0x5bcb80
mov bl, 2
jmp case.default.0x5bcdbf
mov bl, 1
jmp case.default.0x5bcdbf
cmp dword [0x60f8e8], 0x4005a
jne 0x5bcb9a
mov bl, 5
jmp case.default.0x5bcdbf
mov eax, dword [ebp - 4]
mov edx, 0x5bcf68
call fcn.0040af1c
je 0x5bcbb8
mov eax, dword [ebp - 4]
mov edx, 0x5bcf48
call fcn.0040af1c
jne 0x5bcbbf
mov bl, 4
jmp case.default.0x5bcdbf
mov bl, 3
jmp case.default.0x5bcdbf
mov bl, 5
jmp case.default.0x5bcdbf
mov eax, dword [0x608948]
mov eax, dword [eax]
add eax, 0xfffffffd
cmp eax, 7
ja case.default.0x5bcdbf
jmp dword [eax*4 + 0x5bcbe7]
mov eax, dword [0x608d44]
mov eax, dword [eax]
dec eax
je 0x5bcc20
sub eax, 4
je 0x5bcc27
sub eax, 0x2e
je 0x5bcc2e
jmp case.default.0x5bcdbf
mov bl, 6
jmp case.default.0x5bcdbf
mov bl, 7
jmp case.default.0x5bcdbf
mov bl, 8
jmp case.default.0x5bcdbf
mov bl, 9
jmp case.default.0x5bcdbf
mov eax, dword [0x608d44]
mov eax, dword [eax]
sub eax, 1
jb 0x5bcc52
je 0x5bcc59
dec eax
je 0x5bcc60
jmp case.default.0x5bcdbf
mov bl, 0xa
jmp case.default.0x5bcdbf
mov bl, 0xb
jmp case.default.0x5bcdbf
mov dword [ebp - 0x148], 0x11c
xor eax, eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
call fcn.005bd3f8
push 0x59
call sub.user32.dll_GetSystemMetrics
test eax, eax
je 0x5bcc89
mov bl, 0xe
jmp case.default.0x5bcdbf
cmp word [ebp - 0x2c], 0
je 0x5bccad
lea eax, [ebp - 0x148]
push eax
call sub.kernel32.dll_GetVersionExW_1
test eax, eax
je 0x5bccad
cmp byte [ebp - 0x2e], 1
jne 0x5bccad
mov bl, 0xd
jmp case.default.0x5bcdbf
mov bl, 0xc
jmp case.default.0x5bcdbf
mov eax, dword [0x608d44]
cmp dword [eax], 2
jne 0x5bcdac
push 0
lea eax, [ebp - 8]
push eax
mov ecx, 0x5bcf78
mov edx, 0x5bcf9c
mov eax, 0x80000002
call fcn.005bfe9c
lea edx, [ebp - 0x14c]
mov eax, dword [0x608cb0]
call fcn.0040dc78
mov eax, dword [ebp - 0x14c]
mov ecx, 1
mov edx, dword [ebp - 8]
call fcn.0040b164
dec eax
je 0x5bcd28
lea edx, [ebp - 0x150]
mov eax, dword [0x608d50]
call fcn.0040dc78
mov eax, dword [ebp - 0x150]
mov ecx, 1
mov edx, dword [ebp - 8]
call fcn.0040b164
dec eax
jne 0x5bcd32
mov esi, 3
jmp 0x5bcdb4
lea edx, [ebp - 0x154]
mov eax, dword [0x608f08]
call fcn.0040dc78
mov eax, dword [ebp - 0x154]
mov ecx, 1
mov edx, dword [ebp - 8]
call fcn.0040b164
dec eax
je 0x5bcd7e
lea edx, [ebp - 0x158]
mov eax, dword [0x608f50]
call fcn.0040dc78
mov eax, dword [ebp - 0x158]
mov ecx, 1
mov edx, dword [ebp - 8]
call fcn.0040b164
dec eax
jne 0x5bcd85
mov esi, 2
jmp 0x5bcdb4
call fcn.005bcff8
mov edi, eax
cmp edi, 6
jne 0x5bcd98
mov esi, 4
jmp 0x5bcdb4
cmp edi, 0xa
jne 0x5bcda2
or esi, 0xffffffff
jmp 0x5bcdb4
mov esi, dword [0x608d44]
mov esi, dword [esi]
jmp 0x5bcdb4
mov esi, dword [0x608d44]
mov esi, dword [esi]
mov eax, esi
cmp eax, 4
ja case.default.0x5bcdbf
jmp dword [eax*4 + 0x5bcdc6]
mov dword [ebp - 0x148], 0x11c
lea eax, [ebp - 0x148]
push eax
call sub.kernel32.dll_GetVersionExW_1
test eax, eax
je 0x5bce01
cmp byte [ebp - 0x2e], 1
jne 0x5bce01
mov bl, 0xf
jmp case.default.0x5bcdbf
mov bl, 0x10
jmp case.default.0x5bcdbf
mov dword [ebp - 0x148], 0x11c
lea eax, [ebp - 0x148]
push eax
call sub.kernel32.dll_GetVersionExW_1
test eax, eax
je 0x5bce2f
cmp byte [ebp - 0x2e], 1
jne 0x5bce2f
mov bl, 0x11
jmp case.default.0x5bcdbf
mov bl, 0x12
jmp case.default.0x5bcdbf
mov dword [ebp - 0x148], 0x11c
lea eax, [ebp - 0x148]
push eax
call sub.kernel32.dll_GetVersionExW_1
test eax, eax
je 0x5bce5a
cmp byte [ebp - 0x2e], 1
jne 0x5bce5a
mov bl, 0x13
jmp case.default.0x5bcdbf
mov bl, 0x15
jmp case.default.0x5bcdbf
mov dword [ebp - 0x148], 0x11c
lea eax, [ebp - 0x148]
push eax
call sub.kernel32.dll_GetVersionExW_1
test eax, eax
je 0x5bce82
cmp byte [ebp - 0x2e], 1
jne 0x5bce82
mov bl, 0x16
jmp case.default.0x5bcdbf
mov bl, 0x18
jmp case.default.0x5bcdbf
mov dword [ebp - 0x148], 0x11c
lea eax, [ebp - 0x148]
push eax
call sub.kernel32.dll_GetVersionExW_1
test eax, eax
je 0x5bceaa
cmp byte [ebp - 0x2e], 1
jne 0x5bceaa
mov bl, 0x19
jmp case.default.0x5bcdbf
mov bl, 0x1a
jmp case.default.0x5bcdbf
mov edi, dword [0x608948]
mov edi, dword [edi]
mov esi, dword [0x608d44]
mov esi, dword [esi]
cmp edi, 0xa
jl 0x5bceff
sub edi, 0xa
jne 0x5bceff
cmp esi, 0xffffffff
jne 0x5bced4
call fcn.005bd1f4
mov esi, eax
sub esi, 1
jae 0x5bceff
mov dword [ebp - 0x148], 0x11c
lea eax, [ebp - 0x148]
push eax
call sub.kernel32.dll_GetVersionExW_1
test eax, eax
je 0x5bcefd
cmp byte [ebp - 0x2e], 1
jne 0x5bcefd
mov bl, 0x19
jmp 0x5bceff
mov bl, 0x1a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bcf31
lea eax, [ebp - 0x158]
mov edx, 4
call fcn.00409df0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409df0
ret