Function at 0x450d10
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x59f075
mov eax, dword fs:[0]
push eax
sub esp, 0xac
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xd4]
mov eax, dword [0x6285c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x6285c4
call edx
add eax, 0x10
mov dword [esp + 0x94], eax
lea eax, [esp + 0x44]
push eax
mov ecx, 0x5dfff0
mov dword [esp + 0xcc], 0
call fcn.004066b0
lea ecx, [esp + 0x50]
push ecx
mov ecx, 0x5dfffc
mov byte [esp + 0xcc], 1
call fcn.004066b0
lea edx, [esp + 0x1c]
push edx
mov ecx, 0x5e0008
mov byte [esp + 0xcc], 2
call fcn.004066b0
lea eax, [esp + 0x20]
push eax
mov ecx, 0x5e0034
mov byte [esp + 0xcc], 3
call fcn.004066b0
lea ecx, [esp + 0x98]
push ecx
mov byte [esp + 0xcc], 4
call fcn.0048dda0
lea ebx, [esp + 0x1c]
lea edi, [esp + 0x98]
mov byte [esp + 0xc8], 5
call fcn.0042d130
mov edi, dword [esp + 0xd0]
mov eax, dword [edi + 4]
lea edx, [esp + 0xb0]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp]
xor ebx, ebx
cmp eax, ebx
je 0x450e25
mov esi, dword [edi + 0xb4]
cmp esi, ebx
je 0x450e25
push ebx
push 0x12
push eax
mov ebx, 0x32
call fcn.004460b0
xor ebx, ebx
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x6610b8]
push eax
mov dword [esp + 0x1c], ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x450e52
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x48]
push edx
push esi
or ecx, 0xffffffff
call fcn.00446f40
mov esi, dword [edi + 0xb4]
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
mov esi, dword [esi + 0xc]
mov eax, dword [esp + 0x48]
lea ecx, [esi + 0x1c]
add eax, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], eax
mov esi, 0x3f
cmp dword [0x65e100], ebx
jne 0x450e9b
push 0x623830
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov ecx, dword [esp + 0x24]
mov dword [0x65e100], 1
cmp dword [0x623840], 2
jne 0x450ebb
cmp dword [0x623834], 5
jne 0x450ebb
cmp dword [0x623838], 1
jne 0x450ebb
mov esi, 0x44
mov edx, dword [esp + 0x4c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
add edx, esi
mov dword [eax + 4], esi
sub esp, 0x18
mov dword [eax + 8], ecx
mov dword [esp + 0x58], edx
mov dword [eax + 0xc], edx
mov edx, esp
mov dword [esp + 0x3c], esp
push edx
lea ecx, [esp + 0xc4]
call fcn.0042d030
mov eax, dword [esp + 0x40]
push 0x1c1c1c
push eax
push ebx
push edi
mov ecx, ebp
call fcn.0044c940
mov eax, dword [esp + 0x20]
mov ecx, dword [0x66109c]
push eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x450f35
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x48]
push edx
push eax
mov eax, dword [esp + 0x20]
or ecx, 0xffffffff
call fcn.00446f40
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
push 0x26
mov dword [esp + 0x58], ecx
push ebx
lea ecx, [esp + 0x5c]
push ecx
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x4c]
add eax, edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 4]
add edx, ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x24], ebp
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
push 0x7c7c7c
push eax
mov eax, dword [esp + 0x28]
push ecx
mov dword [esp + 0x20], esp
add eax, 0xfffffff0
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], 1
mov esi, 0x2010
mov dword [esp + 0x20], esp
call fcn.004073f0
mov ecx, esp
add eax, 0x10
lea edx, [esp + 0x60]
mov dword [ecx], eax
push edx
mov edx, esi
lea ecx, [esp + 0x34]
call fcn.004c5f0c
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xc4]
mov esi, dword [edi + 0xb8]
mov edx, dword [esi]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x3c], eax
add eax, 0xffffffec
sub ecx, 0xe
mov dword [esp + 0x3c], eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0x40], ecx
add esp, 0x10
mov ecx, esi
call eax
mov eax, dword [esi + 0xc]
mov edi, dword [edi + 0xb8]
mov esi, dword [esp + 0x2c]
mov edx, dword [edi]
sub esi, eax
mov eax, dword [edx + 0xc]
mov ecx, edi
mov dword [esp + 0x24], esi
call eax
mov eax, dword [edi + 0x10]
mov edi, dword [esp + 0x30]
sub edi, eax
mov eax, dword [ebp + 4]
mov dword [esp + 0x28], edi
mov dword [esp + 0x64], ebp
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
sub esp, 0x10
mov dword [esp + 0x84], ecx
xor ecx, ecx
mov dword [esp + 0x80], eax
mov eax, esp
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov edx, dword [esp + 0xe0]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x60]
mov eax, dword [edx + 0xb8]
push 1
push ecx
push eax
lea ecx, [esp + 0x80]
push ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], 1
call fcn.004c6331
add esp, 0x20
test eax, eax
je 0x4510ea
mov edx, dword [esp + 0xd0]
mov eax, dword [edx + 4]
push 3
push eax
call dword [sym.imp.USER32.dll_EndDialog]
test byte [0x660f84], 1
jne 0x451140
or dword [0x660f84], 1
push 0x24
mov byte [esp + 0xcc], 6
call fcn.004f78be
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0xc8], 7
cmp eax, ebx
je 0x451131
push 4
push 4
push eax
mov edi, str.resUninstallSystem_btn_clr.webp
call fcn.00445fc0
mov edi, dword [esp + 0x28]
jmp 0x451133
xor eax, eax
mov dword [0x660f80], eax
mov byte [esp + 0xc8], 5
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x84], esi
sub esi, eax
push ebx
sub esi, 0xa
push esi
lea edx, [esp + 0x8c]
push edx
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
sub esp, 0x10
mov dword [esp + 0x74], ebp
mov ebp, dword [ebp + 4]
mov eax, dword [ebp + 0x10]
mov ebp, dword [ebp + 0xc]
mov dword [esp + 0x84], eax
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x9c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xa0]
push 1
mov dword [eax + 8], ecx
push 0xffffff
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x5c]
push eax
push ebx
push eax
mov eax, dword [0x660f80]
push ebx
push eax
lea ecx, [esp + 0x90]
push ecx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebp
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], 1
call fcn.004c6762
add esp, 0x30
test eax, eax
je 0x451223
mov edx, dword [esp + 0xd0]
mov eax, dword [edx + 4]
push 1
push eax
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, dword [esp + 0xa4]
cmp eax, ebx
je 0x45124a
mov edi, dword [esp + 0xa8]
call fcn.004075a0
mov ecx, dword [esp + 0xa4]
push ecx
call fcn.004f6734
add esp, 4
mov edx, dword [esp + 0x98]
push edx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
call fcn.004f6734
mov byte [esp + 0xcc], 3
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x451297
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc8], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4512bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc8], 1
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4512e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc8], bl
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45130e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xc8], 0xffffffff
mov eax, dword [esp + 0x94]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45133c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 8