Function at 0x609378
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffebc
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6095a2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
xor edx, edx
call sub.rtl120.bpl__System__UStrLAsg_qqrr20System_UnicodeStringx20System_UnicodeString
lea eax, [ebp - 0x120]
mov edx, 0x11c
call fcn.004024a4
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call sub.kernel32.dll_GetVersionExW
lea eax, [ebp - 0x144]
mov edx, 0x24
call fcn.004024a4
push 0x6095b0
push 0x6095d8
call sub.kernel32.dll_GetModuleHandleW_1
push eax
call fcn.00401b80
test eax, eax
je 0x6093fe
lea edx, [ebp - 0x144]
push edx
call eax
jmp 0x60940a
lea eax, [ebp - 0x144]
push eax
call sub.kernel32.dll_GetSystemInfo
cmp dword [ebp - 0x110], 2
jne 0x609582
test bl, bl
je 0x60943a
call fcn.0060972c
mov edx, dword [eax]
mov dword [ebp - 0x11c], edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x118], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x11c]
add eax, 0xfffffffd
sub eax, 2
jae 0x609455
lea eax, [ebp - 4]
mov edx, 0x609600
call sub.rtl120.bpl__System__UStrLAsg_qqrr20System_UnicodeStringx20System_UnicodeString
cmp dword [ebp - 0x11c], 5
jne 0x609479
cmp dword [ebp - 0x118], 0
jne 0x609479
lea eax, [ebp - 4]
mov edx, 0x609624
call sub.rtl120.bpl__System__UStrLAsg_qqrr20System_UnicodeStringx20System_UnicodeString
jmp 0x609582
cmp dword [ebp - 0x11c], 5
jne 0x60949d
cmp dword [ebp - 0x118], 1
jne 0x60949d
lea eax, [ebp - 4]
mov edx, 0x60964c
call sub.rtl120.bpl__System__UStrLAsg_qqrr20System_UnicodeStringx20System_UnicodeString
jmp 0x609582
cmp dword [ebp - 0x11c], 5
jne 0x6094e3
cmp dword [ebp - 0x118], 2
jne 0x6094e3
cmp byte [ebp - 6], 1
jne 0x6094d1
cmp word [ebp - 0x144], 9
jne 0x6094d1
lea eax, [ebp - 4]
mov edx, 0x60964c
call sub.rtl120.bpl__System__UStrLAsg_qqrr20System_UnicodeStringx20System_UnicodeString
jmp 0x609582
lea eax, [ebp - 4]
mov edx, 0x609670
call sub.rtl120.bpl__System__UStrLAsg_qqrr20System_UnicodeStringx20System_UnicodeString
jmp 0x609582
cmp dword [ebp - 0x11c], 6
jne 0x609504
cmp dword [ebp - 0x118], 0
jne 0x609504
lea eax, [ebp - 4]
mov edx, 0x6096a4
call sub.rtl120.bpl__System__UStrLAsg_qqrr20System_UnicodeStringx20System_UnicodeString
jmp 0x609582
cmp dword [ebp - 0x11c], 6
jne 0x609525
cmp dword [ebp - 0x118], 1
jne 0x609525
lea eax, [ebp - 4]
mov edx, 0x6096cc
call sub.rtl120.bpl__System__UStrLAsg_qqrr20System_UnicodeStringx20System_UnicodeString
jmp 0x609582
cmp dword [ebp - 0x11c], 6
jne 0x60954b
mov eax, dword [ebp - 0x118]
add eax, 0xfffffffe
sub eax, 2
jae 0x60954b
lea eax, [ebp - 4]
mov edx, 0x6096ec
call sub.rtl120.bpl__System__UStrLAsg_qqrr20System_UnicodeStringx20System_UnicodeString
jmp 0x609582
mov eax, dword [ebp - 0x11c]
cmp eax, 6
jne 0x609570
mov edx, dword [ebp - 0x118]
sub edx, 4
jne 0x609570
lea eax, [ebp - 4]
mov edx, 0x60970c
call sub.rtl120.bpl__System__UStrLAsg_qqrr20System_UnicodeStringx20System_UnicodeString
jmp 0x609582
cmp eax, 0xa
jne 0x609582
lea eax, [ebp - 4]
mov edx, 0x60970c
call sub.rtl120.bpl__System__UStrLAsg_qqrr20System_UnicodeStringx20System_UnicodeString
mov eax, esi
mov edx, dword [ebp - 4]
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6095a9
lea eax, [ebp - 4]
call sub.rtl120.bpl__System__UStrClr_qqrpv
ret