Function at 0x44f1a0
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x25c
mov eax, dword [esp + 0x26c]
push ebx
push ebp
mov ebp, ecx
mov ecx, dword [esp + 0x26c]
mov dword [eax], 1
mov al, byte [ebp + 0x84]
and al, 1
push esi
push edi
mov dword [esp + 0x20], ebp
mov ebx, 0
je 0x44f1dd
mov dword [esp + 0x18], ebx
cmp cx, 0xd
jne 0x44f1e5
mov dword [esp + 0x18], 0x10001
cmp al, bl
je 0x44f3e8
mov edx, ecx
shr edx, 0x10
cmp edx, 0x10
jne 0x44f3e0
mov eax, dword [esp + 0x278]
push eax
call dword [sym.imp.USER32.dll_GetMenuItemCount]
push 0xc6
lea edx, [esp + 0x1aa]
mov esi, eax
xor ecx, ecx
push ebx
push edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x20], 2
mov word [esp + 0x1b0], cx
call fcn.0049e6e0
add esp, 0xc
xor edi, edi
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x13], bl
cmp esi, ebx
jle 0x44f559
mov ebp, dword [sym.imp.USER32.dll_CharNextW]
nop
push 0x30
lea eax, [esp + 0x64]
push ebx
push eax
call fcn.0049e6e0
push 0x110
lea ecx, [esp + 0xa4]
push ebx
push ecx
mov dword [esp + 0x78], 0x30
mov dword [esp + 0xa8], 0x114
call fcn.0049e6e0
add esp, 0x18
lea edx, [esp + 0x90]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x44f2b3
mov eax, dword [esp + 0x94]
cmp eax, 5
jae 0x44f2bb
cmp eax, 4
jne 0x44f2b3
cmp dword [esp + 0x98], 0x5a
jae 0x44f2bb
mov dword [esp + 0x60], 0x2c
mov edx, dword [esp + 0x278]
lea ecx, [esp + 0x60]
push ecx
push 1
push edi
lea eax, [esp + 0x1b0]
push edx
mov dword [esp + 0x98], 0x64
mov dword [esp + 0x74], 0x3f
mov dword [esp + 0x94], eax
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
test eax, eax
je 0x44f370
test dword [esp + 0x68], 0x800
jne 0x44f370
mov eax, dword [esp + 0x80]
cmp eax, ebx
je 0x44f370
cmp dword [eax], 0x1313
jne 0x44f370
mov eax, dword [eax + 4]
cmp eax, ebx
je 0x44f370
movzx ecx, word [eax]
cmp cx, bx
je 0x44f370
cmp cx, 0x26
je 0x44f335
push eax
call ebp
movzx ecx, word [eax]
cmp cx, bx
jne 0x44f322
jmp 0x44f370
cmp word [eax], bx
je 0x44f370
movzx esi, word [eax + 2]
movzx eax, word [esp + 0x274]
push eax
call dword [sym.imp.USER32.dll_CharLowerW]
push esi
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_CharLowerW]
cmp eax, dword [esp + 0x28]
jne 0x44f370
cmp byte [esp + 0x13], bl
jne 0x44f37d
movzx ecx, di
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x13], 1
inc edi
cmp edi, dword [esp + 0x24]
jl 0x44f250
jmp 0x44f385
mov dword [esp + 0x14], 3
cmp byte [esp + 0x13], bl
je 0x44f559
cmp dword [esp + 0x14], 2
jne 0x44f3b3
mov esi, dword [esp + 0x20]
mov edx, dword [esi + 4]
push ebx
push 0xffffffffffffffff
push 0x448
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, esi
call fcn.0044e770
mov eax, dword [esp + 0x27c]
movzx ecx, word [esp + 0x1c]
mov dword [eax], 1
movzx eax, word [esp + 0x14]
pop edi
pop esi
shl eax, 0x10
or eax, ecx
pop ebp
mov dword [esp + 0xc], eax
pop ebx
add esp, 0x25c
ret 0x10
cmp al, bl
jne 0x44f559
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
movzx eax, cx
mov ecx, dword [ebp + 4]
lea edx, [esp + 0x14]
push edx
push eax
push 0x45a
push ecx
mov dword [esp + 0x24], ebx
call edi
test eax, eax
jne 0x44f461
mov edi, dword [esp + 0x27c]
push ebx
push 0xffffffffffffffff
mov dword [edi], ebx
mov edx, dword [ebp + 4]
push 0x448
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, ebp
call fcn.0044e770
cmp word [esp + 0x274], 0x2f
jne 0x44f559
mov ecx, ebp
call fcn.0044cb90
test al, al
je 0x44f559
mov eax, dword [esp + 0x18]
mov dword [edi], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x25c
ret 0x10
mov eax, dword [ebp + 0x5c]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x44f559
mov edx, dword [ebp + 4]
lea ecx, [esp + 0x2c]
xor eax, eax
push ecx
push edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 4]
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
lea eax, [esp + 0x3c]
push eax
push ecx
push 0x41d
push edx
mov dword [esp + 0x4c], ebx
call edi
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 4]
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x4c]
push eax
push ecx
push 0x417
push edx
mov dword [esp + 0x5c], ebx
call edi
mov al, byte [esp + 0x54]
test al, 4
je 0x44f552
test al, 8
jne 0x44f552
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x34]
jg 0x44f552
mov al, byte [ebp + 0x85]
test al, 2
je 0x44f51b
test al, 4
jne 0x44f51b
or al, 8
push 1
mov ecx, ebp
mov byte [ebp + 0x85], al
call fcn.0044d810
mov ecx, ebp
call fcn.0044cd20
mov ecx, dword [ebp + 4]
push ebx
push 0x28
push pe_nt_image_headers32
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, dword [esp + 0x14]
push edx
lea ecx, [ebp + 4]
call fcn.0044c940
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x25c
ret 0x10
push ebx
call dword [sym.imp.USER32.dll_MessageBeep]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x25c
ret 0x10