Function at 0x48d958
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 0x48d970
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 0x48dc3c
push 0x48dc50
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.0048dc78
test al, al
je 0x48da1a
test esi, esi
je 0x48da11
lea eax, [ebp - 0x34]
push eax
call esi
jmp 0x48da1a
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 + 0x576638]
mov byte [ebx + 4], al
cmp dword [ebx + 0xc], 6
jg 0x48da41
cmp dword [ebx + 0xc], 6
jne 0x48da8f
cmp dword [ebx + 0x10], 1
jle 0x48da8f
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.0048d81c
test al, al
jne 0x48da71
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0xc]
lea edx, [ebp - 8]
mov eax, 0x48dc68
call fcn.0048d704
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, 0x48d68c
call fcn.00407974
mov eax, dword [ebx + 0xc]
sub eax, 5
je 0x48dbab
dec eax
je 0x48daed
sub eax, 4
jne 0x48dc1b
mov eax, dword [ebx + 0x10]
sub eax, 1
jae 0x48dc1b
call fcn.0048d88c
test al, al
jne 0x48dadb
lea edx, [ebx + 0x14]
mov eax, 0x48d6fc
call fcn.00407974
jmp 0x48dc1b
lea edx, [ebx + 0x14]
mov eax, 0x48d6e4
call fcn.00407974
jmp 0x48dc1b
mov eax, dword [ebx + 0x10]
sub eax, 1
jb 0x48db06
je 0x48db30
dec eax
je 0x48db5a
dec eax
je 0x48db84
jmp 0x48dc1b
cmp byte [ebp - 0x36], 1
jne 0x48db1e
lea edx, [ebx + 0x14]
mov eax, 0x48d694
call fcn.00407974
jmp 0x48dc1b
lea edx, [ebx + 0x14]
mov eax, 0x48d69c
call fcn.00407974
jmp 0x48dc1b
cmp byte [ebp - 0x36], 1
jne 0x48db48
lea edx, [ebx + 0x14]
mov eax, 0x48d6a4
call fcn.00407974
jmp 0x48dc1b
lea edx, [ebx + 0x14]
mov eax, 0x48d6ac
call fcn.00407974
jmp 0x48dc1b
cmp byte [ebp - 0x36], 1
jne 0x48db72
lea edx, [ebx + 0x14]
mov eax, 0x48d6ec
call fcn.00407974
jmp 0x48dc1b
lea edx, [ebx + 0x14]
mov eax, 0x48d6d4
call fcn.00407974
jmp 0x48dc1b
call fcn.0048d88c
test al, al
jne 0x48db9c
lea edx, [ebx + 0x14]
mov eax, 0x48d6f4
call fcn.00407974
jmp 0x48dc1b
lea edx, [ebx + 0x14]
mov eax, 0x48d6dc
call fcn.00407974
jmp 0x48dc1b
mov eax, dword [ebx + 0x10]
sub eax, 1
jb 0x48dbba
je 0x48dbc9
dec eax
je 0x48dbd8
jmp 0x48dc1b
lea edx, [ebx + 0x14]
mov eax, 0x48d6b4
call fcn.00407974
jmp 0x48dc1b
lea edx, [ebx + 0x14]
mov eax, 0x48d6bc
call fcn.00407974
jmp 0x48dc1b
cmp byte [ebp - 0x36], 1
jne 0x48dbf4
cmp word [ebp - 0x34], 9
jne 0x48dbf4
lea edx, [ebx + 0x14]
mov eax, 0x48d6bc
call fcn.00407974
jmp 0x48dc1b
push 0x59
call sub.user32.dll_GetSystemMetrics
test eax, eax
jne 0x48dc0e
lea edx, [ebx + 0x14]
mov eax, 0x48d6c4
call fcn.00407974
jmp 0x48dc1b
lea edx, [ebx + 0x14]
mov eax, 0x48d6cc
call fcn.00407974
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x48dc32
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