Function at 0x478170
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xb0
mov eax, dword [0x4b3c40]
xor eax, esp
mov dword [esp + 0xac], eax
push ebp
mov ebp, dword [esp + 0xbc]
push esi
mov esi, dword [esp + 0xbc]
mov dword [esp + 8], ebp
test esi, esi
je 0x478732
test ebp, ebp
je 0x478732
mov al, byte [esi + 0x130]
push ebx
push edi
cmp al, 8
jae 0x478225
movzx ebx, al
mov edi, 8
sub edi, ebx
push edi
lea eax, [ebx + ebp + 0x20]
push eax
push esi
mov dword [esi + 0x278], 0x11
call fcn.004802f0
push edi
add ebp, 0x20
push ebx
push ebp
mov byte [esi + 0x130], 8
call fcn.0047f5e0
add esp, 0x18
test eax, eax
je 0x478219
cmp ebx, 4
jae 0x47820b
add edi, 0xfffffffc
push edi
push ebx
push ebp
call fcn.0047f5e0
add esp, 0xc
test eax, eax
je 0x47820b
push str.Not_a_PNG_file
jmp 0x478210
push str.PNG_file_corrupted_by_ASCII_conversion
push esi
call fcn.0047f480
add esp, 8
cmp ebx, 3
jae 0x478225
or dword [esi + 0x6c], 0x1000
mov bl, 0x54
jmp 0x478230
mov byte [esp + 0x2c], 0x49
mov byte [esp + 0x2d], 0x48
mov byte [esp + 0x2e], 0x44
mov byte [esp + 0x2f], 0x52
mov byte [esp + 0x8c], 0x49
mov byte [esp + 0x8d], 0x44
mov byte [esp + 0x8e], 0x41
mov byte [esp + 0x8f], bl
mov byte [esp + 0xac], 0x49
mov byte [esp + 0xad], 0x45
mov byte [esp + 0xae], 0x4e
mov byte [esp + 0xaf], 0x44
mov byte [esp + 0x14], 0x50
mov byte [esp + 0x15], 0x4c
mov byte [esp + 0x16], bl
mov byte [esp + 0x17], 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 + 0x1c], 0x70
mov byte [esp + 0x1d], 0x43
mov byte [esp + 0x1e], 0x41
mov byte [esp + 0x1f], 0x4c
mov byte [esp + 0x24], 0x70
mov byte [esp + 0x25], 0x48
mov byte [esp + 0x26], 0x59
mov byte [esp + 0x27], 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
push esi
mov byte [esp + 0xa9], bl
mov byte [esp + 0xaa], 0x58
mov byte [esp + 0xab], 0x74
call fcn.004833f0
mov ebp, dword [esp + 0x90]
lea ecx, [esi + 0x120]
add esp, 4
mov edi, eax
cmp dword [ecx], ebp
jne 0x47844c
mov eax, dword [esi + 0x6c]
test al, 8
je 0x47844c
or eax, 0x2000
mov dword [esi + 0x6c], eax
mov eax, dword [ecx]
cmp eax, dword [esp + 0x2c]
jne 0x478468
mov ecx, dword [esp + 0x10]
push edi
push ecx
push esi
call fcn.00483520
add esp, 0xc
jmp 0x478230
cmp eax, dword [esp + 0xac]
jne 0x478485
mov edx, dword [esp + 0x10]
push edi
push edx
push esi
call fcn.00483830
add esp, 0xc
jmp 0x478230
push ecx
push esi
call fcn.0047fd70
add esp, 8
test eax, eax
je 0x4784e9
cmp dword [esi + 0x120], ebp
jne 0x47849f
or dword [esi + 0x6c], 4
mov eax, dword [esp + 0x10]
push edi
push eax
push esi
call fcn.00485ce0
mov eax, dword [esi + 0x120]
add esp, 0xc
cmp eax, dword [esp + 0x14]
jne 0x4784c3
or dword [esi + 0x6c], 2
jmp 0x478230
cmp eax, ebp
jne 0x478230
mov eax, dword [esi + 0x6c]
test al, 1
jne 0x4786e0
push str.Missing_IHDR_before_IDAT
push esi
call fcn.0047f480
add esp, 8
jmp 0x478730
mov eax, dword [esi + 0x120]
cmp eax, dword [esp + 0x14]
jne 0x478509
mov ecx, dword [esp + 0x10]
push edi
push ecx
push esi
call fcn.004836a0
add esp, 0xc
jmp 0x478230
cmp eax, ebp
je 0x4786fd
push edi
cmp eax, dword [esp + 0x40]
jne 0x47852b
mov edx, dword [esp + 0x14]
push edx
push esi
call fcn.00484950
add esp, 0xc
jmp 0x478230
cmp eax, dword [esp + 0x80]
jne 0x478547
mov eax, dword [esp + 0x14]
push eax
push esi
call fcn.00483b70
add esp, 0xc
jmp 0x478230
cmp eax, dword [esp + 0x50]
jne 0x478560
mov ecx, dword [esp + 0x14]
push ecx
push esi
call fcn.00483880
add esp, 0xc
jmp 0x478230
cmp eax, dword [esp + 0xa0]
jne 0x47857c
mov edx, dword [esp + 0x14]
push edx
push esi
call fcn.00484bc0
add esp, 0xc
jmp 0x478230
cmp eax, dword [esp + 0x60]
jne 0x478595
mov eax, dword [esp + 0x14]
push eax
push esi
call fcn.00484ec0
add esp, 0xc
jmp 0x478230
cmp eax, dword [esp + 0x20]
jne 0x4785ae
mov ecx, dword [esp + 0x14]
push ecx
push esi
call fcn.00485010
add esp, 0xc
jmp 0x478230
cmp eax, dword [esp + 0x70]
jne 0x4785c7
mov edx, dword [esp + 0x14]
push edx
push esi
call fcn.00485320
add esp, 0xc
jmp 0x478230
cmp eax, dword [esp + 0x28]
jne 0x4785e0
mov eax, dword [esp + 0x14]
push eax
push esi
call fcn.00484d70
add esp, 0xc
jmp 0x478230
cmp eax, dword [esp + 0x38]
jne 0x4785f9
mov ecx, dword [esp + 0x14]
push ecx
push esi
call fcn.00483a00
add esp, 0xc
jmp 0x478230
cmp eax, dword [esp + 0x48]
jne 0x478612
mov edx, dword [esp + 0x14]
push edx
push esi
call fcn.00483fd0
add esp, 0xc
jmp 0x478230
cmp eax, dword [esp + 0x58]
jne 0x47862b
mov eax, dword [esp + 0x14]
push eax
push esi
call fcn.004841d0
add esp, 0xc
jmp 0x478230
cmp eax, dword [esp + 0x68]
jne 0x478644
mov ecx, dword [esp + 0x14]
push ecx
push esi
call fcn.004843c0
add esp, 0xc
jmp 0x478230
cmp eax, dword [esp + 0x78]
jne 0x47865d
mov edx, dword [esp + 0x14]
push edx
push esi
call fcn.00485660
add esp, 0xc
jmp 0x478230
cmp eax, dword [esp + 0x88]
jne 0x478679
mov eax, dword [esp + 0x14]
push eax
push esi
call fcn.00485530
add esp, 0xc
jmp 0x478230
cmp eax, dword [esp + 0x98]
jne 0x478695
mov ecx, dword [esp + 0x14]
push ecx
push esi
call fcn.004846b0
add esp, 0xc
jmp 0x478230
cmp eax, dword [esp + 0xa8]
jne 0x4786b1
mov edx, dword [esp + 0x14]
push edx
push esi
call fcn.00485810
add esp, 0xc
jmp 0x478230
cmp eax, dword [esp + 0xb8]
jne 0x4786cd
mov eax, dword [esp + 0x14]
push eax
push esi
call fcn.00485a20
add esp, 0xc
jmp 0x478230
mov ecx, dword [esp + 0x14]
push ecx
push esi
call fcn.00485ce0
add esp, 0xc
jmp 0x478230
cmp byte [esi + 0x12a], 3
jne 0x478730
test al, 2
jne 0x478730
push str.Missing_PLTE_before_IDAT
push esi
call fcn.0047f480
add esp, 8
jmp 0x478730
mov eax, dword [esi + 0x6c]
test al, 1
jne 0x47870b
push str.Missing_IHDR_before_IDAT
jmp 0x47871d
cmp byte [esi + 0x12a], 3
jne 0x478726
test al, 2
jne 0x478726
push str.Missing_PLTE_before_IDAT
push esi
call fcn.0047f480
add esp, 8
or dword [esi + 0x6c], 4
mov dword [esi + 0x110], edi
pop edi
pop ebx
mov ecx, dword [esp + 0xb4]
pop esi
pop ebp
xor ecx, esp
call fcn.004453a3
add esp, 0xb0
ret