Function at 0x4d1f40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0xb0
mov eax, dword [0x502a10]
xor eax, esp
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xb4]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], eax
test esi, esi
je 0x4d25f4
mov al, byte [esi + 0x12c]
cmp al, 8
jae 0x4d2001
movzx ebp, al
mov eax, dword [esi + 0x50]
mov edi, 8
sub edi, ebp
test eax, eax
je 0x4d1f9e
mov ecx, dword [esp + 0x14]
push edi
lea edx, [ecx + ebp + 0x20]
push edx
push esi
call eax
add esp, 0xc
jmp 0x4d1fac
push esi
mov ecx, str.Call_to_NULL_read_function
call fcn.004963c0
add esp, 4
mov ebx, dword [esp + 0x14]
add ebx, 0x20
push edi
push ebx
mov edx, ebp
mov byte [esi + 0x12c], 8
call fcn.00496680
add esp, 8
test eax, eax
je 0x4d1ff5
cmp ebp, 4
jae 0x4d1fe7
add edi, 0xfffffffc
push edi
push ebx
mov edx, ebp
call fcn.00496680
add esp, 8
mov ecx, str.Not_a_PNG_file
test eax, eax
jne 0x4d1fec
mov ecx, str.PNG_file_corrupted_by_ASCII_conversion
push esi
call fcn.004963c0
add esp, 4
cmp ebp, 3
jae 0x4d2001
or dword [esi + 0x68], 0x1000
mov ebp, dword [esp + 0x14]
mov bl, 0x73
jmp 0x4d2010
mov eax, dword [esi + 0x50]
mov byte [esp + 0x8c], 0x49
mov byte [esp + 0x8d], 0x48
mov byte [esp + 0x8e], 0x44
mov byte [esp + 0x8f], 0x52
mov byte [esp + 0x1c], 0x49
mov byte [esp + 0x1d], 0x44
mov byte [esp + 0x1e], 0x41
mov byte [esp + 0x1f], 0x54
mov byte [esp + 0x3c], 0x49
mov byte [esp + 0x3d], 0x45
mov byte [esp + 0x3e], 0x4e
mov byte [esp + 0x3f], 0x44
mov byte [esp + 0x24], 0x50
mov byte [esp + 0x25], 0x4c
mov byte [esp + 0x26], 0x54
mov byte [esp + 0x27], 0x45
mov byte [esp + 0x7c], 0x62
mov byte [esp + 0x7d], 0x4b
mov byte [esp + 0x7e], 0x47
mov byte [esp + 0x7f], 0x44
mov byte [esp + 0x4c], 0x63
mov byte [esp + 0x4d], 0x48
mov byte [esp + 0x4e], 0x52
mov byte [esp + 0x4f], 0x4d
mov byte [esp + 0x9c], 0x67
mov byte [esp + 0x9d], 0x41
mov byte [esp + 0x9e], 0x4d
mov byte [esp + 0x9f], 0x41
mov byte [esp + 0x5c], 0x68
mov byte [esp + 0x5d], 0x49
mov byte [esp + 0x5e], 0x53
mov byte [esp + 0x5f], 0x54
mov byte [esp + 0x64], 0x69
mov byte [esp + 0x65], 0x43
mov byte [esp + 0x66], 0x43
mov byte [esp + 0x67], 0x50
mov byte [esp + 0x2c], 0x6f
mov byte [esp + 0x2d], 0x46
mov byte [esp + 0x2e], 0x46
mov byte [esp + 0x2f], bl
mov byte [esp + 0x6c], 0x70
mov byte [esp + 0x6d], 0x43
mov byte [esp + 0x6e], 0x41
mov byte [esp + 0x6f], 0x4c
mov byte [esp + 0x34], 0x70
mov byte [esp + 0x35], 0x48
mov byte [esp + 0x36], 0x59
mov byte [esp + 0x37], bl
mov byte [esp + 0x44], bl
mov byte [esp + 0x45], 0x42
mov byte [esp + 0x46], 0x49
mov byte [esp + 0x47], 0x54
mov byte [esp + 0xac], bl
mov byte [esp + 0xad], 0x43
mov byte [esp + 0xae], 0x41
mov byte [esp + 0xaf], 0x4c
mov byte [esp + 0x74], bl
mov byte [esp + 0x75], 0x50
mov byte [esp + 0x76], 0x4c
mov byte [esp + 0x77], 0x54
mov byte [esp + 0x54], bl
mov byte [esp + 0x55], 0x52
mov byte [esp + 0x56], 0x47
mov byte [esp + 0x57], 0x42
mov byte [esp + 0x84], 0x74
mov byte [esp + 0x85], 0x45
mov byte [esp + 0x86], 0x58
mov byte [esp + 0x87], 0x74
mov byte [esp + 0x94], 0x74
mov byte [esp + 0x95], 0x49
mov byte [esp + 0x96], 0x4d
mov byte [esp + 0x97], 0x45
mov byte [esp + 0xa4], 0x74
mov byte [esp + 0xa5], 0x52
mov byte [esp + 0xa6], 0x4e
mov byte [esp + 0xa7], 0x53
mov byte [esp + 0xb4], 0x7a
mov byte [esp + 0xb5], 0x54
mov byte [esp + 0xb6], 0x58
mov byte [esp + 0xb7], 0x74
test eax, eax
je 0x4d2204
push 4
lea ecx, [esp + 0x1c]
push ecx
push esi
call eax
add esp, 0xc
jmp 0x4d2212
push esi
mov ecx, str.Call_to_NULL_read_function
call fcn.004963c0
add esp, 4
mov eax, dword [esp + 0x18]
movzx ecx, byte [esp + 0x1b]
movzx edi, al
shl edi, 8
movzx edx, ah
movzx eax, byte [esp + 0x1a]
add edi, edx
shl edi, 8
add edi, eax
shl edi, 8
add edi, ecx
cmp edi, 0x7fffffff
jbe 0x4d224b
push esi
mov ecx, str.PNG_unsigned_integer_out_of_range.
call fcn.004963c0
add esp, 4
mov eax, dword [esi + 0x50]
mov dword [esi + 0x110], 0
test eax, eax
je 0x4d226d
push 4
lea ecx, [esi + 0x11c]
push ecx
push esi
call eax
add esp, 0xc
jmp 0x4d227b
push esi
mov ecx, str.Call_to_NULL_read_function
call fcn.004963c0
add esp, 4
test byte [esi + 0x11c], 0x20
lea ecx, [esi + 0x11c]
je 0x4d229d
mov edx, dword [esi + 0x6c]
and edx, 0x300
cmp edx, 0x300
jne 0x4d22a6
jmp 0x4d22ca
test dword [esi + 0x6c], 0x800
jne 0x4d22ca
mov eax, dword [esi + 0x110]
test ecx, ecx
jne 0x4d22b4
xor eax, eax
jmp 0x4d22c4
mov edx, 4
lea ecx, [esi + 0x11c]
call fcn.0047cde0
mov dword [esi + 0x110], eax
mov eax, dword [esp + 0x1c]
cmp dword [esi + 0x11c], eax
lea ecx, [esi + 0x11c]
jne 0x4d22eb
mov eax, dword [esi + 0x68]
test al, 8
je 0x4d22eb
or eax, 0x2000
mov dword [esi + 0x68], eax
mov edx, dword [ecx]
cmp edx, dword [esp + 0x8c]
jne 0x4d2307
push edi
push ebp
mov ecx, esi
call fcn.00485540
add esp, 8
jmp 0x4d2010
cmp edx, dword [esp + 0x3c]
jne 0x4d2348
mov eax, dword [esi + 0x68]
test al, 1
je 0x4d2318
test al, 4
jne 0x4d2326
push esi
mov ecx, str.No_image_in_file
call fcn.004963c0
add esp, 4
or dword [esi + 0x68], 0x18
test edi, edi
je 0x4d2338
mov edx, str.Incorrect_IEND_chunk_length
call fcn.00496370
push edi
mov ecx, esi
call fcn.00482c80
add esp, 4
jmp 0x4d2010
test ecx, ecx
je 0x4d2380
mov eax, dword [esi + 0x220]
test eax, eax
jle 0x4d2380
mov ebp, dword [esi + 0x224]
lea ecx, [eax + eax*4]
lea ecx, [ecx + ebp - 5]
mov ebp, dword [esi + 0x11c]
lea esp, [esp]
cmp ebp, dword [ecx]
je 0x4d2398
dec eax
sub ecx, 5
test eax, eax
jne 0x4d2370
mov ebp, dword [esp + 0x14]
cmp edx, dword [esp + 0x24]
jne 0x4d23f8
push ebp
mov eax, edi
mov ecx, esi
call fcn.004853e0
add esp, 4
jmp 0x4d2010
movzx eax, byte [ecx + 4]
test eax, eax
je 0x4d237c
cmp edx, dword [esp + 0x1c]
jne 0x4d23aa
or dword [esi + 0x68], 4
mov ebp, dword [esp + 0x14]
push ebp
mov ecx, edi
mov edx, esi
call fcn.00483210
mov eax, dword [esi + 0x11c]
add esp, 4
cmp eax, dword [esp + 0x24]
jne 0x4d23d0
or dword [esi + 0x68], 2
jmp 0x4d2010
cmp eax, dword [esp + 0x1c]
jne 0x4d2010
mov eax, dword [esi + 0x68]
test al, 1
jne 0x4d25a4
push esi
mov ecx, str.Missing_IHDR_before_IDAT
call fcn.004963c0
add esp, 4
jmp 0x4d25f4
cmp edx, dword [esp + 0x1c]
je 0x4d25c1
cmp edx, dword [esp + 0x7c]
jne 0x4d241a
push ebp
mov ecx, edi
mov edx, esi
call fcn.004840c0
add esp, 4
jmp 0x4d2010
cmp edx, dword [esp + 0x4c]
jne 0x4d2432
push ebp
mov eax, edi
mov ecx, esi
call fcn.00484c70
add esp, 4
jmp 0x4d2010
cmp edx, dword [esp + 0x9c]
jne 0x4d244d
push ebp
mov eax, edi
mov ecx, esi
call fcn.00485240
add esp, 4
jmp 0x4d2010
cmp edx, dword [esp + 0x5c]
jne 0x4d2465
push ebp
mov ecx, edi
mov edx, esi
call fcn.00483f80
add esp, 4
jmp 0x4d2010
cmp edx, dword [esp + 0x2c]
jne 0x4d247d
push ebp
mov ecx, edi
mov edx, esi
call fcn.00483d60
add esp, 4
jmp 0x4d2010
cmp edx, dword [esp + 0x6c]
jne 0x4d2495
push ebp
mov eax, edi
mov ecx, esi
call fcn.00483a50
add esp, 4
jmp 0x4d2010
cmp edx, dword [esp + 0xac]
jne 0x4d24b0
push ebp
mov eax, edi
mov ecx, esi
call fcn.00483890
add esp, 4
jmp 0x4d2010
cmp edx, dword [esp + 0x34]
jne 0x4d24c8
push ebp
mov ecx, edi
mov edx, esi
call fcn.00483e70
add esp, 4
jmp 0x4d2010
cmp edx, dword [esp + 0x44]
jne 0x4d24e0
push ebp
mov eax, edi
mov ecx, esi
call fcn.004850f0
add esp, 4
jmp 0x4d2010
cmp edx, dword [esp + 0x54]
jne 0x4d24f8
push ebp
mov eax, edi
mov ecx, esi
call fcn.00484a70
add esp, 4
jmp 0x4d2010
cmp edx, dword [esp + 0x64]
jne 0x4d250f
push edi
push ebp
mov eax, esi
call fcn.00484810
add esp, 8
jmp 0x4d2010
cmp edx, dword [esp + 0x74]
jne 0x4d2527
push ebp
mov eax, edi
mov ecx, esi
call fcn.00484520
add esp, 4
jmp 0x4d2010
cmp edx, dword [esp + 0x84]
jne 0x4d2542
push ebp
mov eax, edi
mov ecx, esi
call fcn.004835d0
add esp, 4
jmp 0x4d2010
cmp edx, dword [esp + 0x94]
jne 0x4d255d
push ebp
mov ecx, edi
mov edx, esi
call fcn.00483770
add esp, 4
jmp 0x4d2010
cmp edx, dword [esp + 0xa4]
jne 0x4d2578
push esi
mov ecx, edi
mov edx, ebp
call fcn.004842d0
add esp, 4
jmp 0x4d2010
cmp edx, dword [esp + 0xb4]
jne 0x4d2592
push edi
push ebp
mov eax, esi
call fcn.004833b0
add esp, 8
jmp 0x4d2010
push ebp
mov ecx, edi
mov edx, esi
call fcn.00483210
add esp, 4
jmp 0x4d2010
cmp byte [esi + 0x126], 3
jne 0x4d25f4
test al, 2
jne 0x4d25f4
push esi
mov ecx, str.Missing_PLTE_before_IDAT
call fcn.004963c0
add esp, 4
jmp 0x4d25f4
mov eax, dword [esi + 0x68]
test al, 1
jne 0x4d25cf
mov ecx, str.Missing_IHDR_before_IDAT
jmp 0x4d25e1
cmp byte [esi + 0x126], 3
jne 0x4d25ea
test al, 2
jne 0x4d25ea
mov ecx, str.Missing_PLTE_before_IDAT
push esi
call fcn.004963c0
add esp, 4
or dword [esi + 0x68], 4
mov dword [esi + 0x10c], edi
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00425bb1
add esp, 0xb0
ret