Function at 0x1401ef5d0
Capabilities:
Check os version

Disassembly:
test rdx, rdx
je 0x1401f0224
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x400
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
mov rax, qword [0x14042d950]
xor rax, rsp
mov qword [rsp + reloc.MFC80U.DLL_Ordinal_944], rax
mov r12, rdx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rcx
mov qword [rcx + 0x288], rdx
lea r13, [rcx + 0xe8]
mov rcx, r13
call fcn.1401e6680
xor r11d, r11d
mov dword [rsp + 0x30], r11d
mov dword [rsp + 0x34], r11d
mov dword [rsp + 0x38], r11d
mov dword [rsp + 0x3c], r11d
mov dword [rsp + 0x40], r11d
mov dword [rsp + 0x44], r11d
mov dword [rsp + 0x48], r11d
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x18]
mov r14, rax
test rax, rax
je 0x1401f01c6
movss xmm6, dword [0x1403b7f74]
movss xmm7, dword [0x1403b7f70]
movss xmm8, dword [0x1403b7f6c]
movss xmm9, dword [0x1403b7f68]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x50]
mov esi, eax
mov dword [rsp + 0x30], 0xc
mov dword [rsp + 0x34], 4
mov rdx, qword [r13 + 0x168]
test rdx, rdx
jne 0x1401ef6cb
xor ecx, ecx
jmp 0x1401ef6d9
mov rcx, qword [r13 + 0x170]
sub rcx, rdx
sar rcx, 3
lea r8, [rsp + 0x30]
mov edx, ecx
mov rcx, r13
call fcn.1401e9980
mov dword [rsp + 0x30], 0x14
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x34], 0
mov rax, qword [r13 + 0x168]
test rax, rax
jne 0x1401ef714
xor ebx, ebx
jmp 0x1401ef722
mov rbx, qword [r13 + 0x170]
sub rbx, rax
sar rbx, 3
lea r8, [rsp + 0x30]
mov edx, ebx
mov rcx, r13
call fcn.1401e9980
xor edx, edx
mov r8d, 0x220
lea rcx, [rsp + 0x70]
call sub.ntdll.dll_memset
mov dword [rsp + 0x280], 0x10
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_296]
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.MFC80U.DLL_Ordinal_296]
nop
call fcn.140049500
mov r8, qword [rax]
lea rdx, [0x140370928]
mov rcx, rax
call qword [r8]
mov rdx, rax
lea rcx, [rsp + 0x28]
call qword [sym.imp.MFC80U.DLL_Ordinal_788]
lea r8d, [rsi + 1]
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_2342]
mov r11, qword [r14]
mov rcx, r14
call qword [r11 + 0x60]
test eax, eax
je 0x1401ef7ef
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x58]
test eax, eax
jne 0x1401ef7ef
call fcn.140049500
mov r8, qword [rax]
lea rdx, [0x140370938]
mov rcx, rax
call qword [r8]
mov rdx, rax
lea rcx, [rsp + 0x28]
call qword [sym.imp.MFC80U.DLL_Ordinal_788]
lea r8d, [rsi + 1]
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_2342]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0xd0]
test eax, eax
je 0x1401ef836
call fcn.140049500
mov r8, qword [rax]
lea rdx, [0x140370948]
mov rcx, rax
call qword [r8]
mov rdx, rax
lea rcx, [rsp + 0x28]
call qword [sym.imp.MFC80U.DLL_Ordinal_788]
lea r8d, [rsi + 1]
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_2342]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_2492]
lea r8, [rsp + 0x74]
nop
nop
nop
movzx ecx, word [rax]
mov word [r8], cx
add rax, 2
add r8, 2
test cx, cx
jne 0x1401ef850
test ebx, ebx
js 0x1401ef87a
lea r9, [rsp + 0x70]
xor r8d, r8d
mov edx, ebx
mov rcx, r13
call fcn.1401e6950
mov dword [rsp + 0x30], 0xc
mov dword [rsp + 0x34], 3
mov rcx, qword [r13 + 0x168]
test rcx, rcx
jne 0x1401ef89a
xor eax, eax
jmp 0x1401ef8a8
mov rax, qword [r13 + 0x170]
sub rax, rcx
sar rax, 3
lea r8, [rsp + 0x30]
mov edx, eax
mov rcx, r13
call fcn.1401e9980
mov r11, qword [r14]
mov rcx, r14
call qword [r11 + 0x58]
test eax, eax
je 0x1401ef8e1
lea rcx, [rsp + 0x28]
call qword [sym.imp.MFC80U.DLL_Ordinal_588]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_588]
jmp 0x1401f01b0
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0xc0]
test eax, eax
je 0x1401ef90d
lea rcx, [rsp + 0x28]
call qword [sym.imp.MFC80U.DLL_Ordinal_588]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_588]
jmp 0x1401f01b0
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x60]
mov r11, qword [r14]
mov rcx, r14
call qword [r11 + 0xb8]
test eax, eax
je 0x1401ef943
lea rcx, [rsp + 0x28]
call qword [sym.imp.MFC80U.DLL_Ordinal_588]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_588]
jmp 0x1401f01b0
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x78]
mov r15, rax
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x30]
mov rbp, rax
test rax, rax
je 0x1401f0199
mov dword [rsp + 0x30], 0x16
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x48], 0
movabs rdi, 0x10000000000
nop
nop
mov rdx, qword [rbp]
mov rcx, rbp
call qword [rdx + 0x98]
mov dword [rsp + 0x3c], eax
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0xd0]
mov dword [rsp + 0x44], eax
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0x48]
xor ecx, ecx
cmp eax, 0xb
sete cl
mov dword [rsp + 0x40], ecx
mov rax, qword [r13 + 0x168]
test rax, rax
jne 0x1401ef9d9
xor r12d, r12d
jmp 0x1401ef9e7
mov r12, qword [r13 + 0x170]
sub r12, rax
sar r12, 3
lea r8, [rsp + 0x30]
mov edx, r12d
mov rcx, r13
call fcn.1401e9980
xor edx, edx
mov r8d, 0x220
lea rcx, [rsp + 0x70]
call sub.ntdll.dll_memset
mov dword [rsp + 0x280], 0x14
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0x48]
cmp eax, 0xb
je 0x1401efa55
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0x58]
mov rbx, rax
mov rdx, qword [rbp]
mov rcx, rbp
call qword [rdx + 0x50]
movzx r8d, ax
mov r9, rbx
lea rdx, [0x140370958]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_2342]
jmp 0x1401efa6e
lea r8, [0x14036bf14]
lea rdx, [0x140370968]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_2342]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_2492]
lea rdx, [rsp + 0x74]
nop
movzx ecx, word [rax]
mov word [rdx], cx
add rax, 2
add rdx, 2
test cx, cx
jne 0x1401efa80
test r12d, r12d
js 0x1401efaab
lea r9, [rsp + 0x70]
xor r8d, r8d
mov edx, r12d
mov rcx, r13
call fcn.1401e6950
xor edx, edx
mov r8d, 0x220
lea rcx, [rsp + 0x70]
call sub.ntdll.dll_memset
mov dword [rsp + 0x280], 6
mov byte [rsp + 0x284], 1
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0x48]
mov dword [rsp + 0x28c], eax
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0xf0]
mov dword [rsp + 0x288], eax
test r12d, r12d
js 0x1401efb10
lea r9, [rsp + 0x70]
mov r8d, 1
mov edx, r12d
mov rcx, r13
call fcn.1401e6950
xor edx, edx
mov r8d, Ordinal_280
lea rcx, [rsp + 0x290]
call sub.ntdll.dll_memset
mov dword [rsp + 0x290], Ordinal_280
lea rcx, [rsp + 0x290]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
xor edx, edx
mov r8d, 0x220
lea rcx, [rsp + 0x70]
call sub.ntdll.dll_memset
mov dword [rsp + 0x280], 6
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0x30]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xb0]
mov ebx, eax
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0x88]
imul rax, rbx
cmp rax, rdi
jl 0x1401efbb4
cvtsi2ss xmm0, rax
mulss xmm0, xmm6
cvtss2sd xmm2, xmm0
movq r8, xmm2
lea rdx, str._.2fTB
lea rcx, [0x140c47470]
call qword [sym.imp.MSVCR80.dll__swprintf]
jmp 0x1401efc3c
cmp rax, 0x40000000
jl 0x1401efbe4
cvtsi2ss xmm0, rax
mulss xmm0, xmm7
cvtss2sd xmm2, xmm0
movq r8, xmm2
lea rdx, str._.2fGB
lea rcx, [0x140c47470]
call qword [sym.imp.MSVCR80.dll__swprintf]
jmp 0x1401efc3c
cmp rax, 0x100000
jl 0x1401efc15
cvtsi2ss xmm0, rax
mulss xmm0, xmm8
cvtss2sd xmm2, xmm0
movq r8, xmm2
lea rdx, str._.2fMB
lea rcx, [0x140c47470]
call qword [sym.imp.MSVCR80.dll__swprintf]
jmp 0x1401efc3c
cvtsi2ss xmm0, rax
mulss xmm0, xmm9
cvtss2sd xmm2, xmm0
movq r8, xmm2
lea rdx, str._.2fKB
lea rcx, [0x140c47470]
call qword [sym.imp.MSVCR80.dll__swprintf]
lea rdx, [0x140c47470]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_788]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_2492]
lea rdx, [rsp + 0x74]
nop
movzx ecx, word [rax]
mov word [rdx], cx
add rax, 2
add rdx, 2
test cx, cx
jne 0x1401efc60
test r12d, r12d
js 0x1401efc8e
lea r9, [rsp + 0x70]
mov r8d, 2
mov edx, r12d
mov rcx, r13
call fcn.1401e6950
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0x30]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xb0]
mov ebx, eax
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0x68]
imul rax, rbx
cmp rax, rdi
jl 0x1401efce4
cvtsi2ss xmm0, rax
mulss xmm0, xmm6
cvtss2sd xmm2, xmm0
movq r8, xmm2
lea rdx, str._.2fTB
lea rcx, [0x140c47470]
call qword [sym.imp.MSVCR80.dll__swprintf]
jmp 0x1401efd6c
cmp rax, 0x40000000
jl 0x1401efd14
cvtsi2ss xmm0, rax
mulss xmm0, xmm7
cvtss2sd xmm2, xmm0
movq r8, xmm2
lea rdx, str._.2fGB
lea rcx, [0x140c47470]
call qword [sym.imp.MSVCR80.dll__swprintf]
jmp 0x1401efd6c
cmp rax, 0x100000
jl 0x1401efd45
cvtsi2ss xmm0, rax
mulss xmm0, xmm8
cvtss2sd xmm2, xmm0
movq r8, xmm2
lea rdx, str._.2fMB
lea rcx, [0x140c47470]
call qword [sym.imp.MSVCR80.dll__swprintf]
jmp 0x1401efd6c
cvtsi2ss xmm0, rax
mulss xmm0, xmm9
cvtss2sd xmm2, xmm0
movq r8, xmm2
lea rdx, str._.2fKB
lea rcx, [0x140c47470]
call qword [sym.imp.MSVCR80.dll__swprintf]
lea rdx, [0x140c47470]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_788]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_2492]
lea rdx, [rsp + 0x74]
nop
movzx ecx, word [rax]
mov word [rdx], cx
add rax, 2
add rdx, 2
test cx, cx
jne 0x1401efd90
test r12d, r12d
js 0x1401efdbe
lea r9, [rsp + 0x70]
mov r8d, 3
mov edx, r12d
mov rcx, r13
call fcn.1401e6950
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0x30]
mov rsi, rax
mov rdx, qword [rbp]
mov rcx, rbp
call qword [rdx + 0x68]
mov rbx, rax
mov rdx, qword [rbp]
mov rcx, rbp
call qword [rdx + 0x40]
mov rdi, rax
sub rdi, rbx
mov rdx, qword [rsi]
mov rcx, rsi
call qword [rdx + 0xb0]
mov r11d, eax
imul r11, rdi
movabs rdi, 0x10000000000
cmp r11, rdi
jl 0x1401efe35
cvtsi2ss xmm0, r11
mulss xmm0, xmm6
cvtss2sd xmm2, xmm0
movq r8, xmm2
lea rdx, str._.2fTB
lea rcx, [0x140c47470]
call qword [sym.imp.MSVCR80.dll__swprintf]
jmp 0x1401efebf
cmp r11, 0x40000000
jl 0x1401efe66
cvtsi2ss xmm0, r11
mulss xmm0, xmm7
cvtss2sd xmm2, xmm0
movq r8, xmm2
lea rdx, str._.2fGB
lea rcx, [0x140c47470]
call qword [sym.imp.MSVCR80.dll__swprintf]
jmp 0x1401efebf
cmp r11, 0x100000
jl 0x1401efe98
cvtsi2ss xmm0, r11
mulss xmm0, xmm8
cvtss2sd xmm2, xmm0
movq r8, xmm2
lea rdx, str._.2fMB
lea rcx, [0x140c47470]
call qword [sym.imp.MSVCR80.dll__swprintf]
jmp 0x1401efebf
cvtsi2ss xmm0, r11
mulss xmm0, xmm9
cvtss2sd xmm2, xmm0
movq r8, xmm2
lea rdx, str._.2fKB
lea rcx, [0x140c47470]
call qword [sym.imp.MSVCR80.dll__swprintf]
lea rdx, [0x140c47470]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_788]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_2492]
lea rdx, [rsp + 0x74]
movzx ecx, word [rax]
mov word [rdx], cx
add rax, 2
add rdx, 2
test cx, cx
jne 0x1401efee1
test r12d, r12d
js 0x1401eff0f
lea r9, [rsp + 0x70]
mov r8d, 4
mov edx, r12d
mov rcx, r13
call fcn.1401e6950
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x60]
test eax, eax
jne 0x1401eff7d
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0xc0]
test eax, eax
je 0x1401eff55
call fcn.140049500
mov r8, qword [rax]
lea rdx, [0x140370970]
mov rcx, rax
call qword [r8]
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_788]
jmp 0x1401f0002
call fcn.140049500
mov r8, qword [rax]
lea rdx, str.0471
mov rcx, rax
call qword [r8]
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_788]
jmp 0x1401f0002
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0xb0]
mov ecx, dword [rax]
cmp ecx, 1
jne 0x1401effa5
lea rdx, str.GPT_EFI
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_788]
jmp 0x1401f0002
cmp ecx, 2
jne 0x1401effbe
lea rdx, str.GPT_MSR
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_788]
jmp 0x1401f0002
cmp ecx, 3
jne 0x1401effd7
lea rdx, str.GPT_LDM
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_788]
jmp 0x1401f0002
cmp ecx, 6
jne 0x1401efff0
lea rdx, str.GPT_WRE
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_788]
jmp 0x1401f0002
lea rdx, [0x1403709d0]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_788]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_2492]
lea rdx, [rsp + 0x74]
movzx ecx, word [rax]
mov word [rdx], cx
add rax, 2
add rdx, 2
test cx, cx
jne 0x1401f0012
test r12d, r12d
js 0x1401f0040
lea r9, [rsp + 0x70]
mov r8d, 5
mov edx, r12d
mov rcx, r13
call fcn.1401e6950
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0xe0]
test eax, eax
je 0x1401f0076
call fcn.140049500
mov r8, qword [rax]
lea rdx, str.0472
mov rcx, rax
call qword [r8]
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_788]
jmp 0x1401f0099
call fcn.140049500
mov r8, qword [rax]
lea rdx, [0x1403709e8]
mov rcx, rax
call qword [r8]
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_788]
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0xd8]
test eax, eax
je 0x1401f00cd
call fcn.140049500
mov r8, qword [rax]
lea rdx, str.0473
mov rcx, rax
call qword [r8]
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_788]
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0xc8]
test eax, eax
je 0x1401f0103
call fcn.140049500
mov r8, qword [rax]
lea rdx, str.0474
mov rcx, rax
call qword [r8]
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_788]
jmp 0x1401f0137
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0xd0]
test eax, eax
je 0x1401f0137
call fcn.140049500
mov r8, qword [rax]
lea rdx, str.0475
mov rcx, rax
call qword [r8]
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_788]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_2492]
lea r8, [rsp + 0x74]
nop
nop
nop
movzx ecx, word [rax]
mov word [r8], cx
add rax, 2
add r8, 2
test cx, cx
jne 0x1401f0150
test r12d, r12d
js 0x1401f017f
lea r9, [rsp + 0x70]
mov r8d, 6
mov edx, r12d
mov rcx, r13
call fcn.1401e6950
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x38]
mov rbp, rax
test rax, rax
jne 0x1401ef990
mov r12, qword [rsp + 0x58]
lea rcx, [rsp + 0x28]
call qword [sym.imp.MFC80U.DLL_Ordinal_588]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_588]
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x20]
mov r14, rax
test rax, rax
jne 0x1401ef6a0
mov rcx, r13
call fcn.1401e95e0
xor edx, edx
lea r8d, [rdx + 1]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + reloc.MFC80U.DLL_Ordinal_296]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rcx, qword [rsp + reloc.MFC80U.DLL_Ordinal_944]
xor rcx, rsp
call fcn.140161080
lea r11, [rsp + 0x400]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret 0