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

Disassembly:
sub esp, 0x108
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x20], edx
mov eax, dword [edi + 0x298]
test eax, eax
je 0x10140bc3
cmp eax, 1
jne 0x10140b95
mov edx, dword [esp + 0x11c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
jmp fcn.10141fa0
dec eax
mov dword [edi + 0x298], eax
cmp eax, 1
jne 0x10140bc3
mov edx, dword [esp + 0x11c]
call fcn.10141fa0
mov edx, str.no_space_in_chunk_cache
mov ecx, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
jmp fcn.10131320
mov eax, dword [edi + 0x74]
test al, 1
je 0x10140dc4
test al, 4
je 0x10140bd8
or eax, 8
mov dword [edi + 0x74], eax
mov ebx, dword [esp + 0x11c]
push 1
lea edx, [ebx + 1]
call fcn.1013da30
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x10140c14
mov edx, ebx
mov ecx, edi
call fcn.10141fa0
test dword [edi + 0x78], 0x100000
mov ecx, edi
je 0x10140dce
push str.out_of_memory
jmp 0x10140d96
mov eax, dword [edi + 0x5c]
test eax, eax
je 0x10140db8
push ebx
push ebp
push edi
call eax
add esp, 0xc
mov edx, ebp
mov ecx, edi
push ebx
call fcn.10130ba0
add esp, 4
xor edx, edx
mov ecx, edi
call fcn.10141fa0
test eax, eax
jne 0x10140dad
xor esi, esi
test ebx, ebx
je 0x10140d85
nop
cmp byte [esi + ebp], 0
je 0x10140c5b
inc esi
cmp esi, ebx
jb 0x10140c50
cmp esi, 0x4f
ja 0x10140d85
cmp esi, 1
jb 0x10140d85
lea eax, [esi + 5]
cmp eax, ebx
jbe 0x10140c7e
mov edx, str.truncated
jmp 0x10140d8a
mov al, byte [esi + ebp + 1]
test al, al
je 0x10140c9b
cmp al, 1
jne 0x10140c91
cmp byte [esi + ebp + 2], 0
je 0x10140c9b
mov edx, str.bad_compression_info
jmp 0x10140d8a
add esi, 3
mov dword [esp + 0x1c], esi
cmp esi, ebx
jae 0x10140cb1
cmp byte [esi + ebp], 0
je 0x10140cb1
inc esi
cmp esi, ebx
jb 0x10140ca6
inc esi
mov ecx, esi
mov dword [esp + 0x18], ecx
cmp esi, ebx
jae 0x10140ccb
nop dword [eax]
cmp byte [esi + ebp], 0
je 0x10140ccb
inc esi
cmp esi, ebx
jb 0x10140cc0
inc esi
test al, al
jne 0x10140ce7
cmp esi, ebx
ja 0x10140c74
sub ebx, esi
mov dword [esp + 0x24], 1
lea eax, [esi + ebp]
mov byte [eax + ebx], 0
jmp 0x10140d3e
cmp esi, ebx
jae 0x10140c74
push ecx
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0xffffffff
push eax
push esi
mov edx, ebx
mov ecx, edi
call fcn.1013d5b0
add esp, 0xc
cmp eax, 1
jne 0x10140d1e
mov ebx, dword [esp + 0x14]
mov ebp, dword [edi + 0x2b8]
lea eax, [esi + ebx]
mov byte [eax + ebp], 0
jmp 0x10140d32
mov edx, dword [edi + 0x9c]
test edx, edx
jne 0x10140d8a
mov ebx, dword [esp + 0x14]
lea eax, [ebx + ebp]
mov byte [eax + esi], dl
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], 2
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
add eax, ebp
mov dword [esp + 0x38], eax
lea eax, [ecx + ebp]
mov dword [esp + 0x3c], eax
lea eax, [esi + ebp]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x24]
push ecx
push eax
mov ecx, edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], ebx
call fcn.101324d0
add esp, 8
test eax, eax
je 0x10140dad
mov edx, str.insufficient_memory
jmp 0x10140d8a
mov edx, str.bad_keyword
test dword [edi + 0x78], 0x100000
mov ecx, edi
je 0x10140dc9
push edx
lea edx, [esp + 0x44]
call fcn.101313c0
add esp, 4
lea edx, [esp + 0x40]
mov ecx, edi
call fcn.10131830
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret
mov edx, str.Call_to_NULL_read_function
mov ecx, edi
call fcn.101318d0
mov edx, str.missing_IHDR
call fcn.10131390
mov edx, str.out_of_memory
call fcn.10131390
int3