Function at 0x561b40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x5f0524]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x561f8d
test ebx, ebx
je 0x561f8d
mov al, byte [esi + 0x12c]
push edi
cmp al, 8
jae 0x561be9
movzx edi, al
mov eax, 8
sub eax, edi
push eax
mov dword [ebp - 0xc], eax
lea eax, [ebx + 0x20]
add eax, edi
push eax
push esi
call fcn.00562480
push dword [ebp - 0xc]
lea eax, [ebx + 0x20]
mov byte [esi + 0x12c], 8
push edi
push eax
call fcn.0055fb30
add esp, 0x18
test eax, eax
je 0x561bdd
cmp edi, 4
jae 0x561bcf
mov eax, dword [ebp - 0xc]
add eax, 0xfffffffc
push eax
lea eax, [ebx + 0x20]
push edi
push eax
call fcn.0055fb30
add esp, 0xc
test eax, eax
je 0x561bcf
push str.Not_a_PNG_file
jmp 0x561bd4
push str.PNG_file_corrupted_by_ASCII_conversion
push esi
call fcn.0056aaf0
add esp, 8
cmp edi, 3
jae 0x561be9
or dword [esi + 0x68], 0x1000
mov dword [ebp - 0x1c], 0x52444849
mov byte [ebp - 0x18], 0
mov dword [ebp - 0xc], 0x54414449
mov byte [ebp - 8], 0
mov dword [ebp - 0x24], 0x444e4549
mov byte [ebp - 0x20], 0
mov dword [ebp - 0x14], 0x45544c50
mov byte [ebp - 0x10], 0
mov dword [ebp - 0x2c], 0x44474b62
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x34], 0x4d524863
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x3c], 0x414d4167
mov byte [ebp - 0x38], 0
mov dword [ebp - 0x44], 0x54534968
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x7c], 0x50434369
mov byte [ebp - 0x78], 0
mov dword [ebp - 0x4c], 0x7346466f
mov byte [ebp - 0x48], 0
mov dword [ebp - 0x54], 0x4c414370
mov byte [ebp - 0x50], 0
mov dword [ebp - 0x64], 0x73594870
mov byte [ebp - 0x60], 0
mov dword [ebp - 0x6c], 0x54494273
mov byte [ebp - 0x68], 0
mov dword [ebp - 0x5c], 0x4c414373
mov byte [ebp - 0x58], 0
mov dword [ebp - 0x84], 0x544c5073
mov byte [ebp - 0x80], 0
mov dword [ebp - 0x74], 0x42475273
mov byte [ebp - 0x70], 0
mov dword [ebp - 0x8c], 0x74584574
mov byte [ebp - 0x88], 0
mov dword [ebp - 0x94], 0x454d4974
mov byte [ebp - 0x90], 0
mov dword [ebp - 0x9c], 0x534e5274
mov byte [ebp - 0x98], 0
mov dword [ebp - 0xa4], 0x7458547a
mov byte [ebp - 0xa0], 0
push esi
call fcn.0056e630
mov ecx, dword [esi + 0x11c]
lea edx, [esi + 0x11c]
mov edi, eax
add esp, 4
lea eax, [ebp - 0xc]
cmp ecx, dword [eax]
jne 0x561d0d
mov eax, dword [esi + 0x68]
test al, 8
je 0x561d0d
or eax, 0x2000
mov dword [esi + 0x68], eax
mov eax, dword [edx]
lea ecx, [ebp - 0x1c]
cmp eax, dword [ecx]
jne 0x561d23
push edi
push ebx
push esi
call fcn.0056c510
add esp, 0xc
jmp 0x561ce0
lea ecx, [ebp - 0x24]
cmp eax, dword [ecx]
jne 0x561d37
push edi
push ebx
push esi
call fcn.0056c4c0
add esp, 0xc
jmp 0x561ce0
push edx
push esi
call fcn.0055fa20
add esp, 8
test eax, eax
mov eax, dword [esi + 0x11c]
je 0x561dac
lea ecx, [ebp - 0xc]
cmp eax, dword [ecx]
jne 0x561d56
or dword [esi + 0x68], 4
push edi
push ebx
push esi
call fcn.0056e310
mov eax, dword [esi + 0x11c]
lea edx, [ebp - 0x14]
add esp, 0xc
cmp eax, dword [edx]
jne 0x561d77
or dword [esi + 0x68], 2
jmp 0x561ce0
lea edx, [ebp - 0xc]
cmp eax, dword [edx]
jne 0x561ce0
mov eax, dword [esi + 0x68]
test al, 1
jne 0x561f2d
push str.Missing_IHDR_before_IDAT
push esi
call fcn.0056aaf0
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051a19b
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x14]
cmp eax, dword [edx]
jne 0x561dc3
push edi
push ebx
push esi
call fcn.0056c690
add esp, 0xc
jmp 0x561ce0
lea edx, [ebp - 0xc]
cmp eax, dword [edx]
je 0x561f59
push edi
lea edx, [ebp - 0x2c]
push ebx
push esi
cmp eax, dword [edx]
jne 0x561de5
call fcn.0056c840
add esp, 0xc
jmp 0x561ce0
lea edx, [ebp - 0x34]
cmp eax, dword [edx]
jne 0x561df9
call fcn.0056c9f0
add esp, 0xc
jmp 0x561ce0
lea edx, [ebp - 0x3c]
cmp eax, dword [edx]
jne 0x561e0d
call fcn.0056ce20
add esp, 0xc
jmp 0x561ce0
lea edx, [ebp - 0x44]
cmp eax, dword [edx]
jne 0x561e21
call fcn.0056cf90
add esp, 0xc
jmp 0x561ce0
lea edx, [ebp - 0x4c]
cmp eax, dword [edx]
jne 0x561e35
call fcn.0056d2a0
add esp, 0xc
jmp 0x561ce0
lea edx, [ebp - 0x54]
cmp eax, dword [edx]
jne 0x561e49
call fcn.0056d370
add esp, 0xc
jmp 0x561ce0
lea edx, [ebp - 0x5c]
cmp eax, dword [edx]
jne 0x561e5d
call fcn.0056d810
add esp, 0xc
jmp 0x561ce0
lea edx, [ebp - 0x64]
cmp eax, dword [edx]
jne 0x561e71
call fcn.0056d600
add esp, 0xc
jmp 0x561ce0
lea edx, [ebp - 0x6c]
cmp eax, dword [edx]
jne 0x561e85
call fcn.0056d6d0
add esp, 0xc
jmp 0x561ce0
lea edx, [ebp - 0x74]
cmp eax, dword [edx]
jne 0x561e99
call fcn.0056dc70
add esp, 0xc
jmp 0x561ce0
lea edx, [ebp - 0x7c]
cmp eax, dword [edx]
jne 0x561ead
call fcn.0056d0d0
add esp, 0xc
jmp 0x561ce0
lea edx, [ebp - 0x84]
cmp eax, dword [edx]
jne 0x561ec4
call fcn.0056d9f0
add esp, 0xc
jmp 0x561ce0
lea edx, [ebp - 0x8c]
cmp eax, dword [edx]
jne 0x561edb
call fcn.0056de70
add esp, 0xc
jmp 0x561ce0
lea edx, [ebp - 0x94]
cmp eax, dword [edx]
jne 0x561ef2
call fcn.0056dff0
add esp, 0xc
jmp 0x561ce0
lea edx, [ebp - 0x9c]
cmp eax, dword [edx]
jne 0x561f09
call fcn.0056e100
add esp, 0xc
jmp 0x561ce0
lea edx, [ebp - 0xa4]
cmp eax, dword [edx]
jne 0x561f20
call fcn.0056e490
add esp, 0xc
jmp 0x561ce0
call fcn.0056e310
add esp, 0xc
jmp 0x561ce0
cmp byte [esi + 0x126], 3
jne 0x561f8c
test al, 2
jne 0x561f8c
push str.Missing_PLTE_before_IDAT
push esi
call fcn.0056aaf0
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051a19b
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x68]
test al, 1
jne 0x561f67
push str.Missing_IHDR_before_IDAT
jmp 0x561f79
cmp byte [esi + 0x126], 3
jne 0x561f82
test al, 2
jne 0x561f82
push str.Missing_PLTE_before_IDAT
push esi
call fcn.0056aaf0
add esp, 8
or dword [esi + 0x68], 4
mov dword [esi + 0x10c], edi
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0051a19b
mov esp, ebp
pop ebp
ret