Function at 0x1402aa530
Capabilities:
Check os version

Disassembly:
push rdi
sub rsp, 0x1b0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x1c8], rbx
mov rax, qword [0x14042d950]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov rdi, rcx
cmp dword [rcx + 0x1200], 0
je 0x1402aa8b6
lea rdx, [rsp + 0x50]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r11d, dword [rsp + 0x5c]
mov r9d, dword [rsp + 0x54]
sub r11d, r9d
add r11d, 0x73
mov eax, dword [rsp + 0x58]
mov r8d, dword [rsp + 0x50]
sub eax, r8d
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], eax
mov rdx, rdi
mov rcx, rdi
call sub.MFC80U.DLL_Ordinal_6102
lea rcx, [rdi + 0x1790]
mov edx, 5
call fcn.14015fd58
lea rcx, [rdi + 0x1418]
mov edx, 5
call fcn.14015fd58
lea rcx, [rdi + 0x18e0]
mov edx, 5
call fcn.14015fd58
lea rcx, [rdi + reloc.MFC80U.DLL_Ordinal_5480]
mov edx, 5
call fcn.14015fd58
lea rcx, [rdi + 0x1ad8]
mov edx, 5
call fcn.14015fd58
lea rcx, [rdi + 0x1a30]
mov edx, 5
call fcn.14015fd58
lea rcx, [rdi + 0x16b8]
mov edx, 5
call fcn.14015fd58
lea rcx, [rdi + 0x1c28]
mov edx, 5
call fcn.14015fd58
mov rcx, qword [rdi + 0xf0]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xb0]
cmp eax, 0x1000
je 0x1402aa67e
lea rcx, [rdi + 0x1e20]
mov edx, 5
call fcn.14015fd58
lea rcx, [rdi + 0x1ec8]
mov edx, 5
call fcn.14015fd58
lea rcx, [rdi + 0x1cd0]
mov edx, 5
call fcn.14015fd58
lea rcx, [rdi + 0x14c0]
mov edx, 5
call fcn.14015fd58
lea rdx, [rsp + 0x40]
mov rcx, qword [rdi + reloc.MFC80U.DLL_Ordinal_4680]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call sub.MFC80U.DLL_Ordinal_5648
mov r11d, dword [rsp + 0x4c]
mov r8d, dword [rsp + 0x44]
sub r11d, r8d
add r11d, 0x73
mov r9d, dword [rsp + 0x48]
mov edx, dword [rsp + 0x40]
sub r9d, edx
lea rcx, [rdi + 0x1208]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], r11d
call sub.MFC80U.DLL_Ordinal_4155
lea rdx, [rsp + 0x40]
mov rcx, qword [rdi + 0xb40]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call sub.MFC80U.DLL_Ordinal_5648
mov eax, dword [rsp + 0x4c]
mov r8d, dword [rsp + 0x44]
sub eax, r8d
mov r9d, dword [rsp + 0x48]
mov edx, dword [rsp + 0x40]
sub r9d, edx
add r8d, 0x73
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], eax
lea rcx, [rdi + 0xb00]
call sub.MFC80U.DLL_Ordinal_4155
lea rdx, [rsp + 0x40]
mov rcx, qword [rdi + 0x168]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call sub.MFC80U.DLL_Ordinal_5648
mov r11d, dword [rsp + 0x4c]
mov r8d, dword [rsp + 0x44]
sub r11d, r8d
mov r9d, dword [rsp + 0x48]
mov edx, dword [rsp + 0x40]
sub r9d, edx
add r8d, 0x73
lea rcx, [rdi + reloc.MFC80U.DLL_Ordinal_296]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], r11d
call sub.MFC80U.DLL_Ordinal_4155
lea rdx, [rsp + 0x40]
mov rcx, qword [rdi + 0x4b0]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call sub.MFC80U.DLL_Ordinal_5648
mov r11d, dword [rsp + 0x4c]
mov r8d, dword [rsp + 0x44]
sub r11d, r8d
mov r9d, dword [rsp + 0x48]
mov edx, dword [rsp + 0x40]
sub r9d, edx
add r8d, 0x73
lea rcx, [rdi + 0x470]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], r11d
call sub.MFC80U.DLL_Ordinal_4155
lea rdx, [rsp + 0x40]
mov rcx, qword [rdi + reloc.MFC80U.DLL_Ordinal_2040]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call sub.MFC80U.DLL_Ordinal_5648
mov r11d, dword [rsp + 0x4c]
mov r8d, dword [rsp + 0x44]
sub r11d, r8d
mov r9d, dword [rsp + 0x48]
mov edx, dword [rsp + 0x40]
sub r9d, edx
add r8d, 0x73
lea rcx, [rdi + 0x7b8]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], r11d
call sub.MFC80U.DLL_Ordinal_4155
mov dword [rdi + Ordinal_4611], 0
call fcn.140049500
mov r8, qword [rax]
lea rdx, [0x14037bd20]
mov rcx, rax
call qword [r8]
mov rdx, rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.MFC80U.DLL_Ordinal_286]
nop
lea r8, [0x14037bd14]
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1400016e0
nop
mov rdx, qword [rax]
lea rcx, [rdi + 0xb00]
call sub.MFC80U.DLL_Ordinal_6104
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.MFC80U.DLL_Ordinal_588]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.MFC80U.DLL_Ordinal_588]
jmp 0x1402aabb7
lea rdx, [rsp + 0x50]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r11d, dword [rsp + 0x5c]
mov r9d, dword [rsp + 0x54]
sub r11d, r9d
sub r11d, 0x73
mov eax, dword [rsp + 0x58]
mov r8d, dword [rsp + 0x50]
sub eax, r8d
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], eax
mov rdx, rdi
mov rcx, rdi
call sub.MFC80U.DLL_Ordinal_6102
lea rcx, [rdi + 0x1790]
xor edx, edx
call fcn.14015fd58
lea rcx, [rdi + 0x1418]
xor edx, edx
call fcn.14015fd58
lea rcx, [rdi + 0x18e0]
xor edx, edx
call fcn.14015fd58
lea rcx, [rdi + reloc.MFC80U.DLL_Ordinal_5480]
xor edx, edx
call fcn.14015fd58
lea rcx, [rdi + 0x1ad8]
xor edx, edx
call fcn.14015fd58
lea rcx, [rdi + 0x1a30]
xor edx, edx
call fcn.14015fd58
lea rcx, [rdi + 0x16b8]
xor edx, edx
call fcn.14015fd58
lea rcx, [rdi + 0x1c28]
xor edx, edx
call fcn.14015fd58
lea rcx, [rdi + 0x1e20]
xor edx, edx
call fcn.14015fd58
lea rcx, [rdi + 0x1ec8]
xor edx, edx
call fcn.14015fd58
lea rcx, [rdi + 0x1cd0]
xor edx, edx
call fcn.14015fd58
lea rcx, [rdi + 0x14c0]
xor edx, edx
call fcn.14015fd58
lea rdx, [rsp + 0x40]
mov rcx, qword [rdi + reloc.MFC80U.DLL_Ordinal_4680]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call sub.MFC80U.DLL_Ordinal_5648
mov r11d, dword [rsp + 0x4c]
mov r8d, dword [rsp + 0x44]
sub r11d, r8d
sub r11d, 0x73
mov r9d, dword [rsp + 0x48]
mov edx, dword [rsp + 0x40]
sub r9d, edx
lea rcx, [rdi + 0x1208]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], r11d
call sub.MFC80U.DLL_Ordinal_4155
lea rdx, [rsp + 0x40]
mov rcx, qword [rdi + 0xb40]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call sub.MFC80U.DLL_Ordinal_5648
mov eax, dword [rsp + 0x4c]
mov r8d, dword [rsp + 0x44]
sub eax, r8d
mov r9d, dword [rsp + 0x48]
mov edx, dword [rsp + 0x40]
sub r9d, edx
add r8d, 0xffffff8d
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], eax
lea rcx, [rdi + 0xb00]
call sub.MFC80U.DLL_Ordinal_4155
lea rdx, [rsp + 0x40]
mov rcx, qword [rdi + 0x168]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call sub.MFC80U.DLL_Ordinal_5648
mov r11d, dword [rsp + 0x4c]
mov r8d, dword [rsp + 0x44]
sub r11d, r8d
mov r9d, dword [rsp + 0x48]
mov edx, dword [rsp + 0x40]
sub r9d, edx
add r8d, 0xffffff8d
lea rcx, [rdi + reloc.MFC80U.DLL_Ordinal_296]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], r11d
call sub.MFC80U.DLL_Ordinal_4155
lea rdx, [rsp + 0x40]
mov rcx, qword [rdi + 0x4b0]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call sub.MFC80U.DLL_Ordinal_5648
mov r11d, dword [rsp + 0x4c]
mov r8d, dword [rsp + 0x44]
sub r11d, r8d
mov r9d, dword [rsp + 0x48]
mov edx, dword [rsp + 0x40]
sub r9d, edx
add r8d, 0xffffff8d
lea rcx, [rdi + 0x470]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], r11d
call sub.MFC80U.DLL_Ordinal_4155
lea rdx, [rsp + 0x40]
mov rcx, qword [rdi + reloc.MFC80U.DLL_Ordinal_2040]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call sub.MFC80U.DLL_Ordinal_5648
mov r11d, dword [rsp + 0x4c]
mov r8d, dword [rsp + 0x44]
sub r11d, r8d
mov r9d, dword [rsp + 0x48]
mov edx, dword [rsp + 0x40]
sub r9d, edx
add r8d, 0xffffff8d
lea rcx, [rdi + 0x7b8]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], r11d
call sub.MFC80U.DLL_Ordinal_4155
mov dword [rdi + Ordinal_4611], 1
call fcn.140049500
mov r8, qword [rax]
lea rdx, str.0183
mov rcx, rax
call qword [r8]
mov rdx, rax
lea rcx, [rsp + 0x68]
call qword [sym.imp.MFC80U.DLL_Ordinal_286]
nop
lea r8, [0x14037bd2c]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400016e0
nop
mov rdx, qword [rax]
lea rcx, [rdi + 0xb00]
call sub.MFC80U.DLL_Ordinal_6104
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.MFC80U.DLL_Ordinal_588]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.MFC80U.DLL_Ordinal_588]
cmp dword [rdi + 0x11e4], 0
jne 0x1402aac2c
xor edx, edx
mov r8d, Ordinal_280
lea rcx, [rsp + 0x80]
call sub.ntdll.dll_memset
mov dword [rsp + 0x80], Ordinal_280
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x84], 6
jb 0x1402aac2c
xor r9d, r9d
mov edx, 0xf1
lea r8d, [r9 + 1]
mov rcx, qword [rdi + 0x1e60]
call qword [sym.imp.USER32.dll_SendMessageW]
lea rcx, [rdi + 0x1ec8]
mov edx, 1
call sub.MFC80U.DLL_Ordinal_2183
mov dword [rdi + 0x11e4], 1
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140161080
mov rbx, qword [rsp + 0x1c8]
add rsp, 0x1b0
pop rdi
ret