Function at 0x4754fb
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff28
push ebx
push esi
xor eax, eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4755b8
push dword fs:[eax]
mov dword fs:[eax], esp
or esi, 0xffffffff
xor ebx, ebx
lea edx, [ebp - 4]
mov eax, dword [0x4b8b3c]
mov eax, dword [eax]
call fcn.004090c4
mov eax, dword [0x4b90f4]
mov eax, dword [eax]
dec eax
je 0x4751fb
dec eax
je 0x475285
jmp case.default.0x47545c
mov eax, dword [0x4b8ed8]
mov eax, dword [eax]
sub eax, 0xa
jb 0x475213
sub eax, 0x50
jb 0x47523f
je 0x47527e
jmp case.default.0x47545c
mov eax, dword [ebp - 4]
mov edx, 0x4755d0
call fcn.00404dc4
je 0x475231
mov eax, dword [ebp - 4]
mov edx, 0x4755dc
call fcn.00404dc4
jne 0x475238
mov bl, 2
jmp case.default.0x47545c
mov bl, 1
jmp case.default.0x47545c
cmp dword [0x4c08a8], 0x4005a
jne 0x475252
mov bl, 5
jmp case.default.0x47545c
mov eax, dword [ebp - 4]
mov edx, 0x4755e8
call fcn.00404dc4
je 0x475270
mov eax, dword [ebp - 4]
mov edx, 0x4755d0
call fcn.00404dc4
jne 0x475277
mov bl, 4
jmp case.default.0x47545c
mov bl, 3
jmp case.default.0x47545c
mov bl, 5
jmp case.default.0x47545c
mov eax, dword [0x4b8b84]
mov eax, dword [eax]
add eax, 0xfffffffd
cmp eax, 7
ja case.default.0x47545c
jmp dword [eax*4 + 0x47529f]
mov eax, dword [0x4b8ed8]
mov eax, dword [eax]
dec eax
je 0x4752d8
sub eax, 4
je 0x4752df
sub eax, 0x2e
je 0x4752e6
jmp case.default.0x47545c
mov bl, 6
jmp case.default.0x47545c
mov bl, 7
jmp case.default.0x47545c
mov bl, 8
jmp case.default.0x47545c
mov bl, 9
jmp case.default.0x47545c
mov eax, dword [0x4b8ed8]
mov eax, dword [eax]
sub eax, 1
jb 0x47530a
je 0x475311
dec eax
je 0x475318
jmp case.default.0x47545c
mov bl, 0xa
jmp case.default.0x47545c
mov bl, 0xb
jmp case.default.0x47545c
mov dword [ebp - 0xc8], 0x9c
xor eax, eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
call fcn.00475920
push 0x59
call sub.user32.dll_GetSystemMetrics
test eax, eax
je 0x475341
mov bl, 0xe
jmp case.default.0x47545c
cmp word [ebp - 0x2c], 0
je 0x475365
lea eax, [ebp - 0xc8]
push eax
call sub.kernel32.dll_GetVersionExA_1
test eax, eax
je 0x475365
cmp byte [ebp - 0x2e], 1
jne 0x475365
mov bl, 0xd
jmp case.default.0x47545c
mov bl, 0xc
jmp case.default.0x47545c
mov eax, dword [0x4b8ed8]
cmp dword [eax], 2
jne 0x47544c
push 0
lea eax, [ebp - 8]
push eax
mov ecx, 0x4755f4
mov edx, 0x475608
mov eax, 0x80000002
call fcn.00471814
lea edx, [ebp - 0xcc]
mov eax, dword [0x4b8e50]
call fcn.00406cdc
mov eax, dword [ebp - 0xcc]
mov edx, dword [ebp - 8]
call fcn.00404f78
dec eax
je 0x4753d6
lea edx, [ebp - 0xd0]
mov eax, dword [0x4b8ee0]
call fcn.00406cdc
mov eax, dword [ebp - 0xd0]
mov edx, dword [ebp - 8]
call fcn.00404f78
dec eax
jne 0x4753dd
mov eax, 3
jmp 0x475453
lea edx, [ebp - 0xd4]
mov eax, dword [0x4b902c]
call fcn.00406cdc
mov eax, dword [ebp - 0xd4]
mov edx, dword [ebp - 8]
call fcn.00404f78
dec eax
je 0x47541f
lea edx, [ebp - 0xd8]
mov eax, dword [0x4b9070]
call fcn.00406cdc
mov eax, dword [ebp - 0xd8]
mov edx, dword [ebp - 8]
call fcn.00404f78
dec eax
jne 0x475426
mov eax, 2
jmp 0x475453
call fcn.00475638
mov esi, eax
cmp esi, 6
jne 0x475439
mov eax, 4
jmp 0x475453
cmp esi, 0xa
jne 0x475443
or eax, 0xffffffff
jmp 0x475453
mov eax, dword [0x4b8ed8]
mov eax, dword [eax]
jmp 0x475453
mov eax, dword [0x4b8ed8]
mov eax, dword [eax]
cmp eax, 4
ja case.default.0x47545c
jmp dword [eax*4 + 0x475463]
mov dword [ebp - 0xc8], 0x9c
lea eax, [ebp - 0xc8]
push eax
call sub.kernel32.dll_GetVersionExA_1
test eax, eax
je 0x47549e
cmp byte [ebp - 0x2e], 1
jne 0x47549e
mov bl, 0xf
jmp case.default.0x47545c
mov bl, 0x10
jmp case.default.0x47545c
mov dword [ebp - 0xc8], 0x9c
lea eax, [ebp - 0xc8]
push eax
call sub.kernel32.dll_GetVersionExA_1
test eax, eax
je 0x4754cc
cmp byte [ebp - 0x2e], 1
jne 0x4754cc
mov bl, 0x11
jmp case.default.0x47545c
mov bl, 0x12
jmp case.default.0x47545c
mov dword [ebp - 0xc8], 0x9c
lea eax, [ebp - 0xc8]
push eax
call sub.kernel32.dll_GetVersionExA_1
test eax, eax
je 0x4754f7
cmp byte [ebp - 0x2e], 1
jne 0x4754f7
mov bl, 0x13
jmp case.default.0x47545c
mov bl, 0x15
jmp case.default.0x47545c
mov dword [ebp - 0xc8], 0x9c
lea eax, [ebp - 0xc8]
push eax
call sub.kernel32.dll_GetVersionExA_1
test eax, eax
je 0x47551f
cmp byte [ebp - 0x2e], 1
jne 0x47551f
mov bl, 0x16
jmp case.default.0x47545c
mov bl, 0x18
jmp case.default.0x47545c
mov dword [ebp - 0xc8], 0x9c
lea eax, [ebp - 0xc8]
push eax
call sub.kernel32.dll_GetVersionExA_1
test eax, eax
je 0x475547
cmp byte [ebp - 0x2e], 1
jne 0x475547
mov bl, 0x19
jmp case.default.0x47545c
mov bl, 0x1a
jmp case.default.0x47545c
mov esi, dword [0x4b8b84]
mov esi, dword [esi]
cmp esi, 0xa
jl 0x47558d
sub esi, 0xa
jne 0x47558d
call fcn.004757ac
sub eax, 1
jae 0x47558d
mov dword [ebp - 0xc8], 0x9c
lea eax, [ebp - 0xc8]
push eax
call sub.kernel32.dll_GetVersionExA_1
test eax, eax
je 0x47558b
cmp byte [ebp - 0x2e], 1
jne 0x47558b
mov bl, 0x19
jmp 0x47558d
mov bl, 0x1a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4755bf
lea eax, [ebp - 0xd8]
mov edx, 4
call fcn.004049c0
lea eax, [ebp - 8]
mov edx, 2
call fcn.004049c0
ret