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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffebc
push ebx
push esi
push edi
mov edi, edx
mov ebx, eax
lea esi, [ebp - 0x144]
xor eax, eax
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x48fc1c
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [esi], 0x11c
push esi
call sub.kernel32.dll_GetVersionExW
test eax, eax
jne 0x48f82f
mov dword [esi], 0x114
push esi
call sub.kernel32.dll_GetVersionExW
test eax, eax
jne 0x48f82f
call fcn.00404c54
jmp 0x48fc23
cmp dword [esi + 0x10], 2
je 0x48f83f
call fcn.00404c54
jmp 0x48fc23
test ebx, ebx
je 0x48f84d
movzx eax, word [esi + 0x118]
mov word [ebx], ax
test edi, edi
je 0x48f85a
movzx eax, byte [esi + 0x11a]
mov byte [edi], al
cmp dword [0x552840], 0
je 0x48f875
mov eax, dword [0x552840]
mov dword [ebp - 4], eax
call fcn.00404c54
jmp 0x48fc23
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x24
call fcn.00403658
push 0x48fc30
push 0x48fc58
call sub.kernel32.dll_GetModuleHandleW_2
push eax
call fcn.00409044
test eax, eax
je 0x48f8a5
lea edx, [ebp - 0x28]
push edx
call eax
jmp 0x48f8ae
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo_1
cmp dword [esi + 4], 5
jne 0x48f8c3
cmp dword [esi + 8], 1
jne 0x48f8c3
cmp byte [esi + 0x11a], 1
je 0x48f8d8
cmp dword [esi + 4], 5
jne 0x48f917
cmp dword [esi + 8], 2
jne 0x48f917
cmp byte [esi + 0x11a], 1
jne 0x48f917
movzx eax, word [ebp - 0x28]
sub ax, 1
jb 0x48f8f3
sub ax, 5
je 0x48f90b
sub ax, 3
je 0x48f8ff
jmp 0x48fc06
mov dword [ebp - 4], 1
jmp 0x48fc06
mov dword [ebp - 4], 2
jmp 0x48fc06
mov dword [ebp - 4], 4
jmp 0x48fc06
cmp dword [esi + 4], 6
jne 0x48f96b
cmp dword [esi + 8], 0
jne 0x48f96b
cmp byte [esi + 0x11a], 1
jne 0x48f96b
movzx eax, word [ebp - 0x28]
sub ax, 1
jb 0x48f947
sub ax, 5
je 0x48f95f
sub ax, 3
je 0x48f953
jmp 0x48fc06
mov dword [ebp - 4], 8
jmp 0x48fc06
mov dword [ebp - 4], 0x10
jmp 0x48fc06
mov dword [ebp - 4], 0x20
jmp 0x48fc06
cmp dword [esi + 4], 6
jne 0x48f9bf
cmp dword [esi + 8], 1
jne 0x48f9bf
cmp byte [esi + 0x11a], 1
jne 0x48f9bf
movzx eax, word [ebp - 0x28]
sub ax, 1
jb 0x48f99b
sub ax, 5
je 0x48f9b3
sub ax, 3
je 0x48f9a7
jmp 0x48fc06
mov dword [ebp - 4], 0x40
jmp 0x48fc06
mov dword [ebp - 4], 0x80
jmp 0x48fc06
mov dword [ebp - 4], pe_nt_image_headers32
jmp 0x48fc06
cmp dword [esi + 4], 6
jne 0x48fa13
cmp dword [esi + 8], 2
jne 0x48fa13
cmp byte [esi + 0x11a], 1
jne 0x48fa13
movzx eax, word [ebp - 0x28]
sub ax, 1
jb 0x48f9ef
sub ax, 5
je 0x48fa07
sub ax, 3
je 0x48f9fb
jmp 0x48fc06
mov dword [ebp - 4], 0x200
jmp 0x48fc06
mov dword [ebp - 4], 0x400
jmp 0x48fc06
mov dword [ebp - 4], 0x800
jmp 0x48fc06
cmp dword [esi + 4], 6
jne 0x48fa67
cmp dword [esi + 8], 3
jne 0x48fa67
cmp byte [esi + 0x11a], 1
jne 0x48fa67
movzx eax, word [ebp - 0x28]
sub ax, 1
jb 0x48fa43
sub ax, 5
je 0x48fa5b
sub ax, 3
je 0x48fa4f
jmp 0x48fc06
mov dword [ebp - 4], 0x200000
jmp 0x48fc06
mov dword [ebp - 4], 0x400000
jmp 0x48fc06
mov dword [ebp - 4], 0x800000
jmp 0x48fc06
cmp dword [esi + 4], 6
jne 0x48fabb
cmp dword [esi + 8], 4
jne 0x48fabb
cmp byte [esi + 0x11a], 1
jne 0x48fabb
movzx eax, word [ebp - 0x28]
sub ax, 1
jb 0x48fa97
sub ax, 5
je 0x48faaf
sub ax, 3
je 0x48faa3
jmp 0x48fc06
mov dword [ebp - 4], 0x1000000
jmp 0x48fc06
mov dword [ebp - 4], 0x2000000
jmp 0x48fc06
mov dword [ebp - 4], 0x4000000
jmp 0x48fc06
cmp dword [esi + 4], 0xa
jne 0x48fb0f
cmp dword [esi + 8], 0
jne 0x48fb0f
cmp byte [esi + 0x11a], 1
jne 0x48fb0f
movzx eax, word [ebp - 0x28]
sub ax, 1
jb 0x48faeb
sub ax, 5
je 0x48fb03
sub ax, 3
je 0x48faf7
jmp 0x48fc06
mov dword [ebp - 4], 0x1000000
jmp 0x48fc06
mov dword [ebp - 4], 0x2000000
jmp 0x48fc06
mov dword [ebp - 4], 0x4000000
jmp 0x48fc06
cmp dword [esi + 4], 5
jne 0x48fb63
cmp dword [esi + 8], 2
jne 0x48fb63
cmp byte [esi + 0x11a], 1
je 0x48fb63
movzx eax, word [ebp - 0x28]
sub ax, 1
jb 0x48fb3f
sub ax, 5
je 0x48fb57
sub ax, 3
je 0x48fb4b
jmp 0x48fc06
mov dword [ebp - 4], 0x1000
jmp 0x48fc06
mov dword [ebp - 4], 0x2000
jmp 0x48fc06
mov dword [ebp - 4], 0x4000
jmp 0x48fc06
cmp dword [esi + 4], 6
jne 0x48fb78
cmp dword [esi + 8], 0
jne 0x48fb78
cmp byte [esi + 0x11a], 1
jne 0x48fb8d
cmp dword [esi + 4], 6
jne 0x48fbc0
cmp dword [esi + 8], 1
jne 0x48fbc0
cmp byte [esi + 0x11a], 1
je 0x48fbc0
movzx eax, word [ebp - 0x28]
sub ax, 1
jb 0x48fba5
sub ax, 5
je 0x48fbb7
sub ax, 3
je 0x48fbae
jmp 0x48fc06
mov dword [ebp - 4], 0x8000
jmp 0x48fc06
mov dword [ebp - 4], 0x10000
jmp 0x48fc06
mov dword [ebp - 4], 0x20000
jmp 0x48fc06
cmp dword [esi + 4], 6
jne 0x48fc06
cmp dword [esi + 8], 2
jne 0x48fc06
cmp byte [esi + 0x11a], 1
je 0x48fc06
movzx eax, word [ebp - 0x28]
sub ax, 1
jb 0x48fbed
sub ax, 5
je 0x48fbff
sub ax, 3
je 0x48fbf6
jmp 0x48fc06
mov dword [ebp - 4], 0x40000
jmp 0x48fc06
mov dword [ebp - 4], 0x80000
jmp 0x48fc06
mov dword [ebp - 4], 0x100000
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48fc23
mov eax, dword [ebp - 4]
mov dword [0x552840], eax
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret