Function at 0x45f2a0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x504e35
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
mov eax, dword [0x54c154]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x18], 0
push 0xa0
mov dword [ebp - 4], 0
call fcn.004a4626
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x50], esi
push 0xa0
push 0
push esi
mov byte [ebp - 4], 1
call fcn.004d78d0
add esp, 0xc
mov dword [ebp - 0x40], 0
xor eax, eax
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
push 0xe
push str.ProductAgentUI
call fcn.00415d70
movups xmm0, xmmword [ebp - 0x40]
mov dword [esi], 0
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
mov word [ebp - 0x40], ax
movq xmm0, qword [ebp - 0x30]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
add esi, 0x18
push 2
push esi
mov dword [ebp - 0x1c], esi
call fcn.00490901
add esi, 0x30
mov byte [ebp - 4], 4
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
mov dword [esi], eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 0x50
lfence
call fcn.004a4626
add esp, 0xc
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 6
mov dword [esi + 0x18], 7
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
push dword [esi + 4]
push 0x10
call fcn.0041efd0
mov esi, dword [ebp - 0x24]
push 2
lea eax, [esi + 0x68]
push eax
call fcn.00490901
add esp, 8
mov byte [esi + 0x9c], 0
lea ecx, [ebp - 0x40]
call fcn.004161c0
push esi
mov byte [ebp - 4], 0
push 0x45ed00
mov dword [ebp - 0x18], esi
call fcn.004b4c80
add esp, 8
test eax, eax
jne 0x45f4b1
push str.DllProtectSetEventsCbk_failed
lea ecx, [ebp - 0x70]
call fcn.00463ad0
xor esi, esi
add esp, 4
mov ecx, dword [eax]
movups xmm1, xmmword [eax + 8]
mov edx, dword [eax + 4]
movq xmm0, qword [eax + 0x18]
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 7
mov word [eax + 8], si
xor eax, eax
mov dword [edi], ecx
mov dword [edi + 4], edx
movups xmmword [edi + 8], xmm1
mov dword [ebp - 0x48], ecx
lea ecx, [ebp - 0x40]
movq qword [ebp - 0x30], xmm0
movups xmmword [ebp - 0x40], xmm1
mov dword [ebp - 0x44], edx
movq qword [edi + 0x18], xmm0
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [edi + 0x20], 1
call fcn.004161c0
lea ecx, [ebp - 0x68]
call fcn.004161c0
jmp 0x45f585
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movlpd qword [ebp - 0x20], xmm0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x20], esi
push str.ProductAgentUI
mov byte [ebp - 4], 8
push 0x6a
mov byte [ebp - 0x1b], 0
call fcn.004b4d10
add esp, 8
mov byte [ebp - 0x25], 1
cmp eax, 1
sete byte [ebp - 0x26]
mov cx, word [ebp - 0x26]
mov word [ebp - 0x1c], cx
mov byte [ebp - 4], 9
jne 0x45f509
mov dword [edi], esi
mov word [edi + 4], cx
mov byte [edi + 0x20], 0
jmp 0x45f58e
push str.DllProtectStart_failed
lea ecx, [ebp - 0x70]
call fcn.00463ad0
xor esi, esi
add esp, 4
mov ecx, dword [eax]
movups xmm1, xmmword [eax + 8]
mov edx, dword [eax + 4]
movq xmm0, qword [eax + 0x18]
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 7
mov word [eax + 8], si
xor eax, eax
mov dword [edi], ecx
mov dword [edi + 4], edx
movups xmmword [edi + 8], xmm1
mov dword [ebp - 0x48], ecx
lea ecx, [ebp - 0x40]
movq qword [ebp - 0x30], xmm0
movups xmmword [ebp - 0x40], xmm1
mov dword [ebp - 0x44], edx
movq qword [edi + 0x18], xmm0
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [edi + 0x20], 1
call fcn.004161c0
lea ecx, [ebp - 0x68]
call fcn.004161c0
mov byte [ebp - 4], 0xb
call fcn.004b48a0
mov esi, dword [ebp - 0x24]
push esi
call fcn.00462090
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a44cd
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret