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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov eax, dword [esp + 0x64]
mov ebx, dword [esp + 0x60]
mov esi, dword [esp + 0x68]
mov dword [esp + 0x24], eax
mov eax, dword [0x4b850c]
mov dword [esp + 0x3c], eax
xor eax, eax
test ebx, ebx
je 0x4307f2
test byte [ebx + 0x78], 0x40
je 0x430840
movzx edx, byte [ebx + 0x152]
movzx eax, byte [ebx + 0x153]
mov edi, dword [ebx + 0x114]
mov ebp, edx
mov ecx, edx
shl ebp, 8
mov dword [esp + 0x30], edi
or eax, ebp
movzx ebp, byte [ebx + 0x150]
shl eax, 8
or eax, ebp
movzx ebp, byte [ebx + 0x14f]
shl eax, 8
or eax, ebp
mov dword [esp + 0x38], eax
cmp dl, 7
ja 0x430810
imul edx, edi
add edx, 7
shr edx, 3
cmp byte [ebx + 0x14c], 0
mov eax, dword [ebx + 0x118]
mov dword [esp + 0x34], edx
je 0x430690
test byte [ebx + 0x7c], 2
je 0x430690
cmp byte [ebx + 0x14d], 5
ja case.default.0x43067c
movzx edx, byte [ebx + 0x14d]
jmp dword [edx*4 + 0x48cb48]
test al, 1
je 0x4309a0
lea esi, cs:[esi]
test byte [ebx + 0x74], 4
je 0x430a75
mov eax, dword [ebx + 0x124]
mov byte [eax], 0xff
mov eax, dword [esp + 0x34]
add eax, 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x124]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0043eb10
mov eax, dword [ebx + 0x124]
movzx edx, byte [eax]
test dl, dl
je 0x430704
cmp dl, 4
ja 0x430a85
mov dword [esp + 0x10], edx
mov edi, dword [ebx + 0x120]
add eax, 1
mov dword [esp + 8], eax
lea eax, [esp + 0x30]
lea edx, [edi + 1]
mov dword [esp + 4], eax
mov dword [esp + 0xc], edx
mov dword [esp], ebx
call fcn.0043ea70
mov eax, dword [ebx + 0x124]
mov edi, dword [esp + 0x34]
mov ecx, dword [ebx + 0x120]
mov dword [esp + 4], eax
lea edx, [edi + 1]
mov dword [esp], ecx
mov dword [esp + 8], edx
call sub.msvcrt.dll_memcpy
test byte [ebx + 0x254], 4
je 0x430737
cmp byte [ebx + 0x258], 0x40
je 0x4308a0
mov edx, dword [ebx + 0x7c]
test edx, edx
jne 0x430748
mov eax, dword [ebx + 0x144]
test eax, eax
js 0x430758
lea eax, [esp + 0x30]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00436280
movzx eax, byte [ebx + 0x157]
movzx edx, byte [esp + 0x3b]
test al, al
jne 0x430820
mov byte [ebx + 0x157], dl
cmp byte [ebx + 0x156], dl
jb 0x430a95
cmp byte [ebx + 0x14c], 0
je 0x430792
mov eax, dword [ebx + 0x7c]
test al, 2
jne 0x430850
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4307ae
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0043df20
test esi, esi
je 0x4307c6
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.0043df20
mov dword [esp], ebx
call fcn.0043ef80
mov eax, dword [ebx + 0x1c0]
test eax, eax
je 0x4307f2
movzx edx, byte [ebx + 0x14d]
mov dword [esp + 8], edx
mov edx, dword [ebx + 0x118]
mov dword [esp], ebx
mov dword [esp + 4], edx
call eax
mov eax, dword [esp + 0x3c]
sub eax, dword [0x4b850c]
jne 0x430a70
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
shr cl, 3
movzx edx, cl
imul edx, edi
jmp 0x430653
cmp al, dl
je 0x43077e
mov dword [esp + 4], str.internal_sequential_row_size_calculation_error
mov dword [esp], ebx
call fcn.0042b7c0
lea esi, cs:[esi]
mov dword [esp], ebx
call fcn.0043f090
jmp 0x430604
movzx edx, byte [ebx + 0x14d]
cmp dl, 5
jbe 0x430940
test esi, esi
je 0x430878
mov dword [esp + 8], 1
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.0043df20
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4307c6
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0043df20
jmp 0x4307c6
movzx edx, byte [esp + 0x38]
test dl, 2
je 0x430737
mov eax, dword [ebx + 0x124]
movzx ecx, byte [esp + 0x39]
mov ebp, dword [esp + 0x30]
add eax, 1
cmp cl, 8
je 0x430a28
cmp cl, 0x10
jne 0x430737
cmp dl, 2
je 0x430a66
mov edi, 8
cmp dl, 6
jne 0x430737
test ebp, ebp
je 0x430737
mov dword [esp + 0x28], ebx
xor ecx, ecx
mov dword [esp + 0x2c], esi
mov esi, ecx
lea esi, [esi]
movzx ecx, word [eax]
movzx edx, word [eax + 4]
add esi, 1
movzx ebx, word [eax + 2]
rol cx, 8
rol dx, 8
rol bx, 8
add ecx, ebx
add edx, ebx
mov byte [eax], ch
mov byte [eax + 1], cl
mov byte [eax + 4], dh
mov byte [eax + 5], dl
add eax, edi
cmp ebp, esi
jne 0x430900
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
jmp 0x430737
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov eax, dword [ebx + 0x124]
add eax, 1
mov dword [esp + 4], eax
lea eax, [esp + 0x30]
mov dword [esp], eax
call fcn.0043e460
jmp 0x430860
test al, 1
jne 0x430988
cmp dword [ebx + 0x100], 1
ja 0x430690
lea esi, [esi]
test esi, esi
je 0x4309a0
mov dword [esp + 8], 1
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.0043df20
mov dword [esp], ebx
call fcn.0043ef80
jmp 0x4307f2
test al, 7
je 0x430690
jmp 0x430988
test al, 7
jne 0x430988
cmp dword [ebx + 0x100], 4
ja 0x430690
jmp 0x430988
mov edx, eax
and edx, 7
cmp edx, 4
je 0x430690
test esi, esi
je 0x4309a0
test al, 4
je 0x4309a0
jmp 0x43098c
test al, 3
jne 0x430988
cmp dword [ebx + 0x100], 2
ja 0x430690
jmp 0x430988
mov edx, eax
and edx, 3
cmp edx, 2
je 0x430690
test esi, esi
je 0x4309a0
test al, 2
je 0x4309a0
jmp 0x43098c
cmp dl, 2
je 0x430a5f
mov edi, 4
cmp dl, 6
jne 0x430737
test ebp, ebp
je 0x430737
xor edx, edx
lea esi, [esi]
add edx, 1
movzx ecx, byte [eax + 1]
add byte [eax], cl
add byte [eax + 2], cl
add eax, edi
cmp ebp, edx
jne 0x430a48
jmp 0x430737
mov edi, 3
jmp 0x430a3b
mov edi, 6
jmp 0x4308e9
call fcn.00464ba0
mov dword [esp + 4], str.Invalid_attempt_to_read_row_data
mov dword [esp], ebx
call fcn.0042b7c0
mov dword [esp + 4], str.bad_adaptive_filter_value
mov dword [esp], ebx
call fcn.0042b7c0
mov dword [esp + 4], str.sequential_row_overflow
mov dword [esp], ebx
call fcn.0042b7c0
lea esi, cs:[esi]
lea esi, [esi]
push ebp
push edi
push esi
push ebx
sub esp, 0x6c
mov eax, dword [esp + 0x80]
mov edx, eax
mov dword [esp + 0x30], eax
mov eax, dword [0x4b850c]
mov dword [esp + 0x5c], eax
xor eax, eax
mov ecx, dword [edx]
mov eax, dword [ecx]
mov edi, dword [ecx + 0x10]
mov dword [esp + 0x34], ecx
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], esi
mov dword [esp + 0x40], eax
mov eax, edi
and eax, 4
mov dword [esp + 0x38], eax
call fcn.00434bd0
movzx edx, byte [esi + 0x14f]
movzx ecx, byte [esi + 0x150]
movzx eax, word [esi + 0x148]
call fcn.0042e470
mov dword [esp + 0x2c], 0
mov edx, eax
mov ebx, eax
and edx, 0xfffffff7
xor edx, edi
mov ebp, edx
and edx, 2
je 0x430b5c
test edi, 2
jne 0x43107a
mov dword [esp + 0xc], 0xffffffff
and eax, 1
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 1
mov dword [esp], esi
mov dword [esp + 0x2c], eax
call fcn.00434d50
and ebp, 0xfffffffd
mov eax, 0xffffffff
test bl, 4
je 0x430b7d
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x3c], eax
and eax, 4
neg eax
sbb eax, eax
or eax, 0x186a0
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], esi
call fcn.00433de0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x430ed8
mov dword [esp + 0x44], 0x186a0
mov edx, ebx
and edx, 1
test ebp, 0x40
je 0x430bba
and ebp, 0xffffffbf
mov edx, 2
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jne 0x430fc5
test ebp, 4
je 0x430bed
mov eax, dword [esp + 0x38]
mov dword [esp + 0x3c], edx
mov dword [esp], esi
test eax, eax
je 0x430f13
call fcn.00434cd0
mov edx, dword [esp + 0x3c]
and ebp, 0xfffffffb
mov dword [esp + 0x3c], 0
test ebp, 1
je 0x430cd2
and ebx, 1
je 0x430c8c
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x431094
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x431123
mov eax, dword [esp + 0x30]
mov dword [esp + 0x4c], edx
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x431111
mov byte [esp + 0x50], 0
movzx eax, byte [ecx + 1]
movzx edx, byte [ecx]
movzx ecx, byte [ecx + 2]
mov dword [esp + 0x10], 0
shl eax, 0x10
mov dword [esp + 0xc], 0
or edx, eax
mov dword [esp + 0x48], ecx
mov ecx, edx
mov edx, dword [esp + 0x48]
mov dword [esp + 8], 1
mov dword [esp], esi
or edx, eax
lea eax, [esp + 0x50]
mov dword [esp + 0x52], ecx
mov dword [esp + 4], eax
mov dword [esp + 0x56], edx
call fcn.00433b20
mov edx, dword [esp + 0x4c]
jmp 0x430ccf
cmp dword [esp + 0x38], 1
mov ecx, 1
sbb eax, eax
and eax, 0xffff0100
add eax, 0xffff
test edi, 0x20
je 0x430caf
and ebp, 0xffffffdf
xor ecx, ecx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], esi
mov dword [esp + 0x48], edx
call fcn.004426f0
mov dword [esp + 0x3c], 0
mov edx, dword [esp + 0x48]
and ebp, 0xfffffffe
mov eax, dword [esp + 0x44]
mov dword [esp + 4], edx
mov dword [esp], esi
mov dword [esp + 8], eax
call fcn.00433de0
test ebp, 0x10
je 0x430d00
test edi, 2
jne 0x431087
and edi, 0xffffffef
and ebp, 0xffffffef
test ebp, 0x20
je 0x430d1a
test edi, 1
jne 0x430f21
and edi, 0xffffffdf
and ebp, 0xffffffdf
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x430fb8
test ebp, ebp
jne 0x43114d
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], esi
call fcn.00441e80
mov dword [esp + 0xc], 6
mov dword [esp + 8], 0x48cfb0
mov dword [esp + 4], 0
mov dword [esp], esi
call fcn.00441e80
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x430d81
cmp dword [esp + 0x2c], 2
jne 0x430f04
xor ebx, ebx
test byte [esi + 0x78], 0x40
je 0x430ee7
mov dword [esp + 4], str.png_read_update_info_png_start_read_image:_duplicate_call
mov dword [esp], esi
call fcn.0042b820
mov eax, dword [esp + 0x40]
movzx edx, byte [eax + 0x19]
mov eax, edx
shr al, 1
and eax, 1
add eax, eax
and edx, 4
je 0x430f70
mov ebp, dword [esp + 0x3c]
test ebp, ebp
jne 0x430dcd
cmp dword [esp + 0x2c], 2
je 0x4310a1
or eax, 1
mov edx, eax
or edx, 0x40
test edi, 0x40
cmovne eax, edx
mov edx, dword [esp + 0x40]
cmp byte [edx + 0x18], 0x10
jne 0x430de8
or eax, 4
mov edx, dword [esi + 0x7c]
mov ecx, edx
and ecx, 1
shl ecx, 4
or eax, ecx
mov ecx, edx
and ecx, 0x20000
cmp dword [esp + 0x2c], 2
je 0x430f90
test ecx, ecx
jne 0x430f66
and edx, 0x1000000
je 0x430e28
test byte [esi + 0x78], 0x80
je 0x430f5f
lea esi, [esi]
cmp edi, eax
jne 0x43113d
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov ebp, dword [eax + 8]
test edx, edx
mov edi, dword [eax + 4]
lea ecx, [ebp + ebp]
cmovne ebp, ecx
test ebp, ebp
jns 0x430e5e
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0xc]
lea ecx, [eax - 1]
mov dword [esp + 0x38], eax
imul ecx, ebp
sub edi, ecx
mov eax, dword [esp + 0x30]
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], ebp
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x431013
cmp dword [esp + 0x2c], 2
je 0x4310b2
sub ebx, 1
mov dword [esp + 0x2c], ebx
js 0x430f40
lea esi, [esi]
mov eax, dword [esp + 0x34]
mov ebx, dword [eax + 0xc]
test ebx, ebx
je 0x430ebb
lea esi, cs:[esi]
mov dword [esp + 4], edi
add edi, ebp
mov dword [esp + 8], 0
mov dword [esp], esi
call fcn.004305d0
sub ebx, 1
jne 0x430ea0
sub dword [esp + 0x2c], 1
mov eax, dword [esp + 0x2c]
cmp eax, 0xffffffff
je 0x430f40
mov eax, dword [esp + 0x30]
mov edi, dword [eax + 0x18]
jmp 0x430e90
mov dword [esp + 0x44], 0xffffffff
xor edx, edx
jmp 0x430baa
mov dword [esp], esi
call fcn.0043f090
mov eax, dword [esp + 0x40]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00435f60
jmp 0x430d9d
mov dword [esp], esi
call fcn.00442610
mov ebx, eax
jmp 0x430d83
call fcn.00433d20
mov edx, dword [esp + 0x3c]
jmp 0x430bea
cmp dword [esp + 0x2c], 2
je 0x430d17
mov dword [esp], esi
call fcn.004427b0
jmp 0x430d17
mov ebx, 1
mov eax, dword [esp + 0x5c]
sub eax, dword [0x4b850c]
jne 0x431138
add esp, 0x6c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
cmp dword [esp + 0x2c], 2
je 0x430fa4
or eax, 0x20
jmp 0x430e28
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x430dcd
mov dword [esp + 4], str.png_image_read:_alpha_channel_lost
mov dword [esp], esi
call fcn.0042b7c0
lea esi, [esi]
test edi, 0x20
jne 0x43106a
test ecx, ecx
je 0x430e10
mov dword [esp + 4], str.unexpected_alpha_swap_transformation
mov dword [esp], esi
call fcn.0042b7c0
lea esi, [esi]
mov dword [esp], esi
call fcn.00442580
jmp 0x430d26
mov dword [esp + 0xc], 0x186a0
mov eax, dword [esi + 0x2ec]
mov dword [esp + 0x3c], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
lea eax, [esp + 0x50]
mov dword [esp], eax
call fcn.00429430
mov edx, dword [esp + 0x3c]
test eax, eax
jne 0x4310e8
cmp edx, 1
jne 0x430bc6
mov dword [esp + 0x2c], 2
xor edx, edx
jmp 0x430bc6
mov eax, dword [esp + 0x40]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0042bd00
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0042d8a0
mov ebp, dword [esp + 0x30]
mov edi, eax
mov dword [ebp + 0x14], eax
mov dword [esp + 8], ebp
mov dword [esp + 4], 0x431840
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.0042bc30
mov dword [ebp + 0x14], 0
mov dword [esp + 4], edi
mov ebx, eax
mov dword [esp], esi
call fcn.0042d9b0
jmp 0x430f45
or eax, 0x20
test ecx, ecx
je 0x430e10
jmp 0x430fa4
mov dword [esp], esi
call fcn.00434d10
jmp 0x430b59
mov dword [esp], esi
call fcn.00442570
jmp 0x430cfd
mov dword [esp + 0x2c], 2
jmp 0x430ccf
test edi, 1
je 0x430dcd
jmp 0x430dca
mov eax, dword [esp + 0x40]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0042bd00
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0042d8a0
mov ebp, dword [esp + 0x30]
mov edi, eax
mov dword [ebp + 0x14], eax
mov dword [esp + 8], ebp
mov dword [esp + 4], 0x431160
jmp 0x431044
mov eax, dword [esp + 0x50]
mov dword [esp + 0x3c], edx
mov dword [esp], eax
call fcn.0042a0e0
mov edx, dword [esp + 0x3c]
test eax, eax
jne 0x430ffb
mov dword [esp + 0x2c], 0
jmp 0x430bc6
mov dword [esp + 0x3c], 1
mov edx, 2
jmp 0x430ccf
mov dword [esp], esi
mov dword [esp + 0x48], edx
call fcn.00433da0
mov edx, dword [esp + 0x48]
jmp 0x430ccf
call fcn.00464ba0
mov dword [esp + 4], str.png_read_image:_invalid_transformations
mov dword [esp], esi
call fcn.0042b7c0
mov dword [esp + 4], str.png_read_image:_unsupported_transformation
mov dword [esp], esi
call fcn.0042b7c0
lea esi, [esi]
push ebp
push edi
push esi
push ebx
sub esp, 0x6c
mov eax, dword [esp + 0x80]
mov esi, dword [eax]
mov eax, dword [esi]
mov edi, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0x7c]
test eax, 0x600000
je 0x43182e
test al, 0x80
jne 0x43181a
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0042c4c0
cmp al, 2
jne 0x431806
mov edx, dword [esi + 0x10]
mov eax, edx
and eax, 5
cmp eax, 1
je 0x4317f2
mov eax, dword [esp + 0x2c]
movzx eax, byte [eax + 0x14c]
test al, al
je 0x431532
cmp al, 1
jne 0x4317de
movzx ecx, byte [ebx + 0x18]
mov dword [esp + 0x44], 7
cmp cl, 8
jne 0x431547
mov esi, dword [esp + 0x80]
xor ebp, ebp
lea edi, [ebp + 1]
mov esi, dword [esi + 0x18]
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0x80]
mov esi, dword [esi + 0x1c]
mov dword [esp + 0x40], esi
cmp al, 1
je 0x43137c
lea esi, [esi]
mov dword [esp + 0x20], 0
xor edx, edx
mov ebx, 1
mov dword [esp + 0x34], 1
mov eax, dword [esp + 0x80]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x431419
movzx eax, byte [eax + 1]
mov esi, dword [esp + 0x30]
mov byte [esp + 0x1c], al
movzx eax, word [eax + eax + 0x48c000]
mov word [esp + 0x24], ax
mov eax, dword [esp + 0x20]
cmp eax, esi
jae 0x431358
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x3c], edi
mov ebp, dword [esp + 0x4c]
imul ecx, esi
imul eax, esi
mov esi, dword [esp + 0x48]
mov dword [esp + 0x38], ecx
add esi, eax
add eax, edx
add esi, ebp
add ebp, eax
lea esi, [esi]
mov eax, dword [esp + 0x80]
mov edi, dword [eax + 0x14]
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.004305d0
mov edx, ebp
cmp ebp, esi
jae 0x431334
mov dword [esp + 0x28], ebp
lea esi, [esi]
movzx ecx, byte [edi + 1]
movzx eax, byte [esp + 0x1c]
test cl, cl
je 0x431325
movzx eax, byte [edi]
cmp cl, 0xff
je 0x431325
movzx ebp, word [eax + eax + 0x48c000]
mov eax, 0xff
sub eax, ecx
imul ebp, ecx
movzx ecx, word [esp + 0x24]
imul eax, ecx
add eax, ebp
mov ecx, eax
and eax, 0x7fff
shr ecx, 0xf
movzx ebp, byte [ecx + 0x48ba00]
movzx ecx, word [ecx + ecx + 0x48bc00]
imul eax, ebp
shr eax, 0xc
add eax, ecx
movzx eax, ah
mov byte [edx], al
add edx, ebx
add edi, 2
cmp edx, esi
jb 0x4312d0
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x34]
add dword [esp + 0x20], edi
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x20]
add esi, edi
add ebp, edi
mov edi, dword [esp + 0x30]
cmp eax, edi
jb 0x4312a0
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
cmp edi, eax
je 0x431740
mov eax, dword [esp + 0x2c]
mov ebp, edi
lea edi, [ebp + 1]
movzx eax, byte [eax + 0x14c]
cmp al, 1
jne 0x431228
mov edx, edi
mov eax, ebp
mov ecx, 3
sar edx, 1
and eax, 1
sub ecx, edx
shl eax, cl
mov edx, eax
and edx, 7
cmp ebp, 1
jbe 0x4317b5
mov ecx, 7
mov eax, 1
mov esi, dword [esp + 0x48]
sub ecx, ebp
sar ecx, 1
shl eax, cl
sub eax, 1
sub eax, edx
add eax, esi
shr eax, cl
test eax, eax
je 0x431358
mov ecx, 7
mov eax, 1
mov esi, ebp
sub ecx, ebp
sar esi, 1
sar ecx, 1
shl eax, cl
mov ecx, 3
mov ebx, eax
mov eax, ebp
sub ecx, esi
not eax
and eax, 1
shl eax, cl
and eax, 7
mov dword [esp + 0x20], eax
mov eax, 8
mov dword [esp + 0x34], eax
cmp ebp, 2
jbe 0x43123f
lea ecx, [ebp - 1]
sar ecx, 1
sar eax, cl
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x80]
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x431251
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x30]
cmp eax, esi
jae 0x431358
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], edi
imul esi, ecx
imul eax, ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x4c]
add ecx, eax
add eax, edx
lea ebp, [esi + ecx]
add esi, eax
mov edi, esi
mov esi, dword [esp + 0x20]
lea esi, [esi]
mov eax, dword [esp + 0x80]
mov ebx, dword [eax + 0x14]
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004305d0
mov edx, edi
cmp edi, ebp
jae 0x431513
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x38]
lea esi, cs:[esi]
movzx ecx, byte [ebx + 1]
test cl, cl
je 0x431502
movzx eax, byte [ebx]
cmp cl, 0xff
je 0x431500
movzx esi, word [eax + eax + 0x48c000]
movzx eax, byte [edx]
movzx eax, word [eax + eax + 0x48c000]
imul esi, ecx
mov dword [esp + 0x1c], eax
mov eax, 0xff
sub eax, ecx
mov ecx, dword [esp + 0x1c]
imul ecx, eax
mov eax, ecx
add eax, esi
mov ecx, eax
and eax, 0x7fff
shr ecx, 0xf
movzx esi, byte [ecx + 0x48ba00]
movzx ecx, word [ecx + ecx + 0x48bc00]
imul eax, esi
shr eax, 0xc
add eax, ecx
movzx eax, ah
mov byte [edx], al
add edx, edi
add ebx, 2
cmp edx, ebp
jb 0x4314a0
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
add esi, eax
mov eax, dword [esp + 0x28]
add ebp, eax
add edi, eax
mov eax, dword [esp + 0x30]
cmp esi, eax
jb 0x431460
jmp 0x431354
movzx ecx, byte [ebx + 0x18]
mov dword [esp + 0x44], 1
cmp cl, 8
je 0x4311f8
cmp cl, 0x10
jne 0x4317ca
mov edi, dword [esp + 0x80]
mov esi, dword [esp + 0x80]
mov ebx, edx
and ebx, 0x21
mov ecx, dword [edi + 0x1c]
mov esi, dword [esi + 0x18]
mov edi, dword [esp + 0x48]
mov dword [esp + 0x4c], esi
mov esi, edx
mov edx, ecx
and esi, 1
shr edx, 0x1f
add edx, ecx
mov dword [esp + 0x1c], esi
add esi, 1
imul edi, esi
sar edx, 1
cmp ebx, 0x21
mov dword [esp + 0x54], esi
sete bl
mov dword [esp + 0x5c], edx
movzx ebx, bl
mov dword [esp + 0x20], ebx
setne bl
xor esi, esi
movzx ebx, bl
mov dword [esp + 0x58], edi
mov dword [esp + 0x24], ebx
jmp 0x43160e
mov edx, ebp
mov eax, esi
mov ecx, 3
sar edx, 1
and eax, 1
sub ecx, edx
shl eax, cl
mov edx, eax
and edx, 7
cmp esi, 1
jbe 0x4317a0
mov ecx, 7
mov eax, 1
mov edi, dword [esp + 0x48]
sub ecx, esi
sar ecx, 1
shl eax, cl
sub eax, 1
sub eax, edx
add eax, edi
shr eax, cl
test eax, eax
jne 0x43174d
mov eax, dword [esp + 0x44]
cmp ebp, eax
je 0x431740
mov eax, dword [esp + 0x2c]
mov esi, ebp
movzx eax, byte [eax + 0x14c]
lea ebp, [esi + 1]
cmp al, 1
je 0x4315b0
mov dword [esp + 0x28], 0
mov edx, dword [esp + 0x54]
xor ebx, ebx
mov dword [esp + 0x3c], 1
mov esi, dword [esp + 0x30]
cmp dword [esp + 0x28], esi
jae 0x4315f5
mov esi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x3c]
lea edi, [edx + edx]
mov dword [esp + 0x50], ebp
mov eax, dword [esp + 0x80]
mov edx, esi
imul edx, ecx
mov eax, dword [eax + 0x14]
add edx, edx
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x28]
imul esi, edx
mov edx, esi
mov esi, dword [esp + 0x58]
lea ecx, [esi + edx]
add edx, ebx
mov esi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x4c]
lea esi, [esi + ecx*2]
lea ebx, [ebx + edx*2]
lea esi, [esi]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], 0
mov dword [esp], eax
call fcn.004305d0
mov eax, dword [esp + 0x80]
mov ecx, ebx
mov eax, dword [eax + 0x14]
mov ebp, eax
cmp ebx, esi
jae 0x431710
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ebx
jmp 0x4316f4
cmp bx, 0xffff
je 0x4316d3
movzx eax, bx
imul eax, edx
mov edx, 0x80008001
add eax, 0x7fff
mul edx
shr edx, 0xf
mov eax, dword [esp + 0x20]
mov word [ecx + eax*2], dx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4316eb
mov eax, dword [esp + 0x24]
mov word [ecx + eax*2], bx
add ecx, edi
add ebp, 4
cmp ecx, esi
jae 0x431708
movzx ebx, word [ebp + 2]
movzx edx, word [ebp]
test bx, bx
jne 0x4316b8
xor edx, edx
jmp 0x4316d3
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
add dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x28]
add esi, ecx
add ebx, ecx
mov ecx, dword [esp + 0x30]
cmp edx, ecx
jb 0x431680
mov ebp, dword [esp + 0x50]
mov eax, dword [esp + 0x44]
cmp ebp, eax
jne 0x431601
add esp, 0x6c
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, 7
mov eax, dword [esp + 0x54]
mov edi, esi
sub ecx, esi
sar edi, 1
sar ecx, 1
mov ebx, eax
shl eax, cl
imul ebx, edx
mov ecx, 3
mov edx, eax
mov eax, esi
sub ecx, edi
not eax
and eax, 1
shl eax, cl
and eax, 7
mov dword [esp + 0x28], eax
mov eax, 8
mov dword [esp + 0x3c], eax
cmp esi, 2
jbe 0x43162b
lea ecx, [esi - 1]
sar ecx, 1
sar eax, cl
mov dword [esp + 0x3c], eax
jmp 0x43162b
mov edi, dword [esp + 0x48]
not eax
mov ecx, 3
and eax, 7
add eax, edi
jmp 0x4315eb
mov esi, dword [esp + 0x48]
not eax
mov ecx, 3
and eax, 7
add eax, esi
jmp 0x4313b7
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], str.unexpected_bit_depth
mov dword [esp], eax
call fcn.0042b7c0
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], str.unknown_interlace_type
mov dword [esp], eax
call fcn.0042b7c0
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], str.unexpected_8_bit_transformation
mov dword [esp], eax
call fcn.0042b7c0
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], str.lost_gained_channels
mov dword [esp], eax
call fcn.0042b7c0
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], str.unexpected_compose
mov dword [esp], eax
call fcn.0042b7c0
mov dword [esp + 4], str.lost_rgb_to_gray
mov dword [esp], edi
call fcn.0042b7c0
nop
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x70]
mov edx, dword [eax]
mov eax, dword [edx]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
movzx eax, byte [eax + 0x14c]
test al, al
je 0x431b41
cmp al, 1
jne 0x431b4e
mov dword [esp + 0x48], 7
mov ecx, dword [edx + 0xc]
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x30], ecx
mov ecx, dword [edx + 8]
mov ebp, dword [ebx + 0x1c]
mov dword [esp + 0x4c], ecx
test byte [edx + 0x10], 2
je 0x431b2f
lea ecx, [ecx + ecx*2]
mov dword [esp + 0x3c], ecx
mov ecx, 3
xor esi, esi
mov edi, ecx
jmp 0x43190a
mov edx, ebx
mov eax, esi
mov ecx, 3
sar edx, 1
and eax, 1
sub ecx, edx
shl eax, cl
mov edx, eax
and edx, 7
mov dword [esp + 0x10], edx
cmp esi, 1
jbe 0x431b1a
mov ecx, 7
mov eax, 1
sub ecx, esi
sar ecx, 1
shl eax, cl
sub eax, 1
sub eax, edx
mov edx, dword [esp + 0x4c]
add eax, edx
shr eax, cl
test eax, eax
jne 0x431ac3
mov eax, dword [esp + 0x48]
cmp ebx, eax
je 0x431ab6
mov eax, dword [esp + 0x2c]
mov esi, ebx
movzx eax, byte [eax + 0x14c]
lea ebx, [esi + 1]
cmp al, 1
je 0x4318a8
mov dword [esp + 0x14], edi
xor edx, edx
mov dword [esp + 0x28], 1
mov dword [esp + 0x34], 0
mov ecx, dword [esp + 0x30]
cmp edx, ecx
jae 0x4318f1
mov eax, dword [esp + 0x28]
mov dword [esp + 0x40], ebx
mov esi, edx
mov ecx, edi
imul esi, ebp
mov dword [esp + 0x44], ebp
imul eax, ebp
mov ebp, edx
mov dword [esp + 0x38], eax
lea esi, cs:[esi]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x10], ecx
mov ebx, dword [eax + 0x14]
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], 0
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.004305d0
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + 0x18]
mov eax, dword [esp + 0x3c]
add edx, esi
lea edi, [edx + eax]
mov eax, dword [esp + 0x34]
add edx, eax
lea eax, [ecx + 1]
mov dword [esp + 0x10], eax
cmp edx, edi
jae 0x431a88
mov dword [esp + 0x24], ebp
mov ebp, edi
mov dword [esp + 0x20], esi
jmp 0x4319c4
mov eax, dword [esp + 0x10]
add ebx, eax
mov eax, dword [esp + 0x14]
add edx, eax
cmp edx, ebp
jae 0x431a80
movzx edi, byte [ebx + ecx]
mov eax, edi
test al, al
je 0x4319b0
mov dword [esp + 0x18], edx
mov edx, edi
xor esi, esi
cmp dl, 0xff
movzx eax, byte [ebx + esi]
mov edx, dword [esp + 0x18]
jne 0x4319fc
mov byte [edx + esi], al
add esi, 1
cmp esi, ecx
je 0x4319b0
mov edx, edi
movzx eax, byte [ebx + esi]
cmp dl, 0xff
mov edx, dword [esp + 0x18]
je 0x4319e3
mov dword [esp + 0x1c], eax
mov eax, edi
movzx edi, al
mov eax, 0xff
sub eax, edi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], ebp
mov edi, eax
mov ebp, dword [esp + 0x18]
shl edi, 0x10
sub edi, eax
movzx eax, byte [edx + esi]
movzx eax, word [eax + eax + 0x48c000]
imul eax, ebp
add eax, edi
mov edi, eax
and eax, 0x7fff
shr edi, 0xf
movzx ebp, byte [edi + 0x48ba00]
movzx edi, word [edi + edi + 0x48bc00]
imul eax, ebp
shr eax, 0xc
add eax, edi
mov byte [edx + esi], ah
add esi, 1
cmp esi, ecx
je 0x431a68
movzx eax, byte [ebx + esi]
jmp 0x431a18
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x1c]
add ebx, eax
mov eax, dword [esp + 0x14]
add edx, eax
cmp edx, ebp
jb 0x4319c4
mov esi, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
add ebp, eax
mov eax, dword [esp + 0x38]
add esi, eax
mov eax, dword [esp + 0x30]
cmp ebp, eax
jb 0x431950
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x48]
mov edi, ecx
mov ebp, dword [esp + 0x44]
cmp ebx, eax
jne 0x4318fd
add esp, 0x5c
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [esp + 0x10]
mov ecx, 7
mov eax, edi
sub ecx, esi
imul edx, edi
sar ecx, 1
shl eax, cl
mov ecx, 3
mov dword [esp + 0x14], eax
mov eax, esi
mov dword [esp + 0x34], edx
mov edx, esi
not eax
sar edx, 1
and eax, 1
sub ecx, edx
shl eax, cl
and eax, 7
mov edx, eax
mov eax, 8
mov dword [esp + 0x28], eax
cmp esi, 2
jbe 0x431927
lea ecx, [esi - 1]
sar ecx, 1
sar eax, cl
mov dword [esp + 0x28], eax
jmp 0x431927
mov ecx, dword [esp + 0x4c]
not eax
and eax, 7
add eax, ecx
mov ecx, 3
jmp 0x4318e7
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x3c], ecx
mov ecx, 1
jmp 0x43189f
mov dword [esp + 0x48], 1
jmp 0x431874
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], str.unknown_interlace_type
mov dword [esp], eax
call fcn.0042b7c0
lea esi, cs:[esi]
lea esi, [esi]
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov edx, dword [esp + 0x40]
mov eax, dword [edx]
mov dword [esp + 0x1c], eax
mov eax, dword [eax]
mov esi, dword [eax]
mov ebx, dword [eax + 4]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], esi
call fcn.00441e80
mov dword [esp + 0xc], 6
mov dword [esp + 8], 0x48cfb0
mov dword [esp + 4], 0
mov dword [esp], esi
call fcn.00441e80
mov edx, dword [esp + 0x40]
xor ecx, ecx
mov eax, dword [edx + 0x28]
test eax, eax
je 0x431d6f
test esi, esi
je 0x431c0b
test byte [esi + 0x78], 0x40
mov dword [esp + 0x40], edx
mov dword [esp + 0x18], ecx
jne 0x431ce6
mov dword [esp], esi
call fcn.0043f090
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.00435f60
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 0x28]
cmp eax, 3
je 0x431d0a
jg 0x431de2
test eax, eax
je 0x431d40
sub eax, 1
cmp eax, 1
ja 0x431d2f
cmp word [ebx + 0x18], 0x408
jne 0x431d2f
cmp dword [esi + 0x188], 0x35b60
jne 0x431d2f
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x18], 0x100
jne 0x431d2f
mov ebp, dword [edx + 8]
mov edi, dword [edx + 4]
test ebp, ebp
jns 0x431c7b
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x18], eax
sub eax, 1
imul eax, ebp
sub edi, eax
mov dword [edx + 0x18], edi
mov dword [edx + 0x1c], ebp
test ecx, ecx
je 0x431d82
sub ecx, 1
mov dword [esp + 0x18], ecx
js 0x431d60
mov dword [esp + 0x40], edx
lea esi, [esi]
mov eax, dword [esp + 0x1c]
mov ebx, dword [eax + 0xc]
test ebx, ebx
je 0x431ccb
lea esi, cs:[esi]
mov dword [esp + 4], edi
add edi, ebp
mov dword [esp + 8], 0
mov dword [esp], esi
call fcn.004305d0
sub ebx, 1
jne 0x431cb0
sub dword [esp + 0x18], 1
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x431d60
mov eax, dword [esp + 0x40]
mov edi, dword [eax + 0x18]
jmp 0x431ca0
mov dword [esp + 4], str.png_read_update_info_png_start_read_image:_duplicate_call
mov dword [esp], esi
call fcn.0042b820
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
mov eax, dword [edx + 0x28]
cmp eax, 3
jne 0x431c17
cmp word [ebx + 0x18], 0x208
jne 0x431d2f
cmp dword [esi + 0x188], 0x35b60
jne 0x431d2f
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x18], 0xd8
je 0x431c5e
mov dword [esp + 4], str.bad_color_map_processing__internal_error_
mov dword [esp], esi
call fcn.0042b7c0
nop
movzx eax, byte [ebx + 0x19]
cmp al, 3
je 0x431d4c
test al, al
jne 0x431d2f
cmp byte [ebx + 0x18], 8
je 0x431c5e
jmp 0x431d2f
add esp, 0x2c
mov ebx, 1
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], esi
call fcn.00442610
mov edx, dword [esp + 0x40]
mov ecx, eax
jmp 0x431bd9
mov dword [esp + 4], ebx
mov dword [esp], esi
mov dword [esp + 0x40], edx
call fcn.0042bd00
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0042d8a0
mov edx, dword [esp + 0x40]
mov edi, eax
mov dword [edx + 0x14], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x431e20
mov dword [esp], eax
call fcn.0042bc30
mov edx, dword [esp + 0x40]
mov ebx, eax
mov dword [edx + 0x14], 0
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.0042d9b0
add esp, 0x2c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
cmp eax, 4
jne 0x431d2f
cmp word [ebx + 0x18], 0x608
jne 0x431d2f
cmp dword [esi + 0x188], 0x35b60
jne 0x431d2f
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x18], 0xf4
je 0x431c5e
jmp 0x431d2f