Function at 0x45cd00
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 0x4fc5b5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
mov eax, dword [0x53d058]
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.00498569
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.004cdf10
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.004034d0
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.0048617b
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.00498569
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.0040c2a0
mov esi, dword [ebp - 0x24]
push 2
lea eax, [esi + 0x68]
push eax
call fcn.0048617b
add esp, 8
mov byte [esi + 0x9c], 0
lea ecx, [ebp - 0x40]
call fcn.004033a0
push esi
mov byte [ebp - 4], 0
push 0x45c760
mov dword [ebp - 0x18], esi
call fcn.004a93e0
add esp, 8
test eax, eax
jne 0x45cf11
push str.DllProtectSetEventsCbk_failed
lea ecx, [ebp - 0x70]
call fcn.0045f100
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.004033a0
lea ecx, [ebp - 0x68]
call fcn.004033a0
jmp 0x45cfe5
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.004a9470
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 0x45cf69
mov dword [edi], esi
mov word [edi + 4], cx
mov byte [edi + 0x20], 0
jmp 0x45cfee
push str.DllProtectStart_failed
lea ecx, [ebp - 0x70]
call fcn.0045f100
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.004033a0
lea ecx, [ebp - 0x68]
call fcn.004033a0
mov byte [ebp - 4], 0xb
call fcn.004a9000
mov esi, dword [ebp - 0x24]
push esi
call fcn.0045f000
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.0049852a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret