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

Disassembly:
sub esp, 0x30
mov eax, dword [0x502a10]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], eax
mov byte [esp + 0x34], 0x49
mov byte [esp + 0x35], 0x44
mov byte [esp + 0x36], 0x41
mov byte [esp + 0x37], 0x54
mov dword [esp + 0x18], 0x80
mov dword [esp + 0x1c], 8
mov dword [esp + 0x20], 0x88
mov dword [esp + 0x24], 0x22
mov dword [esp + 0x28], 0xaa
mov dword [esp + 0x2c], 0x55
mov dword [esp + 0x30], 0xff
test esi, esi
je 0x4d1f0b
test byte [esi + 0x6c], 0x40
jne 0x4d1a3b
call fcn.004822e0
cmp byte [esi + 0x123], 0
je case.default.0x4d1a62
test byte [esi + 0x70], 2
je case.default.0x4d1a62
movzx eax, byte [esi + 0x124]
cmp eax, 6
ja case.default.0x4d1a62
jmp dword [eax*4 + 0x4d1f20]
test byte [esi + 0xe4], 7
je case.default.0x4d1a62
mov ecx, esi
call fcn.00482e40
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00425bb1
add esp, 0x30
ret
test byte [esi + 0xe4], 7
jne 0x4d1aa6
cmp dword [esi + 0xc8], 5
jae case.default.0x4d1a62
mov ecx, esi
call fcn.00482e40
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00425bb1
add esp, 0x30
ret
mov ecx, dword [esi + 0xe4]
and cl, 7
cmp cl, 4
je case.default.0x4d1a62
mov ecx, esi
call fcn.00482e40
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00425bb1
add esp, 0x30
ret
mov eax, 3
test byte [esi + 0xe4], al
jne 0x4d1b01
cmp dword [esi + 0xc8], eax
jae case.default.0x4d1a62
mov ecx, esi
call fcn.00482e40
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00425bb1
add esp, 0x30
ret
mov edx, dword [esi + 0xe4]
and dl, 3
cmp dl, 2
je case.default.0x4d1a62
mov ecx, esi
call fcn.00482e40
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00425bb1
add esp, 0x30
ret
test byte [esi + 0xe4], 1
jne 0x4d1b55
cmp dword [esi + 0xc8], 2
jae case.default.0x4d1a62
mov ecx, esi
call fcn.00482e40
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00425bb1
add esp, 0x30
ret
test byte [esi + 0xe4], 1
je 0x4d1a76
test byte [esi + 0x68], 4
jne 0x4d1b90
push esi
mov ecx, str.Invalid_attempt_to_read_row_data
call fcn.004963c0
add esp, 4
mov eax, dword [esi + 0xec]
mov ecx, dword [esi + 0xdc]
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], ecx
lea ebx, [esi + 0x74]
jmp 0x4d1bb0
cmp dword [esi + 0x78], 0
jne 0x4d1d58
cmp dword [esi + 0x10c], 0
jne 0x4d1ccd
lea ebp, [esi + 0x11c]
lea ecx, [ecx]
push 0
mov ecx, esi
call fcn.00482c80
mov eax, dword [esi + 0x50]
add esp, 4
test eax, eax
je 0x4d1bf2
push 4
lea edx, [esp + 0x14]
push edx
push esi
call eax
add esp, 0xc
jmp 0x4d1c00
push esi
mov ecx, str.Call_to_NULL_read_function
call fcn.004963c0
add esp, 4
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x12]
movzx edx, byte [esp + 0x13]
movzx edi, al
shl edi, 8
movzx eax, ah
add edi, eax
shl edi, 8
add edi, ecx
shl edi, 8
add edi, edx
cmp edi, 0x7fffffff
jbe 0x4d1c39
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 + 0x10c], edi
mov dword [esi + 0x110], 0
test eax, eax
je 0x4d1c5b
push 4
push ebp
push esi
call eax
add esp, 0xc
jmp 0x4d1c69
push esi
mov ecx, str.Call_to_NULL_read_function
call fcn.004963c0
add esp, 4
test byte [ebp], 0x20
je 0x4d1c80
mov eax, dword [esi + 0x6c]
and eax, 0x300
cmp eax, 0x300
jne 0x4d1c89
jmp 0x4d1ca9
test dword [esi + 0x6c], 0x800
jne 0x4d1ca9
mov eax, dword [esi + 0x110]
test ebp, ebp
jne 0x4d1c97
xor eax, eax
jmp 0x4d1ca3
mov edx, 4
mov ecx, ebp
call fcn.0047cde0
mov dword [esi + 0x110], eax
mov ecx, dword [esp + 0x34]
cmp dword [ebp], ecx
je 0x4d1cc0
push esi
mov ecx, str.Not_enough_image_data
call fcn.004963c0
add esp, 4
cmp dword [esi + 0x10c], 0
je 0x4d1bd0
mov eax, dword [esi + 0xb0]
mov ecx, dword [esi + 0x10c]
mov edi, dword [esi + 0xac]
mov dword [esi + 0x78], eax
mov dword [ebx], edi
cmp eax, ecx
jbe 0x4d1ceb
mov dword [esi + 0x78], ecx
mov eax, dword [esi + 0x50]
mov ebp, dword [esi + 0x78]
test eax, eax
je 0x4d1cff
push ebp
push edi
push esi
call eax
add esp, 0xc
jmp 0x4d1d0d
push esi
mov ecx, str.Call_to_NULL_read_function
call fcn.004963c0
add esp, 4
test byte [esi + 0x11c], 0x20
je 0x4d1d29
mov edx, dword [esi + 0x6c]
and edx, 0x300
cmp edx, 0x300
jne 0x4d1d32
jmp 0x4d1d4f
test dword [esi + 0x6c], 0x800
jne 0x4d1d4f
mov eax, dword [esi + 0x110]
test edi, edi
jne 0x4d1d40
xor eax, eax
jmp 0x4d1d49
mov edx, ebp
mov ecx, edi
call fcn.0047cde0
mov dword [esi + 0x110], eax
mov eax, dword [esi + 0x78]
sub dword [esi + 0x10c], eax
push ebx
call fcn.004858d0
add esp, 4
cmp eax, 1
je 0x4d1d93
test eax, eax
je 0x4d1d84
mov eax, dword [esi + 0x8c]
test eax, eax
jne 0x4d1d79
mov eax, str.Decompression_error
push esi
mov ecx, eax
call fcn.004963c0
add esp, 4
cmp dword [esi + 0x84], 0
jne 0x4d1bb0
jmp 0x4d1dc1
cmp dword [esi + 0x84], 0
jne 0x4d1dab
cmp dword [esi + 0x78], 0
jne 0x4d1dab
cmp dword [esi + 0x10c], 0
je 0x4d1db9
push esi
mov ecx, str.Extra_compressed_data
call fcn.004963c0
add esp, 4
or dword [esi + 0x68], 8
or dword [esi + 0x6c], 0x20
movzx eax, byte [esi + 0x127]
mov cl, byte [esi + 0x126]
mov dl, byte [esi + 0x12a]
mov byte [esi + 0x109], al
mov al, byte [esi + 0x129]
mov byte [esi + 0x108], cl
mov ecx, dword [esi + 0xe0]
lea edi, [esi + 0x100]
mov byte [esi + 0x10b], al
cmp al, 8
mov dword [edi], ecx
mov byte [esi + 0x10a], dl
movzx eax, al
jb 0x4d1e0f
shr eax, 3
imul eax, ecx
jmp 0x4d1e18
imul eax, ecx
add eax, 7
shr eax, 3
mov edx, dword [esi + 0xec]
mov dword [esi + 0x104], eax
mov al, byte [edx]
test al, al
je 0x4d1e41
mov ecx, dword [esi + 0xe8]
inc edx
push edx
movzx eax, al
inc ecx
push esi
mov edx, edi
call fcn.004820f0
add esp, 8
mov eax, dword [esi + 0xd8]
mov ecx, dword [esi + 0xec]
mov edx, dword [esi + 0xe8]
inc eax
push eax
push ecx
push edx
call fcn.004319d0
add esp, 0xc
test byte [esi + 0x230], 4
je 0x4d1e7f
cmp byte [esi + 0x238], 0x40
jne 0x4d1e7f
mov ecx, dword [esi + 0xec]
inc ecx
mov eax, edi
call fcn.0047d0d0
cmp dword [esi + 0x70], 0
jne 0x4d1e8e
test dword [esi + 0x6c], 0x400000
je 0x4d1e97
push esi
call fcn.0047fe90
add esp, 4
cmp byte [esi + 0x123], 0
je 0x4d1ece
test byte [esi + 0x70], 2
je 0x4d1ece
cmp byte [esi + 0x124], 6
jae 0x4d1eb8
push esi
call fcn.00481940
add esp, 4
mov edx, dword [esp + 0x14]
test edx, edx
je 0x4d1ee5
movzx ecx, byte [esi + 0x124]
mov eax, dword [esp + ecx*4 + 0x18]
push eax
jmp 0x4d1edb
mov edx, dword [esp + 0x14]
test edx, edx
je 0x4d1ee5
push 0xff
mov eax, esi
call fcn.00481da0
add esp, 4
mov ecx, esi
call fcn.00482e40
mov eax, dword [esi + 0x198]
test eax, eax
je 0x4d1f0b
movzx ecx, byte [esi + 0x124]
mov edx, dword [esi + 0xe4]
push ecx
push edx
push esi
call eax
add esp, 0xc
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00425bb1
add esp, 0x30
ret