Function at 0x4dc640
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x48
mov eax, dword [0x56b1dc]
xor eax, esp
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x4c]
push ebx
push ebp
push esi
mov esi, ecx
test esi, esi
mov dword [esp + 0x14], eax
mov bl, 0x49
mov dl, 0x44
mov cl, 0x41
mov al, 0x54
push edi
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], dl
mov byte [esp + 0x3e], cl
mov byte [esp + 0x3f], al
mov byte [esp + 0x40], 0
mov byte [esp + 0x44], 0x66
mov byte [esp + 0x45], 0x64
mov byte [esp + 0x46], cl
mov byte [esp + 0x47], al
mov byte [esp + 0x48], 0
mov byte [esp + 0x4c], bl
mov byte [esp + 0x4d], 0x45
mov byte [esp + 0x4e], 0x4e
mov byte [esp + 0x4f], dl
mov byte [esp + 0x50], 0
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 8
mov dword [esp + 0x28], 0x88
mov dword [esp + 0x2c], 0x22
mov dword [esp + 0x30], 0xaa
mov dword [esp + 0x34], 0x55
mov dword [esp + 0x38], 0xff
je 0x4dccc9
test byte [esi + 0x70], 0x40
jne 0x4dc6f4
mov eax, esi
call fcn.004f0e60
cmp byte [esi + 0x123], 0
je 0x4dc837
mov ecx, 2
test byte [esi + 0x74], cl
je 0x4dc837
movzx eax, byte [esi + 0x124]
cmp eax, 5
ja case.default.0x4dc71f
jmp dword [eax*4 + 0x4dccdc]
test byte [esi + 0xe4], 7
je 0x4dc837
mov ecx, esi
call fcn.004f0aa0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.004ff939
add esp, 0x48
ret
test byte [esi + 0xe4], 7
jne 0x4dc763
cmp dword [esi + 0xcc], 5
jae 0x4dc837
mov ecx, esi
call fcn.004f0aa0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.004ff939
add esp, 0x48
ret
mov ecx, dword [esi + 0xe4]
and cl, 7
cmp cl, 4
je 0x4dc837
mov ecx, esi
call fcn.004f0aa0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.004ff939
add esp, 0x48
ret
mov eax, 3
test byte [esi + 0xe4], al
jne 0x4dc7be
cmp dword [esi + 0xcc], eax
jae 0x4dc837
mov ecx, esi
call fcn.004f0aa0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.004ff939
add esp, 0x48
ret
mov edx, dword [esi + 0xe4]
and dl, 3
cmp dl, cl
je 0x4dc837
mov ecx, esi
call fcn.004f0aa0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.004ff939
add esp, 0x48
ret
test byte [esi + 0xe4], 1
jne 0x4dc810
cmp dword [esi + 0xcc], ecx
jae 0x4dc837
mov ecx, esi
call fcn.004f0aa0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.004ff939
add esp, 0x48
ret
test byte [esi + 0xe4], 1
je 0x4dc733
test byte [esi + 0x6c], 4
jne 0x4dc849
mov edi, str.Invalid_attempt_to_read_row_data
mov eax, esi
jmp fcn.004dfbd0
mov eax, dword [esi + 0xec]
mov dword [esi + 0x84], eax
mov al, byte [esi + 0x129]
cmp al, 8
movzx eax, al
jb 0x4dc86e
shr eax, 3
imul eax, dword [esi + 0xe0]
jmp 0x4dc87b
imul eax, dword [esi + 0xe0]
add eax, 7
shr eax, 3
add eax, 1
mov dword [esi + 0x88], eax
cmp dword [esi + 0x7c], 0
jne 0x4dcaed
xor ebp, ebp
cmp dword [esi + 0x10c], 0
je 0x4dc8a1
test ebp, ebp
je 0x4dcabd
mov eax, ebp
mov ecx, esi
call fcn.004ecf50
xor ebp, ebp
mov ecx, esi
mov dword [esp + 0x14], ebp
call fcn.004ecdf0
cmp dword [esi + 0x278], ebp
mov dword [esp + 0x1c], eax
mov dword [esi + 0x10c], eax
jne 0x4dc96b
lea eax, [ebp + 4]
lea ecx, [esp + 0x3c]
lea edx, [esi + 0x11c]
lea ebx, [ebx]
mov edi, dword [edx]
cmp edi, dword [ecx]
jne 0x4dc8f8
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x4dc8e0
test eax, eax
je 0x4dc955
movzx edi, byte [edx]
movzx ebx, byte [ecx]
sub edi, ebx
jne 0x4dc947
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x4dc955
movzx edi, byte [edx]
movzx ebx, byte [ecx]
sub edi, ebx
jne 0x4dc947
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x4dc955
movzx edi, byte [edx]
movzx ebx, byte [ecx]
sub edi, ebx
jne 0x4dc947
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x4dc955
movzx edi, byte [edx]
movzx ecx, byte [ecx]
sub edi, ecx
je 0x4dc955
test edi, edi
mov eax, 1
jg 0x4dc957
or eax, 0xffffffff
jmp 0x4dc957
xor eax, eax
test eax, eax
je 0x4dc890
mov edi, str.Not_enough_image_data
mov eax, esi
jmp fcn.004dfbd0
lea eax, [esi + 0x11c]
mov ecx, 4
lea edx, [esp + 0x4c]
mov edi, eax
lea esp, [esp]
mov ebx, dword [edi]
cmp ebx, dword [edx]
jne 0x4dc998
sub ecx, 4
add edx, 4
add edi, 4
cmp ecx, 4
jae 0x4dc980
test ecx, ecx
je 0x4dc9fd
movzx ebx, byte [edi]
movzx ebp, byte [edx]
sub ebx, ebp
jne 0x4dc9e7
sub ecx, 1
add edx, 1
add edi, 1
test ecx, ecx
je 0x4dc9f9
movzx ebx, byte [edi]
movzx ebp, byte [edx]
sub ebx, ebp
jne 0x4dc9e7
sub ecx, 1
add edx, 1
add edi, 1
test ecx, ecx
je 0x4dc9f9
movzx ebx, byte [edi]
movzx ebp, byte [edx]
sub ebx, ebp
jne 0x4dc9e7
sub ecx, 1
add edx, 1
add edi, 1
test ecx, ecx
je 0x4dc9f9
movzx ebx, byte [edi]
movzx edx, byte [edx]
sub ebx, edx
je 0x4dc9f9
test ebx, ebx
mov ebp, dword [esp + 0x14]
mov ecx, 1
jg 0x4dc9ff
or ecx, 0xffffffff
jmp 0x4dc9ff
mov ebp, dword [esp + 0x14]
xor ecx, ecx
test ecx, ecx
je 0x4dc95f
mov ecx, 4
lea edx, [esp + 0x44]
mov edi, eax
mov eax, dword [edi]
cmp eax, dword [edx]
jne 0x4dca2a
sub ecx, 4
add edx, 4
add edi, 4
cmp ecx, 4
jae 0x4dca12
test ecx, ecx
je 0x4dca87
movzx ebx, byte [edi]
movzx eax, byte [edx]
sub ebx, eax
jne 0x4dca79
sub ecx, 1
add edx, 1
add edi, 1
test ecx, ecx
je 0x4dca87
movzx ebx, byte [edi]
movzx eax, byte [edx]
sub ebx, eax
jne 0x4dca79
sub ecx, 1
add edx, 1
add edi, 1
test ecx, ecx
je 0x4dca87
movzx ebx, byte [edi]
movzx eax, byte [edx]
sub ebx, eax
jne 0x4dca79
sub ecx, 1
add edx, 1
add edi, 1
test ecx, ecx
je 0x4dca87
movzx ebx, byte [edi]
movzx ecx, byte [edx]
sub ebx, ecx
je 0x4dca87
test ebx, ebx
mov ecx, 1
jg 0x4dca89
or ecx, 0xffffffff
jmp 0x4dca89
xor ecx, ecx
test ecx, ecx
je 0x4dcaa2
mov ecx, str.Skipped__ignored__a_chunk_between_APNG_chunks
call fcn.004dfbf0
mov ebp, dword [esi + 0x10c]
jmp 0x4dc890
mov edx, dword [esp + 0x1c]
push edx
mov eax, esi
call fcn.004efe00
add esp, 4
add dword [esi + 0x10c], 0xfffffffc
jmp 0x4dc890
mov ecx, dword [esi + 0xb4]
mov edx, dword [esi + 0x10c]
cmp ecx, edx
mov eax, dword [esi + 0xb0]
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x78], eax
jbe 0x4dcadc
mov dword [esi + 0x7c], edx
mov ebx, dword [esi + 0x7c]
call fcn.004ecee0
mov eax, dword [esi + 0x7c]
sub dword [esi + 0x10c], eax
lea ecx, [esi + 0x78]
push ecx
call fcn.004f13b0
add esp, 4
cmp eax, 1
je 0x4dcb62
test eax, eax
jne 0x4dcbad
cmp dword [esi + 0x88], eax
jne 0x4dc884
movzx edx, byte [esi + 0x126]
movzx eax, byte [esi + 0x12a]
mov ecx, dword [esi + 0xe0]
mov byte [esi + 0x108], dl
movzx edx, byte [esi + 0x127]
mov byte [esi + 0x10a], al
mov al, byte [esi + 0x129]
lea edi, [esi + 0x100]
mov byte [esi + 0x10b], al
cmp al, 8
mov dword [edi], ecx
mov byte [esi + 0x109], dl
movzx eax, al
jb 0x4dcbc5
shr eax, 3
imul eax, ecx
jmp 0x4dcbce
cmp dword [esi + 0x88], 0
jne 0x4dcb7a
cmp dword [esi + 0x7c], 0
jne 0x4dcb7a
cmp dword [esi + 0x10c], 0
je 0x4dcb8d
test dword [esi + 0x70], 0x800000
je 0x4dcba1
mov ecx, str.Extra_compressed_data
call fcn.004dfbf0
or dword [esi + 0x6c], 8
or dword [esi + 0x70], 0x20
add dword [esi + 0x278], 1
jmp 0x4dcb12
mov edi, str.Extra_compressed_data
mov eax, esi
jmp fcn.004dfbd0
mov eax, dword [esi + 0x90]
test eax, eax
jne 0x4dcbbc
mov eax, str.Decompression_error
mov edi, eax
mov eax, esi
jmp fcn.004dfbd0
imul eax, ecx
add eax, 7
shr eax, 3
mov ecx, dword [esi + 0xec]
mov dword [esi + 0x104], eax
mov al, byte [ecx]
test al, al
je 0x4dcbfb
mov edx, dword [esi + 0xe8]
add edx, 1
push edx
movzx eax, al
add ecx, 1
push esi
mov edx, edi
call fcn.004f08f0
add esp, 8
mov eax, dword [esi + 0xdc]
mov ecx, dword [esi + 0xec]
mov edx, dword [esi + 0xe8]
add eax, 1
push eax
push ecx
push edx
call fcn.00505700
add esp, 0xc
test byte [esi + 0x230], 4
je 0x4dcc3d
cmp byte [esi + 0x234], 0x40
jne 0x4dcc3d
mov ecx, dword [esi + 0xec]
add ecx, 1
mov eax, edi
call fcn.004ec9e0
cmp dword [esi + 0x74], 0
jne 0x4dcc4c
test dword [esi + 0x70], 0x400000
je 0x4dcc55
push esi
call fcn.004e9870
add esp, 4
cmp byte [esi + 0x123], 0
je 0x4dcc8c
test byte [esi + 0x74], 2
je 0x4dcc8c
cmp byte [esi + 0x124], 6
jae 0x4dcc76
push esi
call fcn.004f0480
add esp, 4
mov edx, dword [esp + 0x18]
test edx, edx
je 0x4dcca3
movzx eax, byte [esi + 0x124]
mov ecx, dword [esp + eax*4 + 0x20]
push ecx
jmp 0x4dcc99
mov edx, dword [esp + 0x18]
test edx, edx
je 0x4dcca3
push 0xff
mov eax, esi
call fcn.004f0180
add esp, 4
mov ecx, esi
call fcn.004f0aa0
mov eax, dword [esi + 0x198]
test eax, eax
je 0x4dccc9
movzx edx, byte [esi + 0x124]
mov ecx, dword [esi + 0xe4]
push edx
push ecx
push esi
call eax
add esp, 0xc
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004ff939
add esp, 0x48
ret