Function at 0x40b1c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0xeb851eb8
push 1
push ecx
mov dword [esi + 0xf0], ecx
mov dword [esi + 0xb0], ecx
mov dword [esi + 0x70], ecx
mov eax, 0x3faeb851
mov ecx, esp
mov dword [esp + 0x14], esp
push str._CMS__Check_Color_Coefficient......_____
mov dword [esi + 0xf4], eax
mov dword [esi + 0xb4], eax
mov dword [esi + 0x74], eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x48f9c8]
call fcn.00439080
mov ecx, esi
call fcn.0040ae40
xor edi, edi
mov ecx, 0x45a728
push edi
call fcn.00411be0
xor edx, edx
lea ebx, [esp + 0x88]
mov dword [esp + 0xc], edx
lea eax, [esi + 0xb8]
fild dword [esp + 0xc]
mov ecx, dword [0x463b44]
cmp ecx, 3
fadd qword [0x445af0]
fmul qword [0x445ae8]
fst qword [ebx]
je 0x40b36f
cmp ecx, 0xa
je 0x40b36f
cmp ecx, 0xc
je 0x40b36f
cmp ecx, 0xb
je 0x40b36f
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ecx
mov ecx, dword [esi + 0x14]
fild qword [esp + 0x50]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edi
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x74], edi
fmul dword [0x445acc]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x44], edi
fmul st(1)
fild qword [esp + 0x20]
mov dword [esp + 0x84], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], edi
fmul dword [0x445acc]
faddp st(1)
fmul st(1)
fild qword [esp + 0x70]
fmul dword [0x445acc]
faddp st(1)
fmul st(1)
fadd qword [esi + 0x70]
fstp qword [eax - 0x40]
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0x2c]
fild qword [esp + 0x30]
mov dword [esp + 0x60], ecx
mov ecx, dword [esi + 0x30]
mov dword [esp + 0x40], ecx
fmul dword [0x445acc]
fmul st(1)
fild qword [esp + 0x60]
fmul dword [0x445acc]
faddp st(1)
fmul st(1)
fild qword [esp + 0x40]
fmul dword [0x445acc]
faddp st(1)
fmul st(1)
fadd qword [esi + 0xb0]
fstp qword [eax]
mov ecx, dword [esi + 0x40]
mov dword [esp + 0x80], ecx
mov ecx, dword [esi + 0x44]
fild qword [esp + 0x80]
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x48]
mov dword [esp + 0x18], ecx
fmul dword [0x445acc]
fmul st(1)
fild qword [esp + 0x10]
fmul dword [0x445acc]
faddp st(1)
fmul st(1)
fild qword [esp + 0x18]
fmul dword [0x445acc]
faddp st(1)
jmp 0x40b411
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x14]
fild qword [esp + 0x28]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x5c], edi
fmul dword [0x445acc]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x7c], edi
fmul st(1)
fild qword [esp + 0x38]
fmul dword [0x445acc]
faddp st(1)
fmul st(1)
fmul st(1)
fadd qword [esi + 0x70]
fstp qword [eax - 0x40]
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 0x2c]
fild qword [esp + 0x48]
mov dword [esp + 0x58], ecx
fmul dword [0x445acc]
fmul st(1)
fild qword [esp + 0x58]
fmul dword [0x445acc]
faddp st(1)
fmul st(1)
fmul st(1)
fadd qword [esi + 0xb0]
fstp qword [eax]
mov ecx, dword [esi + 0x40]
mov dword [esp + 0x68], ecx
mov ecx, dword [esi + 0x44]
fild qword [esp + 0x68]
mov dword [esp + 0x78], ecx
fmul dword [0x445acc]
fmul st(1)
fild qword [esp + 0x78]
fmul dword [0x445acc]
faddp st(1)
fmul st(1)
fmul st(1)
inc edx
add ebx, 8
add eax, 8
cmp edx, 7
fadd qword [esi + 0xf0]
mov dword [esp + 0xc], edx
fstp qword [eax + 0x38]
fstp st(0)
jl 0x40b23e
lea ecx, [esi + 0x78]
fld qword [ecx]
fcomp qword [esi + 0x70]
fnstsw ax
test ah, 0x41
jne 0x40b4fc
fld qword [ecx]
fcomp qword [0x445ae0]
fnstsw ax
test ah, 1
je 0x40b4fc
fld qword [ecx]
fcomp qword [ecx - 8]
fnstsw ax
test ah, 0x41
jne 0x40b4fc
fld qword [ecx + 0x40]
fcomp qword [esi + 0xb0]
fnstsw ax
test ah, 0x41
jne 0x40b4f0
fld qword [ecx + 0x40]
fcomp qword [0x445ad8]
fnstsw ax
test ah, 1
je 0x40b4f0
fld qword [ecx + 0x40]
fcomp qword [ecx + 0x38]
fnstsw ax
test ah, 0x41
jne 0x40b4f0
fld qword [ecx + 0x80]
fcomp qword [esi + 0xf0]
fnstsw ax
test ah, 0x41
jne 0x40b4e4
fld qword [ecx + 0x80]
fcomp qword [0x445ad0]
fnstsw ax
test ah, 1
je 0x40b4e4
fld qword [ecx + 0x80]
fcomp qword [ecx + 0x78]
fnstsw ax
test ah, 0x41
jne 0x40b4e4
inc edi
add ecx, 8
cmp edi, 7
jl 0x40b435
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xfffffffc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xfffffffd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
mov esp, ebp
pop ebp
ret