Function at 0x48c23c
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 0x48c254
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 0x48c520
push 0x48c534
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.0048c55c
test al, al
je 0x48c2fe
test esi, esi
je 0x48c2f5
lea eax, [ebp - 0x34]
push eax
call esi
jmp 0x48c2fe
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 + 0x575638]
mov byte [ebx + 4], al
cmp dword [ebx + 0xc], 6
jg 0x48c325
cmp dword [ebx + 0xc], 6
jne 0x48c373
cmp dword [ebx + 0x10], 1
jle 0x48c373
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.0048c100
test al, al
jne 0x48c355
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0xc]
lea edx, [ebp - 8]
mov eax, 0x48c54c
call fcn.0048bfe8
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, 0x48bf70
call fcn.00407974
mov eax, dword [ebx + 0xc]
sub eax, 5
je 0x48c48f
dec eax
je 0x48c3d1
sub eax, 4
jne 0x48c4ff
mov eax, dword [ebx + 0x10]
sub eax, 1
jae 0x48c4ff
call fcn.0048c170
test al, al
jne 0x48c3bf
lea edx, [ebx + 0x14]
mov eax, 0x48bfe0
call fcn.00407974
jmp 0x48c4ff
lea edx, [ebx + 0x14]
mov eax, 0x48bfc8
call fcn.00407974
jmp 0x48c4ff
mov eax, dword [ebx + 0x10]
sub eax, 1
jb 0x48c3ea
je 0x48c414
dec eax
je 0x48c43e
dec eax
je 0x48c468
jmp 0x48c4ff
cmp byte [ebp - 0x36], 1
jne 0x48c402
lea edx, [ebx + 0x14]
mov eax, 0x48bf78
call fcn.00407974
jmp 0x48c4ff
lea edx, [ebx + 0x14]
mov eax, 0x48bf80
call fcn.00407974
jmp 0x48c4ff
cmp byte [ebp - 0x36], 1
jne 0x48c42c
lea edx, [ebx + 0x14]
mov eax, 0x48bf88
call fcn.00407974
jmp 0x48c4ff
lea edx, [ebx + 0x14]
mov eax, 0x48bf90
call fcn.00407974
jmp 0x48c4ff
cmp byte [ebp - 0x36], 1
jne 0x48c456
lea edx, [ebx + 0x14]
mov eax, 0x48bfd0
call fcn.00407974
jmp 0x48c4ff
lea edx, [ebx + 0x14]
mov eax, 0x48bfb8
call fcn.00407974
jmp 0x48c4ff
call fcn.0048c170
test al, al
jne 0x48c480
lea edx, [ebx + 0x14]
mov eax, 0x48bfd8
call fcn.00407974
jmp 0x48c4ff
lea edx, [ebx + 0x14]
mov eax, 0x48bfc0
call fcn.00407974
jmp 0x48c4ff
mov eax, dword [ebx + 0x10]
sub eax, 1
jb 0x48c49e
je 0x48c4ad
dec eax
je 0x48c4bc
jmp 0x48c4ff
lea edx, [ebx + 0x14]
mov eax, 0x48bf98
call fcn.00407974
jmp 0x48c4ff
lea edx, [ebx + 0x14]
mov eax, 0x48bfa0
call fcn.00407974
jmp 0x48c4ff
cmp byte [ebp - 0x36], 1
jne 0x48c4d8
cmp word [ebp - 0x34], 9
jne 0x48c4d8
lea edx, [ebx + 0x14]
mov eax, 0x48bfa0
call fcn.00407974
jmp 0x48c4ff
push 0x59
call sub.user32.dll_GetSystemMetrics
test eax, eax
jne 0x48c4f2
lea edx, [ebx + 0x14]
mov eax, 0x48bfa8
call fcn.00407974
jmp 0x48c4ff
lea edx, [ebx + 0x14]
mov eax, 0x48bfb0
call fcn.00407974
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x48c516
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