Function at 0x1800f2290
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 [0x1804e0010]
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 0x1800f2356
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.1800f11f0
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 0x1800f2300
movzx eax, byte [0x1804e2bfc]
mov ebx, 0xa
test al, al
je 0x1800f236c
mov dword [rsp + 0x40], ebx
jmp 0x1800f238b
mov r8d, 0x60
mov edx, dword [0x1804e3778]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [rsp + 0x40], eax
movzx eax, byte [0x1804e2bfc]
test al, al
je 0x1800f2397
mov r14d, 8
jmp 0x1800f23b7
mov r8d, 0x60
mov edx, dword [0x1804e2c24]
lea ecx, [r8 - 0x58]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r14d, eax
movzx eax, byte [0x1804e2bfc]
test al, al
je 0x1800f23c1
mov dword [rsp + 0x4c], ebx
jmp 0x1800f23e0
mov r8d, 0x60
mov edx, dword [0x1804e3778]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [rsp + 0x4c], eax
movzx eax, byte [0x1804e2bfc]
test al, al
je 0x1800f23eb
mov edi, 0x2a
jmp 0x1800f240a
mov r8d, 0x60
mov edx, dword [0x1804e2c24]
lea ecx, [r8 - 0x36]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov edi, eax
movzx eax, byte [0x1804e2bfc]
test al, al
je 0x1800f2418
mov dword [rsp + 0x48], 0x50
jmp 0x1800f2439
mov r8d, 0x60
mov edx, dword [0x1804e3778]
lea ecx, [r8 - 0x10]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [rsp + 0x48], eax
movzx eax, byte [0x1804e2bfc]
test al, al
je 0x1800f2445
mov r15d, 0x55
jmp 0x1800f2465
mov r8d, 0x60
mov edx, dword [0x1804e3778]
lea ecx, [r8 - 0xb]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r15d, eax
movzx eax, byte [0x1804e2bfc]
test al, al
je 0x1800f2473
mov dword [rsp + 0x54], 0x92
jmp 0x1800f2494
mov r8d, 0x60
mov edx, dword [0x1804e3778]
lea ecx, [r8 + 0x32]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [rsp + 0x54], eax
movzx eax, byte [0x1804e2bfc]
test al, al
je 0x1800f24a2
mov dword [rsp + 0x58], 0x11
jmp 0x1800f24c3
mov r8d, 0x60
mov edx, dword [0x1804e2c24]
lea ecx, [r8 - 0x4f]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [rsp + 0x58], eax
movzx eax, byte [0x1804e2bfc]
test al, al
jne 0x1800f250b
mov r8d, 0x60
mov edx, dword [0x1804e2c24]
lea ecx, [r8 - 0x45]
call qword [sym.imp.KERNEL32.dll_MulDiv]
movzx eax, byte [0x1804e2bfc]
test al, al
jne 0x1800f250b
mov r8d, 0x60
mov edx, dword [0x1804e2c24]
lea ecx, [r8 - 0x48]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [rsp + 0x50], eax
movzx eax, byte [0x1804e2bfc]
jmp 0x1800f2513
mov dword [rsp + 0x50], 0x18
test al, al
je 0x1800f251e
mov dword [rsp + 0x44], r13d
jmp 0x1800f2537
mov r8d, 0x60
mov edx, dword [0x1804e3778]
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 [0x1804e2bfc], 0
je 0x1800f2583
mov dword [rbp + 0x1b0], 0xfffffff4
jmp 0x1800f259d
movss xmm0, dword [0x1804e2c48]
mulss xmm0, dword [0x1803f71c0]
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 [0x1804e2bfc]
test cl, cl
je 0x1800f25dd
mov eax, 0x12
jmp 0x1800f25fa
mov r8d, 0x60
mov edx, dword [0x1804e3778]
lea ecx, [r8 - 0x4e]
call qword [sym.imp.KERNEL32.dll_MulDiv]
movzx ecx, byte [0x1804e2bfc]
add eax, dword [rsp + 0x40]
mov dword [rbp + 0x50], eax
test cl, cl
jne 0x1800f261b
mov r8d, 0x60
mov edx, dword [0x1804e2c24]
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.180220cd0
nop
mov dword [rsp + 0x20], 0x20
lea r9, [rbp + 0x50]
mov r8d, 0xffffffff
lea rdx, [0x1803d6bd8]
mov rcx, qword [rbp + 0x80]
call qword [sym.imp.USER32.dll_DrawTextW]
nop
lea rcx, [rbp + 0x70]
call fcn.180220f50
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, [0x1803c1ed0]
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.180220cd0
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.180220f50
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 0x1800f27b2
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.180220cd0
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.180220f50
lea rcx, [rbp + 0x60]
call qword [sym.imp.USER32.dll_SetRectEmpty]
mov r15, rdi
cmp qword [rdi + 0x18], 8
jb 0x1800f280f
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 0x1800f2963
movsxd r15, r13d
cmp qword [rdi + 0x18], 8
jb 0x1800f2867
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 0x1800f28e3
cmp dword [rbp + 0x2d4], 6
mov eax, 0x48
jae 0x1800f28e8
mov eax, 0x40
mov dword [rbp + 0x70], eax
mov dword [rbp + 0x74], 0
test r13d, r13d
jne 0x1800f2911
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 0x1800f291c
mov qword [rbp + 0x78], rbx
mov qword [rbp + 0x80], r15
movups xmm0, xmmword [rbp + 0x50]
movups xmmword [rbp + 0x88], xmm0
mov rax, qword [0x1804f1790]
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 0x1800f2994
cmp byte [0x1804e2bfc], 0
je 0x1800f297c
lea eax, [r14 + 8]
jmp 0x1800f2992
mov r8d, 0x60
mov edx, dword [0x1804e2c24]
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, [0x1803c1ed0]
jl 0x1800f2703
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.180393f50
mov rbx, qword [rsp + 0x558]
add rsp, 0x500
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret