Function at 0x1800ee1d0
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 [0x1804cd010]
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 0x1800ee296
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.1800ed130
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 0x1800ee240
movzx eax, byte [0x1804ce541]
mov ebx, 0xa
test al, al
je 0x1800ee2ac
mov dword [rsp + 0x40], ebx
jmp 0x1800ee2cb
mov r8d, 0x60
mov edx, dword [0x1804d0338]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [rsp + 0x40], eax
movzx eax, byte [0x1804ce541]
test al, al
je 0x1800ee2d7
mov r14d, 8
jmp 0x1800ee2f7
mov r8d, 0x60
mov edx, dword [0x1804cf77c]
lea ecx, [r8 - 0x58]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r14d, eax
movzx eax, byte [0x1804ce541]
test al, al
je 0x1800ee301
mov dword [rsp + 0x4c], ebx
jmp 0x1800ee320
mov r8d, 0x60
mov edx, dword [0x1804d0338]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [rsp + 0x4c], eax
movzx eax, byte [0x1804ce541]
test al, al
je 0x1800ee32b
mov edi, 0x2a
jmp 0x1800ee34a
mov r8d, 0x60
mov edx, dword [0x1804cf77c]
lea ecx, [r8 - 0x36]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov edi, eax
movzx eax, byte [0x1804ce541]
test al, al
je 0x1800ee358
mov dword [rsp + 0x48], 0x50
jmp 0x1800ee379
mov r8d, 0x60
mov edx, dword [0x1804d0338]
lea ecx, [r8 - 0x10]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [rsp + 0x48], eax
movzx eax, byte [0x1804ce541]
test al, al
je 0x1800ee385
mov r15d, 0x55
jmp 0x1800ee3a5
mov r8d, 0x60
mov edx, dword [0x1804d0338]
lea ecx, [r8 - 0xb]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r15d, eax
movzx eax, byte [0x1804ce541]
test al, al
je 0x1800ee3b3
mov dword [rsp + 0x54], 0x92
jmp 0x1800ee3d4
mov r8d, 0x60
mov edx, dword [0x1804d0338]
lea ecx, [r8 + 0x32]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [rsp + 0x54], eax
movzx eax, byte [0x1804ce541]
test al, al
je 0x1800ee3e2
mov dword [rsp + 0x58], 0x11
jmp 0x1800ee403
mov r8d, 0x60
mov edx, dword [0x1804cf77c]
lea ecx, [r8 - 0x4f]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [rsp + 0x58], eax
movzx eax, byte [0x1804ce541]
test al, al
jne 0x1800ee44b
mov r8d, 0x60
mov edx, dword [0x1804cf77c]
lea ecx, [r8 - 0x45]
call qword [sym.imp.KERNEL32.dll_MulDiv]
movzx eax, byte [0x1804ce541]
test al, al
jne 0x1800ee44b
mov r8d, 0x60
mov edx, dword [0x1804cf77c]
lea ecx, [r8 - 0x48]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [rsp + 0x50], eax
movzx eax, byte [0x1804ce541]
jmp 0x1800ee453
mov dword [rsp + 0x50], 0x18
test al, al
je 0x1800ee45e
mov dword [rsp + 0x44], r13d
jmp 0x1800ee477
mov r8d, 0x60
mov edx, dword [0x1804d0338]
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 [0x1804ce541], 0
je 0x1800ee4c3
mov dword [rbp + 0x1b0], 0xfffffff4
jmp 0x1800ee4dd
movss xmm0, dword [0x1804cf7ac]
mulss xmm0, dword [0x1803e86f0]
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 [0x1804ce541]
test cl, cl
je 0x1800ee51d
mov eax, 0x12
jmp 0x1800ee53a
mov r8d, 0x60
mov edx, dword [0x1804d0338]
lea ecx, [r8 - 0x4e]
call qword [sym.imp.KERNEL32.dll_MulDiv]
movzx ecx, byte [0x1804ce541]
add eax, dword [rsp + 0x40]
mov dword [rbp + 0x50], eax
test cl, cl
jne 0x1800ee55b
mov r8d, 0x60
mov edx, dword [0x1804cf77c]
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.18021d390
nop
mov dword [rsp + 0x20], 0x20
lea r9, [rbp + 0x50]
mov r8d, 0xffffffff
lea rdx, [0x1803c8d98]
mov rcx, qword [rbp + 0x80]
call qword [sym.imp.USER32.dll_DrawTextW]
nop
lea rcx, [rbp + 0x70]
call fcn.18021d610
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, [0x1803b4e70]
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.18021d390
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.18021d610
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 0x1800ee6f2
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.18021d390
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.18021d610
lea rcx, [rbp + 0x60]
call qword [sym.imp.USER32.dll_SetRectEmpty]
mov r15, rdi
cmp qword [rdi + 0x18], 8
jb 0x1800ee74f
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 0x1800ee8a3
movsxd r15, r13d
cmp qword [rdi + 0x18], 8
jb 0x1800ee7a7
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 0x1800ee823
cmp dword [rbp + 0x2d4], 6
mov eax, 0x48
jae 0x1800ee828
mov eax, 0x40
mov dword [rbp + 0x70], eax
mov dword [rbp + 0x74], 0
test r13d, r13d
jne 0x1800ee851
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 0x1800ee85c
mov qword [rbp + 0x78], rbx
mov qword [rbp + 0x80], r15
movups xmm0, xmmword [rbp + 0x50]
movups xmmword [rbp + 0x88], xmm0
mov rax, qword [0x1804dde70]
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 0x1800ee8d4
cmp byte [0x1804ce541], 0
je 0x1800ee8bc
lea eax, [r14 + 8]
jmp 0x1800ee8d2
mov r8d, 0x60
mov edx, dword [0x1804cf77c]
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, [0x1803b4e70]
jl 0x1800ee643
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.180388400
mov rbx, qword [rsp + 0x558]
add rsp, 0x500
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret