Function at 0x541f00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x60f074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x1c], 0x52444849
push edi
mov ebx, edx
mov byte [ebp - 0x18], 0
mov dword [ebp - 0xc], 0x54414449
test dword [esi + 0x68], 0x100
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 - 0x64], 0x44474b62
mov byte [ebp - 0x60], 0
mov dword [ebp - 0x3c], 0x4d524863
mov byte [ebp - 0x38], 0
mov dword [ebp - 0x2c], 0x414d4167
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x6c], 0x54534968
mov byte [ebp - 0x68], 0
mov dword [ebp - 0x4c], 0x50434369
mov byte [ebp - 0x48], 0
mov dword [ebp - 0x7c], 0x7346466f
mov byte [ebp - 0x78], 0
mov dword [ebp - 0x84], 0x4c414370
mov byte [ebp - 0x80], 0
mov dword [ebp - 0x74], 0x73594870
mov byte [ebp - 0x70], 0
mov dword [ebp - 0x34], 0x54494273
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x8c], 0x4c414373
mov byte [ebp - 0x88], 0
mov dword [ebp - 0x44], 0x42475273
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x54], 0x544c5073
mov byte [ebp - 0x50], 0
mov dword [ebp - 0x9c], 0x74584574
mov byte [ebp - 0x98], 0
mov dword [ebp - 0x94], 0x454d4974
mov byte [ebp - 0x90], 0
mov dword [ebp - 0x5c], 0x534e5274
mov byte [ebp - 0x58], 0
mov dword [ebp - 0xa4], 0x7458547a
mov byte [ebp - 0xa0], 0
jne 0x542120
cmp dword [esi + 0x1cc], 8
jb 0x542728
push 4
lea eax, [ebp - 0xa8]
push eax
push esi
call fcn.005428a0
mov eax, dword [ebp - 0xa8]
add esp, 0xc
movzx ecx, al
shl ecx, 8
movzx eax, ah
add ecx, eax
movzx eax, byte [ebp - 0xa6]
shl ecx, 8
add ecx, eax
movzx eax, byte [ebp - 0xa5]
shl ecx, 8
add ecx, eax
cmp ecx, 0x7fffffff
ja 0x542765
mov eax, dword [esi + 0x50]
lea edi, [esi + 0x11c]
mov dword [esi + 0x1bc], ecx
mov dword [esi + 0x110], 0
test eax, eax
je 0x54277d
push 4
push edi
push esi
call eax
add esp, 0xc
mov edx, edi
mov ecx, esi
push 4
call fcn.00540e90
mov cl, byte [edi]
add esp, 4
lea eax, [ecx - 0x41]
cmp al, 0x39
ja 0x542771
cmp cl, 0x5a
jbe 0x5420c5
cmp cl, 0x61
jb 0x542771
mov cl, byte [edi + 1]
lea eax, [ecx - 0x41]
cmp al, 0x39
ja 0x542771
cmp cl, 0x5a
jbe 0x5420e1
cmp cl, 0x61
jb 0x542771
mov cl, byte [edi + 2]
lea eax, [ecx - 0x41]
cmp al, 0x39
ja 0x542771
cmp cl, 0x5a
jbe 0x5420fd
cmp cl, 0x61
jb 0x542771
mov cl, byte [edi + 3]
lea eax, [ecx - 0x41]
cmp al, 0x39
ja 0x542771
cmp cl, 0x5a
jbe 0x542119
cmp cl, 0x61
jb 0x542771
or dword [esi + 0x68], 0x100
lea edi, [esi + 0x11c]
mov ecx, edi
lea edx, [ebp - 0xc]
mov eax, dword [ecx]
cmp eax, dword [edx]
je 0x54214d
cmp al, byte [edx]
jne 0x542151
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x542151
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x542151
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x542151
xor edx, edx
jmp 0x542156
sbb edx, edx
or edx, 1
mov eax, dword [esi + 0x68]
mov ecx, eax
test edx, edx
jne 0x54216c
test al, 8
je 0x54216c
or ecx, 0x2000
mov dword [esi + 0x68], ecx
mov eax, dword [edi]
lea edx, [ebp - 0x1c]
cmp eax, dword [edx]
jne 0x54219f
cmp dword [esi + 0x1bc], 0xd
jne 0x542789
cmp dword [esi + 0x1cc], 0x11
jb 0x542728
push 0xd
mov edx, ebx
mov ecx, esi
call fcn.00547b30
jmp 0x54274a
lea edx, [ebp - 0x24]
cmp eax, dword [edx]
jne 0x54220b
mov edi, dword [esi + 0x1bc]
lea eax, [edi + 4]
cmp eax, dword [esi + 0x1cc]
ja 0x542728
mov eax, ecx
and eax, 5
cmp al, 5
jne 0x542795
or ecx, 0x18
mov dword [esi + 0x68], ecx
test edi, edi
je 0x5421de
mov edx, str.Incorrect_IEND_chunk_length
mov ecx, esi
call fcn.00545660
mov edx, edi
mov ecx, esi
call fcn.00547650
mov eax, dword [esi + 0x1a8]
mov dword [esi + 0x1d4], 6
test eax, eax
je 0x54274d
push ebx
push esi
call eax
add esp, 8
jmp 0x54274d
test edi, edi
je 0x542235
mov edx, dword [esi + 0x220]
test edx, edx
jle 0x542235
mov eax, dword [esi + 0x224]
lea ecx, [edx + edx*4]
add eax, 0xfffffffb
add ecx, eax
mov eax, dword [edi]
cmp eax, dword [ecx]
je 0x542266
sub ecx, 5
sub edx, 1
jne 0x542227
mov eax, dword [edi]
lea ecx, [ebp - 0x14]
cmp eax, dword [ecx]
jne 0x5422dd
mov ecx, dword [esi + 0x1bc]
lea eax, [ecx + 4]
cmp eax, dword [esi + 0x1cc]
ja 0x542728
push ecx
mov edx, ebx
mov ecx, esi
call fcn.00547d20
jmp 0x54274a
cmp byte [ecx + 4], 0
je 0x542235
mov ecx, dword [esi + 0x1bc]
lea eax, [ecx + 4]
cmp eax, dword [esi + 0x1cc]
ja 0x542728
mov eax, dword [edi]
lea edx, [ebp - 0xc]
cmp eax, dword [edx]
jne 0x54228e
or dword [esi + 0x68], 4
push ecx
mov edx, ebx
mov ecx, esi
call fcn.0054a1a0
mov eax, dword [edi]
lea ecx, [ebp - 0x14]
add esp, 4
cmp eax, dword [ecx]
jne 0x5422ad
or dword [esi + 0x68], 2
jmp 0x54274d
lea ecx, [ebp - 0xc]
cmp eax, dword [ecx]
jne 0x54274d
mov eax, dword [esi + 0x68]
test al, 1
je 0x5427a1
cmp byte [esi + 0x126], 3
jne 0x54274d
test al, 2
jne 0x54274d
jmp 0x5427ad
lea ecx, [ebp - 0xc]
cmp eax, dword [ecx]
jne 0x5423a0
mov ecx, dword [esi + 0x68]
test cl, 1
je 0x5427a1
cmp byte [esi + 0x126], 3
jne 0x542306
test cl, 2
je 0x5427ad
test cl, 4
je 0x542329
test ecx, 0x2000
jne 0x542320
cmp dword [esi + 0x1bc], 0
je 0x542754
test cl, 8
jne 0x5427b9
mov eax, dword [esi + 0x1bc]
or ecx, 4
mov dword [esi + 0x10c], eax
mov eax, dword [esi + 0x1a0]
mov dword [esi + 0x68], ecx
mov dword [esi + 0x1d4], 2
test eax, eax
je 0x542356
push ebx
push esi
call eax
add esp, 8
mov al, byte [esi + 0x129]
mov edx, dword [esi + 0xe0]
movzx ecx, al
cmp al, 8
jb 0x542371
shr ecx, 3
imul ecx, edx
jmp 0x54237a
imul ecx, edx
add ecx, 7
shr ecx, 3
lea eax, [ecx + 1]
mov dword [esi + 0x84], eax
mov eax, dword [esi + 0xec]
mov dword [esi + 0x80], eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00550156
mov esp, ebp
pop ebp
ret
mov ecx, edi
lea edx, [ebp - 0x2c]
mov eax, dword [ecx]
cmp eax, dword [edx]
je 0x5423c7
cmp al, byte [edx]
jne 0x5423cb
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x5423cb
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x5423cb
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x5423cb
xor eax, eax
jmp 0x5423d0
sbb eax, eax
or eax, 1
test eax, eax
jne 0x5423f8
mov ecx, dword [esi + 0x1bc]
lea eax, [ecx + 4]
cmp eax, dword [esi + 0x1cc]
ja 0x542728
push ecx
mov edx, ebx
mov ecx, esi
call fcn.00547f80
jmp 0x54274a
mov eax, dword [edi]
lea ecx, [ebp - 0x34]
cmp eax, dword [ecx]
jne 0x542425
mov ecx, dword [esi + 0x1bc]
lea eax, [ecx + 4]
cmp eax, dword [esi + 0x1cc]
ja 0x542728
push ecx
mov edx, ebx
mov ecx, esi
call fcn.00548150
jmp 0x54274a
lea ecx, [ebp - 0x3c]
cmp eax, dword [ecx]
jne 0x542450
mov ecx, dword [esi + 0x1bc]
lea eax, [ecx + 4]
cmp eax, dword [esi + 0x1cc]
ja 0x542728
push ecx
mov edx, ebx
mov ecx, esi
call fcn.005482d0
jmp 0x54274a
lea ecx, [ebp - 0x44]
cmp eax, dword [ecx]
jne 0x54247b
mov ecx, dword [esi + 0x1bc]
lea eax, [ecx + 4]
cmp eax, dword [esi + 0x1cc]
ja 0x542728
push ecx
mov edx, ebx
mov ecx, esi
call fcn.00548770
jmp 0x54274a
lea ecx, [ebp - 0x4c]
cmp eax, dword [ecx]
jne 0x5424a6
mov ecx, dword [esi + 0x1bc]
lea eax, [ecx + 4]
cmp eax, dword [esi + 0x1cc]
ja 0x542728
push ecx
mov edx, ebx
mov ecx, esi
call fcn.00548970
jmp 0x54274a
lea ecx, [ebp - 0x54]
cmp eax, dword [ecx]
jne 0x5424d1
mov ecx, dword [esi + 0x1bc]
lea eax, [ecx + 4]
cmp eax, dword [esi + 0x1cc]
ja 0x542728
push ecx
mov edx, ebx
mov ecx, esi
call fcn.00548c10
jmp 0x54274a
lea ecx, [ebp - 0x5c]
cmp eax, dword [ecx]
jne 0x5424fc
mov ecx, dword [esi + 0x1bc]
lea eax, [ecx + 4]
cmp eax, dword [esi + 0x1cc]
ja 0x542728
push ecx
mov edx, ebx
mov ecx, esi
call fcn.00548ff0
jmp 0x54274a
lea ecx, [ebp - 0x64]
cmp eax, dword [ecx]
jne 0x542527
mov ecx, dword [esi + 0x1bc]
lea eax, [ecx + 4]
cmp eax, dword [esi + 0x1cc]
ja 0x542728
push ecx
mov edx, ebx
mov ecx, esi
call fcn.00549360
jmp 0x54274a
lea ecx, [ebp - 0x6c]
cmp eax, dword [ecx]
jne 0x542552
mov ecx, dword [esi + 0x1bc]
lea eax, [ecx + 4]
cmp eax, dword [esi + 0x1cc]
ja 0x542728
push ecx
mov edx, ebx
mov ecx, esi
call fcn.00549570
jmp 0x54274a
lea ecx, [ebp - 0x74]
cmp eax, dword [ecx]
jne 0x54257d
mov ecx, dword [esi + 0x1bc]
lea eax, [ecx + 4]
cmp eax, dword [esi + 0x1cc]
ja 0x542728
push ecx
mov edx, ebx
mov ecx, esi
call fcn.005497c0
jmp 0x54274a
lea ecx, [ebp - 0x7c]
cmp eax, dword [ecx]
jne 0x5425a8
mov ecx, dword [esi + 0x1bc]
lea eax, [ecx + 4]
cmp eax, dword [esi + 0x1cc]
ja 0x542728
push ecx
mov edx, ebx
mov ecx, esi
call fcn.005498e0
jmp 0x54274a
lea ecx, [ebp - 0x84]
cmp eax, dword [ecx]
jne 0x5425d6
mov ecx, dword [esi + 0x1bc]
lea eax, [ecx + 4]
cmp eax, dword [esi + 0x1cc]
ja 0x542728
push ecx
mov edx, ebx
mov ecx, esi
call fcn.00549a00
jmp 0x54274a
lea ecx, [ebp - 0x8c]
cmp eax, dword [ecx]
jne 0x542604
mov ecx, dword [esi + 0x1bc]
lea eax, [ecx + 4]
cmp eax, dword [esi + 0x1cc]
ja 0x542728
push ecx
mov edx, ebx
mov ecx, esi
call fcn.00549e10
jmp 0x54274a
lea ecx, [ebp - 0x94]
cmp eax, dword [ecx]
jne 0x542632
mov ecx, dword [esi + 0x1bc]
lea eax, [ecx + 4]
cmp eax, dword [esi + 0x1cc]
ja 0x542728
push ecx
mov edx, ebx
mov ecx, esi
call fcn.0054a060
jmp 0x54274a
lea ecx, [ebp - 0x9c]
cmp eax, dword [ecx]
jne 0x542699
mov edi, dword [esi + 0x1bc]
lea eax, [edi + 4]
cmp eax, dword [esi + 0x1cc]
ja 0x542728
mov eax, dword [esi + 0x68]
mov ecx, esi
and al, 0x11
cmp al, 1
jne 0x5427c5
lea edx, [edi + 1]
call fcn.00545530
mov dword [esi + 0x1e4], eax
mov byte [eax + edi], 0
mov eax, dword [esi + 0x1e4]
mov dword [esi + 0x1e8], eax
mov dword [esi + 0x1dc], edi
mov dword [esi + 0x1e0], edi
mov dword [esi + 0x1d4], 4
jmp 0x54274d
lea ecx, [ebp - 0xa4]
cmp eax, dword [ecx]
je 0x5426bf
cmp al, byte [ecx]
jne 0x5426c3
mov al, byte [edi + 1]
cmp al, byte [ecx + 1]
jne 0x5426c3
mov al, byte [edi + 2]
cmp al, byte [ecx + 2]
jne 0x5426c3
mov al, byte [edi + 3]
cmp al, byte [ecx + 3]
jne 0x5426c3
xor eax, eax
jmp 0x5426c8
sbb eax, eax
or eax, 1
mov edi, dword [esi + 0x1bc]
mov ecx, dword [esi + 0x1cc]
lea edx, [edi + 4]
test eax, eax
jne 0x542724
cmp edx, ecx
ja 0x542728
mov eax, dword [esi + 0x68]
mov ecx, esi
and al, 0x11
cmp al, 1
jne 0x5427cf
lea edx, [edi + 1]
call fcn.00545530
mov dword [esi + 0x1e4], eax
mov byte [edi + eax], 0
mov eax, dword [esi + 0x1e4]
mov dword [esi + 0x1e8], eax
mov dword [esi + 0x1dc], edi
mov dword [esi + 0x1e0], edi
mov dword [esi + 0x1d4], 5
jmp 0x54274d
cmp edx, ecx
jbe 0x542740
mov ecx, esi
call fcn.00542930
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00550156
mov esp, ebp
pop ebp
ret
push edi
mov edx, ebx
mov ecx, esi
call fcn.00543a60
add esp, 4
and dword [esi + 0x68], 0xfffffeff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00550156
mov esp, ebp
pop ebp
ret
mov edx, str.PNG_unsigned_integer_out_of_range.
mov ecx, esi
call fcn.005455b0
mov edx, str.invalid_chunk_type
mov ecx, esi
call fcn.005458e0
mov edx, str.Call_to_NULL_read_function
mov ecx, esi
call fcn.005455b0
mov edx, str.Invalid_IHDR_length
mov ecx, esi
call fcn.005455b0
mov edx, str.No_image_in_file
mov ecx, esi
call fcn.005455b0
mov edx, str.Missing_IHDR_before_IDAT
mov ecx, esi
call fcn.005455b0
mov edx, str.Missing_PLTE_before_IDAT
mov ecx, esi
call fcn.005455b0
mov edx, str.Too_many_IDATs_found
mov ecx, esi
call fcn.005455b0
mov edx, str.Out_of_place_tEXt
call fcn.005455b0
mov edx, str.Out_of_place_zTXt
call fcn.005455b0
int3