Function at 0x466750
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50588e
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x54c154]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
push 0x4b0
mov dword [ebp - 0x14], 0
call fcn.004a4626
mov esi, eax
mov dword [ebp - 0x14], esi
push 0x4b0
push 0
push esi
mov dword [ebp - 4], 0
call fcn.004d78d0
add esp, 0x10
mov ecx, esi
call fcn.00476860
mov ecx, edi
mov byte [ebp - 4], 1
neg ecx
mov dword [esi], vtable.progress_view.0
lea eax, [edi + 4]
mov dword [esi + 0x14], vtable.progress_view.1.0
sbb ecx, ecx
and ecx, eax
mov dword [esi + 0x460], ecx
lea ecx, [esi + 0x464]
call fcn.0041b8b0
mov byte [ebp - 4], 2
lea ebx, [esi + 0x498]
mov dword [ebp - 0x18], ebx
lea edi, [ebx + 0xc]
mov eax, dword [0x5575f8]
mov dword [ebx], vtable.sciter::behavior_factory.0
mov dword [ebx + 8], str.drag_window
mov dword [ebx + 4], eax
mov dword [ebp - 0x18], edi
mov dword [0x5575f8], ebx
mov dword [edi], 0
mov dword [edi + 4], 0
push 0xc
lfence
call fcn.004a4626
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi], eax
mov dword [ebx], vtable.sciter::drag_window_factory.0
mov ebx, dword [ebp - 0x1c]
mov byte [ebp - 4], 3
lea ecx, [ebx + 0x4c]
mov dword [esi + 0x4ac], ecx
mov dword [esi + 0x24], 0x820a0008
mov dword [esi + 0x28], 0xc0000
mov eax, dword [ecx + 0x30]
mov dword [0x557a28], eax
mov dword [0x557a20], eax
lea eax, [ecx + 0x34]
push eax
lea ecx, [esi + 0x478]
call fcn.0041eab0
push str.productagentuiprogress
lea eax, [esi + 0x254]
push 0x100
push eax
call fcn.004dab23
mov dword [ebp - 0x14], esi
push 0xfffe
mov dword [ebp - 4], 4
call fcn.004a4905
push 0xfffe
mov edi, eax
push 0
push edi
call fcn.004d78d0
add esp, 0x1c
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 5
push 0x7fff
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
push edi
call fcn.004d739e
push str._skinimagesProductAgent
xor ecx, ecx
push 0x7fff
push edi
mov word [eax], cx
call fcn.004daaae
mov ecx, edi
mov dword [ebp - 0x34], 0
add esp, 0x14
mov dword [ebp - 0x24], 0
xor eax, eax
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x466904
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x34]
call fcn.00415d70
push edi
call fcn.004a450c
add esp, 4
mov byte [ebp - 4], 6
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 8
lea ecx, [esi + 0x14]
cmovae eax, dword [ebp - 0x34]
push eax
push 0x14
push 0
call fcn.00476a60
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
mov edi, eax
call fcn.004161c0
cmp edi, 1
jne 0x466a2c
cmp byte [ebp + 8], 0
jne 0x466967
mov ecx, dword [ebx + 8]
call fcn.00467df0
mov eax, dword [ebx + 0x10]
mov dword [ebx + 0x10], esi
mov esi, eax
mov ecx, dword [ebx + 0x10]
add ecx, 0x14
mov dword [ebp - 0x14], esi
push 0
push 0x3e8
push 0
mov eax, dword [ecx]
call dword [eax]
push eax
call dword [sym.imp.USER32.dll_SetTimer]
cmp byte [ebp + 8], 0
je 0x466a0b
mov ecx, dword [ebx + 0x10]
add ecx, 0x14
push 0
push 1
push 0x8032
mov eax, dword [ecx]
call dword [eax]
push eax
call dword [sym.imp.USER32.dll_ChangeWindowMessageFilterEx]
test eax, eax
jne 0x466a03
push str.progress_controller::show
lea edx, [eax + 8]
lea ecx, [ebp - 0xdc]
call fcn.0040a850
add esp, 4
mov edi, eax
mov byte [ebp - 4], 7
cmp byte [edi + 0x48], 0
je 0x4669e0
push str.ChangeWindowMessageFilterEx_WM_APP_ATTACH_WND_err
push edi
call fcn.004110a0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [edi + 0x48], 0
je 0x4669f4
push eax
mov ecx, edi
call fcn.00412fb0
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 4
call fcn.0040a6f0
mov ecx, dword [ebx + 0x10]
call fcn.00469cb0
mov ecx, dword [ebx + 0x10]
push 1
push 1
mov eax, dword [ecx]
call dword [eax + 0x7c]
mov ecx, dword [ebx + 0x10]
mov dword [ebx + 0x10], 0
test ecx, ecx
je 0x466a2c
mov eax, dword [ecx]
push 1
call dword [eax + 0x74]
test esi, esi
je 0x466a39
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x74]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a44cd
mov esp, ebp
pop ebp
ret 4