Function at 0x4958b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x545628]
xor eax, ebp
mov dword [ebp - 0xc], eax
cmp dword [ebp + 8], 0
je 0x4958cc
cmp dword [ebp + 0xc], 0
jne 0x4958d1
jmp 0x495c77
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x120]
cmp ecx, 8
jge 0x49599c
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x120]
mov dword [ebp - 8], eax
mov ecx, 8
sub ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + eax + 0x20]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00499490
add esp, 0xc
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x120], 8
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x20
push ecx
call fcn.00498ce0
add esp, 0xc
test eax, eax
je 0x495984
cmp dword [ebp - 8], 4
jae 0x495973
mov edx, dword [ebp - 4]
sub edx, 4
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x20
push ecx
call fcn.00498ce0
add esp, 0xc
test eax, eax
je 0x495973
push str.Not_a_PNG_file
mov edx, dword [ebp + 8]
push edx
call fcn.00499580
add esp, 8
jmp 0x495984
push str.PNG_file_corrupted_by_ASCII_conversion
mov eax, dword [ebp + 8]
push eax
call fcn.00499580
add esp, 8
cmp dword [ebp - 8], 3
jae 0x49599c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x5c]
or edx, 0x1000
mov eax, dword [ebp + 8]
mov dword [eax + 0x5c], edx
mov byte [ebp - 0x30], 0x49
mov byte [ebp - 0x2f], 0x48
mov byte [ebp - 0x2e], 0x44
mov byte [ebp - 0x2d], 0x52
mov byte [ebp - 0x2c], 0
mov byte [ebp - 0x28], 0x49
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x41
mov byte [ebp - 0x25], 0x54
mov byte [ebp - 0x24], 0
mov byte [ebp - 0x38], 0x49
mov byte [ebp - 0x37], 0x45
mov byte [ebp - 0x36], 0x4e
mov byte [ebp - 0x35], 0x44
mov byte [ebp - 0x34], 0
mov byte [ebp - 0x40], 0x50
mov byte [ebp - 0x3f], 0x4c
mov byte [ebp - 0x3e], 0x54
mov byte [ebp - 0x3d], 0x45
mov byte [ebp - 0x3c], 0
mov byte [ebp - 0x1c], 0x74
mov byte [ebp - 0x1b], 0x52
mov byte [ebp - 0x1a], 0x4e
mov byte [ebp - 0x19], 0x53
mov byte [ebp - 0x18], 0
mov byte [ebp - 0x14], 0x61
mov byte [ebp - 0x13], 0x63
mov byte [ebp - 0x12], 0x54
mov byte [ebp - 0x11], 0x4c
mov byte [ebp - 0x10], 0
mov byte [ebp - 0x4c], 0x66
mov byte [ebp - 0x4b], 0x63
mov byte [ebp - 0x4a], 0x54
mov byte [ebp - 0x49], 0x4c
mov byte [ebp - 0x48], 0
mov byte [ebp - 0x54], 0x66
mov byte [ebp - 0x53], 0x64
mov byte [ebp - 0x52], 0x41
mov byte [ebp - 0x51], 0x54
mov byte [ebp - 0x50], 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.004a2e00
add esp, 4
mov dword [ebp - 0x20], eax
mov edx, dword [ebp + 8]
add edx, 0x110
mov dword [ebp - 0x44], edx
push 4
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.004d74f7
add esp, 0xc
test eax, eax
jne 0x495a8a
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x5c]
and eax, 8
je 0x495a8a
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x5c]
or edx, 0x2000
mov eax, dword [ebp + 8]
mov dword [eax + 0x5c], edx
push 4
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x44]
push edx
call fcn.004d74f7
add esp, 0xc
test eax, eax
jne 0x495ab9
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004a3050
add esp, 0xc
jmp 0x495c72
push 4
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.004d74f7
add esp, 0xc
test eax, eax
jne 0x495ae8
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004a34e0
add esp, 0xc
jmp 0x495c72
push 4
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x44]
push eax
call fcn.004d74f7
add esp, 0xc
test eax, eax
jne 0x495b17
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004a3280
add esp, 0xc
jmp 0x495c72
push 4
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x44]
push edx
call fcn.004d74f7
add esp, 0xc
test eax, eax
jne 0x495bab
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x5c]
and ecx, 1
jne 0x495b4b
push str.Missing_IHDR_before_IDAT
mov edx, dword [ebp + 8]
push edx
call fcn.00499580
add esp, 8
jmp 0x495b76
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x11a]
cmp ecx, 3
jne 0x495b76
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x5c]
and eax, 2
jne 0x495b76
push str.Missing_PLTE_before_IDAT
mov ecx, dword [ebp + 8]
push ecx
call fcn.00499580
add esp, 8
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004a3ae0
add esp, 8
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov dword [ecx + 0x100], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x5c]
or ecx, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0x5c], ecx
jmp 0x495c77
push 4
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.004d74f7
add esp, 0xc
test eax, eax
jne 0x495bda
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004a3540
add esp, 0xc
jmp 0x495c72
push 4
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x44]
push eax
call fcn.004d74f7
add esp, 0xc
test eax, eax
jne 0x495c06
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004a37c0
add esp, 0xc
jmp 0x495c72
push 4
lea ecx, [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x44]
push edx
call fcn.004d74f7
add esp, 0xc
test eax, eax
jne 0x495c32
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004a38e0
add esp, 0xc
jmp 0x495c72
push 4
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.004d74f7
add esp, 0xc
test eax, eax
jne 0x495c5e
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004a3b30
add esp, 0xc
jmp 0x495c72
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004a3be0
add esp, 0xc
jmp 0x49599c
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004d158d
mov esp, ebp
pop ebp
ret