Function at 0x4253f4
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 0x425507
push dword fs:[eax]
mov dword fs:[eax], esp
or esi, 0xffffffff
xor ebx, ebx
lea edx, [ebp - 4]
mov eax, dword [sym.imp.rtl190.bpl__System_Sysutils_Win32CSDVersion]
mov eax, dword [eax]
call sub.rtl190.bpl__System_Sysutils_Trim_qqrx20System_UnicodeString
mov eax, dword [sym.imp.rtl190.bpl__System_Sysutils_Win32Platform]
mov eax, dword [eax]
dec eax
je 0x425133
dec eax
je 0x4251bd
jmp case.default.0x4253ab
mov eax, dword [sym.imp.rtl190.bpl__System_Sysutils_Win32MinorVersion]
mov eax, dword [eax]
sub eax, 0xa
jb 0x42514b
sub eax, 0x50
jb 0x425177
je 0x4251b6
jmp case.default.0x4253ab
mov eax, dword [ebp - 4]
mov edx, 0x425524
call sub.rtl190.bpl__System__UStrEqual_qqrv
je 0x425169
mov eax, dword [ebp - 4]
mov edx, 0x425534
call sub.rtl190.bpl__System__UStrEqual_qqrv
jne 0x425170
mov bl, 2
jmp case.default.0x4253ab
mov bl, 1
jmp case.default.0x4253ab
cmp dword [0x4fe5ac], 0x4005a
jne 0x42518a
mov bl, 5
jmp case.default.0x4253ab
mov eax, dword [ebp - 4]
mov edx, 0x425544
call sub.rtl190.bpl__System__UStrEqual_qqrv
je 0x4251a8
mov eax, dword [ebp - 4]
mov edx, 0x425524
call sub.rtl190.bpl__System__UStrEqual_qqrv
jne 0x4251af
mov bl, 4
jmp case.default.0x4253ab
mov bl, 3
jmp case.default.0x4253ab
mov bl, 5
jmp case.default.0x4253ab
mov eax, dword [sym.imp.rtl190.bpl__System_Sysutils_Win32MajorVersion]
mov eax, dword [eax]
add eax, 0xfffffffd
cmp eax, 7
ja case.default.0x4253ab
jmp dword [eax*4 + 0x4251d7]
mov eax, dword [sym.imp.rtl190.bpl__System_Sysutils_Win32MinorVersion]
mov eax, dword [eax]
dec eax
je 0x425210
sub eax, 4
je 0x425217
sub eax, 0x2e
je 0x42521e
jmp case.default.0x4253ab
mov bl, 6
jmp case.default.0x4253ab
mov bl, 7
jmp case.default.0x4253ab
mov bl, 8
jmp case.default.0x4253ab
mov bl, 9
jmp case.default.0x4253ab
mov eax, dword [sym.imp.rtl190.bpl__System_Sysutils_Win32MinorVersion]
mov eax, dword [eax]
sub eax, 1
jb 0x425242
je 0x425249
dec eax
je 0x425250
jmp case.default.0x4253ab
mov bl, 0xa
jmp case.default.0x4253ab
mov bl, 0xb
jmp case.default.0x4253ab
mov dword [ebp - 0x148], 0x11c
xor eax, eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
call fcn.00425984
push 0x59
call sub.user32.dll_GetSystemMetrics
test eax, eax
je 0x425279
mov bl, 0xe
jmp case.default.0x4253ab
cmp word [ebp - 0x2c], 0
je 0x42529d
lea eax, [ebp - 0x148]
push eax
call sub.kernel32.dll_GetVersionExW_1
test eax, eax
je 0x42529d
cmp byte [ebp - 0x2e], 1
jne 0x42529d
mov bl, 0xd
jmp case.default.0x4253ab
mov bl, 0xc
jmp case.default.0x4253ab
mov eax, dword [sym.imp.rtl190.bpl__System_Sysutils_Win32MinorVersion]
cmp dword [eax], 2
jne 0x42539b
push 0
lea eax, [ebp - 8]
push eax
mov ecx, 0x425554
mov edx, 0x425578
mov eax, 0x80000002
call fcn.00424bd8
lea edx, [ebp - 0x14c]
mov eax, dword [0x47cbe8]
call sub.rtl190.bpl__System_LoadResString_qqrp20System_TResStringRec
mov eax, dword [ebp - 0x14c]
mov ecx, 1
mov edx, dword [ebp - 8]
call sub.rtl190.bpl__System_Pos_qqrx20System_UnicodeStringt1i
dec eax
je 0x425318
lea edx, [ebp - 0x150]
mov eax, dword [0x47cc3c]
call sub.rtl190.bpl__System_LoadResString_qqrp20System_TResStringRec
mov eax, dword [ebp - 0x150]
mov ecx, 1
mov edx, dword [ebp - 8]
call sub.rtl190.bpl__System_Pos_qqrx20System_UnicodeStringt1i
dec eax
jne 0x425322
mov eax, 3
jmp 0x4253a2
lea edx, [ebp - 0x154]
mov eax, dword [0x47cd1c]
call sub.rtl190.bpl__System_LoadResString_qqrp20System_TResStringRec
mov eax, dword [ebp - 0x154]
mov ecx, 1
mov edx, dword [ebp - 8]
call sub.rtl190.bpl__System_Pos_qqrx20System_UnicodeStringt1i
dec eax
je 0x42536e
lea edx, [ebp - 0x158]
mov eax, dword [0x47cd3c]
call sub.rtl190.bpl__System_LoadResString_qqrp20System_TResStringRec
mov eax, dword [ebp - 0x158]
mov ecx, 1
mov edx, dword [ebp - 8]
call sub.rtl190.bpl__System_Pos_qqrx20System_UnicodeStringt1i
dec eax
jne 0x425375
mov eax, 2
jmp 0x4253a2
call fcn.004255d4
mov esi, eax
cmp esi, 6
jne 0x425388
mov eax, 4
jmp 0x4253a2
cmp esi, 0xa
jne 0x425392
or eax, 0xffffffff
jmp 0x4253a2
mov eax, dword [sym.imp.rtl190.bpl__System_Sysutils_Win32MinorVersion]
mov eax, dword [eax]
jmp 0x4253a2
mov eax, dword [sym.imp.rtl190.bpl__System_Sysutils_Win32MinorVersion]
mov eax, dword [eax]
cmp eax, 4
ja case.default.0x4253ab
jmp dword [eax*4 + 0x4253b2]
mov dword [ebp - 0x148], 0x11c
lea eax, [ebp - 0x148]
push eax
call sub.kernel32.dll_GetVersionExW_1
test eax, eax
je 0x4253ed
cmp byte [ebp - 0x2e], 1
jne 0x4253ed
mov bl, 0xf
jmp case.default.0x4253ab
mov bl, 0x10
jmp case.default.0x4253ab
mov dword [ebp - 0x148], 0x11c
lea eax, [ebp - 0x148]
push eax
call sub.kernel32.dll_GetVersionExW_1
test eax, eax
je 0x42541b
cmp byte [ebp - 0x2e], 1
jne 0x42541b
mov bl, 0x11
jmp case.default.0x4253ab
mov bl, 0x12
jmp case.default.0x4253ab
mov dword [ebp - 0x148], 0x11c
lea eax, [ebp - 0x148]
push eax
call sub.kernel32.dll_GetVersionExW_1
test eax, eax
je 0x425446
cmp byte [ebp - 0x2e], 1
jne 0x425446
mov bl, 0x13
jmp case.default.0x4253ab
mov bl, 0x15
jmp case.default.0x4253ab
mov dword [ebp - 0x148], 0x11c
lea eax, [ebp - 0x148]
push eax
call sub.kernel32.dll_GetVersionExW_1
test eax, eax
je 0x42546e
cmp byte [ebp - 0x2e], 1
jne 0x42546e
mov bl, 0x16
jmp case.default.0x4253ab
mov bl, 0x18
jmp case.default.0x4253ab
mov dword [ebp - 0x148], 0x11c
lea eax, [ebp - 0x148]
push eax
call sub.kernel32.dll_GetVersionExW_1
test eax, eax
je 0x425496
cmp byte [ebp - 0x2e], 1
jne 0x425496
mov bl, 0x19
jmp case.default.0x4253ab
mov bl, 0x1a
jmp case.default.0x4253ab
mov esi, dword [sym.imp.rtl190.bpl__System_Sysutils_Win32MajorVersion]
mov esi, dword [esi]
cmp esi, 0xa
jl 0x4254dc
sub esi, 0xa
jne 0x4254dc
call fcn.004257ac
sub eax, 1
jae 0x4254dc
mov dword [ebp - 0x148], 0x11c
lea eax, [ebp - 0x148]
push eax
call sub.kernel32.dll_GetVersionExW_1
test eax, eax
je 0x4254da
cmp byte [ebp - 0x2e], 1
jne 0x4254da
mov bl, 0x19
jmp 0x4254dc
mov bl, 0x1a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42550e
lea eax, [ebp - 0x158]
mov edx, 4
call sub.rtl190.bpl__System__UStrArrayClr_qqrpvi
lea eax, [ebp - 8]
mov edx, 2
call sub.rtl190.bpl__System__UStrArrayClr_qqrpvi
ret