Function at 0x494440
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x5405a0]
xor eax, ebp
mov dword [ebp - 0xc], eax
cmp dword [ebp + 8], 0
je 0x49445c
cmp dword [ebp + 0xc], 0
jne 0x494461
jmp 0x494807
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x120]
cmp ecx, 8
jge 0x49452c
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.00497f20
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.00497560
add esp, 0xc
test eax, eax
je 0x494514
cmp dword [ebp - 8], 4
jae 0x494503
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.00497560
add esp, 0xc
test eax, eax
je 0x494503
push str.Not_a_PNG_file
mov edx, dword [ebp + 8]
push edx
call fcn.004998c0
add esp, 8
jmp 0x494514
push str.PNG_file_corrupted_by_ASCII_conversion
mov eax, dword [ebp + 8]
push eax
call fcn.004998c0
add esp, 8
cmp dword [ebp - 8], 3
jae 0x49452c
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.0049d320
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.004d45db
add esp, 0xc
test eax, eax
jne 0x49461a
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x5c]
and eax, 8
je 0x49461a
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.004d45db
add esp, 0xc
test eax, eax
jne 0x494649
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0049d570
add esp, 0xc
jmp 0x494802
push 4
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.004d45db
add esp, 0xc
test eax, eax
jne 0x494678
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0049da00
add esp, 0xc
jmp 0x494802
push 4
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x44]
push eax
call fcn.004d45db
add esp, 0xc
test eax, eax
jne 0x4946a7
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0049d7a0
add esp, 0xc
jmp 0x494802
push 4
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x44]
push edx
call fcn.004d45db
add esp, 0xc
test eax, eax
jne 0x49473b
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x5c]
and ecx, 1
jne 0x4946db
push str.Missing_IHDR_before_IDAT
mov edx, dword [ebp + 8]
push edx
call fcn.004998c0
add esp, 8
jmp 0x494706
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x11a]
cmp ecx, 3
jne 0x494706
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x5c]
and eax, 2
jne 0x494706
push str.Missing_PLTE_before_IDAT
mov ecx, dword [ebp + 8]
push ecx
call fcn.004998c0
add esp, 8
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0049e000
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 0x494807
push 4
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.004d45db
add esp, 0xc
test eax, eax
jne 0x49476a
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0049da60
add esp, 0xc
jmp 0x494802
push 4
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x44]
push eax
call fcn.004d45db
add esp, 0xc
test eax, eax
jne 0x494796
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0049dce0
add esp, 0xc
jmp 0x494802
push 4
lea ecx, [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x44]
push edx
call fcn.004d45db
add esp, 0xc
test eax, eax
jne 0x4947c2
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0049de00
add esp, 0xc
jmp 0x494802
push 4
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.004d45db
add esp, 0xc
test eax, eax
jne 0x4947ee
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0049e050
add esp, 0xc
jmp 0x494802
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0049e100
add esp, 0xc
jmp 0x49452c
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004ccee1
mov esp, ebp
pop ebp
ret