Function at 0x4f34f9
Capabilities:
Check os version
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5642fb
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x5a0440]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xfc], ecx
mov eax, dword [ebp - 0xfc]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x10], ecx
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov dword [ebp - 0x100], 0x40000080
mov ecx, dword [ebp - 0xfc]
mov ecx, dword [ecx + 0x10]
call fcn.004f3929
movzx edx, al
test edx, edx
je 0x4f3572
mov eax, dword [ebp - 0x100]
or eax, 0x20
mov dword [ebp - 0x100], eax
push 0
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x20]
mov dword [ecx], edx
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x18]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x14]
mov dword [ecx + 0xc], eax
push 0
mov ecx, dword [ebp - 0x100]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0xfc]
call fcn.004e7d99
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 0xfc]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x10]
mov edx, dword [eax + 0x30]
call edx
push 1
call fcn.00508f69
mov eax, dword [eax]
push eax
push 0x30
mov ecx, dword [ebp - 0xfc]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax + 0x10]
call fcn.004f28b9
push eax
push 0xc5
mov ecx, dword [ebp - 0xfc]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax + 0x10]
call fcn.0054b3a9
movzx ecx, al
test ecx, ecx
je 0x4f3644
push 0xfffffffffffffff0
mov edx, dword [ebp - 0xfc]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
or eax, 0x2000
push eax
push 0xfffffffffffffff0
mov ecx, dword [ebp - 0xfc]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax + 0x10]
call fcn.004f3929
movzx ecx, al
test ecx, ecx
je 0x4f3682
push 0
mov edx, dword [ebp - 0xfc]
mov ecx, dword [edx + 0x10]
call fcn.004f28f9
movsx eax, al
push eax
push 0xcc
mov ecx, dword [ebp - 0xfc]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0xfc]
mov byte [eax + 0x18], 1
lea ecx, [ebp - 0xf8]
push ecx
mov edx, dword [ebp - 0xfc]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0xfc]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x10]
mov eax, dword [edx + 0x44]
call eax
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x110], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x110]
call fcn.004e77a9
push eax
mov edx, dword [ebp - 0xfc]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf8]
call fcn.004e7419
mov ecx, dword [ebp - 0xfc]
mov byte [ecx + 0x18], 0
push 0
push 0
push 0xb9
mov edx, dword [ebp - 0xfc]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 3
push 0xd3
mov ecx, dword [ebp - 0xfc]
call fcn.004e8c49
mov ecx, dword [ebp - 0xfc]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp - 0xfc]
mov edx, dword [edx]
mov ecx, dword [eax + 0x10]
mov eax, dword [edx + 0xe8]
call eax
movzx ecx, al
cmp ecx, 1
jne 0x4f375a
mov dword [ebp - 0x108], 1
jmp 0x4f3764
mov dword [ebp - 0x108], 0
mov edx, dword [ebp - 0x108]
push edx
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [ebp - 0xfc]
mov ecx, dword [edx + 0x10]
call fcn.004f3949
movzx eax, al
cmp eax, 1
jne 0x4f379d
mov dword [ebp - 0x104], 1
jmp 0x4f37a7
mov dword [ebp - 0x104], 0
push 0
mov ecx, dword [ebp - 0x104]
push ecx
push 0xcf
mov edx, dword [ebp - 0xfc]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0x23
push 0x100
invalid
invalid