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

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, reloc.MFC80U.DLL_Ordinal_1040
mov qword [rsp + 0x70], 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 + 0x3c0], rax
mov rbx, rcx
mov qword [rsp + 0x68], rcx
mov eax, dword [0x140c47dd0]
test al, 1
jne 0x1401b2b68
or eax, 1
mov dword [0x140c47dd0], eax
call fcn.140055490
mov rcx, rax
mov qword [0x140c47dc8], rax
jmp 0x1401b2b6f
mov rcx, qword [0x140c47dc8]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov r12, rax
mov qword [rsp + 0x60], rax
lea r13, [rbx + 0x3e0]
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 rcx, qword [rbx + 0x100]
mov rbx, qword [rcx + 0x120]
mov qword [rsp + 0x50], rbx
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x50]
mov ebp, eax
mov dword [rsp + 0x58], eax
cmp dword [rbx + 0x1c], 0
je 0x1401b2c95
mov ecx, dword [0x140c47dd0]
test cl, 1
jne 0x1401b2c0c
or ecx, 1
mov dword [0x140c47dd0], ecx
call fcn.140055490
mov rcx, rax
mov qword [0x140c47dc8], rax
jmp 0x1401b2c13
mov rcx, qword [0x140c47dc8]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rsi, rax
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
mov rdi, rax
test rax, rax
je 0x1401b2c95
nop
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x78]
mov rbx, rax
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x30]
test rax, rax
je 0x1401b2c7b
nop
nop
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xc8]
test eax, eax
jne 0x1401b2c70
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
test rax, rax
jne 0x1401b2c50
jmp 0x1401b2c7b
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x50]
mov ebp, eax
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x20]
mov rdi, rax
test rax, rax
jne 0x1401b2c30
mov dword [rsp + 0x58], ebp
mov rbx, qword [rsp + 0x50]
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x18]
mov r14, rax
test rax, rax
je 0x1401b3572
movabs rsi, 0x10000000000
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 edi, eax
mov rcx, qword [rbx]
mov rdx, qword [rcx]
call qword [rdx + 0x30]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x50]
cmp edi, eax
jne 0x1401b2d02
cmp dword [rbx + 0x1c], 0
jne 0x1401b3558
cmp edi, ebp
jne 0x1401b2d10
cmp dword [rbx + 0x1c], 0
jne 0x1401b3558
mov dword [rsp + 0x28], 0xc
mov dword [rsp + 0x2c], 4
mov rcx, qword [r13 + 0x168]
test rcx, rcx
jne 0x1401b2d30
xor eax, eax
jmp 0x1401b2d3e
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 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 0x1401b2d79
xor ebx, ebx
jmp 0x1401b2d87
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 + 0x80]
call sub.ntdll.dll_memset
mov dword [rsp + 0x290], 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, [0x14036a540]
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 + 0x84]
nop
nop
movzx ecx, word [rax]
mov word [r8], cx
add rax, 2
add r8, 2
test cx, cx
jne 0x1401b2e20
test ebx, ebx
js 0x1401b2e4d
lea r9, [rsp + 0x80]
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 0x1401b2e6d
xor eax, eax
jmp 0x1401b2e7b
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 0x1401b2eb9
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 rbx, qword [rsp + 0x50]
jmp 0x1401b3558
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0xc0]
test eax, eax
je 0x1401b2eea
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 rbx, qword [rsp + 0x50]
jmp 0x1401b3558
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0xb8]
test eax, eax
je 0x1401b2f1b
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 rbx, qword [rsp + 0x50]
jmp 0x1401b3558
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 0x1401b353c
mov dword [rsp + 0x28], 0x16
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x2c], 0
mov dword [rsp + 0x40], 1
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 0x1401b2fa9
xor r12d, r12d
jmp 0x1401b2fb7
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 + 0x80]
call sub.ntdll.dll_memset
mov dword [rsp + 0x290], 0x14
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0x48]
cmp eax, 0xb
je 0x1401b3028
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, [0x14036a550]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_2342]
jmp 0x1401b3041
lea r8, [0x14036846c]
lea rdx, [0x14036a560]
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 + 0x84]
nop
nop
nop
movzx ecx, word [rax]
mov word [rdx], cx
add rax, 2
add rdx, 2
test cx, cx
jne 0x1401b3060
test r12d, r12d
js 0x1401b308e
lea r9, [rsp + 0x80]
xor r8d, r8d
mov edx, r12d
mov rcx, r13
call fcn.1401e6950
xor edx, edx
mov r8d, 0x220
lea rcx, [rsp + 0x80]
call sub.ntdll.dll_memset
mov dword [rsp + 0x290], 6
mov byte [rsp + reloc.MFC80U.DLL_Ordinal_660], 1
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0x48]
mov dword [rsp + 0x29c], eax
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0xf0]
mov dword [rsp + 0x298], eax
test r12d, r12d
js 0x1401b30f9
lea r9, [rsp + 0x80]
mov r8d, 1
mov edx, r12d
mov rcx, r13
call fcn.1401e6950
xor edx, edx
mov r8d, Ordinal_280
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_672]
call sub.ntdll.dll_memset
mov dword [rsp + reloc.MFC80U.DLL_Ordinal_672], Ordinal_280
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_672]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
xor edx, edx
mov r8d, 0x220
lea rcx, [rsp + 0x80]
call sub.ntdll.dll_memset
mov dword [rsp + 0x290], 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, rsi
jl 0x1401b31a0
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 0x1401b3228
cmp rax, 0x40000000
jl 0x1401b31d0
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 0x1401b3228
cmp rax, 0x100000
jl 0x1401b3201
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 0x1401b3228
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 + 0x84]
nop
movzx ecx, word [rax]
mov word [rdx], cx
add rax, 2
add rdx, 2
test cx, cx
jne 0x1401b3250
test r12d, r12d
js 0x1401b3281
lea r9, [rsp + 0x80]
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 rsi, 0x10000000000
cmp r11, rsi
jl 0x1401b32f8
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 0x1401b3382
cmp r11, 0x40000000
jl 0x1401b3329
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 0x1401b3382
cmp r11, 0x100000
jl 0x1401b335b
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 0x1401b3382
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 + 0x84]
nop
nop
nop
movzx ecx, word [rax]
mov word [rdx], cx
add rax, 2
add rdx, 2
test cx, cx
jne 0x1401b33b0
test r12d, r12d
js 0x1401b33e1
lea r9, [rsp + 0x80]
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 0x1401b344f
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0xc0]
test eax, eax
je 0x1401b3427
call fcn.140049500
mov r8, qword [rax]
lea rdx, [0x14036a568]
mov rcx, rax
call qword [r8]
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_788]
jmp 0x1401b34d4
call fcn.140049500
mov r8, qword [rax]
lea rdx, [0x14036a578]
mov rcx, rax
call qword [r8]
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_788]
jmp 0x1401b34d4
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0xb0]
mov ecx, dword [rax]
cmp ecx, 1
jne 0x1401b3477
lea rdx, [0x14036a588]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_788]
jmp 0x1401b34d4
cmp ecx, 2
jne 0x1401b3490
lea rdx, [0x14036a590]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_788]
jmp 0x1401b34d4
cmp ecx, 3
jne 0x1401b34a9
lea rdx, [0x14036a598]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_788]
jmp 0x1401b34d4
cmp ecx, 6
jne 0x1401b34c2
lea rdx, [0x14036a5a0]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC80U.DLL_Ordinal_788]
jmp 0x1401b34d4
lea rdx, [0x14036a5a8]
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 + 0x84]
nop
nop
nop
movzx ecx, word [rax]
mov word [r8], cx
add rax, 2
add r8, 2
test cx, cx
jne 0x1401b34f0
test r12d, r12d
js 0x1401b3522
lea r9, [rsp + 0x80]
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 0x1401b2f60
mov r12, qword [rsp + 0x60]
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 rbx, qword [rsp + 0x50]
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x20]
mov r14, rax
test rax, rax
mov ebp, dword [rsp + 0x58]
jne 0x1401b2cd7
mov rcx, r13
call fcn.1401e95e0
xor edx, edx
lea r8d, [rdx + 1]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x420]
call qword [sym.imp.USER32.dll_InvalidateRect]
cmp dword [rbx + 0x1c], 0
jne 0x1401b35a2
xor edx, edx
mov rcx, r13
call fcn.1401e74d0
mov rcx, qword [rsp + 0x3c0]
xor rcx, rsp
call fcn.140161080
lea r11, [rsp + reloc.MFC80U.DLL_Ordinal_1040]
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