Function at 0x1401ad230
Capabilities:
Check os version

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x400
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
mov rax, qword [0x14042d950]
xor rax, rsp
mov qword [rsp + reloc.MFC80U.DLL_Ordinal_944], rax
mov rbx, rcx
mov qword [rsp + 0x50], rcx
mov eax, dword [0x140c47dd0]
test al, 1
jne 0x1401ad2a8
or eax, 1
mov dword [0x140c47dd0], eax
call fcn.140055490
mov rcx, rax
mov qword [0x140c47dc8], rax
jmp 0x1401ad2af
mov rcx, qword [0x140c47dc8]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rsi, rax
mov qword [rsp + 0x58], rax
lea r13, [rbx + 0x1d0]
mov rcx, r13
call fcn.1401e6680
xor r11d, r11d
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x2c], 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 rdx, qword [rsi]
mov rcx, rsi
call qword [rdx + 0x18]
mov r14, rax
test rax, rax
je 0x1401adb5a
movss xmm6, dword [0x1403b7f74]
movss xmm7, dword [0x1403b7f70]
movss xmm8, dword [0x1403b7f6c]
movss xmm9, dword [0x1403b7f68]
nop
nop
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x50]
mov edi, eax
mov dword [rsp + 0x28], 0xc
mov dword [rsp + 0x2c], 4
mov rdx, qword [r13 + 0x168]
test rdx, rdx
jne 0x1401ad35b
xor ecx, ecx
jmp 0x1401ad369
mov rcx, qword [r13 + 0x170]
sub rcx, rdx
sar rcx, 3
lea r8, [rsp + 0x28]
mov edx, ecx
mov rcx, r13
call fcn.1401e9980
mov dword [rsp + 0x28], 0x14
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x34], 0xffffffff
mov dword [rsp + 0x2c], 0
mov rax, qword [r13 + 0x168]
test rax, rax
jne 0x1401ad3a4
xor ebx, ebx
jmp 0x1401ad3b2
mov rbx, qword [r13 + 0x170]
sub rbx, rax
sar rbx, 3
lea r8, [rsp + 0x28]
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 + 0x48]
call qword [sym.imp.MFC80U.DLL_Ordinal_296]
nop
call fcn.140049500
mov r8, qword [rax]
lea rdx, [0x140369d30]
mov rcx, rax
call qword [r8]
mov rdx, rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.MFC80U.DLL_Ordinal_788]
lea r8d, [rdi + 1]
mov rdx, qword [rsp + 0x48]
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
movzx ecx, word [rax]
mov word [r8], cx
add rax, 2
add r8, 2
test cx, cx
jne 0x1401ad440
test ebx, ebx
js 0x1401ad46a
lea r9, [rsp + 0x70]
xor r8d, r8d
mov edx, ebx
mov rcx, r13
call fcn.1401e6950
mov dword [rsp + 0x28], 0xc
mov dword [rsp + 0x2c], 3
mov rcx, qword [r13 + 0x168]
test rcx, rcx
jne 0x1401ad48a
xor eax, eax
jmp 0x1401ad498
mov rax, qword [r13 + 0x170]
sub rax, rcx
sar rax, 3
lea r8, [rsp + 0x28]
mov edx, eax
mov rcx, r13
call fcn.1401e9980
mov r11, qword [r14]
mov rcx, r14
call qword [r11 + 0x58]
test eax, eax
je 0x1401ad4d1
lea rcx, [rsp + 0x48]
call qword [sym.imp.MFC80U.DLL_Ordinal_588]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_588]
jmp 0x1401adb40
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0xc0]
test eax, eax
je 0x1401ad4fd
lea rcx, [rsp + 0x48]
call qword [sym.imp.MFC80U.DLL_Ordinal_588]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_588]
jmp 0x1401adb40
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0xb8]
test eax, eax
je 0x1401ad529
lea rcx, [rsp + 0x48]
call qword [sym.imp.MFC80U.DLL_Ordinal_588]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_588]
jmp 0x1401adb40
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 0x1401adb29
mov dword [rsp + 0x28], 0x16
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x2c], 0
mov dword [rsp + 0x40], 1
nop
nop
nop
mov rdx, qword [rbp]
mov rcx, rbp
call qword [rdx + 0x98]
mov dword [rsp + 0x34], eax
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0xd0]
mov dword [rsp + 0x3c], eax
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0x48]
xor ecx, ecx
cmp eax, 0xb
sete cl
mov dword [rsp + 0x38], ecx
mov rax, qword [r13 + 0x168]
test rax, rax
jne 0x1401ad5b9
xor r12d, r12d
jmp 0x1401ad5c7
mov r12, qword [r13 + 0x170]
sub r12, rax
sar r12, 3
lea r8, [rsp + 0x28]
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 0x1401ad635
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, [0x140369d40]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_2342]
jmp 0x1401ad64e
lea r8, [0x1403683ac]
lea rdx, [0x140369d50]
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 0x1401ad660
test r12d, r12d
js 0x1401ad68b
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 0x1401ad6f0
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
movabs rcx, 0x10000000000
cmp rax, rcx
jl 0x1401ad79e
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 0x1401ad826
cmp rax, 0x40000000
jl 0x1401ad7ce
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 0x1401ad826
cmp rax, 0x100000
jl 0x1401ad7ff
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 0x1401ad826
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
nop
movzx ecx, word [rax]
mov word [rdx], cx
add rax, 2
add rdx, 2
test cx, cx
jne 0x1401ad850
test r12d, r12d
js 0x1401ad87e
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 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 rax, 0x10000000000
cmp r11, rax
jl 0x1401ad8f5
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 0x1401ad97f
cmp r11, 0x40000000
jl 0x1401ad926
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 0x1401ad97f
cmp r11, 0x100000
jl 0x1401ad958
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 0x1401ad97f
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 0x1401ad9a1
test r12d, r12d
js 0x1401ad9cf
lea r9, [rsp + 0x70]
mov r8d, 3
mov edx, r12d
mov rcx, r13
call fcn.1401e6950
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x60]
test eax, eax
jne 0x1401ada3d
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0xc0]
test eax, eax
je 0x1401ada15
call fcn.140049500
mov r8, qword [rax]
lea rdx, [0x140369d58]
mov rcx, rax
call qword [r8]
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_788]
jmp 0x1401adac2
call fcn.140049500
mov r8, qword [rax]
lea rdx, [0x140369d68]
mov rcx, rax
call qword [r8]
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_788]
jmp 0x1401adac2
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0xb0]
mov ecx, dword [rax]
cmp ecx, 1
jne 0x1401ada65
lea rdx, [0x140369d78]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_788]
jmp 0x1401adac2
cmp ecx, 2
jne 0x1401ada7e
lea rdx, [0x140369d80]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_788]
jmp 0x1401adac2
cmp ecx, 3
jne 0x1401ada97
lea rdx, [0x140369d88]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_788]
jmp 0x1401adac2
cmp ecx, 6
jne 0x1401adab0
lea rdx, [0x140369d90]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_788]
jmp 0x1401adac2
lea rdx, [0x140369d98]
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
nop
movzx ecx, word [rax]
mov word [r8], cx
add rax, 2
add r8, 2
test cx, cx
jne 0x1401adae0
test r12d, r12d
js 0x1401adb0f
lea r9, [rsp + 0x70]
mov r8d, 4
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 0x1401ad570
mov rsi, qword [rsp + 0x58]
lea rcx, [rsp + 0x48]
call qword [sym.imp.MFC80U.DLL_Ordinal_588]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_588]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x20]
mov r14, rax
test rax, rax
jne 0x1401ad330
mov rbx, qword [rsp + 0x50]
mov rcx, r13
call fcn.1401e95e0
xor edx, edx
lea r8d, [rdx + 1]
mov rcx, qword [rbx + 0x210]
call qword [sym.imp.USER32.dll_InvalidateRect]
xor edx, edx
mov rcx, r13
call fcn.1401e74d0
mov rcx, qword [rsp + reloc.MFC80U.DLL_Ordinal_944]
xor rcx, rsp
call fcn.140161080
lea r11, [rsp + 0x400]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
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
ret