Function at 0x4071c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
mov eax, dword [0x58605c]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push esi
mov esi, edx
push edi
mov dword [esp + 0xc], ecx
test esi, esi
je 0x4077d6
test ecx, ecx
je 0x4077d6
mov al, byte [esi + 0x12c]
cmp al, 8
jae 0x40728b
movzx ebx, al
mov eax, dword [esi + 0x50]
mov edi, 8
sub edi, ebx
test eax, eax
je 0x407220
push edi
lea ecx, [ecx + ebx + 0x20]
push ecx
push esi
call eax
add esp, 0xc
jmp 0x40722e
push esi
mov ecx, str.Call_to_NULL_read_function
call fcn.0040d490
add esp, 4
mov eax, dword [esp + 0xc]
add eax, 0x20
push edi
push eax
mov edx, ebx
mov byte [esi + 0x12c], 8
mov dword [esp + 0x18], eax
call fcn.00408270
add esp, 8
test eax, eax
je 0x40727f
cmp ebx, 4
jae 0x407271
mov edx, dword [esp + 0x10]
add edi, 0xfffffffc
push edi
push edx
mov edx, ebx
call fcn.00408270
add esp, 8
mov ecx, str.Not_a_PNG_file
test eax, eax
jne 0x407276
mov ecx, str.PNG_file_corrupted_by_ASCII_conversion
push esi
call fcn.0040d490
add esp, 4
cmp ebx, 3
jae 0x40728b
or dword [esi + 0x68], 0x1000
mov bl, 0x73
lea ecx, [ecx]
mov byte [esp + 0x84], 0x49
mov byte [esp + 0x85], 0x48
mov byte [esp + 0x86], 0x44
mov byte [esp + 0x87], 0x52
mov byte [esp + 0x14], 0x49
mov byte [esp + 0x15], 0x44
mov byte [esp + 0x16], 0x41
mov byte [esp + 0x17], 0x54
mov byte [esp + 0x34], 0x49
mov byte [esp + 0x35], 0x45
mov byte [esp + 0x36], 0x4e
mov byte [esp + 0x37], 0x44
mov byte [esp + 0x1c], 0x50
mov byte [esp + 0x1d], 0x4c
mov byte [esp + 0x1e], 0x54
mov byte [esp + 0x1f], 0x45
mov byte [esp + 0x74], 0x62
mov byte [esp + 0x75], 0x4b
mov byte [esp + 0x76], 0x47
mov byte [esp + 0x77], 0x44
mov byte [esp + 0x44], 0x63
mov byte [esp + 0x45], 0x48
mov byte [esp + 0x46], 0x52
mov byte [esp + 0x47], 0x4d
mov byte [esp + 0x94], 0x67
mov byte [esp + 0x95], 0x41
mov byte [esp + 0x96], 0x4d
mov byte [esp + 0x97], 0x41
mov byte [esp + 0x54], 0x68
mov byte [esp + 0x55], 0x49
mov byte [esp + 0x56], 0x53
mov byte [esp + 0x57], 0x54
mov byte [esp + 0x5c], 0x69
mov byte [esp + 0x5d], 0x43
mov byte [esp + 0x5e], 0x43
mov byte [esp + 0x5f], 0x50
mov byte [esp + 0x24], 0x6f
mov byte [esp + 0x25], 0x46
mov byte [esp + 0x26], 0x46
mov byte [esp + 0x27], bl
mov byte [esp + 0x64], 0x70
mov byte [esp + 0x65], 0x43
mov byte [esp + 0x66], 0x41
mov byte [esp + 0x67], 0x4c
mov byte [esp + 0x2c], 0x70
mov byte [esp + 0x2d], 0x48
mov byte [esp + 0x2e], 0x59
mov byte [esp + 0x2f], bl
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], 0x42
mov byte [esp + 0x3e], 0x49
mov byte [esp + 0x3f], 0x54
mov byte [esp + 0xa4], bl
mov byte [esp + 0xa5], 0x43
mov byte [esp + 0xa6], 0x41
mov byte [esp + 0xa7], 0x4c
mov byte [esp + 0x6c], bl
mov byte [esp + 0x6d], 0x50
mov byte [esp + 0x6e], 0x4c
mov byte [esp + 0x6f], 0x54
mov byte [esp + 0x4c], bl
mov byte [esp + 0x4d], 0x52
mov byte [esp + 0x4e], 0x47
mov byte [esp + 0x4f], 0x42
mov byte [esp + 0x7c], 0x74
mov byte [esp + 0x7d], 0x45
mov byte [esp + 0x7e], 0x58
mov byte [esp + 0x7f], 0x74
mov byte [esp + 0x8c], 0x74
mov byte [esp + 0x8d], 0x49
mov byte [esp + 0x8e], 0x4d
mov byte [esp + 0x8f], 0x45
mov byte [esp + 0x9c], 0x74
mov byte [esp + 0x9d], 0x52
mov byte [esp + 0x9e], 0x4e
mov byte [esp + 0x9f], 0x53
mov byte [esp + 0xac], 0x7a
mov byte [esp + 0xad], 0x54
mov byte [esp + 0xae], 0x58
mov byte [esp + 0xaf], 0x74
mov ecx, esi
call fcn.0040de00
mov edi, eax
mov eax, dword [esp + 0x14]
cmp dword [esi + 0x11c], eax
lea edx, [esi + 0x11c]
jne 0x40748c
mov eax, dword [esi + 0x68]
test al, 8
je 0x40748c
or eax, 0x2000
mov dword [esi + 0x68], eax
mov eax, dword [edx]
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x84]
jne 0x4074b0
mov ecx, dword [esp + 0xc]
push edi
push ecx
mov ecx, esi
call fcn.0040e680
add esp, 8
jmp 0x407290
cmp eax, dword [esp + 0x34]
jne 0x4074f1
mov eax, dword [esi + 0x68]
test al, 1
je 0x4074c1
test al, 4
jne 0x4074cf
push esi
mov ecx, str.No_image_in_file
call fcn.0040d490
add esp, 4
or dword [esi + 0x68], 0x18
test edi, edi
je 0x4074e1
mov edx, str.Incorrect_IEND_chunk_length
call fcn.0040d550
push edi
mov ecx, esi
call fcn.0040df40
add esp, 4
jmp 0x407290
mov ecx, esi
call fcn.00408a10
test eax, eax
je 0x407568
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x10], edx
jne 0x40750a
or dword [esi + 0x68], 4
mov eax, dword [esp + 0xc]
push eax
mov ecx, edi
mov edx, esi
call fcn.00410b50
mov eax, dword [esi + 0x11c]
add esp, 4
cmp eax, dword [esp + 0x1c]
jne 0x407530
or dword [esi + 0x68], 2
jmp 0x407290
cmp eax, dword [esp + 0x14]
jne 0x407290
mov eax, dword [esi + 0x68]
test al, 1
jne 0x407773
push esi
mov ecx, str.Missing_IHDR_before_IDAT
call fcn.0040d490
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.00413201
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x1c]
jne 0x407588
mov ecx, dword [esp + 0xc]
push ecx
mov eax, edi
mov ecx, esi
call fcn.0040e850
add esp, 4
jmp 0x407290
cmp eax, dword [esp + 0x14]
je 0x4077a3
cmp eax, dword [esp + 0x74]
jne 0x4075ae
mov edx, dword [esp + 0xc]
push edx
mov ecx, edi
mov edx, esi
call fcn.0040fae0
add esp, 4
jmp 0x407290
cmp eax, dword [esp + 0x44]
jne 0x4075ca
mov eax, dword [esp + 0xc]
push eax
mov ecx, edi
mov edx, esi
call fcn.0040ec80
add esp, 4
jmp 0x407290
cmp eax, dword [esp + 0x94]
jne 0x4075e9
mov ecx, dword [esp + 0xc]
push ecx
mov eax, edi
mov ecx, esi
call fcn.0040e9b0
add esp, 4
jmp 0x407290
cmp eax, dword [esp + 0x54]
jne 0x407605
mov edx, dword [esp + 0xc]
push edx
mov ecx, edi
mov edx, esi
call fcn.0040fd00
add esp, 4
jmp 0x407290
cmp eax, dword [esp + 0x24]
jne 0x407621
mov eax, dword [esp + 0xc]
push eax
mov ecx, edi
mov edx, esi
call fcn.0040ff50
add esp, 4
jmp 0x407290
cmp eax, dword [esp + 0x64]
jne 0x40763c
mov ecx, dword [esp + 0xc]
push edi
push ecx
mov eax, esi
call fcn.00410060
add esp, 8
jmp 0x407290
cmp eax, dword [esp + 0xa4]
jne 0x40765a
mov edx, dword [esp + 0xc]
push edi
push edx
mov eax, esi
call fcn.004103e0
add esp, 8
jmp 0x407290
cmp eax, dword [esp + 0x2c]
jne 0x407676
mov eax, dword [esp + 0xc]
push eax
mov ecx, edi
mov edx, esi
call fcn.0040fe40
add esp, 4
jmp 0x407290
cmp eax, dword [esp + 0x3c]
jne 0x407691
mov ecx, dword [esp + 0xc]
push edi
push ecx
mov eax, esi
call fcn.0040eb10
add esp, 8
jmp 0x407290
cmp eax, dword [esp + 0x4c]
jne 0x4076ad
mov edx, dword [esp + 0xc]
push edx
mov eax, edi
mov ecx, esi
call fcn.0040f070
add esp, 4
jmp 0x407290
cmp eax, dword [esp + 0x5c]
jne 0x4076c8
mov eax, dword [esp + 0xc]
push edi
push eax
mov eax, esi
call fcn.0040f270
add esp, 8
jmp 0x407290
cmp eax, dword [esp + 0x6c]
jne 0x4076e4
mov ecx, dword [esp + 0xc]
push ecx
mov eax, edi
mov ecx, esi
call fcn.0040f550
add esp, 4
jmp 0x407290
cmp eax, dword [esp + 0x7c]
jne 0x407700
mov edx, dword [esp + 0xc]
push edx
mov eax, edi
mov ecx, esi
call fcn.00410710
add esp, 4
jmp 0x407290
cmp eax, dword [esp + 0x8c]
jne 0x40771f
mov eax, dword [esp + 0xc]
push eax
mov ecx, edi
mov edx, esi
call fcn.004105f0
add esp, 4
jmp 0x407290
cmp eax, dword [esp + 0x9c]
jne 0x40773e
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, edi
mov edx, esi
call fcn.0040f8d0
add esp, 4
jmp 0x407290
cmp eax, dword [esp + 0xac]
jne 0x40775d
mov edx, dword [esp + 0xc]
push edx
mov eax, edi
mov ecx, esi
call fcn.004108a0
add esp, 4
jmp 0x407290
mov eax, dword [esp + 0xc]
push eax
mov ecx, edi
mov edx, esi
call fcn.00410b50
add esp, 4
jmp 0x407290
cmp byte [esi + 0x126], 3
jne 0x4077d6
test al, 2
jne 0x4077d6
push esi
mov ecx, str.Missing_PLTE_before_IDAT
call fcn.0040d490
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.00413201
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x68]
test al, 1
jne 0x4077b1
mov ecx, str.Missing_IHDR_before_IDAT
jmp 0x4077c3
cmp byte [esi + 0x126], 3
jne 0x4077cc
test al, 2
jne 0x4077cc
mov ecx, str.Missing_PLTE_before_IDAT
push esi
call fcn.0040d490
add esp, 4
or dword [esi + 0x68], 4
mov dword [esi + 0x10c], edi
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00413201
mov esp, ebp
pop ebp
ret