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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push 0xd8
call fcn.10004d70
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x100cc6f0
push 0xd8
push str.sdi_malloc_failed_for_image__d_bytes_n
call fcn.10004d30
add esp, 8
xor eax, eax
jmp 0x100cc9ff
push 0xd8
push 0
mov eax, dword [ebp - 0x18]
push eax
call fcn.100f1b90
add esp, 0xc
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ecx + 0x60], eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], 0x6c
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14], 0
je 0x100cc797
push 0x10
call fcn.10004d70
add esp, 4
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x14], 0
jne 0x100cc765
push 0x1013e940
call fcn.10004d30
add esp, 4
xor eax, eax
jmp 0x100cc9ff
mov dword [ebp - 0x14], 0
jmp 0x100cc777
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jge 0x100cc797
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x14]
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x14]
mov edx, dword [edx + esi*4]
mov dword [ecx + eax*4], edx
jmp 0x100cc76e
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0
je 0x100cc7ff
push 0x10
call fcn.10004d70
add esp, 4
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x18], 0
jne 0x100cc7cd
push str.Malloc_error_in_cell_array_to_image_function_n
call fcn.10004d30
add esp, 4
xor eax, eax
jmp 0x100cc9ff
mov dword [ebp - 0x14], 0
jmp 0x100cc7df
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jge 0x100cc7ff
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x18]
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x14]
mov edx, dword [edx + esi*4]
mov dword [ecx + eax*4], edx
jmp 0x100cc7d6
mov eax, dword [ebp + 8]
cmp dword [eax + 0x8c], 0
je 0x100cc86c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x8c]
mov eax, dword [ebp - 0x18]
mov ecx, dword [edx + 0x1c]
mov dword [eax + 0x88], ecx
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x88], 1
jne 0x100cc86c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x8c]
add ecx, 0x20
mov edx, dword [ebp - 0x18]
add edx, 0x90
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x8c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [eax + 0x30]
mov dword [ecx + 0x8c], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x24]
mov dword [eax + 0x20], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x28]
mov dword [eax + 0x24], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
fld dword [eax + 0x34]
fsub dword [ecx + 0x24]
mov edx, dword [ebp + 8]
fidiv dword [edx + 0x44]
mov eax, dword [ebp - 0x18]
fstp dword [eax + 0x28]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
fld dword [ecx + 0x38]
fsub dword [edx + 0x28]
mov eax, dword [ebp + 8]
fidiv dword [eax + 0x44]
mov ecx, dword [ebp - 0x18]
fstp dword [ecx + 0x2c]
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
fld dword [edx + 0x3c]
fsub dword [eax + 0x24]
mov ecx, dword [ebp + 8]
fidiv dword [ecx + 0x48]
mov edx, dword [ebp - 0x18]
fstp dword [edx + 0x30]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
fld dword [eax + 0x40]
fsub dword [ecx + 0x28]
mov edx, dword [ebp + 8]
fidiv dword [edx + 0x48]
mov eax, dword [ebp - 0x18]
fstp dword [eax + 0x34]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44]
mov dword [ecx + 0x38], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x48]
mov dword [ecx + 0x3c], eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x40], 0
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x44], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x38]
mov dword [eax + 0x48], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x3c]
mov dword [eax + 0x4c], edx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x5c], 0
jne 0x100cc93b
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x64], 6
mov edx, dword [ebp + 8]
cmp dword [edx + 0x5c], 1
jne 0x100cc94e
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x64], 5
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x6c], 0x10
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x68]
mov dword [edx + 0x68], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x58]
mov dword [edx + 0x5c], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x64]
mov dword [edx + 0x50], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x54]
mov dword [edx + 0x54], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0xd4], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
mov dword [edx + 0x80], ecx
cmp dword [ebp + 0xc], 5
jne 0x100cc9bd
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x74]
mov dword [edx + 0x70], ecx
jmp 0x100cc9cf
cmp dword [ebp + 0xc], 0
jne 0x100cc9cf
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x6c]
mov dword [edx + 0x70], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x60]
mov dword [edx + 0x74], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x7c]
mov dword [edx + 0xc8], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
mov dword [edx + 0xcc], ecx
mov eax, dword [ebp - 0x18]
pop esi
mov esp, ebp
pop ebp
ret