Function at 0x1800edf00
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 [0x1804ca010]
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 0x1800edfc6
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.1800ece60
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 0x1800edf70
movzx eax, byte [0x1804cb541]
mov ebx, 0xa
test al, al
je 0x1800edfdc
mov dword [rsp + 0x40], ebx
jmp 0x1800edffb
mov r8d, 0x60
mov edx, dword [0x1804cd338]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [rsp + 0x40], eax
movzx eax, byte [0x1804cb541]
test al, al
je 0x1800ee007
mov r14d, 8
jmp 0x1800ee027
mov r8d, 0x60
mov edx, dword [0x1804cc77c]
lea ecx, [r8 - 0x58]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r14d, eax
movzx eax, byte [0x1804cb541]
test al, al
je 0x1800ee031
mov dword [rsp + 0x4c], ebx
jmp 0x1800ee050
mov r8d, 0x60
mov edx, dword [0x1804cd338]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [rsp + 0x4c], eax
movzx eax, byte [0x1804cb541]
test al, al
je 0x1800ee05b
mov edi, 0x2a
jmp 0x1800ee07a
mov r8d, 0x60
mov edx, dword [0x1804cc77c]
lea ecx, [r8 - 0x36]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov edi, eax
movzx eax, byte [0x1804cb541]
test al, al
je 0x1800ee088
mov dword [rsp + 0x48], 0x50
jmp 0x1800ee0a9
mov r8d, 0x60
mov edx, dword [0x1804cd338]
lea ecx, [r8 - 0x10]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [rsp + 0x48], eax
movzx eax, byte [0x1804cb541]
test al, al
je 0x1800ee0b5
mov r15d, 0x55
jmp 0x1800ee0d5
mov r8d, 0x60
mov edx, dword [0x1804cd338]
lea ecx, [r8 - 0xb]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r15d, eax
movzx eax, byte [0x1804cb541]
test al, al
je 0x1800ee0e3
mov dword [rsp + 0x54], 0x92
jmp 0x1800ee104
mov r8d, 0x60
mov edx, dword [0x1804cd338]
lea ecx, [r8 + 0x32]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [rsp + 0x54], eax
movzx eax, byte [0x1804cb541]
test al, al
je 0x1800ee112
mov dword [rsp + 0x58], 0x11
jmp 0x1800ee133
mov r8d, 0x60
mov edx, dword [0x1804cc77c]
lea ecx, [r8 - 0x4f]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [rsp + 0x58], eax
movzx eax, byte [0x1804cb541]
test al, al
jne 0x1800ee17b
mov r8d, 0x60
mov edx, dword [0x1804cc77c]
lea ecx, [r8 - 0x45]
call qword [sym.imp.KERNEL32.dll_MulDiv]
movzx eax, byte [0x1804cb541]
test al, al
jne 0x1800ee17b
mov r8d, 0x60
mov edx, dword [0x1804cc77c]
lea ecx, [r8 - 0x48]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [rsp + 0x50], eax
movzx eax, byte [0x1804cb541]
jmp 0x1800ee183
mov dword [rsp + 0x50], 0x18
test al, al
je 0x1800ee18e
mov dword [rsp + 0x44], r13d
jmp 0x1800ee1a7
mov r8d, 0x60
mov edx, dword [0x1804cd338]
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 [0x1804cb541], 0
je 0x1800ee1f3
mov dword [rbp + 0x1b0], 0xfffffff4
jmp 0x1800ee20d
movss xmm0, dword [0x1804cc7ac]
mulss xmm0, dword [0x1803e66c0]
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 [0x1804cb541]
test cl, cl
je 0x1800ee24d
mov eax, 0x12
jmp 0x1800ee26a
mov r8d, 0x60
mov edx, dword [0x1804cd338]
lea ecx, [r8 - 0x4e]
call qword [sym.imp.KERNEL32.dll_MulDiv]
movzx ecx, byte [0x1804cb541]
add eax, dword [rsp + 0x40]
mov dword [rbp + 0x50], eax
test cl, cl
jne 0x1800ee28b
mov r8d, 0x60
mov edx, dword [0x1804cc77c]
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.18021cdd0
nop
mov dword [rsp + 0x20], 0x20
lea r9, [rbp + 0x50]
mov r8d, 0xffffffff
lea rdx, [0x1803c6e78]
mov rcx, qword [rbp + 0x80]
call qword [sym.imp.USER32.dll_DrawTextW]
nop
lea rcx, [rbp + 0x70]
call fcn.18021d050
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, [0x1803b2e40]
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.18021cdd0
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.18021d050
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 0x1800ee422
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.18021cdd0
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.18021d050
lea rcx, [rbp + 0x60]
call qword [sym.imp.USER32.dll_SetRectEmpty]
mov r15, rdi
cmp qword [rdi + 0x18], 8
jb 0x1800ee47f
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 0x1800ee5d3
movsxd r15, r13d
cmp qword [rdi + 0x18], 8
jb 0x1800ee4d7
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 0x1800ee553
cmp dword [rbp + 0x2d4], 6
mov eax, 0x48
jae 0x1800ee558
mov eax, 0x40
mov dword [rbp + 0x70], eax
mov dword [rbp + 0x74], 0
test r13d, r13d
jne 0x1800ee581
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 0x1800ee58c
mov qword [rbp + 0x78], rbx
mov qword [rbp + 0x80], r15
movups xmm0, xmmword [rbp + 0x50]
movups xmmword [rbp + 0x88], xmm0
mov rax, qword [0x1804dae40]
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 0x1800ee604
cmp byte [0x1804cb541], 0
je 0x1800ee5ec
lea eax, [r14 + 8]
jmp 0x1800ee602
mov r8d, 0x60
mov edx, dword [0x1804cc77c]
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, [0x1803b2e40]
jl 0x1800ee373
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.180385c10
mov rbx, qword [rsp + 0x558]
add rsp, 0x500
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret