Function at 0x1800edb20
Capabilities:
Check os version

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x400]
sub rsp, 0x500
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rsp + 0x558], rbx
mov rax, qword [0x1804cc010]
xor rax, rsp
mov qword [rbp + 0x3f0], rax
mov qword [rsp + 0x60], r8
mov r12, rdx
mov rsi, rcx
mov r13d, 1
mov ebx, r13d
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40d
mov rcx, qword [rcx + 0x2f8]
call qword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
cmp eax, ebx
jl 0x1800edbe6
nop
movsxd r9, ebx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
mov r8, qword [rsi + 8]
lea rcx, [rbp + 0x70]
call fcn.1800eca80
lea r9, [rbp + 0x70]
xor r8d, r8d
mov edx, 0x433
mov rcx, qword [rsi + 0x2f8]
call qword [sym.imp.USER32.dll_SendMessageW]
inc ebx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40d
mov rcx, qword [rsi + 0x2f8]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp ebx, eax
mov ecx, 0
jle 0x1800edb90
movzx eax, byte [0x1804cd541]
mov ebx, 0xa
test al, al
je 0x1800edbfc
mov dword [rsp + 0x40], ebx
jmp 0x1800edc1b
mov r8d, 0x60
mov edx, dword [0x1804cf338]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [rsp + 0x40], eax
movzx eax, byte [0x1804cd541]
test al, al
je 0x1800edc27
mov r14d, 8
jmp 0x1800edc47
mov r8d, 0x60
mov edx, dword [0x1804ce77c]
lea ecx, [r8 - 0x58]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r14d, eax
movzx eax, byte [0x1804cd541]
test al, al
je 0x1800edc51
mov dword [rsp + 0x4c], ebx
jmp 0x1800edc70
mov r8d, 0x60
mov edx, dword [0x1804cf338]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [rsp + 0x4c], eax
movzx eax, byte [0x1804cd541]
test al, al
je 0x1800edc7b
mov edi, 0x2a
jmp 0x1800edc9a
mov r8d, 0x60
mov edx, dword [0x1804ce77c]
lea ecx, [r8 - 0x36]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov edi, eax
movzx eax, byte [0x1804cd541]
test al, al
je 0x1800edca8
mov dword [rsp + 0x48], 0x50
jmp 0x1800edcc9
mov r8d, 0x60
mov edx, dword [0x1804cf338]
lea ecx, [r8 - 0x10]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [rsp + 0x48], eax
movzx eax, byte [0x1804cd541]
test al, al
je 0x1800edcd5
mov r15d, 0x55
jmp 0x1800edcf5
mov r8d, 0x60
mov edx, dword [0x1804cf338]
lea ecx, [r8 - 0xb]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r15d, eax
movzx eax, byte [0x1804cd541]
test al, al
je 0x1800edd03
mov dword [rsp + 0x54], 0x92
jmp 0x1800edd24
mov r8d, 0x60
mov edx, dword [0x1804cf338]
lea ecx, [r8 + 0x32]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [rsp + 0x54], eax
movzx eax, byte [0x1804cd541]
test al, al
je 0x1800edd32
mov dword [rsp + 0x58], 0x11
jmp 0x1800edd53
mov r8d, 0x60
mov edx, dword [0x1804ce77c]
lea ecx, [r8 - 0x4f]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [rsp + 0x58], eax
movzx eax, byte [0x1804cd541]
test al, al
jne 0x1800edd9b
mov r8d, 0x60
mov edx, dword [0x1804ce77c]
lea ecx, [r8 - 0x45]
call qword [sym.imp.KERNEL32.dll_MulDiv]
movzx eax, byte [0x1804cd541]
test al, al
jne 0x1800edd9b
mov r8d, 0x60
mov edx, dword [0x1804ce77c]
lea ecx, [r8 - 0x48]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [rsp + 0x50], eax
movzx eax, byte [0x1804cd541]
jmp 0x1800edda3
mov dword [rsp + 0x50], 0x18
test al, al
je 0x1800eddae
mov dword [rsp + 0x44], r13d
jmp 0x1800eddc7
mov r8d, 0x60
mov edx, dword [0x1804cf338]
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [rsp + 0x44], eax
xor edx, edx
mov r8d, 0x1f0
lea rcx, [rbp + 0xd4]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0xd0], 0x1f4
xor r9d, r9d
lea r8, [rbp + 0xd0]
mov edx, 0x1f4
lea ecx, [r9 + 0x29]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp byte [0x1804cd541], 0
je 0x1800ede13
mov dword [rbp + 0x1b0], 0xfffffff4
jmp 0x1800ede2d
movss xmm0, dword [0x1804ce7ac]
mulss xmm0, dword [0x1803e7580]
cvttss2si eax, xmm0
mov dword [rbp + 0x1b0], eax
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov qword [rsp + 0x68], rax
mov dword [rbp + 0x1c0], 0x2bc
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov qword [rsp + 0x70], rax
movzx ecx, byte [0x1804cd541]
test cl, cl
je 0x1800ede6d
mov eax, 0x12
jmp 0x1800ede8a
mov r8d, 0x60
mov edx, dword [0x1804cf338]
lea ecx, [r8 - 0x4e]
call qword [sym.imp.KERNEL32.dll_MulDiv]
movzx ecx, byte [0x1804cd541]
add eax, dword [rsp + 0x40]
mov dword [rbp + 0x50], eax
test cl, cl
jne 0x1800edeab
mov r8d, 0x60
mov edx, dword [0x1804ce77c]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov ebx, eax
lea ecx, [rbx + r14]
mov dword [rbp + 0x54], ecx
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 8]
sub eax, dword [rsp + 0x44]
sub eax, dword [rsp + 0x4c]
mov dword [rbp + 0x58], eax
mov eax, dword [rsp + 0x50]
add eax, ecx
mov dword [rbp + 0x5c], eax
mov edx, 0x333333
mov rcx, r12
call qword [sym.imp.GDI32.dll_SetTextColor]
mov rdx, qword [rsp + 0x70]
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
mov rbx, rax
mov qword [rsp + 0x20], 0
mov r9b, 0xfa
lea r8, [rbp + 0x50]
mov rdx, r12
lea rcx, [rbp + 0x70]
call fcn.18021cb40
nop
mov dword [rsp + 0x20], 0x20
lea r9, [rbp + 0x50]
mov r8d, 0xffffffff
lea rdx, [0x1803c7d30]
mov rcx, qword [rbp + 0x80]
call qword [sym.imp.USER32.dll_DrawTextW]
nop
lea rcx, [rbp + 0x70]
call fcn.18021cdc0
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
add edi, r14d
mov ebx, dword [rsp + 0x40]
add dword [rsp + 0x48], ebx
mov rdx, qword [rsp + 0x68]
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x60], xmm0
xor r14d, r14d
mov ecx, dword [rsp + 0x44]
add ecx, ebx
mov dword [rsp + 0x60], ecx
add r15d, ebx
mov dword [rsp + 0x40], r15d
mov eax, dword [rsp + 0x54]
add eax, r15d
mov dword [rsp + 0x4c], eax
lea rbx, [0x1803b3e60]
mov dword [rbp + 0x50], ecx
mov dword [rbp + 0x54], edi
mov eax, dword [rsp + 0x48]
mov dword [rbp + 0x58], eax
mov eax, dword [rsp + 0x50]
add eax, edi
mov dword [rsp + 0x44], eax
mov dword [rbp + 0x5c], eax
mov edx, 0x666666
mov rcx, r12
call qword [sym.imp.GDI32.dll_SetTextColor]
mov rbx, qword [rbx + r14*8]
mov qword [rsp + 0x20], 0
mov r9b, 0xfa
lea r8, [rbp + 0x50]
mov rdx, r12
lea rcx, [rbp - 0x70]
call fcn.18021cb40
nop
mov dword [rsp + 0x20], 0x22
lea r9, [rbp + 0x50]
mov r8d, 0xffffffff
mov rdx, rbx
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.USER32.dll_DrawTextW]
nop
lea rcx, [rbp - 0x70]
call fcn.18021cdc0
mov dword [rbp + 0x50], r15d
mov dword [rbp + 0x54], edi
mov eax, dword [rsp + 0x4c]
mov dword [rbp + 0x58], eax
mov eax, dword [rsp + 0x58]
add eax, edi
mov dword [rbp + 0x5c], eax
mov edx, 0x333333
mov rcx, r12
call qword [sym.imp.GDI32.dll_SetTextColor]
lea rdi, [r14 + 3]
shl rdi, 5
add rdi, rsi
mov rbx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1800ee042
mov rbx, qword [rdi]
mov qword [rsp + 0x20], 0
mov r9b, 0xfa
lea r8, [rbp + 0x50]
mov rdx, r12
lea rcx, [rbp - 0x10]
call fcn.18021cb40
nop
mov dword [rsp + 0x20], 0x8020
lea r9, [rbp + 0x50]
mov r8d, 0xffffffff
mov rdx, rbx
mov rcx, qword [rbp]
call qword [sym.imp.USER32.dll_DrawTextW]
nop
lea rcx, [rbp - 0x10]
call fcn.18021cdc0
lea rcx, [rbp + 0x60]
call qword [sym.imp.USER32.dll_SetRectEmpty]
mov r15, rdi
cmp qword [rdi + 0x18], 8
jb 0x1800ee09f
mov r15, qword [rdi]
mov rdx, qword [rsp + 0x68]
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
mov rbx, rax
mov dword [rsp + 0x20], 0x400
lea r9, [rbp + 0x60]
mov r8d, 0xffffffff
mov rdx, r15
mov rcx, r12
call qword [sym.imp.USER32.dll_DrawTextW]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [rbp + 0x68]
sub eax, dword [rbp + 0x60]
cmp eax, dword [rsp + 0x54]
jle 0x1800ee1f3
movsxd r15, r13d
cmp qword [rdi + 0x18], 8
jb 0x1800ee0f7
mov rdi, qword [rdi]
mov rbx, qword [rsi + 8]
xor eax, eax
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rax
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rax
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rax
mov qword [rbp + 0xb0], rax
mov dword [rbp + 0x2d0], VarUI4FromDisp
xor edx, edx
mov r8d, VarUI4FromDisp
lea rcx, [rbp + 0x2d4]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x2d0]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1800ee173
cmp dword [rbp + 0x2d4], 6
mov eax, 0x48
jae 0x1800ee178
mov eax, 0x40
mov dword [rbp + 0x70], eax
mov dword [rbp + 0x74], 0
test r13d, r13d
jne 0x1800ee1a1
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetParent]
mov qword [rbp + 0x78], rax
or dword [rbp + 0x74], 1
mov qword [rbp + 0x80], rbx
jmp 0x1800ee1ac
mov qword [rbp + 0x78], rbx
mov qword [rbp + 0x80], r15
movups xmm0, xmmword [rbp + 0x50]
movups xmmword [rbp + 0x88], xmm0
mov rax, qword [0x1804dce80]
mov qword [rbp + 0x98], rax
mov qword [rbp + 0xa0], rdi
mov qword [rbp + 0xa8], 0
lea r9, [rbp + 0x70]
xor r8d, r8d
mov edx, 0x432
mov rcx, qword [rsi + 0x2f8]
call qword [sym.imp.USER32.dll_SendMessageW]
inc r13d
mov edi, dword [rsp + 0x44]
cmp r14, 4
jne 0x1800ee224
cmp byte [0x1804cd541], 0
je 0x1800ee20c
lea eax, [r14 + 8]
jmp 0x1800ee222
mov r8d, 0x60
mov edx, dword [0x1804ce77c]
lea ecx, [r8 - 0x54]
call qword [sym.imp.KERNEL32.dll_MulDiv]
add edi, eax
inc r14
cmp r14, 0x14
mov r15d, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x60]
lea rbx, [0x1803b3e60]
jl 0x1800edf93
mov rdx, qword [rsp + 0x78]
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.1803868f0
mov rbx, qword [rsp + 0x558]
add rsp, 0x500
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret