Function at 0x4d00fc
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea4
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x14c], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x4d012c
xor edx, edx
mov dword [eax], edx
lea ebx, [ebp - 0x124]
xor eax, eax
push ebp
push 0x4d0818
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00409dd8
mov eax, ebx
xor ecx, ecx
mov edx, 0x11c
call fcn.004077fc
mov esi, ebx
mov dword [ebx], 0x11c
push esi
call sub.kernel32.dll_GetVersionExW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [0x4e5992], al
cmp byte [0x4e5992], 0
je 0x4d01f0
movzx eax, word [ebx + 0x114]
mov dword [0x4e5994], eax
movzx eax, word [ebx + 0x116]
mov dword [0x4e5998], eax
movzx eax, word [ebx + 0x118]
mov dword [0x4e599c], eax
movzx eax, byte [ebx + 0x11a]
mov dword [0x4e59a0], eax
mov eax, 0x4d0834
call fcn.004d00c0
mov esi, eax
test esi, esi
setne byte [0x4e59a4]
cmp byte [0x4e59a4], 0
je 0x4d01f0
push 0x4e59a8
mov eax, dword [0x4e5998]
push eax
mov eax, dword [0x4e5994]
push eax
call fcn.00428b7c
push eax
call fcn.00428b74
push eax
call esi
test eax, eax
jne 0x4d01f0
xor eax, eax
mov dword [0x4e59a8], eax
mov eax, 0x4d0850
call fcn.004d00c0
test eax, eax
jne 0x4d0203
mov eax, sub.kernel32.dll_GetSystemInfo
lea edx, [ebp - 0x148]
push edx
call eax
movzx eax, word [ebp - 0x148]
mov word [0x4e5990], ax
cmp dword [ebx + 0x10], 2
jne 0x4d07e3
cmp dword [ebx + 4], 4
jbe 0x4d07e3
mov eax, dword [ebp - 8]
mov edx, 0x4d0870
call fcn.0040a1c8
cmp dword [ebx + 4], 6
jne case.0x4d02bb.0
mov esi, dword [ebx + 8]
test esi, esi
jne 0x4d0276
cmp byte [ebx + 0x11a], 1
jne 0x4d0266
mov eax, dword [ebp - 8]
mov edx, 0x4d0894
call fcn.0040ad88
mov eax, dword [ebp - 8]
jmp 0x4d0276
mov eax, dword [ebp - 8]
mov edx, 0x4d08c0
call fcn.0040ad88
mov eax, dword [ebp - 8]
cmp esi, 1
jne 0x4d02a6
cmp byte [ebx + 0x11a], 1
jne 0x4d0296
mov eax, dword [ebp - 8]
mov edx, 0x4d08f8
call fcn.0040ad88
mov eax, dword [ebp - 8]
jmp 0x4d02a6
mov eax, dword [ebp - 8]
mov edx, 0x4d091c
call fcn.0040ad88
mov eax, dword [ebp - 8]
mov eax, dword [0x4e59a8]
cmp eax, 0x30
ja case.0x4d02bb.0
movzx eax, byte [eax + 0x4d02c2]
jmp dword [eax*4 + 0x4d02f3]
mov eax, dword [ebp - 8]
mov edx, 0x4d0958
call fcn.0040ad88
mov eax, dword [ebp - 8]
jmp case.0x4d02bb.0
mov eax, dword [ebp - 8]
mov edx, 0x4d0988
call fcn.0040ad88
mov eax, dword [ebp - 8]
jmp case.0x4d02bb.0
mov eax, dword [ebp - 8]
mov edx, 0x4d09b0
call fcn.0040ad88
mov eax, dword [ebp - 8]
jmp case.0x4d02bb.0
mov eax, dword [ebp - 8]
mov edx, 0x4d09e8
call fcn.0040ad88
mov eax, dword [ebp - 8]
jmp case.0x4d02bb.0
mov eax, dword [ebp - 8]
mov edx, 0x4d0a1c
call fcn.0040ad88
mov eax, dword [ebp - 8]
jmp case.0x4d02bb.0
mov eax, dword [ebp - 8]
mov edx, 0x4d0a50
call fcn.0040ad88
mov eax, dword [ebp - 8]
jmp case.0x4d02bb.0
mov eax, dword [ebp - 8]
mov edx, 0x4d0a80
call fcn.0040ad88
mov eax, dword [ebp - 8]
jmp case.0x4d02bb.0
mov eax, dword [ebp - 8]
mov edx, 0x4d0aac
call fcn.0040ad88
mov eax, dword [ebp - 8]
jmp case.0x4d02bb.0
mov eax, dword [ebp - 8]
mov edx, 0x4d0ae8
call fcn.0040ad88
mov eax, dword [ebp - 8]
jmp case.0x4d02bb.0
mov eax, dword [ebp - 8]
mov edx, 0x4d0b1c
call fcn.0040ad88
mov eax, dword [ebp - 8]
jmp case.0x4d02bb.0
mov eax, dword [ebp - 8]
mov edx, 0x4d0a1c
call fcn.0040ad88
mov eax, dword [ebp - 8]
jmp case.0x4d02bb.0
mov eax, dword [ebp - 8]
mov edx, 0x4d0b78
call fcn.0040ad88
mov eax, dword [ebp - 8]
jmp case.0x4d02bb.0
mov eax, dword [ebp - 8]
mov edx, 0x4d0bd4
call fcn.0040ad88
mov eax, dword [ebp - 8]
jmp case.0x4d02bb.0
mov eax, dword [ebp - 8]
mov edx, 0x4d0c3c
call fcn.0040ad88
mov eax, dword [ebp - 8]
jmp case.0x4d02bb.0
mov eax, dword [ebp - 8]
mov edx, 0x4d0c74
call fcn.0040ad88
mov eax, dword [ebp - 8]
jmp case.0x4d02bb.0
mov eax, dword [ebp - 8]
mov edx, 0x4d0ccc
call fcn.0040ad88
mov eax, dword [ebp - 8]
jmp case.0x4d02bb.0
mov eax, dword [ebp - 8]
mov edx, 0x4d0cfc
call fcn.0040ad88
mov eax, dword [ebp - 8]
jmp case.0x4d02bb.0
mov eax, dword [ebp - 8]
mov edx, 0x4d0d54
call fcn.0040ad88
mov eax, dword [ebp - 8]
cmp dword [ebx + 4], 5
jne 0x4d0653
cmp dword [ebx + 8], 2
jne 0x4d0653
push 0x59
call sub.user32.dll_GetSystemMetrics
test eax, eax
je 0x4d04d0
mov eax, dword [ebp - 8]
mov edx, 0x4d0d88
call fcn.0040ad88
mov eax, dword [ebp - 8]
jmp 0x4d053a
movzx eax, word [ebx + 0x118]
test ah, 0x20
je 0x4d04ee
mov eax, dword [ebp - 8]
mov edx, 0x4d0dc8
call fcn.0040ad88
mov eax, dword [ebp - 8]
jmp 0x4d053a
test ah, 0x80
je 0x4d0505
mov eax, dword [ebp - 8]
mov edx, 0x4d0e0c
call fcn.0040ad88
mov eax, dword [ebp - 8]
jmp 0x4d053a
cmp byte [ebx + 0x11a], 1
jne 0x4d052a
cmp word [ebp - 0x148], 9
jne 0x4d052a
mov eax, dword [ebp - 8]
mov edx, 0x4d0e40
call fcn.0040ad88
mov eax, dword [ebp - 8]
jmp 0x4d053a
mov eax, dword [ebp - 8]
mov edx, 0x4d0e94
call fcn.0040ad88
mov eax, dword [ebp - 8]
cmp byte [ebx + 0x11a], 1
je 0x4d0653
movzx eax, word [ebp - 0x148]
cmp ax, 6
jne 0x4d0591
movzx eax, word [ebx + 0x118]
test al, 0x80
je 0x4d0574
mov eax, dword [ebp - 8]
mov edx, 0x4d0ecc
call fcn.0040ad88
mov eax, dword [ebp - 8]
jmp 0x4d0653
test al, 2
je 0x4d0653
mov eax, dword [ebp - 8]
mov edx, 0x4d0bd4
call fcn.0040ad88
mov eax, dword [ebp - 8]
jmp 0x4d0653
cmp ax, 9
jne 0x4d05e2
movzx eax, word [ebx + 0x118]
test al, 0x80
je 0x4d05b7
mov eax, dword [ebp - 8]
mov edx, 0x4d0f34
call fcn.0040ad88
mov eax, dword [ebp - 8]
jmp 0x4d0653
test al, 2
je 0x4d05d0
mov eax, dword [ebp - 8]
mov edx, 0x4d0f70
call fcn.0040ad88
mov eax, dword [ebp - 8]
jmp 0x4d0653
mov eax, dword [ebp - 8]
mov edx, 0x4d0fac
call fcn.0040ad88
mov eax, dword [ebp - 8]
jmp 0x4d0653
movzx eax, word [ebx + 0x118]
test ah, 0x40
je 0x4d0600
mov eax, dword [ebp - 8]
mov edx, 0x4d0fe4
call fcn.0040ad88
mov eax, dword [ebp - 8]
jmp 0x4d0653
test al, 0x80
je 0x4d0616
mov eax, dword [ebp - 8]
mov edx, 0x4d0ae8
call fcn.0040ad88
mov eax, dword [ebp - 8]
jmp 0x4d0653
test al, 2
je 0x4d062c
mov eax, dword [ebp - 8]
mov edx, 0x4d0a1c
call fcn.0040ad88
mov eax, dword [ebp - 8]
jmp 0x4d0653
test ah, 4
je 0x4d0643
mov eax, dword [ebp - 8]
mov edx, 0x4d1020
call fcn.0040ad88
mov eax, dword [ebp - 8]
jmp 0x4d0653
mov eax, dword [ebp - 8]
mov edx, 0x4d0ccc
call fcn.0040ad88
mov eax, dword [ebp - 8]
cmp dword [ebx + 4], 5
jne 0x4d069a
cmp dword [ebx + 8], 1
jne 0x4d069a
mov eax, dword [ebp - 8]
mov edx, 0x4d1044
call fcn.0040ad88
mov eax, dword [ebp - 8]
test byte [ebx + 0x119], 2
je 0x4d068a
mov eax, dword [ebp - 8]
mov edx, 0x4d1068
call fcn.0040ad88
mov eax, dword [ebp - 8]
jmp 0x4d069a
mov eax, dword [ebp - 8]
mov edx, 0x4d0988
call fcn.0040ad88
mov eax, dword [ebp - 8]
cmp dword [ebx + 4], 5
jne 0x4d0714
cmp dword [ebx + 8], 0
jne 0x4d0714
mov eax, dword [ebp - 8]
mov edx, 0x4d1090
call fcn.0040ad88
mov eax, dword [ebp - 8]
cmp byte [ebx + 0x11a], 1
jne 0x4d06d1
mov eax, dword [ebp - 8]
mov edx, 0x4d0988
call fcn.0040ad88
mov eax, dword [ebp - 8]
jmp 0x4d0714
movzx eax, word [ebx + 0x118]
test al, 0x80
je 0x4d06ee
mov eax, dword [ebp - 8]
mov edx, 0x4d10b8
call fcn.0040ad88
mov eax, dword [ebp - 8]
jmp 0x4d0714
test al, 2
je 0x4d0704
mov eax, dword [ebp - 8]
mov edx, 0x4d10e8
call fcn.0040ad88
mov eax, dword [ebp - 8]
jmp 0x4d0714
mov eax, dword [ebp - 8]
mov edx, 0x4d1114
call fcn.0040ad88
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
lea eax, [ebx + 0x14]
call fcn.00422130
mov eax, dword [ebp - 4]
test eax, eax
je 0x4d072b
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x4d075a
mov eax, dword [ebp - 8]
push dword [eax]
push 0x4d1130
lea eax, [ebp - 0x14c]
mov edx, dword [ebp - 4]
call fcn.0040ac4c
push dword [ebp - 0x14c]
mov eax, dword [ebp - 8]
mov edx, 3
call fcn.0040ae68
lea eax, [ebp - 0x154]
push eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x15c], eax
mov byte [ebp - 0x158], 0
lea edx, [ebp - 0x15c]
xor ecx, ecx
mov eax, 0x4d1138
call fcn.0042314c
mov edx, dword [ebp - 0x154]
lea eax, [ebp - 0x150]
call fcn.0040ac6c
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 8]
call fcn.0040ad88
mov eax, dword [ebp - 8]
cmp dword [ebx + 4], 6
jb 0x4d07df
movzx eax, word [ebp - 0x148]
cmp ax, 9
jne 0x4d07ca
mov eax, dword [ebp - 8]
mov edx, 0x4d115c
call fcn.0040ad88
mov eax, dword [ebp - 8]
jmp 0x4d07df
test ax, ax
jne 0x4d07df
mov eax, dword [ebp - 8]
mov edx, 0x4d117c
call fcn.0040ad88
mov eax, dword [ebp - 8]
mov bl, 1
jmp 0x4d07e5
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d081f
lea eax, [ebp - 0x154]
call fcn.00409e20
lea eax, [ebp - 0x150]
mov edx, 2
call fcn.00409e38
lea eax, [ebp - 4]
call fcn.00409dfc
pop eax
jmp eax