Function at 0x558e20
Capabilities:
Terminate process

Disassembly:
sub esp, 8
push esi
mov esi, eax
mov eax, dword [esi + 0x260]
test eax, eax
je 0x558e6b
cmp eax, 1
jne 0x558e44
mov eax, dword [esp + 0x14]
mov ecx, esi
pop esi
add esp, 8
jmp fcn.00556840
add eax, 0xffffffff
cmp eax, 1
mov dword [esi + 0x260], eax
jne 0x558e6b
mov ecx, str.No_space_in_chunk_cache_for_zTXt
call fcn.0054c4a0
mov eax, dword [esp + 0x14]
mov ecx, esi
pop esi
add esp, 8
jmp fcn.00556840
mov eax, dword [esi + 0x6c]
test al, 1
push edi
jne 0x558e7f
mov edi, str.Missing_IHDR_before_zTXt
mov eax, esi
jmp fcn.0054c480
test al, 4
je 0x558e89
or eax, 8
mov dword [esi + 0x6c], eax
mov ecx, dword [esi + 0x2a8]
test ecx, ecx
je 0x558eae
mov eax, dword [esi + 0x240]
test eax, eax
push ecx
je 0x558ea6
push esi
call eax
add esp, 8
jmp 0x558eae
call fcn.005d27e0
add esp, 4
push ebx
mov ebx, dword [esp + 0x1c]
lea ecx, [ebx + 1]
call fcn.005600d0
test eax, eax
mov dword [esi + 0x2a8], eax
jne 0x558ed6
mov ecx, str.Out_of_memory_processing_zTXt_chunk
call fcn.0054c4a0
pop ebx
pop edi
pop esi
add esp, 8
ret
call fcn.005567d0
xor eax, eax
mov ecx, esi
call fcn.00556840
test eax, eax
je 0x558f06
mov edx, dword [esi + 0x2a8]
mov ecx, esi
call fcn.005600a0
pop ebx
pop edi
mov dword [esi + 0x2a8], 0
pop esi
add esp, 8
ret
mov eax, dword [esi + 0x2a8]
mov byte [ebx + eax], 0
mov eax, dword [esi + 0x2a8]
mov edi, eax
cmp byte [edi], 0
je 0x558f28
lea ecx, [ecx]
add edi, 1
cmp byte [edi], 0
jne 0x558f20
lea ecx, [eax + ebx - 2]
cmp edi, ecx
jb 0x558f7f
mov ecx, str.Truncated_zTXt_chunk
call fcn.0054c4a0
mov ecx, dword [esi + 0x2a8]
test ecx, ecx
je 0x558f6e
mov eax, dword [esi + 0x240]
test eax, eax
push ecx
je 0x558f66
push esi
call eax
add esp, 8
pop ebx
pop edi
mov dword [esi + 0x2a8], 0
pop esi
add esp, 8
ret
call fcn.005d27e0
add esp, 4
pop ebx
pop edi
mov dword [esi + 0x2a8], 0
pop esi
add esp, 8
ret
add edi, 1
push ebp
movsx ebp, byte [edi]
test ebp, ebp
je 0x558f96
mov ecx, str.Unknown_compression_type_in_zTXt_chunk
call fcn.0054c4a0
xor ebp, ebp
sub edi, dword [esi + 0x2a8]
mov edx, dword [esp + 0x20]
add edi, 1
mov ebx, edi
push ebx
push edx
push esi
lea edx, [esp + 0x20]
mov ecx, ebp
call fcn.00556ac0
mov eax, dword [esi + 0x70]
mov dword [esp + 0x1c], eax
or eax, 0x100000
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0x23c]
add esp, 0xc
test eax, eax
push 0x1c
je 0x558fd9
push esi
call eax
add esp, 8
jmp 0x558fe1
call fcn.005d3435
add esp, 4
mov edi, eax
xor eax, eax
cmp edi, eax
jne 0x558ffe
test dword [esi + 0x70], 0x100000
jne 0x558ffe
mov edi, str.Out_of_Memory
mov eax, esi
jmp fcn.0054c480
cmp edi, eax
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x70], ecx
jne 0x55905a
mov ecx, str.Not_enough_memory_to_process_zTXt_chunk
call fcn.0054c4a0
mov ecx, dword [esi + 0x2a8]
test ecx, ecx
je 0x559048
mov eax, dword [esi + 0x240]
test eax, eax
push ecx
je 0x559040
push esi
call eax
add esp, 8
pop ebp
pop ebx
pop edi
mov dword [esi + 0x2a8], 0
pop esi
add esp, 8
ret
call fcn.005d27e0
add esp, 4
mov dword [esi + 0x2a8], 0
pop ebp
pop ebx
pop edi
pop esi
add esp, 8
ret
mov ecx, dword [esp + 0x14]
mov dword [edi], ebp
mov edx, dword [esi + 0x2a8]
mov dword [edi + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x2a8]
push edi
push edx
add eax, ebx
push esi
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
call fcn.0054d350
mov ebx, eax
mov eax, dword [esi + 0x240]
add esp, 0xc
test eax, eax
push edi
je 0x5590a4
push esi
call eax
add esp, 8
jmp 0x5590ac
call fcn.005d27e0
add esp, 4
mov ecx, dword [esi + 0x2a8]
test ecx, ecx
je 0x5590d1
mov eax, dword [esi + 0x240]
test eax, eax
push ecx
je 0x5590c9
push esi
call eax
add esp, 8
jmp 0x5590d1
call fcn.005d27e0
add esp, 4
test ebx, ebx
mov dword [esi + 0x2a8], 0
je 0x559052
mov edi, str.Insufficient_memory_to_store_zTXt_chunk
mov eax, esi
jmp fcn.0054c480