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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov esi, dword [ebp + 0x30]
mov edi, dword [ebp + 0x2c]
mov edx, dword [ebp + 0x28]
mov ecx, dword [ebp + 8]
mov eax, dword [0x10443bf0]
xor eax, ebp
mov dword [esp + 0x20], eax
bt esi, 9
jb 0x1016991a
mov ecx, dword [ebp + 0x18]
cmp dword [ebp + 0x20], 0
jne 0x1016978b
mov eax, esi
and eax, 0x1000
je 0x1016978b
and esi, 0xffffefff
mov dword [ebp + 0x30], esi
mov eax, dword [ebp + 0xc]
mov eax, dword [ecx + eax*4 - 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
push edx
call fcn.1015a1ab
add esp, 4
test eax, eax
mov dword [esp + 0x14], edi
jne 0x101697bc
push edi
call fcn.1015a1ab
add esp, 4
test eax, eax
je 0x1016995f
or esi, 0x40
mov dword [esp + 8], esi
mov dword [ebp + 0x30], esi
cmp dword [ebp + 0xc], 0
je 0x10169936
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x10169936
xor esi, esi
push eax
call fcn.10151804
add esp, 4
mov ebx, eax
mov edi, dword [ebp + 0x10]
mov dword [esp], ebx
mov edi, dword [edi + esi*4]
cmp eax, 0x58595a20
setne bl
cmp eax, 0x4c616220
setne bh
test edi, edi
je 0x10169936
push edi
call fcn.1015181d
add esp, 4
cmp eax, 0x6e6d636c
jne 0x10169828
mov ebx, 0x31434c52
cmp dword [ebp + 0xc], 2
jae 0x10169843
jmp 0x10169856
and bl, bh
cmp eax, 0x6c696e6b
setne al
not bl
test bl, al
jne 0x1016984b
push edi
call fcn.10151804
add esp, 4
mov ebx, eax
push edi
call fcn.101517eb
jmp 0x1016985c
push edi
call fcn.101517eb
add esp, 4
mov ebx, eax
push edi
call fcn.10151804
add esp, 4
mov edi, dword [ebp + 0x10]
test esi, esi
mov ecx, dword [esp]
cmove ecx, ebx
mov ebx, ecx
inc esi
cmp dword [ebp + 0xc], esi
jne 0x101697ed
mov dword [esp + 4], eax
mov ecx, ebx
mov edx, dword [esp + 0xc]
call fcn.10169ea9
test eax, eax
je 0x10169968
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x14]
call fcn.10169ea9
test eax, eax
mov esi, dword [ebp + 8]
je 0x10169971
mov dword [esp], ebx
cmp ebx, 0x52474220
jne 0x1016997d
mov eax, dword [esp + 0xc]
and eax, 7
cmp eax, 2
mov ebx, dword [esp + 8]
jne 0x10169981
mov eax, ebx
and eax, 0x100
jne 0x10169981
push 0x3fb99999
push 0x9999999a
push dword [edi]
call fcn.1014b508
add esp, 0xc
fstp qword [esp + 0x18]
movsd xmm0, qword [esp + 0x18]
xorpd xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x10169981
movsd xmm1, qword [0x103203e0]
ucomisd xmm1, xmm0
jbe 0x10169981
or ebx, 0x100
mov dword [ebp + 0x30], ebx
jmp 0x10169981
lea eax, [ebp + 0x30]
lea esi, [ebp + 0x2c]
lea edi, [ebp + 0x28]
xor edx, edx
push eax
push esi
push edi
push 0
call fcn.10169bb7
add esp, 0x10
mov ebx, eax
jmp 0x1016994a
push str.NULL_input_profiles_on_transform
push 4
push dword [ebp + 8]
call fcn.10148bd9
add esp, 0xc
xor ebx, ebx
mov ecx, dword [esp + 0x20]
xor ecx, ebp
call fcn.1023b4d8
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 8], esi
jmp 0x101697c6
push str.Wrong_input_color_space_on_transform
push 9
jmp 0x1016993d
push str.Wrong_output_color_space_on_transform
push 9
jmp 0x10169b00
mov ebx, dword [esp + 8]
push ebx
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push edi
mov eax, dword [ebp + 0x18]
push eax
push dword [ebp + 0xc]
push esi
call fcn.10147234
add esp, 0x1c
test eax, eax
je 0x10169af9
mov ebx, eax
push dword [esp]
call fcn.1015ec2d
add esp, 4
mov esi, eax
push ebx
call fcn.10155010
add esp, 4
cmp esi, eax
jne 0x10169ae4
push dword [esp + 4]
call fcn.1015ec2d
add esp, 4
mov esi, eax
push ebx
call fcn.1010c97e
add esp, 4
cmp esi, eax
jne 0x10169ae4
lea eax, [ebp + 0x30]
lea esi, [ebp + 0x2c]
lea edi, [ebp + 0x28]
mov ecx, dword [ebp + 8]
mov edx, ebx
push eax
push esi
push edi
push dword [esp + 0x1c]
call fcn.10169bb7
add esp, 0x10
test eax, eax
je 0x10169948
mov ebx, eax
mov eax, dword [esp]
mov dword [ebx + 0x6c], eax
mov eax, dword [esp + 4]
mov dword [ebx + 0x70], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + edi*4 - 4]
mov dword [ebx + 0xb8], eax
mov esi, 0x77747074
push esi
mov edi, dword [ebp + 0x10]
push dword [edi]
call fcn.10152089
add esp, 8
lea ecx, [ebx + 0x78]
mov edx, eax
call fcn.10169ee3
push esi
mov eax, dword [ebp + 0xc]
push dword [edi + eax*4 - 4]
call fcn.10152089
add esp, 8
lea ecx, [ebx + 0x90]
mov edx, eax
call fcn.10169ee3
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x10169a87
test byte [ebp + 0x31], 0x10
je 0x10169a87
push eax
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push edi
push dword [ebp + 8]
call fcn.1014ade4
add esp, 0x1c
mov dword [ebx + 0x60], eax
push 0x636c7274
push dword [edi]
call fcn.1015106f
add esp, 8
test eax, eax
je 0x10169ab5
push 0x636c7274
push dword [edi]
call fcn.10152089
add esp, 8
push eax
call fcn.1015663e
add esp, 4
mov dword [ebx + 0x64], eax
mov esi, dword [ebp + 0xc]
push dword [edi + esi*4 - 4]
call fcn.1015181d
add esp, 4
mov ecx, dword [edi + esi*4 - 4]
cmp eax, 0x6c696e6b
jne 0x10169b06
push 0x636c6f74
push ecx
call fcn.1015106f
add esp, 8
mov ecx, 0x636c6f74
jmp 0x10169b19
push ebx
call fcn.101553fe
add esp, 4
push str.Channel_count_doesnt_match._Profile_is_corrupted
push 0xd
jmp 0x1016993d
push str.Couldnt_link_the_profiles
push 0xd
push esi
jmp 0x10169940
push 0x636c7274
push ecx
call fcn.1015106f
add esp, 8
mov ecx, 0x636c7274
test eax, eax
je 0x10169b39
push ecx
mov eax, dword [ebp + 0xc]
push dword [edi + eax*4 - 4]
call fcn.10152089
add esp, 8
push eax
call fcn.1015663e
add esp, 4
mov dword [ebx + 0x68], eax
mov ecx, dword [ebp + 0x30]
xor eax, eax
test cl, cl
jns 0x10169b54
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1015377c
add esp, 0xc
mov ecx, dword [ebp + 0x30]
mov dword [ebx + 0xa8], eax
test cl, 0x40
jne 0x1016994a
lea esi, [ebx + 0x1c]
xorpd xmm0, xmm0
movupd xmmword [ebx + 0x2c], xmm0
movupd xmmword [ebx + 0x1c], xmm0
cmp dword [ebx + 0x60], 0
je 0x10169b91
mov eax, ebx
add eax, 0x3c
mov ecx, ebx
mov edx, esi
push eax
call fcn.10169f75
add esp, 4
jmp 0x1016994a
mov eax, dword [ebx + 0x5c]
mov ecx, dword [eax + 0xc]
mov dword [esp], ecx
mov ecx, dword [eax + 0x10]
mov edi, ebx
add edi, 0x3c
call dword [section..00cfg]
push dword [esp]
push edi
push esi
call ecx
add esp, 0xc
jmp 0x1016994a