Function at 0x49f4f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x582904]
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 0x49f974
test ebx, ebx
je 0x49f974
mov al, byte [esi + 0x120]
push edi
cmp al, 8
jae 0x49f5a3
movzx edi, al
mov eax, 8
sub eax, edi
mov dword [esi + 0x254], 0x11
push eax
mov dword [ebp - 0xc], eax
lea eax, [ebx + 0x20]
add eax, edi
push eax
push esi
call fcn.004a5a00
push dword [ebp - 0xc]
lea eax, [ebx + 0x20]
mov byte [esi + 0x120], 8
push edi
push eax
call fcn.004a0ab0
add esp, 0x18
test eax, eax
je 0x49f597
cmp edi, 4
jae 0x49f589
mov eax, dword [ebp - 0xc]
add eax, 0xfffffffc
push eax
lea eax, [ebx + 0x20]
push edi
push eax
call fcn.004a0ab0
add esp, 0xc
test eax, eax
je 0x49f589
push str.Not_a_PNG_file
jmp 0x49f58e
push str.PNG_file_corrupted_by_ASCII_conversion
push esi
call fcn.004a5b20
add esp, 8
cmp edi, 3
jae 0x49f5a3
or dword [esi + 0x5c], 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 - 0xac], 0x74585469
mov byte [ebp - 0xa8], 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
nop dword [eax + eax]
push esi
call fcn.004afc60
mov ecx, dword [esi + 0x110]
lea edx, [esi + 0x110]
mov edi, eax
add esp, 4
lea eax, [ebp - 0xc]
cmp ecx, dword [eax]
jne 0x49f6dd
mov eax, dword [esi + 0x5c]
test al, 8
je 0x49f6dd
or eax, 0x2000
mov dword [esi + 0x5c], eax
mov eax, dword [edx]
lea ecx, [ebp - 0x1c]
cmp eax, dword [ecx]
jne 0x49f6f3
push edi
push ebx
push esi
call fcn.004ad5b0
add esp, 0xc
jmp 0x49f6b0
lea ecx, [ebp - 0x24]
cmp eax, dword [ecx]
jne 0x49f707
push edi
push ebx
push esi
call fcn.004ad560
add esp, 0xc
jmp 0x49f6b0
push edx
push esi
call fcn.004a09e0
add esp, 8
test eax, eax
mov eax, dword [esi + 0x110]
je 0x49f77c
lea ecx, [ebp - 0xc]
cmp eax, dword [ecx]
jne 0x49f726
or dword [esi + 0x5c], 4
push edi
push ebx
push esi
call fcn.004af7c0
mov eax, dword [esi + 0x110]
lea edx, [ebp - 0x14]
add esp, 0xc
cmp eax, dword [edx]
jne 0x49f747
or dword [esi + 0x5c], 2
jmp 0x49f6b0
lea edx, [ebp - 0xc]
cmp eax, dword [edx]
jne 0x49f6b0
mov eax, dword [esi + 0x5c]
test al, 1
jne 0x49f914
push str.Missing_IHDR_before_IDAT
push esi
call fcn.004a5b20
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050b540
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x14]
cmp eax, dword [edx]
jne 0x49f793
push edi
push ebx
push esi
call fcn.004ad790
add esp, 0xc
jmp 0x49f6b0
lea edx, [ebp - 0xc]
cmp eax, dword [edx]
je 0x49f940
push edi
lea edx, [ebp - 0x2c]
push ebx
push esi
cmp eax, dword [edx]
jne 0x49f7b5
call fcn.004ad960
add esp, 0xc
jmp 0x49f6b0
lea edx, [ebp - 0x34]
cmp eax, dword [edx]
jne 0x49f7c9
call fcn.004adb70
add esp, 0xc
jmp 0x49f6b0
lea edx, [ebp - 0x3c]
cmp eax, dword [edx]
jne 0x49f7dd
call fcn.004adf00
add esp, 0xc
jmp 0x49f6b0
lea edx, [ebp - 0x44]
cmp eax, dword [edx]
jne 0x49f7f1
call fcn.004ae070
add esp, 0xc
jmp 0x49f6b0
lea edx, [ebp - 0x4c]
cmp eax, dword [edx]
jne 0x49f805
call fcn.004ae620
add esp, 0xc
jmp 0x49f6b0
lea edx, [ebp - 0x54]
cmp eax, dword [edx]
jne 0x49f819
call fcn.004ae720
add esp, 0xc
jmp 0x49f6b0
lea edx, [ebp - 0x5c]
cmp eax, dword [edx]
jne 0x49f82d
call fcn.004aec30
add esp, 0xc
jmp 0x49f6b0
lea edx, [ebp - 0x64]
cmp eax, dword [edx]
jne 0x49f841
call fcn.004ae9e0
add esp, 0xc
jmp 0x49f6b0
lea edx, [ebp - 0x6c]
cmp eax, dword [edx]
jne 0x49f855
call fcn.004aeae0
add esp, 0xc
jmp 0x49f6b0
lea edx, [ebp - 0x74]
cmp eax, dword [edx]
jne 0x49f869
call fcn.004af0e0
add esp, 0xc
jmp 0x49f6b0
lea edx, [ebp - 0x7c]
cmp eax, dword [edx]
jne 0x49f87d
call fcn.004ae1d0
add esp, 0xc
jmp 0x49f6b0
lea edx, [ebp - 0x84]
cmp eax, dword [edx]
jne 0x49f894
call fcn.004aee10
add esp, 0xc
jmp 0x49f6b0
lea edx, [ebp - 0x8c]
cmp eax, dword [edx]
jne 0x49f8ab
call fcn.004af2c0
add esp, 0xc
jmp 0x49f6b0
lea edx, [ebp - 0x94]
cmp eax, dword [edx]
jne 0x49f8c2
call fcn.004af480
add esp, 0xc
jmp 0x49f6b0
lea edx, [ebp - 0x9c]
cmp eax, dword [edx]
jne 0x49f8d9
call fcn.004af580
add esp, 0xc
jmp 0x49f6b0
lea edx, [ebp - 0xa4]
cmp eax, dword [edx]
jne 0x49f8f0
call fcn.004af980
add esp, 0xc
jmp 0x49f6b0
lea edx, [ebp - 0xac]
cmp eax, dword [edx]
jne 0x49f907
call fcn.004ae3b0
add esp, 0xc
jmp 0x49f6b0
call fcn.004af7c0
add esp, 0xc
jmp 0x49f6b0
cmp byte [esi + 0x11a], 3
jne 0x49f973
test al, 2
jne 0x49f973
push str.Missing_PLTE_before_IDAT
push esi
call fcn.004a5b20
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050b540
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x5c]
test al, 1
jne 0x49f94e
push str.Missing_IHDR_before_IDAT
jmp 0x49f960
cmp byte [esi + 0x11a], 3
jne 0x49f969
test al, 2
jne 0x49f969
push str.Missing_PLTE_before_IDAT
push esi
call fcn.004a5b20
add esp, 8
or dword [esi + 0x5c], 4
mov dword [esi + 0x100], edi
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0050b540
mov esp, ebp
pop ebp
ret