Function at 0x5672a4
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea8
push ebx
push esi
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 0x5676c4
push dword fs:[eax]
mov dword fs:[eax], esp
or esi, 0xffffffff
xor ebx, ebx
lea edx, [ebp - 4]
mov eax, dword [0x6a6900]
mov eax, dword [eax]
call fcn.004210c8
mov eax, dword [0x6a7434]
mov eax, dword [eax]
dec eax
je 0x567307
dec eax
je 0x567391
jmp case.default.0x567568
mov eax, dword [0x6a6ffc]
mov eax, dword [eax]
sub eax, 0xa
jb 0x56731f
sub eax, 0x50
jb 0x56734b
je 0x56738a
jmp case.default.0x567568
mov eax, dword [ebp - 4]
mov edx, 0x5676e0
call fcn.004083f0
je 0x56733d
mov eax, dword [ebp - 4]
mov edx, 0x5676f0
call fcn.004083f0
jne 0x567344
mov bl, 2
jmp case.default.0x567568
mov bl, 1
jmp case.default.0x567568
cmp dword [0x72e9a4], 0x4005a
jne 0x56735e
mov bl, 5
jmp case.default.0x567568
mov eax, dword [ebp - 4]
mov edx, 0x567700
call fcn.004083f0
je 0x56737c
mov eax, dword [ebp - 4]
mov edx, 0x5676e0
call fcn.004083f0
jne 0x567383
mov bl, 4
jmp case.default.0x567568
mov bl, 3
jmp case.default.0x567568
mov bl, 5
jmp case.default.0x567568
mov eax, dword [0x6a6980]
mov eax, dword [eax]
add eax, 0xfffffffd
cmp eax, 7
ja case.default.0x567568
jmp dword [eax*4 + 0x5673ab]
mov eax, dword [0x6a6ffc]
mov eax, dword [eax]
dec eax
je 0x5673e4
sub eax, 4
je 0x5673eb
sub eax, 0x2e
je 0x5673f2
jmp case.default.0x567568
mov bl, 6
jmp case.default.0x567568
mov bl, 7
jmp case.default.0x567568
mov bl, 8
jmp case.default.0x567568
mov bl, 9
jmp case.default.0x567568
mov eax, dword [0x6a6ffc]
mov eax, dword [eax]
sub eax, 1
jb 0x567416
je 0x56741d
dec eax
je 0x567424
jmp case.default.0x567568
mov bl, 0xa
jmp case.default.0x567568
mov bl, 0xb
jmp case.default.0x567568
mov dword [ebp - 0x148], 0x11c
xor eax, eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
call fcn.00567dd0
push 0x59
call sub.user32.dll_GetSystemMetrics
test eax, eax
je 0x56744d
mov bl, 0xe
jmp case.default.0x567568
cmp word [ebp - 0x2c], 0
je 0x567471
lea eax, [ebp - 0x148]
push eax
call sub.KERNEL32.DLL_GetVersionExW_1
test eax, eax
je 0x567471
cmp byte [ebp - 0x2e], 1
jne 0x567471
mov bl, 0xd
jmp case.default.0x567568
mov bl, 0xc
jmp case.default.0x567568
mov eax, dword [0x6a6ffc]
cmp dword [eax], 2
jne 0x567558
push 0
lea eax, [ebp - 8]
push eax
mov ecx, 0x567710
mov edx, 0x567734
mov eax, 0x80000002
call fcn.00563bb8
lea edx, [ebp - 0x14c]
mov eax, dword [0x6a6f1c]
call fcn.0040b2b4
mov eax, dword [ebp - 0x14c]
mov edx, dword [ebp - 8]
call fcn.004085d4
dec eax
je 0x5674e2
lea edx, [ebp - 0x150]
mov eax, dword [0x6a700c]
call fcn.0040b2b4
mov eax, dword [ebp - 0x150]
mov edx, dword [ebp - 8]
call fcn.004085d4
dec eax
jne 0x5674e9
mov eax, 3
jmp 0x56755f
lea edx, [ebp - 0x154]
mov eax, dword [0x6a72a8]
call fcn.0040b2b4
mov eax, dword [ebp - 0x154]
mov edx, dword [ebp - 8]
call fcn.004085d4
dec eax
je 0x56752b
lea edx, [ebp - 0x158]
mov eax, dword [0x6a7328]
call fcn.0040b2b4
mov eax, dword [ebp - 0x158]
mov edx, dword [ebp - 8]
call fcn.004085d4
dec eax
jne 0x567532
mov eax, 2
jmp 0x56755f
call fcn.00567a20
mov esi, eax
cmp esi, 6
jne 0x567545
mov eax, 4
jmp 0x56755f
cmp esi, 0xa
jne 0x56754f
or eax, 0xffffffff
jmp 0x56755f
mov eax, dword [0x6a6ffc]
mov eax, dword [eax]
jmp 0x56755f
mov eax, dword [0x6a6ffc]
mov eax, dword [eax]
cmp eax, 4
ja case.default.0x567568
jmp dword [eax*4 + 0x56756f]
mov dword [ebp - 0x148], 0x11c
lea eax, [ebp - 0x148]
push eax
call sub.KERNEL32.DLL_GetVersionExW_1
test eax, eax
je 0x5675aa
cmp byte [ebp - 0x2e], 1
jne 0x5675aa
mov bl, 0xf
jmp case.default.0x567568
mov bl, 0x10
jmp case.default.0x567568
mov dword [ebp - 0x148], 0x11c
lea eax, [ebp - 0x148]
push eax
call sub.KERNEL32.DLL_GetVersionExW_1
test eax, eax
je 0x5675d8
cmp byte [ebp - 0x2e], 1
jne 0x5675d8
mov bl, 0x11
jmp case.default.0x567568
mov bl, 0x12
jmp case.default.0x567568
mov dword [ebp - 0x148], 0x11c
lea eax, [ebp - 0x148]
push eax
call sub.KERNEL32.DLL_GetVersionExW_1
test eax, eax
je 0x567603
cmp byte [ebp - 0x2e], 1
jne 0x567603
mov bl, 0x13
jmp case.default.0x567568
mov bl, 0x15
jmp case.default.0x567568
mov dword [ebp - 0x148], 0x11c
lea eax, [ebp - 0x148]
push eax
call sub.KERNEL32.DLL_GetVersionExW_1
test eax, eax
je 0x56762b
cmp byte [ebp - 0x2e], 1
jne 0x56762b
mov bl, 0x16
jmp case.default.0x567568
mov bl, 0x18
jmp case.default.0x567568
mov dword [ebp - 0x148], 0x11c
lea eax, [ebp - 0x148]
push eax
call sub.KERNEL32.DLL_GetVersionExW_1
test eax, eax
je 0x567653
cmp byte [ebp - 0x2e], 1
jne 0x567653
mov bl, 0x19
jmp case.default.0x567568
mov bl, 0x1a
jmp case.default.0x567568
mov esi, dword [0x6a6980]
mov esi, dword [esi]
cmp esi, 0xa
jl 0x567699
sub esi, 0xa
jne 0x567699
call fcn.00567bf8
sub eax, 1
jae 0x567699
mov dword [ebp - 0x148], 0x11c
lea eax, [ebp - 0x148]
push eax
call sub.KERNEL32.DLL_GetVersionExW_1
test eax, eax
je 0x567697
cmp byte [ebp - 0x2e], 1
jne 0x567697
mov bl, 0x19
jmp 0x567699
mov bl, 0x1a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5676cb
lea eax, [ebp - 0x158]
mov edx, 4
call fcn.00407104
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407104
ret