Function at 0x4e87d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
mov eax, dword [0x58569c]
xor eax, esp
mov dword [esp + 0xb0], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], eax
test esi, esi
je 0x4e8c64
test eax, eax
je 0x4e8c64
push eax
push esi
call fcn.004f0280
mov bl, 0x54
add esp, 8
mov dword [esp + 0x8c], 0x52444849
mov word [esp + 0x14], 0x4449
mov byte [esp + 0x16], 0x41
mov byte [esp + 0x17], bl
mov dword [esp + 0xac], 0x444e4549
mov word [esp + 0x1c], 0x4c50
mov byte [esp + 0x1e], bl
mov byte [esp + 0x1f], 0x45
mov dword [esp + 0x3c], 0x44474b62
mov dword [esp + 0x7c], 0x4d524863
mov dword [esp + 0x4c], 0x414d4167
mov word [esp + 0x9c], 0x4968
mov byte [esp + 0x9e], 0x53
mov byte [esp + 0x9f], bl
mov dword [esp + 0x54], 0x50434369
mov byte [esp + 0xb4], 0x69
mov byte [esp + 0xb5], bl
mov word [esp + 0xb6], 0x7458
mov dword [esp + 0x5c], 0x7346466f
mov dword [esp + 0x24], 0x4c414370
mov dword [esp + 0x2c], 0x73594870
mov word [esp + 0x34], 0x4273
mov byte [esp + 0x36], 0x49
mov byte [esp + 0x37], bl
mov dword [esp + 0x6c], 0x4c414373
mov word [esp + 0x64], 0x5073
mov byte [esp + 0x66], 0x4c
mov byte [esp + 0x67], bl
mov dword [esp + 0x44], 0x42475273
mov dword [esp + 0x74], 0x74584574
mov dword [esp + 0x84], 0x454d4974
mov dword [esp + 0x94], 0x534e5274
mov byte [esp + 0xa4], 0x7a
mov byte [esp + 0xa5], bl
mov word [esp + 0xa6], 0x7458
call fcn.004f0330
mov edi, eax
mov eax, dword [esp + 0x14]
cmp dword [esi + 0x11c], eax
lea edx, [esi + 0x11c]
jne 0x4e8941
mov eax, dword [esi + 0x6c]
test al, 8
je 0x4e8941
or eax, 0x2000
mov dword [esi + 0x6c], eax
mov eax, dword [edx]
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x8c]
jne 0x4e8962
mov ecx, dword [esp + 0xc]
push edi
push ecx
mov ecx, esi
call fcn.004f09e0
jmp 0x4e880f
cmp eax, dword [esp + 0xac]
jne 0x4e89a2
mov eax, dword [esi + 0x6c]
test al, 1
je 0x4e8c07
test al, 4
je 0x4e8c07
or eax, 0x18
mov dword [esi + 0x6c], eax
test edi, edi
je 0x4e8992
mov ecx, str.Incorrect_IEND_chunk_length
call fcn.004ef2e0
push edi
mov ecx, esi
call fcn.004f04a0
add esp, 4
jmp 0x4e8812
mov ecx, esi
call fcn.004ee480
test eax, eax
je 0x4e8a02
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x10], edx
jne 0x4e89bb
or dword [esi + 0x6c], 4
mov eax, dword [esp + 0xc]
push eax
mov edx, edi
mov ecx, esi
call fcn.004f2f50
mov eax, dword [esi + 0x11c]
add esp, 4
cmp eax, dword [esp + 0x1c]
jne 0x4e89e1
or dword [esi + 0x6c], 2
jmp 0x4e8812
cmp eax, dword [esp + 0x14]
jne 0x4e8812
mov eax, dword [esi + 0x6c]
test al, 1
jne 0x4e8c13
mov edi, str.Missing_IHDR_before_IDAT
mov eax, esi
call fcn.004ef2c0
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x1c]
jne 0x4e8a22
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, edi
mov edx, esi
call fcn.004f0b80
add esp, 4
jmp 0x4e8812
cmp eax, dword [esp + 0x14]
je 0x4e8c2c
cmp eax, dword [esp + 0x3c]
jne 0x4e8a46
mov edx, dword [esp + 0xc]
push edi
mov ecx, esi
call fcn.004f1c50
add esp, 4
jmp 0x4e8812
cmp eax, dword [esp + 0x7c]
jne 0x4e8a5c
mov ecx, dword [esp + 0xc]
push edi
push esi
call fcn.004f0f90
jmp 0x4e880f
cmp eax, dword [esp + 0x4c]
jne 0x4e8a78
mov edx, dword [esp + 0xc]
push edx
mov eax, edi
mov ecx, esi
call fcn.004f0d20
add esp, 4
jmp 0x4e8812
cmp eax, dword [esp + 0x9c]
jne 0x4e8a95
mov ecx, dword [esp + 0xc]
push edi
mov edx, esi
call fcn.004f1e30
add esp, 4
jmp 0x4e8812
cmp eax, dword [esp + 0x5c]
jne 0x4e8aaf
mov edx, dword [esp + 0xc]
push edi
mov ecx, esi
call fcn.004f2060
add esp, 4
jmp 0x4e8812
cmp eax, dword [esp + 0x24]
jne 0x4e8ac7
mov eax, dword [esp + 0xc]
push edi
push eax
mov eax, esi
call fcn.004f2180
jmp 0x4e880f
cmp eax, dword [esp + 0x6c]
jne 0x4e8ae3
mov ecx, dword [esp + 0xc]
push ecx
mov eax, edi
mov ecx, esi
call fcn.004f24e0
add esp, 4
jmp 0x4e8812
cmp eax, dword [esp + 0x2c]
jne 0x4e8afd
mov edx, dword [esp + 0xc]
push edi
mov ecx, esi
call fcn.004f1f60
add esp, 4
jmp 0x4e8812
cmp eax, dword [esp + 0x34]
jne 0x4e8b17
mov eax, dword [esp + 0xc]
push edi
mov ecx, esi
call fcn.004f0e60
add esp, 4
jmp 0x4e8812
cmp eax, dword [esp + 0x44]
jne 0x4e8b31
mov eax, dword [esp + 0xc]
push edi
mov ecx, esi
call fcn.004f1280
add esp, 4
jmp 0x4e8812
cmp eax, dword [esp + 0x54]
jne 0x4e8b4b
mov edx, dword [esp + 0xc]
push edi
mov ecx, esi
call fcn.004f1470
add esp, 4
jmp 0x4e8812
cmp eax, dword [esp + 0x64]
jne 0x4e8b63
mov edx, dword [esp + 0xc]
push edi
push edx
mov eax, esi
call fcn.004f1710
jmp 0x4e880f
cmp eax, dword [esp + 0x74]
jne 0x4e8b7f
mov eax, dword [esp + 0xc]
push eax
mov eax, edi
mov ecx, esi
call fcn.004f2760
add esp, 4
jmp 0x4e8812
cmp eax, dword [esp + 0x84]
jne 0x4e8b9c
mov edx, dword [esp + 0xc]
push edi
mov ecx, esi
call fcn.004f2660
add esp, 4
jmp 0x4e8812
cmp eax, dword [esp + 0x94]
jne 0x4e8bbb
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, edi
mov edx, esi
call fcn.004f1a50
add esp, 4
jmp 0x4e8812
cmp eax, dword [esp + 0xa4]
jne 0x4e8bd6
mov edx, dword [esp + 0xc]
push edi
push edx
mov eax, esi
call fcn.004f29c0
jmp 0x4e880f
cmp eax, dword [esp + 0xb4]
jne 0x4e8bf1
mov eax, dword [esp + 0xc]
push edi
push eax
mov eax, esi
call fcn.004f2c30
jmp 0x4e880f
mov ecx, dword [esp + 0xc]
push ecx
mov edx, edi
mov ecx, esi
call fcn.004f2f50
add esp, 4
jmp 0x4e8812
mov edi, str.No_image_in_file
mov eax, esi
call fcn.004ef2c0
cmp byte [esi + 0x126], 3
jne 0x4e8c64
test al, 2
jne 0x4e8c64
mov edi, str.Missing_PLTE_before_IDAT
mov eax, esi
call fcn.004ef2c0
mov eax, dword [esi + 0x6c]
test al, 1
jne 0x4e8c3f
mov edi, str.Missing_IHDR_before_IDAT
mov eax, esi
call fcn.004ef2c0
cmp byte [esi + 0x126], 3
jne 0x4e8c58
test al, 2
jne 0x4e8c58
mov edi, str.Missing_PLTE_before_IDAT
mov eax, esi
call fcn.004ef2c0
or eax, 4
mov dword [esi + 0x10c], edi
mov dword [esi + 0x6c], eax
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004fe191
mov esp, ebp
pop ebp
ret