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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff30
push ebx
push esi
push edi
test dl, dl
je 0x48dde0
add esp, 0xfffffff0
call fcn.004049c8
mov byte [ebp - 1], dl
mov ebx, eax
lea eax, [ebp - 0xd0]
xor ecx, ecx
mov edx, 0x9c
call fcn.00403e38
mov dword [ebp - 0xd0], 0x9c
lea eax, [ebp - 0xd0]
push eax
call sub.kernel32.dll_GetVersionExA
mov byte [ebx + 0x18], 0
mov eax, dword [ebp - 0xcc]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebx + 8], eax
movzx eax, word [ebp - 0x3c]
mov dword [ebx + 0x1c], eax
movzx eax, word [ebp - 0x3a]
mov dword [ebx + 0x20], eax
lea eax, [ebp - 0x34]
xor ecx, ecx
mov edx, 0x24
call fcn.00403e38
push 0x48e0ac
push 0x48e0c0
call sub.kernel32.dll_GetModuleHandleA_2
push eax
call sub.kernel32.dll_GetProcAddress_1
mov esi, eax
mov ecx, 1
mov edx, 5
mov eax, ebx
call fcn.0048e0e8
test al, al
je 0x48de8a
test esi, esi
je 0x48de81
lea eax, [ebp - 0x34]
push eax
call esi
jmp 0x48de8a
lea eax, [ebp - 0x34]
push eax
call sub.kernel32.dll_GetSystemInfo
cmp word [ebp - 0x34], 9
sete al
and eax, 0x7f
movzx eax, byte [eax + 0x57d658]
mov byte [ebx + 4], al
cmp dword [ebx + 0xc], 6
jg 0x48deb1
cmp dword [ebx + 0xc], 6
jne 0x48deff
cmp dword [ebx + 0x10], 1
jle 0x48deff
xor eax, eax
mov dword [ebp - 0x10], eax
movzx esi, word [ebx + 0x1c]
movzx edi, word [ebx + 0x20]
lea edx, [ebp - 0xc]
lea eax, [ebp - 8]
call fcn.0048dc8c
test al, al
jne 0x48dee1
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0xc]
lea edx, [ebp - 8]
mov eax, 0x48e0d8
call fcn.0048db74
mov eax, dword [ebp - 8]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x10], eax
movzx eax, si
mov dword [ebx + 0x1c], eax
movzx eax, di
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 0x10]
mov dword [ebx + 8], eax
lea edx, [ebx + 0x14]
mov eax, 0x48dafc
call fcn.00407974
mov eax, dword [ebx + 0xc]
sub eax, 5
je 0x48e01b
dec eax
je 0x48df5d
sub eax, 4
jne 0x48e08b
mov eax, dword [ebx + 0x10]
sub eax, 1
jae 0x48e08b
call fcn.0048dcfc
test al, al
jne 0x48df4b
lea edx, [ebx + 0x14]
mov eax, 0x48db6c
call fcn.00407974
jmp 0x48e08b
lea edx, [ebx + 0x14]
mov eax, 0x48db54
call fcn.00407974
jmp 0x48e08b
mov eax, dword [ebx + 0x10]
sub eax, 1
jb 0x48df76
je 0x48dfa0
dec eax
je 0x48dfca
dec eax
je 0x48dff4
jmp 0x48e08b
cmp byte [ebp - 0x36], 1
jne 0x48df8e
lea edx, [ebx + 0x14]
mov eax, 0x48db04
call fcn.00407974
jmp 0x48e08b
lea edx, [ebx + 0x14]
mov eax, 0x48db0c
call fcn.00407974
jmp 0x48e08b
cmp byte [ebp - 0x36], 1
jne 0x48dfb8
lea edx, [ebx + 0x14]
mov eax, 0x48db14
call fcn.00407974
jmp 0x48e08b
lea edx, [ebx + 0x14]
mov eax, 0x48db1c
call fcn.00407974
jmp 0x48e08b
cmp byte [ebp - 0x36], 1
jne 0x48dfe2
lea edx, [ebx + 0x14]
mov eax, 0x48db5c
call fcn.00407974
jmp 0x48e08b
lea edx, [ebx + 0x14]
mov eax, 0x48db44
call fcn.00407974
jmp 0x48e08b
call fcn.0048dcfc
test al, al
jne 0x48e00c
lea edx, [ebx + 0x14]
mov eax, 0x48db64
call fcn.00407974
jmp 0x48e08b
lea edx, [ebx + 0x14]
mov eax, 0x48db4c
call fcn.00407974
jmp 0x48e08b
mov eax, dword [ebx + 0x10]
sub eax, 1
jb 0x48e02a
je 0x48e039
dec eax
je 0x48e048
jmp 0x48e08b
lea edx, [ebx + 0x14]
mov eax, 0x48db24
call fcn.00407974
jmp 0x48e08b
lea edx, [ebx + 0x14]
mov eax, 0x48db2c
call fcn.00407974
jmp 0x48e08b
cmp byte [ebp - 0x36], 1
jne 0x48e064
cmp word [ebp - 0x34], 9
jne 0x48e064
lea edx, [ebx + 0x14]
mov eax, 0x48db2c
call fcn.00407974
jmp 0x48e08b
push 0x59
call sub.user32.dll_GetSystemMetrics
test eax, eax
jne 0x48e07e
lea edx, [ebx + 0x14]
mov eax, 0x48db34
call fcn.00407974
jmp 0x48e08b
lea edx, [ebx + 0x14]
mov eax, 0x48db3c
call fcn.00407974
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x48e0a2
call fcn.00404a20
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret