Function at 0x401340
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
mov eax, dword [0x47fa30]
xor eax, esp
mov dword [esp + 0xb0], eax
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esp + 0xc], ecx
test esi, esi
je 0x4019a5
test ecx, ecx
je 0x4019a5
mov al, byte [esi + 0x130]
cmp al, 8
jae 0x401419
movzx ebx, al
mov eax, dword [esi + 0x54]
mov edi, 8
sub edi, ebx
mov dword [esi + 0x278], 0x11
test eax, eax
je 0x4013ae
push edi
lea ecx, [ecx + ebx + 0x20]
push ecx
push esi
call eax
add esp, 0xc
jmp 0x4013bc
push str.Call_to_NULL_read_function
push esi
call fcn.00408540
add esp, 8
mov eax, dword [esp + 0xc]
push edi
add eax, 0x20
push ebx
push eax
mov byte [esi + 0x130], 8
mov dword [esp + 0x1c], eax
call fcn.00402a10
add esp, 0xc
test eax, eax
je 0x40140d
cmp ebx, 4
jae 0x4013ff
mov edx, dword [esp + 0x10]
add edi, 0xfffffffc
push edi
push ebx
push edx
call fcn.00402a10
add esp, 0xc
test eax, eax
je 0x4013ff
push str.Not_a_PNG_file
jmp 0x401404
push str.PNG_file_corrupted_by_ASCII_conversion
push esi
call fcn.00408540
add esp, 8
cmp ebx, 3
jae 0x401419
or dword [esi + 0x6c], 0x1000
mov bl, 0x54
jmp 0x401420
mov byte [esp + 0x8c], 0x49
mov byte [esp + 0x8d], 0x48
mov byte [esp + 0x8e], 0x44
mov byte [esp + 0x8f], 0x52
mov byte [esp + 0x14], 0x49
mov byte [esp + 0x15], 0x44
mov byte [esp + 0x16], 0x41
mov byte [esp + 0x17], bl
mov byte [esp + 0xac], 0x49
mov byte [esp + 0xad], 0x45
mov byte [esp + 0xae], 0x4e
mov byte [esp + 0xaf], 0x44
mov byte [esp + 0x1c], 0x50
mov byte [esp + 0x1d], 0x4c
mov byte [esp + 0x1e], bl
mov byte [esp + 0x1f], 0x45
mov byte [esp + 0x3c], 0x62
mov byte [esp + 0x3d], 0x4b
mov byte [esp + 0x3e], 0x47
mov byte [esp + 0x3f], 0x44
mov byte [esp + 0x7c], 0x63
mov byte [esp + 0x7d], 0x48
mov byte [esp + 0x7e], 0x52
mov byte [esp + 0x7f], 0x4d
mov byte [esp + 0x4c], 0x67
mov byte [esp + 0x4d], 0x41
mov byte [esp + 0x4e], 0x4d
mov byte [esp + 0x4f], 0x41
mov byte [esp + 0x9c], 0x68
mov byte [esp + 0x9d], 0x49
mov byte [esp + 0x9e], 0x53
mov byte [esp + 0x9f], bl
mov byte [esp + 0x54], 0x69
mov byte [esp + 0x55], 0x43
mov byte [esp + 0x56], 0x43
mov byte [esp + 0x57], 0x50
mov byte [esp + 0xb4], 0x69
mov byte [esp + 0xb5], bl
mov byte [esp + 0xb6], 0x58
mov byte [esp + 0xb7], 0x74
mov byte [esp + 0x5c], 0x6f
mov byte [esp + 0x5d], 0x46
mov byte [esp + 0x5e], 0x46
mov byte [esp + 0x5f], 0x73
mov byte [esp + 0x24], 0x70
mov byte [esp + 0x25], 0x43
mov byte [esp + 0x26], 0x41
mov byte [esp + 0x27], 0x4c
mov byte [esp + 0x2c], 0x70
mov byte [esp + 0x2d], 0x48
mov byte [esp + 0x2e], 0x59
mov byte [esp + 0x2f], 0x73
mov byte [esp + 0x34], 0x73
mov byte [esp + 0x35], 0x42
mov byte [esp + 0x36], 0x49
mov byte [esp + 0x37], bl
mov byte [esp + 0x6c], 0x73
mov byte [esp + 0x6d], 0x43
mov byte [esp + 0x6e], 0x41
mov byte [esp + 0x6f], 0x4c
mov byte [esp + 0x64], 0x73
mov byte [esp + 0x65], 0x50
mov byte [esp + 0x66], 0x4c
mov byte [esp + 0x67], bl
mov byte [esp + 0x44], 0x73
mov byte [esp + 0x45], 0x52
mov byte [esp + 0x46], 0x47
mov byte [esp + 0x47], 0x42
mov byte [esp + 0x74], 0x74
mov byte [esp + 0x75], 0x45
mov byte [esp + 0x76], 0x58
mov byte [esp + 0x77], 0x74
mov byte [esp + 0x84], 0x74
mov byte [esp + 0x85], 0x49
mov byte [esp + 0x86], 0x4d
mov byte [esp + 0x87], 0x45
mov byte [esp + 0x94], 0x74
mov byte [esp + 0x95], 0x52
mov byte [esp + 0x96], 0x4e
mov byte [esp + 0x97], 0x53
mov byte [esp + 0xa4], 0x7a
mov ecx, esi
mov byte [esp + 0xa5], bl
mov byte [esp + 0xa6], 0x58
mov byte [esp + 0xa7], 0x74
call fcn.004086f0
mov edi, eax
mov eax, dword [esp + 0x14]
cmp dword [esi + 0x120], eax
lea edx, [esi + 0x120]
jne 0x40163b
mov eax, dword [esi + 0x6c]
test al, 8
je 0x40163b
or eax, 0x2000
mov dword [esi + 0x6c], eax
mov eax, dword [edx]
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x8c]
jne 0x40165f
mov ecx, dword [esp + 0xc]
push edi
push ecx
mov ecx, esi
call fcn.00408f40
add esp, 8
jmp 0x401420
cmp eax, dword [esp + 0xac]
jne 0x4016a3
mov eax, dword [esi + 0x6c]
test al, 1
je 0x401673
test al, 4
jne 0x401681
push str.No_image_in_file
push esi
call fcn.00408540
add esp, 8
or dword [esi + 0x6c], 0x18
test edi, edi
je 0x401693
mov ecx, str.Incorrect_IEND_chunk_length
call fcn.004085b0
push edi
mov ecx, esi
call fcn.00408850
add esp, 4
jmp 0x401420
mov ecx, esi
call fcn.004031f0
test eax, eax
je 0x40171a
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x10], edx
jne 0x4016bc
or dword [esi + 0x6c], 4
mov eax, dword [esp + 0xc]
push eax
mov ecx, edi
mov edx, esi
call fcn.0040b840
mov eax, dword [esi + 0x120]
add esp, 4
cmp eax, dword [esp + 0x1c]
jne 0x4016e2
or dword [esi + 0x6c], 2
jmp 0x401420
cmp eax, dword [esp + 0x14]
jne 0x401420
mov eax, dword [esi + 0x6c]
test al, 1
jne 0x401942
push str.Missing_IHDR_before_IDAT
push esi
call fcn.00408540
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.00450655
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x1c]
jne 0x40173a
mov ecx, dword [esp + 0xc]
push ecx
mov eax, edi
mov ecx, esi
call fcn.00409110
add esp, 4
jmp 0x401420
cmp eax, dword [esp + 0x14]
je 0x401972
cmp eax, dword [esp + 0x3c]
jne 0x401760
mov edx, dword [esp + 0xc]
push edx
mov ecx, edi
mov edx, esi
call fcn.0040a3a0
add esp, 4
jmp 0x401420
cmp eax, dword [esp + 0x7c]
jne 0x40177c
mov eax, dword [esp + 0xc]
push eax
mov ecx, edi
mov edx, esi
call fcn.00409520
add esp, 4
jmp 0x401420
cmp eax, dword [esp + 0x4c]
jne 0x401798
mov ecx, dword [esp + 0xc]
push ecx
mov eax, edi
mov ecx, esi
call fcn.00409270
add esp, 4
jmp 0x401420
cmp eax, dword [esp + 0x9c]
jne 0x4017b7
mov edx, dword [esp + 0xc]
push edx
mov ecx, edi
mov edx, esi
call fcn.0040a5c0
add esp, 4
jmp 0x401420
cmp eax, dword [esp + 0x5c]
jne 0x4017d3
mov eax, dword [esp + 0xc]
push eax
mov ecx, edi
mov edx, esi
call fcn.0040a810
add esp, 4
jmp 0x401420
cmp eax, dword [esp + 0x24]
jne 0x4017ef
mov ecx, dword [esp + 0xc]
push ecx
mov eax, edi
mov ecx, esi
call fcn.0040a920
add esp, 4
jmp 0x401420
cmp eax, dword [esp + 0x6c]
jne 0x40180b
mov edx, dword [esp + 0xc]
push edx
mov eax, edi
mov ecx, esi
call fcn.0040acb0
add esp, 4
jmp 0x401420
cmp eax, dword [esp + 0x2c]
jne 0x401827
mov eax, dword [esp + 0xc]
push eax
mov ecx, edi
mov edx, esi
call fcn.0040a700
add esp, 4
jmp 0x401420
cmp eax, dword [esp + 0x34]
jne 0x401843
mov ecx, dword [esp + 0xc]
push ecx
mov eax, edi
mov ecx, esi
call fcn.004093d0
add esp, 4
jmp 0x401420
cmp eax, dword [esp + 0x44]
jne 0x40185f
mov edx, dword [esp + 0xc]
push edx
mov eax, edi
mov ecx, esi
call fcn.00409920
add esp, 4
jmp 0x401420
cmp eax, dword [esp + 0x54]
jne 0x40187b
mov eax, dword [esp + 0xc]
push eax
mov eax, edi
mov ecx, esi
call fcn.00409b20
add esp, 4
jmp 0x401420
cmp eax, dword [esp + 0x64]
jne 0x401897
mov ecx, dword [esp + 0xc]
push ecx
mov eax, edi
mov ecx, esi
call fcn.00409e00
add esp, 4
jmp 0x401420
cmp eax, dword [esp + 0x74]
jne 0x4018b2
mov edx, dword [esp + 0xc]
push edi
push edx
mov eax, esi
call fcn.0040afe0
add esp, 8
jmp 0x401420
cmp eax, dword [esp + 0x84]
jne 0x4018d1
mov eax, dword [esp + 0xc]
push eax
mov ecx, edi
mov edx, esi
call fcn.0040aec0
add esp, 4
jmp 0x401420
cmp eax, dword [esp + 0x94]
jne 0x4018f0
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, edi
mov edx, esi
call fcn.0040a190
add esp, 4
jmp 0x401420
cmp eax, dword [esp + 0xa4]
jne 0x40190e
mov edx, dword [esp + 0xc]
push edi
push edx
mov eax, esi
call fcn.0040b200
add esp, 8
jmp 0x401420
cmp eax, dword [esp + 0xb4]
jne 0x40192c
mov eax, dword [esp + 0xc]
push edi
push eax
mov eax, esi
call fcn.0040b4c0
add esp, 8
jmp 0x401420
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, edi
mov edx, esi
call fcn.0040b840
add esp, 4
jmp 0x401420
cmp byte [esi + 0x12a], 3
jne 0x4019a5
test al, 2
jne 0x4019a5
push str.Missing_PLTE_before_IDAT
push esi
call fcn.00408540
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.00450655
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x6c]
test al, 1
jne 0x401980
push str.Missing_IHDR_before_IDAT
jmp 0x401992
cmp byte [esi + 0x12a], 3
jne 0x40199b
test al, 2
jne 0x40199b
push str.Missing_PLTE_before_IDAT
push esi
call fcn.00408540
add esp, 8
or dword [esi + 0x6c], 4
mov dword [esi + 0x110], edi
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00450655
mov esp, ebp
pop ebp
ret