Function at 0x1002af50
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
lea esi, [esp + 0x1c]
mov dword [esp], eax
call sym.__cmsAdjustEndianess32
mov dword [esp], 0x6c636d73
mov dword [esp + 0x1c], eax
call sym.__cmsAdjustEndianess32
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x2c]
mov dword [esp], eax
call sym.__cmsAdjustEndianess32
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
call sym.__cmsAdjustEndianess32
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x34]
mov dword [esp], eax
call sym.__cmsAdjustEndianess32
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x38]
mov dword [esp], eax
call sym.__cmsAdjustEndianess32
mov dword [esp + 0x30], eax
lea eax, [ebx + 8]
mov dword [esp + 4], eax
lea eax, [esp + 0x34]
mov dword [esp], eax
call sym.__cmsEncodeDateTimeNumber
mov dword [esp], 0x61637370
call sym.__cmsAdjustEndianess32
mov dword [esp], 0x4d534654
mov dword [esp + 0x40], eax
call sym.__cmsAdjustEndianess32
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0x40]
mov dword [esp], eax
call sym.__cmsAdjustEndianess32
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 0x44]
mov dword [esp], eax
call sym.__cmsAdjustEndianess32
mov dword [esp + 0x4c], eax
mov eax, dword [ebx + 0x48]
mov dword [esp], eax
call sym.__cmsAdjustEndianess32
mov dword [esp + 0x50], eax
lea eax, [ebx + 0x50]
mov dword [esp + 4], eax
lea eax, [esp + 0x54]
mov dword [esp], eax
call sym.__cmsAdjustEndianess64
mov eax, dword [ebx + 0x3c]
mov dword [esp], eax
call sym.__cmsAdjustEndianess32
mov dword [esp + 0x5c], eax
call sym._cmsD50_XYZ
movsd xmm0, qword [eax]
movsd qword [esp], xmm0
call sym.__cmsDoubleTo15Fixed16
mov dword [esp], eax
call sym.__cmsAdjustEndianess32
mov dword [esp + 0x60], eax
call sym._cmsD50_XYZ
movsd xmm1, qword [eax + 8]
movsd qword [esp], xmm1
call sym.__cmsDoubleTo15Fixed16
mov dword [esp], eax
call sym.__cmsAdjustEndianess32
mov dword [esp + 0x64], eax
call sym._cmsD50_XYZ
movsd xmm2, qword [eax + 0x10]
movsd qword [esp], xmm2
call sym.__cmsDoubleTo15Fixed16
mov dword [esp], eax
call sym.__cmsAdjustEndianess32
mov dword [esp], 0x6c636d73
mov dword [esp + 0x68], eax
call sym.__cmsAdjustEndianess32
lea edx, [esp + 0x80]
mov ecx, 7
mov edi, edx
mov edx, dword [ebx + 0x5c]
mov dword [esp + 0x6c], eax
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x68]
mov dword [esp + 0x70], edx
mov edx, dword [ebx + 0x60]
mov dword [esp + 0x7c], eax
mov eax, dword [ebx]
mov dword [esp + 0x74], edx
mov edx, dword [ebx + 0x64]
mov dword [esp + 8], esi
mov dword [esp + 0x78], edx
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], eax
call dword [eax + 0x120]
test eax, eax
je 0x1002b1b0
mov edx, dword [ebx + 0x6c]
test edx, edx
je 0x1002b11d
lea eax, [ebx + 0x70]
lea ecx, [eax + edx*4]
xor edx, edx
nop
cmp dword [eax], 1
sbb edx, 0xffffffff
add eax, 4
cmp eax, ecx
jne 0x1002b110
mov dword [esp + 4], edx
mov eax, dword [ebx]
mov dword [esp], eax
call sym.__cmsWriteUInt32Number
test eax, eax
je 0x1002b1b0
mov eax, dword [ebx + 0x6c]
xor esi, esi
lea edi, [esp + 0x10]
test eax, eax
je 0x1002b19b
mov eax, dword [ebx + esi*4 + 0x70]
test eax, eax
je 0x1002b195
mov dword [esp], eax
call sym.__cmsAdjustEndianess32
mov dword [esp + 0x10], eax
mov eax, dword [ebx + esi*4 + 0x520]
mov dword [esp], eax
call sym.__cmsAdjustEndianess32
mov dword [esp + 0x14], eax
mov eax, dword [ebx + esi*4 + 0x390]
mov dword [esp], eax
call sym.__cmsAdjustEndianess32
mov dword [esp + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 8], edi
mov dword [esp + 4], 0xc
mov dword [esp], eax
call dword [eax + 0x120]
test eax, eax
je 0x1002b1b0
inc esi
cmp dword [ebx + 0x6c], esi
ja 0x1002b140
lea esp, [ebp - 0xc]
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret