Function at 0x4642b0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x494e99
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x454
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [esp + 0x30], ecx
mov eax, dword [eax + 0x6c]
push edi
xor edi, edi
xor ecx, ecx
mov di, word [eax + 0xfe]
mov cx, word [eax + 0xfc]
push 0x64
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ecx
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x468], ebx
je 0x46433a
mov ecx, dword [esp + 0x28]
push ecx
push edi
mov ecx, esi
call fcn.0047fe10
mov dword [esi], 0x4a03e8
mov dword [esi + 0x54], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x60], ebx
mov dword [esp + 0x14], esi
jmp 0x46433e
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x34]
cmp dword [eax], ebx
jne 0x46434f
mov edx, dword [eax + 0x28]
mov dword [esp + 0x20], edx
jmp 0x464356
mov eax, dword [eax + 0x28]
mov dword [esp + 0x20], eax
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.0045d990
mov ecx, edi
mov esi, eax
call fcn.0045d9a0
mov edi, eax
mov eax, 3
mov dword [esp + 0x5c], ebx
mov word [esp + 0x3a], ax
mov word [esp + 0x38], ax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x3c], 9
push esi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x46c], 1
mov dword [esp + 0x5c], 0x484e60
call fcn.0047bc40
mov esi, eax
push edi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], esi
mov dword [esp + 0x5c], 0x484e60
call fcn.0047bc40
mov ecx, dword [edi + 0x28]
mov dword [esp + 0x24], eax
cmp ecx, ebx
mov eax, 1
jle 0x4643f4
mov edi, dword [edi + 4]
mov edx, ecx
mov cx, word [edi]
cmp cx, ax
jbe 0x4643ee
mov eax, ecx
add edi, 2
dec edx
jne 0x4643e4
and eax, 0xffff
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 8]
fild dword [esp + 0x18]
cmp dword [eax + 0xa0], ebx
je 0x4644f3
mov ecx, dword [eax + 0x6c]
cmp byte [ecx + 0xf6], 0x10
jne 0x4644f3
mov edx, dword [esp + 0x20]
mov dword [esp + 0x18], 1
fstp st(0)
fld dword [edx + 0x10]
fcomp qword [0x4a0480]
fnstsw ax
test ah, 1
je 0x46445c
lea eax, [esp + 0x60]
push str._n16_bit_Data_and_12_bit_LUT_LUT_Error__incorrect_data_n
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
push ebx
lea ecx, [esp + 0x6c]
push ecx
call fcn.0045b920
add esp, 0x10
mov ecx, dword [esp + 0x2c]
xor eax, eax
cmp ecx, ebx
mov dword [esp + 0x1c], eax
jle 0x464612
cmp dword [esp + 0x28], ebx
jle 0x464601
mov edx, dword [esi + 8]
mov ecx, dword [edx + eax*4]
mov edx, dword [esp + 0x24]
mov si, word [ecx + ebx*2]
mov ecx, dword [edx + 8]
mov edx, dword [ecx + eax*4]
mov di, word [edx + ebx*2]
cmp si, di
jae 0x46449b
mov eax, esi
mov esi, edi
mov edi, eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4644d9
and esi, 0xffff
mov dword [esp + 0x10], esi
fild dword [esp + 0x10]
fmul qword [0x4a0478]
call sub.MSVCRT.dll__ftol
and edi, 0xffff
mov esi, eax
mov dword [esp + 0x10], edi
fild dword [esp + 0x10]
fmul qword [0x4a0478]
call sub.MSVCRT.dll__ftol
mov edi, eax
test si, si
jbe 0x464542
mov eax, esi
and eax, 0xffff
fldln2
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fyl2x
jmp 0x464548
fcomp qword [0x4a0470]
mov dword [esp + 0x18], ebx
fnstsw ax
test ah, 1
je 0x46445c
mov edx, dword [esp + 0x20]
fld dword [edx + 0x10]
fcomp qword [0x4a0480]
fnstsw ax
test ah, 0x41
jne 0x46445c
lea eax, [esp + 0x60]
push str._n12_bit_Data_and_16_bit_LUT__converting_all_data_to_16_bit__n
push eax
mov dword [esp + 0x20], 1
call dword [sym.imp.MSVCRT.dll_sprintf]
push ebx
lea ecx, [esp + 0x6c]
jmp 0x464453
fld qword [0x4a0308]
test di, di
jbe 0x464563
mov ecx, edi
and ecx, 0xffff
fldln2
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fyl2x
jmp 0x464569
fld qword [0x4a0308]
cmp di, si
sbb edx, edx
neg edx
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fcom dword [0x49a308]
fnstsw ax
test ah, 0x40
jne 0x46458b
fld st(2)
fsub st(2)
jmp 0x464591
fld qword [0x4a0308]
fstp dword [esp + 0x10]
fcomp dword [0x49a308]
fnstsw ax
test ah, 0x40
jne 0x4645a6
faddp st(1)
jmp 0x4645b0
fstp st(0)
fstp st(0)
fld qword [0x4a0308]
fld dword [esp + 0x10]
mov esi, dword [esp + 0x20]
sub esp, 8
fstp qword [esp]
sub esp, 8
mov ecx, esi
fstp qword [esp]
call fcn.00478b50
fmul qword [esi + 0x20]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x30]
inc ebx
mov edx, dword [ecx + 8]
fmul qword [eax + 0x4af0]
mov eax, dword [esp + 0x1c]
mov ecx, dword [edx + eax*4]
mov eax, dword [esp + 0x28]
cmp ebx, eax
mov eax, dword [esp + 0x1c]
fstp dword [ecx + ebx*4 - 4]
jl 0x464478
xor ebx, ebx
mov ecx, dword [esp + 0x2c]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x46446e
cmp esi, ebx
je 0x464671
mov eax, dword [esi + 4]
mov dword [esi], 0x4a0420
cmp eax, ebx
je 0x46462f
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi + 4], ebx
mov eax, dword [esi + 0x48]
cmp eax, ebx
je 0x464642
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi + 0x48], ebx
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x464655
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi + 0x10], ebx
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x464668
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi + 8], ebx
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x24]
cmp ecx, ebx
je 0x46468b
call fcn.00479e20
mov edx, dword [esp + 0x24]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov esi, dword [esp + 0x54]
cmp esi, ebx
je 0x4646ee
mov eax, dword [esi + 4]
mov dword [esi], 0x4a0418
cmp eax, ebx
je 0x4646ac
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi + 4], ebx
mov eax, dword [esi + 0x48]
cmp eax, ebx
je 0x4646bf
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi + 0x48], ebx
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x4646d2
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi + 0x10], ebx
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x4646e5
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi + 8], ebx
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x460]
mov eax, dword [esp + 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4