Function at 0x4d4bd0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x654bb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push 0
push 0
push 0x8000
push eax
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
call ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x4d4c34
mov dword [ebp - 0x1c], eax
mov ecx, 4
mov word [ebp - 0x18], cx
lea edx, [ebp - 0x1c]
push edx
lea ecx, [esi + 0x54]
call fcn.00459540
mov dword [ebp - 0x134], 0x114
push pe_nt_image_headers32
push 0
lea eax, [ebp - 0x130]
push eax
call fcn.006100a0
add esp, 0xc
lea ecx, [ebp - 0x134]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4d4cbe
cmp dword [ebp - 0x130], 6
jb 0x4d4cbe
mov dword [ebp - 4], 0
mov ecx, esi
call fcn.004d44e0
mov edi, eax
push 0x510
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
xor ecx, ecx
test edi, edi
sete cl
push ecx
push 0
push 0x160c
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
jmp 0x4d4cbe
push 0x4e1
mov edx, dword [esi + 4]
push edx
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
call edi
mov dword [esi + 0x78], eax
push 2
push 0x81
push 0x403
push eax
call ebx
push 0
push 0x35a
call fcn.00403bf0
add esp, 8
test eax, eax
je 0x4d4d05
push 0x35a
push eax
lea ecx, [esi + 0x80]
call fcn.00405a10
push 0
push 0x35b
call fcn.00403bf0
add esp, 8
test eax, eax
je 0x4d4d29
push 0x35b
push eax
lea ecx, [esi + 0x84]
call fcn.00405a10
push 0x471
mov ecx, dword [esi + 4]
push ecx
call edi
mov dword [esi + 0x7c], eax
mov ecx, 0x700724
mov edx, dword [0x700724]
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 3
test byte [esi + 0x70], 2
je 0x4d4d6c
push 4
push str.CTRL
lea ecx, [ebp - 0x14]
call fcn.00401710
mov eax, dword [ebp - 0x14]
mov cx, word [esi + 0x70]
and cx, 4
je 0x4d4d85
cmp dword [eax - 0xc], 0
jne 0x4d4d85
push 3
push 0x67552c
jmp 0x4d4d97
test cx, cx
je 0x4d4d9f
cmp dword [eax - 0xc], 0
je 0x4d4d9f
push 6
push str.__ALT
lea ecx, [ebp - 0x14]
call fcn.00401710
test byte [esi + 0x70], 1
je 0x4d4db4
push 8
push str.__SHIFT
lea ecx, [ebp - 0x14]
call fcn.00401710
lea ecx, [ebp - 0x14]
cmp word [esi + 0x72], 0
je 0x4d4e29
push 3
push 0x675500
call fcn.00401710
movzx ecx, word [esi + 0x72]
mov dword [ebp - 0x18], ecx
mov edi, dword [ebp - 0x14]
mov edx, dword [edi - 0xc]
mov dword [ebp - 0x20], edx
lea ebx, [edx + 1]
mov ecx, 1
sub ecx, dword [edi - 4]
mov eax, dword [edi - 8]
sub eax, ebx
or eax, ecx
jge 0x4d4dfd
push ebx
lea ecx, [ebp - 0x14]
call fcn.00401400
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
mov ax, word [ebp - 0x18]
mov word [edi + edx*2], ax
test ebx, ebx
js 0x4d4e1f
cmp ebx, dword [edi - 8]
jg 0x4d4e1f
mov dword [edi - 0xc], ebx
xor ecx, ecx
mov word [edi + ebx*2], cx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4d4e38
push 0x80070057
call fcn.004011d0
push 4
push 0x6754f4
call fcn.00401670
mov edi, dword [ebp - 0x14]
cmp word [esi + 0x72], 0
jne 0x4d4e51
push 4
push 0x6754f4
lea ecx, [ebp - 0x14]
call fcn.00401670
mov edi, dword [ebp - 0x14]
push edi
push 0
push 0x180
mov edx, dword [esi + 0x7c]
push edx
call ebx
mov ecx, esi
call fcn.004d4640
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d4e89
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8