Function at 0x45f3b0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x494bde
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x228
push ebx
mov ebx, dword [esp + 0x23c]
push ebp
mov ebp, ecx
mov eax, dword [ebx + 0x1c]
push esi
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0xc], eax
mov eax, ecx
mov esi, dword [ebp + 0x14]
cdq
sub eax, edx
push edi
sar eax, 1
mov dword [esp + 0x1c], eax
mov edi, dword [ebx + 0x18]
mov eax, esi
push 0x64
cdq
sub eax, edx
mov dword [esp + 0x38], ebp
sar eax, 1
mov dword [esp + 0x34], eax
mov eax, edi
sub eax, ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
sub eax, esi
mov dword [esp + 0x30], eax
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
xor eax, eax
cmp esi, eax
mov dword [esp + 0x240], eax
je 0x45f458
mov ecx, dword [esp + 0x10]
push ecx
push edi
mov ecx, esi
call fcn.0047fe10
xor eax, eax
mov dword [esi], 0x4a03e8
mov dword [esi + 0x54], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x60], eax
mov dword [esp + 0x18], esi
jmp 0x45f45c
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
mov dword [ebx + 0x50], eax
mov eax, dword [ebx + 0x48]
test eax, eax
mov dword [esp + 0x240], 0xffffffff
mov dword [ebx + 0x4c], edx
je 0x45f483
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [ebx + 0x4c]
mov ecx, dword [ebx + 0x50]
inc eax
inc ecx
imul eax, ecx
shl eax, 2
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebx + 0x48], eax
test eax, eax
jne 0x45f52a
mov eax, dword [ebx + 0x50]
mov ecx, dword [ebx + 0x4c]
cmp eax, 0xffffffff
je 0x45f4c7
push eax
push ecx
lea edx, [esp + 0x40]
push str.Out_of_memory_error__new_malloc_failed___d__d
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
jmp 0x45f4db
push ecx
lea eax, [esp + 0x3c]
push str.Out_of_memory_error__new_malloc_failed___d
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
mov ecx, str.Set_Window_Size
test ecx, ecx
je 0x45f50f
mov edi, ecx
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x38]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0xb21
push str.C:RapiscanSecure1000TSA_requalImageProcessingSecureIp.h
push str.Set_Window_Size
push 2
mov ecx, 0x4f2950
call fcn.004778e0
mov eax, dword [esp + 0x24]
xor ebp, ebp
test eax, eax
mov dword [esp + 0x20], ebp
jle 0x45f629
mov eax, dword [esp + 0x1c]
lea ecx, [eax*4]
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], 0
test eax, eax
jle 0x45f60d
mov edx, dword [esp + 0x30]
lea eax, [edx*4]
mov dword [esp + 0x1c], eax
mov esi, dword [ebx + 0x50]
mov ecx, dword [ebx + 0x4c]
mov edx, dword [esp + 0x14]
mov edi, ebp
add edi, esi
add ecx, edx
xor edx, edx
cmp ebp, edi
mov dword [esp + 0x28], edi
mov esi, ebp
jge 0x45f5b6
mov eax, dword [esp + 0x14]
cmp eax, ecx
jge 0x45f5b1
mov edi, dword [ebx + 8]
mov ebp, dword [ebx + 0x48]
inc eax
inc edx
mov edi, dword [edi + esi*4]
cmp eax, ecx
mov edi, dword [edi + eax*4 - 4]
mov dword [ebp + edx*4 - 4], edi
jl 0x45f592
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
inc esi
cmp esi, edi
jl 0x45f58a
mov ecx, dword [esp + 0x34]
mov eax, dword [ebx + 0x48]
fld dword [0x49a308]
mov edx, dword [ecx + 0x10]
test edx, edx
jle 0x45f5db
mov ecx, dword [ecx]
sub ecx, eax
fld dword [ecx + eax]
fmul dword [eax]
add eax, 4
dec edx
faddp st(1)
jne 0x45f5ce
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov edx, dword [ecx + 8]
mov ecx, dword [esp + 0x1c]
add ecx, 4
mov edx, dword [edx + eax]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
inc eax
fstp dword [edx + ecx - 4]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
cmp eax, ecx
jl 0x45f56e
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
inc ebp
add ecx, 4
cmp ebp, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x10], ecx
jl 0x45f54b
mov ecx, dword [esp + 0x238]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x234
ret 4