Function at 0x514992
Capabilities:
Check os version

Disassembly:
push 0x12c
mov eax, 0x5b8efe
call fcn.00598f94
lea eax, [ebp - 0x128]
push eax
mov esi, ecx
mov dword [ebp - 0x128], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x118], 2
jne 0x514d88
cmp dword [ebp - 0x124], 6
jb 0x514d88
push 0x5eefc0
lea eax, [ebp - 0x12c]
push eax
call fcn.00407b16
lea ecx, [ebp - 0x12c]
lea eax, [esi + 0x8c4]
push ecx
xor edi, edi
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x134], eax
call fcn.00451891
push edi
mov esi, str.Microsoft_Yahei
push esi
push edi
mov ebx, eax
push 0xc
pop eax
call fcn.005138c4
neg eax
push eax
call fcn.00514934
mov dword [ebx], eax
or ebx, 0xffffffff
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x12c]
add esp, 0x10
add eax, 0xfffffff0
call fcn.00407b6b
push str.menuitem
lea eax, [ebp - 0x12c]
push eax
call fcn.00407b16
lea eax, [ebp - 0x12c]
push eax
push dword [ebp - 0x134]
mov dword [ebp - 4], 1
call fcn.00451891
push edi
push esi
push edi
mov dword [ebp - 0x130], eax
push 0xc
pop eax
call fcn.005138c4
neg eax
push eax
call fcn.00514934
mov ecx, dword [ebp - 0x130]
mov dword [ecx], eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x12c]
add esp, 0x10
add eax, 0xfffffff0
call fcn.00407b6b
push str.menuitem_bold
lea eax, [ebp - 0x12c]
push eax
call fcn.00407b16
lea eax, [ebp - 0x12c]
push eax
push dword [ebp - 0x134]
mov dword [ebp - 4], 2
call fcn.00451891
push edi
push esi
push 0x2bc
mov dword [ebp - 0x130], eax
push 0xc
pop eax
call fcn.005138c4
neg eax
push eax
call fcn.00514934
mov ecx, dword [ebp - 0x130]
add esp, 0x10
mov dword [ecx], eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x12c]
add eax, 0xfffffff0
call fcn.00407b6b
push str.menuitem_underline
lea eax, [ebp - 0x12c]
push eax
call fcn.00407b16
lea eax, [ebp - 0x12c]
push eax
push dword [ebp - 0x134]
mov dword [ebp - 4], 3
call fcn.00451891
push 1
push esi
push edi
mov dword [ebp - 0x130], eax
push 0xc
pop eax
call fcn.005138c4
neg eax
push eax
call fcn.00514934
mov ecx, dword [ebp - 0x130]
mov dword [ecx], eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x12c]
add esp, 0x10
add eax, 0xfffffff0
call fcn.00407b6b
push str.edit
lea eax, [ebp - 0x12c]
push eax
call fcn.00407b16
lea eax, [ebp - 0x12c]
push eax
push dword [ebp - 0x134]
mov dword [ebp - 4], 4
call fcn.00451891
push edi
push esi
push edi
mov dword [ebp - 0x130], eax
push 0xe
pop eax
call fcn.005138c4
neg eax
push eax
call fcn.00514934
mov ecx, dword [ebp - 0x130]
mov dword [ecx], eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x12c]
add esp, 0x10
add eax, 0xfffffff0
call fcn.00407b6b
push str.listitem
lea eax, [ebp - 0x12c]
push eax
call fcn.00407b16
lea eax, [ebp - 0x12c]
push eax
push dword [ebp - 0x134]
mov dword [ebp - 4], 5
call fcn.00451891
push edi
push esi
push edi
mov dword [ebp - 0x130], eax
push 0xd
pop eax
call fcn.005138c4
neg eax
push eax
call fcn.00514934
mov ecx, dword [ebp - 0x130]
add esp, 0x10
mov dword [ecx], eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x12c]
add eax, 0xfffffff0
call fcn.00407b6b
push str.listitem_bold
lea eax, [ebp - 0x12c]
push eax
call fcn.00407b16
lea eax, [ebp - 0x12c]
push eax
push dword [ebp - 0x134]
mov dword [ebp - 4], 6
call fcn.00451891
push edi
push esi
push 0x2bc
mov dword [ebp - 0x130], eax
push 0xd
pop eax
call fcn.005138c4
neg eax
push eax
call fcn.00514934
mov ecx, dword [ebp - 0x130]
mov dword [ecx], eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x12c]
add esp, 0x10
add eax, 0xfffffff0
call fcn.00407b6b
push 0x5ef2ec
lea eax, [ebp - 0x12c]
push eax
call fcn.00407b16
lea eax, [ebp - 0x12c]
push eax
push dword [ebp - 0x134]
mov dword [ebp - 4], 7
call fcn.00451891
push 1
push esi
push edi
mov dword [ebp - 0x130], eax
push 0xc
pop eax
call fcn.005138c4
neg eax
push eax
call fcn.00514934
mov ecx, dword [ebp - 0x130]
mov dword [ecx], eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x12c]
add esp, 0x10
add eax, 0xfffffff0
call fcn.00407b6b
push str.bigtitle
lea eax, [ebp - 0x12c]
push eax
call fcn.00407b16
lea eax, [ebp - 0x12c]
push eax
push dword [ebp - 0x134]
mov dword [ebp - 4], 8
call fcn.00451891
push edi
push esi
push edi
mov dword [ebp - 0x130], eax
push 0x12
pop eax
call fcn.005138c4
neg eax
push eax
call fcn.00514934
mov ecx, dword [ebp - 0x130]
add esp, 0x10
mov dword [ecx], eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x12c]
add eax, 0xfffffff0
call fcn.00407b6b
push str.button_num
lea eax, [ebp - 0x12c]
push eax
call fcn.00407b16
lea eax, [ebp - 0x12c]
push eax
push dword [ebp - 0x134]
mov dword [ebp - 4], 9
call fcn.00451891
push edi
push str.Tahoma
push edi
mov esi, eax
push 0xd
pop eax
call fcn.005138c4
neg eax
push eax
call fcn.00514934
mov dword [esi], eax
mov eax, dword [ebp - 0x12c]
jmp 0x515123
push 0x5eefc0
lea eax, [ebp - 0x12c]
push eax
call fcn.00407b16
lea ecx, [ebp - 0x12c]
lea eax, [esi + 0x8c4]
push ecx
push eax
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x134], eax
call fcn.00451891
xor edi, edi
push edi
mov esi, str.Tahoma
push esi
push edi
mov ebx, eax
push 0xe
pop eax
call fcn.005138c4
push eax
call fcn.00514934
mov dword [ebx], eax
or ebx, 0xffffffff
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x12c]
add esp, 0x10
add eax, 0xfffffff0
call fcn.00407b6b
push str.menuitem
lea eax, [ebp - 0x12c]
push eax
call fcn.00407b16
lea eax, [ebp - 0x12c]
push eax
push dword [ebp - 0x134]
mov dword [ebp - 4], 0xb
call fcn.00451891
push edi
push esi
push edi
mov dword [ebp - 0x130], eax
push 0xe
pop eax
call fcn.005138c4
push eax
call fcn.00514934
mov ecx, dword [ebp - 0x130]
mov dword [ecx], eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x12c]
add esp, 0x10
add eax, 0xfffffff0
call fcn.00407b6b
push str.menuitem_bold
lea eax, [ebp - 0x12c]
push eax
call fcn.00407b16
lea eax, [ebp - 0x12c]
push eax
push dword [ebp - 0x134]
mov dword [ebp - 4], 0xc
call fcn.00451891
push edi
push esi
push 0x2bc
mov dword [ebp - 0x130], eax
push 0xe
pop eax
call fcn.005138c4
push eax
call fcn.00514934
mov ecx, dword [ebp - 0x130]
mov dword [ecx], eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x12c]
add esp, 0x10
add eax, 0xfffffff0
call fcn.00407b6b
push str.menuitem_underline
lea eax, [ebp - 0x12c]
push eax
call fcn.00407b16
lea eax, [ebp - 0x12c]
push eax
push dword [ebp - 0x134]
mov dword [ebp - 4], 0xd
call fcn.00451891
push 1
push esi
push edi
mov dword [ebp - 0x130], eax
push 0xe
pop eax
call fcn.005138c4
push eax
call fcn.00514934
mov ecx, dword [ebp - 0x130]
mov dword [ecx], eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x12c]
add esp, 0x10
add eax, 0xfffffff0
call fcn.00407b6b
push str.edit
lea eax, [ebp - 0x12c]
push eax
call fcn.00407b16
lea eax, [ebp - 0x12c]
push eax
push dword [ebp - 0x134]
mov dword [ebp - 4], 0xe
call fcn.00451891
push edi
push esi
push edi
mov dword [ebp - 0x130], eax
push 0x12
pop eax
call fcn.005138c4
push eax
call fcn.00514934
mov ecx, dword [ebp - 0x130]
mov dword [ecx], eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x12c]
add esp, 0x10
add eax, 0xfffffff0
call fcn.00407b6b
push str.listitem
lea eax, [ebp - 0x12c]
push eax
call fcn.00407b16
lea eax, [ebp - 0x12c]
push eax
push dword [ebp - 0x134]
mov dword [ebp - 4], 0xf
call fcn.00451891
push edi
push esi
push edi
mov dword [ebp - 0x130], eax
push 0x12
pop eax
call fcn.005138c4
push eax
call fcn.00514934
mov ecx, dword [ebp - 0x130]
mov dword [ecx], eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x12c]
add esp, 0x10
add eax, 0xfffffff0
call fcn.00407b6b
push str.listitem_bold
lea eax, [ebp - 0x12c]
push eax
call fcn.00407b16
lea eax, [ebp - 0x12c]
push eax
push dword [ebp - 0x134]
mov dword [ebp - 4], 0x10
call fcn.00451891
push edi
push esi
push 0x2bc
mov dword [ebp - 0x130], eax
push 0x12
pop eax
call fcn.005138c4
push eax
call fcn.00514934
mov ecx, dword [ebp - 0x130]
mov dword [ecx], eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x12c]
add esp, 0x10
add eax, 0xfffffff0
call fcn.00407b6b
push 0x5ef2ec
lea eax, [ebp - 0x12c]
push eax
call fcn.00407b16
lea eax, [ebp - 0x12c]
push eax
push dword [ebp - 0x134]
mov dword [ebp - 4], 0x11
call fcn.00451891
push 1
push esi
push edi
mov dword [ebp - 0x130], eax
push 0xe
pop eax
call fcn.005138c4
push eax
call fcn.00514934
mov ecx, dword [ebp - 0x130]
mov dword [ecx], eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x12c]
add esp, 0x10
add eax, 0xfffffff0
call fcn.00407b6b
push str.bigtitle
lea eax, [ebp - 0x12c]
push eax
call fcn.00407b16
lea eax, [ebp - 0x12c]
push eax
push dword [ebp - 0x134]
mov dword [ebp - 4], 0x12
call fcn.00451891
push edi
push esi
push edi
mov dword [ebp - 0x130], eax
push 0x16
pop eax
call fcn.005138c4
push eax
call fcn.00514934
mov ecx, dword [ebp - 0x130]
mov dword [ecx], eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x12c]
add esp, 0x10
add eax, 0xfffffff0
call fcn.00407b6b
push str.button_num
lea eax, [ebp - 0x138]
push eax
call fcn.00407b16
lea eax, [ebp - 0x138]
push eax
push dword [ebp - 0x134]
mov dword [ebp - 4], 0x13
call fcn.00451891
push edi
push esi
push edi
mov ebx, eax
push 0xf
pop eax
call fcn.005138c4
push eax
call fcn.00514934
mov dword [ebx], eax
mov eax, dword [ebp - 0x138]
add esp, 0x10
add eax, 0xfffffff0
call fcn.00407b6b
xor eax, eax
inc eax
call fcn.00599017
ret