Function at 0x5590f0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x14
push esi
mov esi, eax
mov eax, dword [esi + 0x260]
test eax, eax
je 0x55913b
cmp eax, 1
jne 0x559114
mov eax, dword [esp + 0x20]
mov ecx, esi
pop esi
add esp, 0x14
jmp fcn.00556840
add eax, 0xffffffff
cmp eax, 1
mov dword [esi + 0x260], eax
jne 0x55913b
mov ecx, str.No_space_in_chunk_cache_for_iTXt
call fcn.0054c4a0
mov eax, dword [esp + 0x20]
mov ecx, esi
pop esi
add esp, 0x14
jmp fcn.00556840
mov eax, dword [esi + 0x6c]
test al, 1
push edi
jne 0x55914f
mov edi, str.Missing_IHDR_before_iTXt
mov eax, esi
jmp fcn.0054c480
test al, 4
je 0x559159
or eax, 8
mov dword [esi + 0x6c], eax
mov ecx, dword [esi + 0x2a8]
test ecx, ecx
je 0x55917e
mov eax, dword [esi + 0x240]
test eax, eax
push ecx
je 0x559176
push esi
call eax
add esp, 8
jmp 0x55917e
call fcn.005d27e0
add esp, 4
push ebx
mov ebx, dword [esp + 0x28]
lea ecx, [ebx + 1]
call fcn.005600d0
test eax, eax
mov dword [esi + 0x2a8], eax
jne 0x5591a6
mov ecx, str.No_memory_to_process_iTXt_chunk
call fcn.0054c4a0
pop ebx
pop edi
pop esi
add esp, 0x14
ret
call fcn.005567d0
xor eax, eax
mov ecx, esi
call fcn.00556840
test eax, eax
je 0x5591d6
mov edx, dword [esi + 0x2a8]
mov ecx, esi
call fcn.005600a0
pop ebx
pop edi
mov dword [esi + 0x2a8], 0
pop esi
add esp, 0x14
ret
mov eax, dword [esi + 0x2a8]
mov byte [ebx + eax], 0
mov edx, dword [esi + 0x2a8]
push ebp
mov ebp, edx
cmp byte [ebp], 0
mov dword [esp + 0x1c], edx
je 0x5591fc
add ebp, 1
cmp byte [ebp], 0
jne 0x5591f3
lea ecx, [edx + ebx]
add ebp, 1
lea eax, [ecx - 3]
cmp ebp, eax
jb 0x559213
mov ecx, str.Truncated_iTXt_chunk
jmp 0x5592f0
movsx edi, byte [ebp]
movsx eax, byte [ebp + 1]
add ebp, 1
add ebp, 1
cmp byte [ebp], 0
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], eax
mov ebx, ebp
je 0x559239
add ebx, 1
cmp byte [ebx], 0
jne 0x559231
add ebx, 1
cmp ebx, ecx
jb 0x55924a
mov ecx, str.Truncated_iTXt_chunk
jmp 0x5592f0
cmp byte [ebx], 0
mov eax, ebx
je 0x559259
add eax, 1
cmp byte [eax], 0
jne 0x559251
add eax, 1
cmp eax, ecx
jb 0x55926a
mov ecx, str.Malformed_iTXt_chunk
jmp 0x5592f0
sub eax, edx
test edi, edi
mov dword [esp + 0x20], eax
je 0x55928d
mov ecx, dword [esp + 0x2c]
push eax
push ecx
mov ecx, dword [esp + 0x18]
push esi
lea edx, [esp + 0x1c]
call fcn.00556ac0
add esp, 0xc
jmp 0x55929a
add edx, eax
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x70]
mov dword [esp + 0x14], eax
or eax, 0x100000
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0x23c]
test eax, eax
push 0x1c
je 0x5592bd
push esi
call eax
add esp, 8
jmp 0x5592c5
call fcn.005d3435
add esp, 4
mov edi, eax
test edi, edi
jne 0x5592e0
test dword [esi + 0x70], 0x100000
jne 0x5592e0
mov edi, str.Out_of_Memory
mov eax, esi
jmp fcn.0054c480
test edi, edi
mov edx, dword [esp + 0x14]
mov dword [esi + 0x70], edx
jne 0x55933c
mov ecx, str.Not_enough_memory_to_process_iTXt_chunk
call fcn.0054c4a0
mov ecx, dword [esi + 0x2a8]
test ecx, ecx
je 0x55932a
mov eax, dword [esi + 0x240]
test eax, eax
push ecx
je 0x559322
push esi
call eax
add esp, 8
pop ebp
pop ebx
pop edi
mov dword [esi + 0x2a8], 0
pop esi
add esp, 0x14
ret
call fcn.005d27e0
add esp, 4
mov dword [esi + 0x2a8], 0
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x14
ret
mov eax, dword [esp + 0x18]
add eax, 1
mov dword [edi], eax
mov ecx, dword [esi + 0x2a8]
mov eax, dword [esp + 0x1c]
sub ecx, eax
add ecx, ebx
mov dword [edi + 0x18], ecx
mov edx, dword [esi + 0x2a8]
sub edx, eax
mov eax, dword [esp + 0x10]
add edx, ebp
mov dword [edi + 0x14], edx
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [edi + 0xc], 0
mov ecx, dword [esi + 0x2a8]
mov dword [edi + 4], ecx
mov edx, dword [esi + 0x2a8]
add edx, dword [esp + 0x20]
push edi
push eax
push esi
mov dword [edi + 8], edx
call fcn.0054d350
mov ebx, eax
mov eax, dword [esi + 0x240]
add esp, 0xc
test eax, eax
push edi
je 0x5593ab
push esi
call eax
add esp, 8
jmp 0x5593b3
call fcn.005d27e0
add esp, 4
mov ecx, dword [esi + 0x2a8]
test ecx, ecx
je 0x5593d8
mov eax, dword [esi + 0x240]
test eax, eax
push ecx
je 0x5593d0
push esi
call eax
add esp, 8
jmp 0x5593d8
call fcn.005d27e0
add esp, 4
test ebx, ebx
mov dword [esi + 0x2a8], 0
je 0x559334
mov edi, str.Insufficient_memory_to_store_iTXt_chunk
mov eax, esi
jmp fcn.0054c480