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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
mov eax, dword [0x4b3008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0xe8]
mov dword [ebp - 0xe8], 0x94
push eax
mov edi, edx
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0xe4], 6
mov dword [0x4b42d8], 0
jge 0x4013fd
mov dword [0x4b42d8], 3
push 0
push 0x4b42dc
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov eax, dword [0x4b42e8]
push 0
push esi
push 0
cdq
push 0
sub eax, edx
push 0xb7
sar eax, 1
push 0x210
sub eax, 0x82
push eax
mov eax, dword [0x4b42e4]
cdq
sub eax, edx
sar eax, 1
sub eax, 0x12c
push eax
push 0xa0000
push 0x4b4370
push 0x4b4308
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x4b4300], eax
test eax, eax
jne 0x40146f
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a034d
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.USER32.dll_GetMenu]
push 0
push eax
mov dword [0x4b42f0], eax
call dword [sym.imp.USER32.dll_GetSubMenu]
push 0x401
push 0
push eax
mov dword [0x4b42ec], eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov esi, dword [sym.imp.USER32.dll_DeleteMenu]
push 0x400
push 2
push dword [0x4b42ec]
call esi
push 0x400
push 1
push dword [0x4b42ec]
call esi
cmp edi, 7
jne 0x401546
mov eax, dword [0x4b42d8]
mov ecx, dword [0x4b4194]
shl eax, 4
add eax, 0x89
mov dword [0x4b4160], edi
add eax, dword [0x4b421c]
add eax, ecx
push 0
push eax
lea eax, [ecx + 0x18]
add eax, dword [0x4b421c]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [0x4b42e8]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub eax, ecx
sub eax, 4
push 0x206
push eax
mov eax, dword [0x4b42e4]
cdq
sub eax, edx
sar eax, 1
sub eax, 0x78
push eax
push dword [0x4b4300]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x4a2350
push 0x8005
push 0x400
push 0
push dword [0x4b42ec]
call dword [sym.imp.USER32.dll_ModifyMenuA]
jmp 0x4015ba
push 0x400
push 1
push dword [0x4b42f0]
mov dword [0x4b4160], 0
call esi
mov eax, dword [0x4b42d8]
mov ecx, dword [0x4b4194]
shl eax, 4
add eax, 0x22
add eax, dword [0x4b421c]
add eax, ecx
push 0
push eax
lea eax, [ecx + 0x18]
add eax, dword [0x4b421c]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [0x4b42e8]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub eax, ecx
sub eax, 4
push 0xe4
push eax
mov eax, dword [0x4b42e4]
cdq
sub eax, edx
sar eax, 1
sub eax, 0x78
push eax
push dword [0x4b4300]
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [0x4a2368]
movq xmm0, qword [str.MS_Sans_Serif]
mov dword [ebp - 0x1c], eax
mov ax, word [0x4a236c]
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x40]
push eax
mov word [ebp - 0x29], 0xcc
mov dword [ebp - 0x30], 0x64
mov word [ebp - 0x2c], 0
mov word [ebp - 0x27], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x25], 0
mov byte [ebp - 0x2a], 0
mov dword [ebp - 0x3c], 0
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x40], 0xfffffff4
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov dword [0x4b42fc], eax
lea eax, [ebp - 0x50]
push eax
push dword [0x4b4300]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x4c]
cdq
push 0
and edx, 0xf
add eax, edx
push 0x3e8
sar eax, 4
push 0xa
push dword [0x4b4300]
dec eax
mov dword [0x4b4168], eax
call dword [sym.imp.USER32.dll_SetTimer]
push edi
push dword [0x4b4300]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x4b4300]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop esi
call fcn.004a034d
mov esp, ebp
pop ebp
ret