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

Disassembly:
sub esp, 0x4fc
mov eax, dword [0x1018f074]
xor eax, esp
mov dword [esp + 0x4f8], eax
push ebx
mov ebx, dword [esp + 0x504]
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 0x14], eax
push esi
mov eax, dword [ebx + 0x74]
mov esi, dword [esp + 0x50c]
mov dword [esp + 0xc], esi
test al, 1
je 0x100c6b7c
test al, 6
je 0x100c6673
push dword [esp + 0x510]
push ebx
call fcn.100c4f10
push str.out_of_place
push ebx
call fcn.100bae50
add esp, 0x10
pop esi
pop ebx
mov ecx, dword [esp + 0x4f8]
xor ecx, esp
call fcn.100d0b93
add esp, 0x4fc
ret
push ebp
mov ebp, dword [esp + 0x514]
cmp ebp, 0xe
jae 0x100c66ad
push ebp
push ebx
call fcn.100c4f10
push str.too_short
push ebx
call fcn.100bae50
add esp, 0x10
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0x4f8]
xor ecx, esp
call fcn.100d0b93
add esp, 0x4fc
ret
movzx eax, word [ebx + 0x312]
test ax, ax
jns 0x100c66db
push ebp
push ebx
call fcn.100c4f10
add esp, 8
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0x4f8]
xor ecx, esp
call fcn.100d0b93
add esp, 0x4fc
ret
push edi
mov edi, 0x8000
test al, 4
jne 0x100c6b2d
mov edi, 0x51
lea eax, [esp + 0x30]
cmp ebp, edi
cmovb edi, ebp
push edi
push eax
push ebx
call fcn.100c34d0
push edi
lea eax, [esp + 0x40]
push eax
push ebx
call fcn.100bc150
sub ebp, edi
add esp, 0x18
mov dword [esp + 0x518], ebp
cmp ebp, 0xb
jae 0x100c6736
push ebp
push ebx
call fcn.100c4f10
push str.too_short
push ebx
call fcn.100bae50
add esp, 0x10
jmp 0x100c6b63
xor esi, esi
lea ecx, [esi + 3]
lea edx, [esi + 1]
nop
cmp esi, edi
jae 0x100c679c
cmp byte [esp + edx + 0x2f], 0
je 0x100c679c
cmp edx, edi
jae 0x100c679b
cmp byte [esp + edx + 0x30], 0
je 0x100c679b
lea eax, [ecx - 1]
cmp eax, edi
jae 0x100c6796
cmp byte [esp + ecx + 0x2f], 0
je 0x100c6796
cmp ecx, edi
jae 0x100c6791
cmp byte [esp + ecx + 0x30], 0
je 0x100c6791
lea eax, [esi + 4]
cmp eax, edi
jae 0x100c678d
cmp byte [esp + esi + 0x34], 0
je 0x100c678d
add edx, 5
add esi, 5
add ecx, 5
cmp edx, 0x51
jb 0x100c6740
jmp 0x100c679c
mov esi, eax
jmp 0x100c679c
add esi, 3
jmp 0x100c679c
add esi, 2
jmp 0x100c679c
inc esi
lea eax, [esi - 1]
cmp eax, 0x4e
ja 0x100c6b1a
lea eax, [esi + 1]
mov dword [esp + 0x1c], eax
cmp eax, edi
jae 0x100c6b07
cmp byte [esp + esi + 0x31], 0
jne 0x100c6b07
push 0x69434350
push ebx
call fcn.100c8640
add esp, 8
test eax, eax
jne 0x100c6af2
push 0x84
push eax
lea eax, [esp + 0x8c]
push eax
call fcn.100d26e0
lea eax, [esp + 0x3e]
mov dword [esp + 0x24], 0x84
add eax, esi
sub edi, esi
mov dword [ebx + 0x84], eax
sub edi, 2
push 0
lea eax, [esp + 0x28]
mov dword [ebx + 0x88], edi
push eax
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0x530]
push eax
push 0x400
lea eax, [esp + 0x128]
push eax
push ebx
call fcn.100c8770
add esp, 0x28
cmp dword [esp + 0x18], 0
jne 0x100c6ac5
movzx ebp, byte [esp + 0x84]
lea esi, [ebx + 0x2c8]
movzx eax, byte [esp + 0x85]
shl ebp, 8
add ebp, eax
movzx eax, byte [esp + 0x86]
shl ebp, 8
add ebp, eax
movzx eax, byte [esp + 0x87]
shl ebp, 8
add ebp, eax
lea eax, [esp + 0x30]
push ebp
push eax
push esi
push ebx
mov dword [esp + 0x3c], ebp
call fcn.100bde10
add esp, 0x10
test eax, eax
je 0x100c6abc
movzx eax, byte [ebx + 0x14f]
push eax
lea eax, [esp + 0x88]
push eax
push ebp
lea eax, [esp + 0x3c]
push eax
push esi
push ebx
call fcn.100bdaf0
add esp, 0x18
test eax, eax
je 0x100c6abc
movzx ecx, byte [esp + 0x104]
movzx eax, byte [esp + 0x105]
shl ecx, 8
add ecx, eax
movzx eax, byte [esp + 0x106]
shl ecx, 8
add ecx, eax
movzx eax, byte [esp + 0x107]
push 2
shl ecx, 8
add ecx, eax
push ebp
push ebx
mov dword [esp + 0x24], ecx
call fcn.100c8b20
add esp, 0xc
mov dword [esp + 0x24], eax
test eax, eax
je 0x100c6ab4
mov edi, eax
lea esi, [esp + 0x84]
mov ecx, 0x21
add eax, 0x84
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x18]
push 0
lea ecx, [esi + esi*2]
shl ecx, 2
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x1c]
push ecx
push eax
lea eax, [esp + 0x524]
push eax
push 0x400
lea eax, [esp + 0x11c]
push eax
push ebx
call fcn.100c8770
add esp, 0x1c
cmp dword [esp + 0x18], 0
jne 0x100c6ac5
mov edi, dword [esp + 0x24]
lea eax, [esp + 0x30]
push edi
push ebp
push eax
lea eax, [ebx + 0x2c8]
push eax
push ebx
call fcn.100bde70
add esp, 0x14
test eax, eax
je 0x100c6abc
mov eax, ebp
sub eax, dword [esp + 0x28]
sub eax, 0x84
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push 1
push eax
lea eax, [esi + 0xb]
lea eax, [eax + eax*2]
lea eax, [edi + eax*4]
push eax
lea eax, [esp + 0x524]
push eax
push 0x400
lea eax, [esp + 0x11c]
push eax
push ebx
call fcn.100c8770
mov ebp, dword [esp + 0x534]
add esp, 0x1c
test ebp, ebp
je 0x100c69e0
test dword [ebx + 0x78], 0x100000
jne 0x100c69e0
mov dword [esp + 0x10], str.extra_compressed_data
jmp 0x100c6ad6
cmp dword [esp + 0x18], 0
jne 0x100c6acc
test ebp, ebp
je 0x100c69fd
push str.extra_compressed_data
push ebx
call fcn.100bafc0
add esp, 8
push ebp
push ebx
call fcn.100c4f10
push dword [ebx + 0xb4]
lea eax, [ebx + 0x2c8]
mov dword [esp + 0x2c], 1
push edi
push eax
push ebx
call fcn.100be190
mov esi, dword [esp + 0x2c]
add esp, 0x18
test esi, esi
je 0x100c6a85
push 0
push 0x10
push esi
push ebx
call fcn.100bd4b0
push dword [esp + 0x2c]
push ebx
call fcn.100c3820
add esp, 0x18
mov dword [esi + 0x74], eax
test eax, eax
je 0x100c6a94
push dword [esp + 0x1c]
lea ecx, [esp + 0x34]
push ecx
push eax
call fcn.100d2160
mov eax, dword [esp + 0x38]
or dword [esi + 0xf4], 0x10
or dword [esi + 8], 0x1000
push esi
push ebx
mov dword [esi + 0x7c], eax
mov dword [esi + 0x78], edi
mov dword [ebx + 0x2a4], 0
call fcn.100bcde0
add esp, 0x14
mov dword [ebx + 0x80], 0
jmp 0x100c6b63
push esi
mov edi, 0x8000
mov dword [esp + 0x14], str.out_of_memory
or word [ebx + 0x312], di
push ebx
call fcn.100bcde0
add esp, 8
jmp 0x100c6adf
mov dword [esp + 0x10], str.out_of_memory
mov ebp, dword [esp + 0x518]
jmp 0x100c6ad6
mov ebp, dword [esp + 0x518]
mov eax, dword [ebx + 0x9c]
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x14]
mov edi, 0x8000
cmp dword [esp + 0x20], 0
mov dword [ebx + 0x80], 0
jne 0x100c6b40
jmp 0x100c6b36
mov esi, dword [ebx + 0x9c]
mov edi, 0x8000
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x14]
jmp 0x100c6b36
mov esi, dword [esp + 0x14]
mov edi, 0x8000
mov dword [esp + 0x10], str.bad_compression_method
jmp 0x100c6b36
mov esi, dword [esp + 0x14]
mov edi, 0x8000
mov dword [esp + 0x10], str.bad_keyword
jmp 0x100c6b36
mov eax, str.too_many_profiles
mov dword [esp + 0x10], eax
push ebp
push ebx
call fcn.100c4f10
add esp, 8
or word [ebx + 0x312], di
push esi
push ebx
call fcn.100bcde0
mov eax, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x100c6b63
push eax
push ebx
call fcn.100bae50
add esp, 8
mov ecx, dword [esp + 0x508]
pop edi
pop ebp
pop esi
pop ebx
xor ecx, esp
call fcn.100d0b93
add esp, 0x4fc
ret
push str.missing_IHDR
push ebx
call fcn.100baec0
int3