Function at 0x46b070
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov ebp, dword [esp + 0x60]
mov edi, dword [esp + 0x64]
mov edx, dword [ebp + 0x120]
test edx, edx
je 0x46df6d
mov eax, dword [ebp + 0x74]
and eax, 0x4040
cmp eax, 0x4000
je 0x46df5d
mov eax, dword [ebp + 0x78]
test ah, 0x10
je 0x46b0d3
cmp byte [edi + 8], 3
je 0x46c140
cmp word [ebp + 0x144], 0
je 0x46b0c7
test eax, 0x2000000
jne 0x46c090
add edx, 1
xor ecx, ecx
mov eax, edi
call fcn.00468800
mov eax, dword [ebp + 0x78]
and eax, 0x40080
cmp eax, 0x40000
je 0x46bd15
mov edx, dword [ebp + 0x78]
mov eax, edx
and edx, 0x600000
jne 0x46b7a8
test ah, 0x40
jne 0x46b306
test al, 0x80
jne 0x46b330
mov eax, dword [ebp + 0x78]
mov ecx, eax
mov edx, eax
and ecx, 0x602000
cmp ecx, 0x2000
je 0x46bd46
and edx, 0x40080
cmp edx, 0x40080
je 0x46be90
mov ebx, dword [ebp + 0x78]
test ebx, 0x800000
jne 0x46b240
test ebx, 0x4000000
jne 0x46ba70
test bh, 4
jne 0x46ba21
test bl, 0x40
jne 0x46b990
test bh, 2
jne 0x46b9c9
test bh, 0x40
jne 0x46b5c0
test bl, 0x20
jne 0x46b5e6
test ebx, 0x80000
jne 0x46b60a
test bl, 8
jne 0x46b660
and ebx, 4
jne 0x46bc25
cmp byte [edi + 8], 3
je 0x46bc80
mov eax, dword [ebp + 0x78]
test al, 1
jne 0x46bc08
test eax, 0x10000
jne 0x46bb00
test ah, 0x80
jne 0x46bb21
test eax, 0x20000
jne 0x46bca0
test al, 0x10
jne 0x46bae0
test eax, 0x100000
je 0x46b233
mov eax, dword [ebp + 0x60]
test eax, eax
je 0x46b1f9
mov esi, dword [ebp + 0x120]
mov dword [esp + 4], edi
mov dword [esp], ebp
lea edx, [esi + 1]
mov dword [esp + 8], edx
call eax
movzx eax, byte [ebp + 0x6c]
test al, al
jne 0x46b773
movzx edx, byte [ebp + 0x6d]
movzx ecx, byte [edi + 9]
test dl, dl
jne 0x46b784
movzx eax, byte [edi + 0xa]
imul eax, ecx
cmp al, 7
mov byte [edi + 0xb], al
jbe 0x46b797
shr al, 3
movzx eax, al
imul eax, dword [edi]
mov dword [edi + 4], eax
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
movzx edx, byte [edi + 8]
test dl, 4
je 0x46b142
mov eax, dword [ebp + 0x120]
movzx ecx, byte [edi + 9]
add eax, 1
cmp cl, 8
mov dword [esp + 0xc], eax
mov eax, dword [edi]
je 0x46cf40
cmp cl, 0x10
jne 0x46b142
mov esi, dword [ebp + 0x198]
mov ecx, dword [ebp + 0x180]
test esi, esi
mov dword [esp + 0x14], ecx
je 0x46b142
and edx, 2
cmp dl, 1
sbb ecx, ecx
and ecx, 0xfffffffc
cmp dl, 1
sbb edx, edx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0xc]
and dword [esp + 0x10], 0xfffffffc
add dword [esp + 0x10], 8
test eax, eax
lea edx, [edx + ecx + 6]
je 0x46b142
mov dword [esp + 0x64], edi
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov dword [esp + 0xc], eax
mov dword [esp + 0x60], ebp
lea esi, [esi]
movzx ebx, byte [edx + 1]
movzx ebp, byte [edx]
sar ebx, cl
mov ebx, dword [esi + ebx*4]
movzx ebx, word [ebx + ebp*2]
mov ebp, ebx
shr bp, 8
mov eax, ebp
mov byte [edx], al
mov byte [edx + 1], bl
add edx, edi
sub dword [esp + 0xc], 1
jne 0x46b2d0
mov ebp, dword [esp + 0x60]
mov edi, dword [esp + 0x64]
mov ebx, dword [ebp + 0x78]
jmp 0x46b142
test byte [ebp + 0x71], 8
jne 0x46b100
mov eax, dword [ebp + 0x120]
lea edx, [eax + 1]
mov eax, edi
call fcn.00468620
mov eax, dword [ebp + 0x78]
test al, 0x80
je case.0x46c05c.0
nop
lea esi, [esi]
mov eax, dword [ebp + 0x190]
mov edx, dword [ebp + 0x120]
mov ebx, dword [ebp + 0x188]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x194]
lea esi, [edx + 1]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x18c]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x198]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x19c]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x180]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x74]
mov dword [esp + 0x14], eax
mov eax, dword [edi]
shr dword [esp + 0x14], 0xd
and dword [esp + 0x14], 1
mov dword [esp + 0xc], eax
movzx eax, byte [edi + 8]
cmp al, 2
je 0x46c220
jbe 0x46c046
cmp al, 4
je 0x46c380
cmp al, 6
nop
jne case.0x46c05c.0
cmp byte [edi + 9], 8
je 0x46c650
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x46cf90
mov eax, dword [esp + 0x20]
test eax, eax
je 0x46cf90
mov eax, dword [esp + 0x18]
test eax, eax
je 0x46cf90
mov eax, dword [esp + 0xc]
mov dword [esp + 0x24], 0
test eax, eax
je case.0x46c05c.0
mov dword [esp + 0x64], edi
jmp 0x46b451
movzx eax, byte [ebp + 0x163]
mov byte [esi], al
movzx eax, word [ebp + 0x162]
mov byte [esi + 1], al
movzx eax, byte [ebp + 0x165]
mov byte [esi + 2], al
movzx eax, word [ebp + 0x164]
mov byte [esi + 3], al
movzx eax, byte [ebp + 0x167]
mov byte [esi + 4], al
movzx eax, word [ebp + 0x166]
mov byte [esi + 5], al
add dword [esp + 0x24], 1
add esi, 8
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x24], eax
je 0x46cb30
movzx eax, byte [esi + 6]
movzx edx, byte [esi + 7]
shl eax, 8
add eax, edx
cmp ax, 0xffff
je 0x46cb50
test ax, ax
je 0x46b400
movzx ecx, byte [esp + 0x10]
movzx eax, ax
mov ebx, 0xffff
movzx edx, byte [esi + 1]
sub ebx, eax
movzx edi, word [ebp + 0x16c]
sar edx, cl
movzx ecx, byte [esi]
imul edi, ebx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x28]
movzx edx, word [edx + ecx*2]
imul edx, eax
lea edx, [edi + edx + 0x8000]
mov edi, dword [esp + 0x14]
mov ecx, edx
shr ecx, 0x10
add edx, ecx
shr edx, 0x10
test edi, edi
mov ecx, edx
jne 0x46b4d8
movzx ecx, byte [esp + 0x10]
movzx edi, dl
shr edx, 8
sar edi, cl
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + edi*4]
movzx ecx, word [ecx + edx*2]
mov edx, ecx
shr dx, 8
mov byte [esi], dl
movzx edx, byte [esi + 3]
mov byte [esi + 1], cl
movzx ecx, byte [esp + 0x10]
movzx edi, word [ebp + 0x16e]
sar edx, cl
movzx ecx, byte [esi + 2]
imul edi, ebx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x28]
movzx edx, word [edx + ecx*2]
imul edx, eax
lea edx, [edi + edx + 0x8000]
mov edi, dword [esp + 0x14]
mov ecx, edx
shr ecx, 0x10
add edx, ecx
shr edx, 0x10
test edi, edi
mov ecx, edx
jne 0x46b545
movzx ecx, byte [esp + 0x10]
movzx edi, dl
shr edx, 8
sar edi, cl
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + edi*4]
movzx ecx, word [ecx + edx*2]
mov edx, ecx
mov edi, dword [esp + 0x18]
shr dx, 8
mov byte [esi + 3], cl
movzx ecx, byte [esp + 0x10]
mov byte [esi + 2], dl
movzx edx, word [ebp + 0x170]
imul ebx, edx
movzx edx, byte [esi + 5]
sar edx, cl
movzx ecx, byte [esi + 4]
mov edx, dword [edi + edx*4]
movzx edx, word [edx + ecx*2]
imul edx, eax
lea eax, [ebx + edx + 0x8000]
mov ebx, dword [esp + 0x14]
mov edx, eax
shr edx, 0x10
add eax, edx
shr eax, 0x10
test ebx, ebx
mov edx, eax
jne 0x46b5ab
movzx ecx, byte [esp + 0x10]
movzx edx, al
mov edi, dword [esp + 0x20]
shr eax, 8
sar edx, cl
mov edx, dword [edi + edx*4]
movzx edx, word [edx + eax*2]
mov eax, edx
shr ax, 8
mov byte [esi + 4], al
mov byte [esi + 5], dl
jmp 0x46b43b
test byte [ebp + 0x71], 8
je 0x46b172
mov eax, dword [ebp + 0x120]
lea edx, [eax + 1]
mov eax, edi
call fcn.00468620
mov ebx, dword [ebp + 0x78]
test bl, 0x20
je 0x46b17b
mov eax, dword [ebp + 0x120]
mov dword [esp], edi
add eax, 1
mov dword [esp + 4], eax
call fcn.004752a0
mov ebx, dword [ebp + 0x78]
test ebx, 0x80000
je 0x46b187
mov eax, dword [ebp + 0x120]
movzx ecx, byte [edi + 8]
mov edx, dword [edi]
add eax, 1
cmp cl, 6
je 0x46c0a5
cmp cl, 4
jne 0x46b187
cmp byte [edi + 9], 8
je 0x46d310
add eax, dword [edi + 4]
test edx, edx
je 0x46b187
xor ecx, ecx
add ecx, 1
not byte [eax - 1]
not byte [eax - 2]
sub eax, 4
cmp ecx, edx
jne 0x46b642
mov ebx, dword [ebp + 0x78]
test bl, 8
je 0x46b190
nop
mov eax, dword [ebp + 0x120]
mov dword [esp + 0x14], eax
movzx eax, byte [edi + 8]
cmp al, 3
je 0x46b190
movzx ecx, byte [edi + 9]
test al, 2
mov byte [esp + 0x10], cl
movzx esi, cl
jne 0x46bfb7
movzx edx, byte [ebp + 0x1a8]
mov ecx, esi
sub ecx, edx
mov edx, 1
mov dword [esp + 0x30], ecx
test al, 4
je 0x46b6b3
movzx eax, byte [ebp + 0x1a9]
mov ecx, esi
sub ecx, eax
mov dword [esp + edx*4 + 0x30], ecx
add edx, 1
mov dword [esp + 0xc], 0
xor eax, eax
mov ecx, dword [esp + eax*4 + 0x30]
test ecx, ecx
jle 0x46c063
cmp esi, ecx
jle 0x46c063
mov dword [esp + 0xc], 1
add eax, 1
cmp eax, edx
jl 0x46b6bd
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x46b190
mov eax, dword [esp + 0x14]
add eax, 1
cmp byte [esp + 0x10], 4
je 0x46d226
jbe 0x46cd50
movzx esi, byte [esp + 0x10]
mov ecx, esi
cmp cl, 8
je 0x46c550
cmp cl, 0x10
jne 0x46b190
mov esi, dword [edi + 4]
add esi, eax
cmp eax, esi
mov ecx, esi
jae 0x46b190
mov dword [esp + 0x60], ebp
xor ebx, ebx
mov esi, edx
mov ebp, ecx
movzx edx, byte [eax]
movzx ecx, byte [eax + 1]
shl edx, 8
add edx, ecx
mov ecx, dword [esp + ebx*4 + 0x30]
add ebx, 1
sar edx, cl
cmp esi, ebx
mov ecx, 0
cmovle ebx, ecx
mov ecx, edx
sar ecx, 8
add eax, 2
mov byte [eax - 2], cl
cmp ebp, eax
mov byte [eax - 1], dl
ja 0x46b736
mov ebp, dword [esp + 0x60]
mov ebx, dword [ebp + 0x78]
jmp 0x46b190
mov byte [edi + 9], al
movzx edx, byte [ebp + 0x6d]
mov ecx, eax
test dl, dl
je 0x46b215
mov eax, edx
imul eax, ecx
mov byte [edi + 0xa], dl
cmp al, 7
mov byte [edi + 0xb], al
ja 0x46b227
movzx eax, al
imul eax, dword [edi]
add eax, 7
shr eax, 3
jmp 0x46b230
movzx ecx, byte [edi + 8]
mov esi, dword [ebp + 0x120]
mov ebx, ecx
and ebx, 3
cmp bl, 2
jne 0x46b0f7
movzx eax, word [ebp + 0x246]
add esi, 1
movzx ebx, word [ebp + 0x248]
mov dword [esp + 0x18], 0x8000
mov dword [esp + 0x24], eax
add eax, ebx
sub dword [esp + 0x18], eax
mov eax, dword [edi]
mov dword [esp + 0x28], ebx
mov dword [esp + 0xc], eax
mov eax, ecx
shr al, 2
and eax, 1
mov dword [esp + 0x10], eax
movzx eax, byte [edi + 9]
cmp al, 8
je 0x46ce01
mov ebx, dword [ebp + 0x19c]
mov edx, esi
test ebx, ebx
je 0x46d332
mov ebx, dword [ebp + 0x198]
test ebx, ebx
je 0x46d332
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0
test ebx, ebx
je 0x46d893
mov dword [esp + 0x60], ebp
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x64], edi
jmp 0x46b8b0
cmp ax, di
jne 0x46b8df
mov edi, dword [esp + 0x60]
mov edi, dword [edi + 0x18c]
test edi, edi
je 0x46b880
mov ecx, dword [esp + 0x60]
movzx ebx, al
movzx eax, ah
mov ecx, dword [ecx + 0x180]
sar ebx, cl
mov ecx, dword [edi + ebx*4]
movzx eax, word [ecx + eax*2]
mov ecx, eax
mov byte [esi + 1], al
mov eax, dword [esp + 0x10]
shr cx, 8
mov byte [esi], cl
test eax, eax
jne 0x46c070
add edx, 6
add esi, 2
add dword [esp + 0x14], 1
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x14], eax
je 0x46c480
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
movzx edi, byte [edx + 3]
movzx ebx, byte [edx + 5]
shl ecx, 8
or eax, ecx
movzx ecx, byte [edx + 2]
shl ecx, 8
or edi, ecx
movzx ecx, byte [edx + 4]
shl ecx, 8
or ebx, ecx
cmp ax, bx
je 0x46b850
mov ecx, dword [esp + 0x60]
mov ebp, dword [esp + 0x60]
mov ecx, dword [ecx + 0x19c]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp + 0x180]
movzx ebp, al
movzx eax, ah
mov dword [esp + 0x1c], ecx
sar ebp, cl
mov ecx, dword [esp + 0x20]
mov ebp, dword [ecx + ebp*4]
mov dword [esp + 0x2c], ecx
mov ecx, edi
movzx eax, word [ebp + eax*2]
movzx ebp, cl
movzx ecx, byte [esp + 0x1c]
imul eax, dword [esp + 0x24]
sar ebp, cl
mov ecx, edi
movzx edi, ch
mov ecx, dword [esp + 0x2c]
mov ebp, dword [ecx + ebp*4]
movzx edi, word [ebp + edi*2]
imul edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
lea edi, [eax + edi + 0x4000]
movzx eax, bl
mov ecx, ebp
movzx ebx, bh
sar eax, cl
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + eax*4]
mov ecx, ebp
mov ebp, 1
movzx eax, word [eax + ebx*2]
imul eax, dword [esp + 0x18]
add eax, edi
mov edi, dword [esp + 0x60]
shr eax, 0xf
movzx ebx, al
movzx eax, ah
sar ebx, cl
mov ecx, dword [edi + 0x198]
mov ecx, dword [ecx + ebx*4]
movzx eax, word [ecx + eax*2]
jmp 0x46b880
mov eax, dword [edi]
cmp byte [edi + 9], 8
mov edx, dword [ebp + 0x204]
mov esi, dword [ebp + 0x200]
mov ecx, dword [ebp + 0x120]
mov dword [esp + 0xc], eax
je 0x46bff0
mov eax, dword [edi + 4]
test eax, eax
je 0x46df7d
mov ebx, dword [ebp + 0x78]
test bh, 2
je 0x46b169
cmp byte [edi + 9], 8
mov eax, dword [ebp + 0x120]
jne 0x46b169
cmp byte [edi + 8], 3
je 0x46b169
mov ecx, dword [edi + 4]
lea edx, [eax + ecx + 1]
lea eax, [edx + ecx]
cmp edx, eax
jae 0x46ba06
sub edx, 1
movzx ecx, byte [edx]
sub eax, 2
mov byte [eax + 1], cl
mov byte [eax], cl
cmp edx, eax
jb 0x46b9f1
mov ecx, dword [edi + 4]
movzx eax, byte [edi + 0xa]
add ecx, ecx
mov dword [edi + 4], ecx
mov byte [edi + 9], 0x10
shl eax, 4
mov byte [edi + 0xb], al
mov ebx, dword [ebp + 0x78]
jmp 0x46b169
cmp byte [edi + 9], 0x10
mov eax, dword [ebp + 0x120]
jne 0x46b157
mov ebx, dword [edi + 4]
add eax, 1
mov edx, eax
add ebx, eax
cmp eax, ebx
jae 0x46ba50
nop
movzx ecx, byte [eax]
add eax, 2
add edx, 1
mov byte [edx - 1], cl
cmp ebx, eax
ja 0x46ba40
movzx eax, byte [edi + 0xa]
mov byte [edi + 9], 8
lea edx, [eax*8]
imul eax, dword [edi]
mov byte [edi + 0xb], dl
mov dword [edi + 4], eax
mov ebx, dword [ebp + 0x78]
jmp 0x46b157
cmp byte [edi + 9], 0x10
mov edx, dword [ebp + 0x120]
jne 0x46b14e
mov eax, dword [edi + 4]
add edx, 1
mov ecx, edx
add eax, edx
cmp edx, eax
jae 0x46babd
mov dword [esp + 0x60], ebp
mov ebp, eax
movzx ebx, byte [edx]
add edx, 2
add ecx, 1
movzx esi, byte [edx - 1]
sub esi, ebx
sub esi, 0xffffff80
mov eax, esi
shl eax, 0x10
sub eax, esi
sar eax, 0x18
add eax, ebx
mov byte [ecx - 1], al
cmp ebp, edx
ja 0x46ba94
mov ebp, dword [esp + 0x60]
movzx eax, byte [edi + 0xa]
mov byte [edi + 9], 8
lea edx, [eax*8]
imul eax, dword [edi]
mov byte [edi + 0xb], dl
mov dword [edi + 4], eax
mov ebx, dword [ebp + 0x78]
jmp 0x46b14e
mov eax, dword [ebp + 0x120]
mov dword [esp], edi
add eax, 1
mov dword [esp + 4], eax
call fcn.00475320
mov eax, dword [ebp + 0x78]
jmp 0x46b1d5
mov eax, dword [ebp + 0x120]
mov dword [esp], edi
add eax, 1
mov dword [esp + 4], eax
call fcn.00475360
mov eax, dword [ebp + 0x78]
test ah, 0x80
je 0x46b1c2
movzx esi, word [ebp + 0x156]
mov ebx, dword [ebp + 0x74]
mov edx, esi
mov ecx, edx
movzx ecx, ch
mov word [esp + 0x14], si
mov esi, dword [ebp + 0x120]
mov dword [esp + 0x18], ecx
mov byte [esp + 0xc], cl
movzx ecx, byte [edi + 8]
add esi, 1
mov dword [esp + 0x10], esi
mov esi, dword [edi]
test cl, cl
jne 0x46bec1
movzx ecx, byte [edi + 9]
cmp cl, 8
je 0x46ccd4
cmp cl, 0x10
jne 0x46b1c2
mov eax, dword [esp + 0x10]
and ebx, 0x80
lea ecx, [eax + esi*2]
lea eax, [eax + esi*4]
je 0x46d423
cmp esi, 1
mov dword [esp + 0x10], eax
jbe 0x46bbda
mov dword [esp + 0x60], ebp
mov ebx, 1
mov ebp, edx
lea esi, [esi]
mov edx, ebp
sub ecx, 2
mov byte [eax - 1], dl
movzx edx, byte [esp + 0xc]
add ebx, 1
sub eax, 4
mov byte [eax + 2], dl
movzx edx, byte [ecx + 1]
mov byte [eax + 1], dl
movzx edx, byte [ecx]
cmp ebx, esi
mov byte [eax], dl
jne 0x46bba0
mov ebx, dword [esp + 0x10]
mov eax, esi
mov ebp, dword [esp + 0x60]
neg eax
lea eax, [ebx + eax*4 + 4]
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x10]
movzx eax, byte [esp + 0x14]
mov byte [ebx - 1], al
movzx eax, byte [esp + 0x18]
mov byte [ebx - 2], al
lea eax, [esi*4]
mov byte [edi + 0xa], 2
mov byte [edi + 0xb], 0x20
mov dword [edi + 4], eax
mov eax, dword [ebp + 0x78]
jmp 0x46b1c2
mov eax, dword [ebp + 0x120]
mov dword [esp], edi
add eax, 1
mov dword [esp + 4], eax
call fcn.004755d0
mov eax, dword [ebp + 0x78]
jmp 0x46b1ae
movzx edx, byte [edi + 9]
mov eax, dword [ebp + 0x120]
cmp dl, 7
ja 0x46b199
add eax, 1
cmp dl, 2
mov ebx, dword [edi]
je 0x46cc82
cmp dl, 4
je 0x46cc31
cmp dl, 1
je 0x46cbe0
movzx eax, byte [edi + 0xa]
mov byte [edi + 9], 8
lea edx, [eax*8]
imul eax, ebx
cmp byte [edi + 8], 3
mov byte [edi + 0xb], dl
mov dword [edi + 4], eax
jne 0x46b1a3
lea esi, [esi]
mov eax, dword [ebp + 0x140]
test eax, eax
js 0x46b1a3
mov dword [esp + 4], edi
mov dword [esp], ebp
call fcn.004756d0
jmp 0x46b1a3
movzx ebx, byte [edi + 8]
mov esi, dword [ebp + 0x120]
mov ecx, dword [edi]
cmp bl, 6
lea edx, [esi + 1]
je 0x46c0d5
cmp bl, 4
jne 0x46b1cd
cmp byte [edi + 9], 8
je 0x46d2e0
add edx, dword [edi + 4]
test ecx, ecx
je 0x46b1cd
xor eax, eax
mov esi, ecx
lea esi, [esi]
movzx ecx, byte [edx - 1]
add eax, 1
sub edx, 4
movzx ebx, byte [edx + 2]
mov byte [esp + 0xc], cl
movzx ecx, byte [edx + 1]
mov byte [edx + 3], cl
movzx ecx, byte [edx]
mov byte [edx + 2], cl
movzx ecx, byte [esp + 0xc]
mov byte [edx + 1], cl
cmp eax, esi
mov byte [edx], bl
jne 0x46bce0
mov eax, dword [ebp + 0x78]
jmp 0x46b1cd
movzx eax, byte [edi + 8]
and eax, 0xfffffffd
cmp al, 4
jne 0x46b0e6
mov dword [esp + 8], 0
mov eax, dword [ebp + 0x120]
mov dword [esp], edi
add eax, 1
mov dword [esp + 4], eax
call fcn.004753c0
jmp 0x46b0e6
test al, 0x80
jne 0x46bf94
movzx ecx, byte [ebp + 0x14b]
cmp cl, 3
je 0x46b121
mov ebx, dword [ebp + 0x180]
mov esi, dword [ebp + 0x120]
mov ecx, dword [ebp + 0x188]
mov dword [esp + 0xc], ebx
mov ebx, dword [edi]
mov dword [esp + 0x18], esi
mov esi, dword [ebp + 0x18c]
mov dword [esp + 0x14], ebx
movzx ebx, byte [edi + 9]
cmp bl, 8
mov byte [esp + 0x10], bl
jbe 0x46c506
cmp byte [esp + 0x10], 0x10
jne 0x46b121
test esi, esi
je 0x46b121
mov ebx, dword [esp + 0x18]
add ebx, 1
mov dword [esp + 0x1c], ebx
movzx ebx, byte [edi + 8]
cmp bl, 2
je 0x46d4dd
jbe 0x46d4a0
cmp bl, 4
je 0x46d580
cmp bl, 6
jne 0x46b121
cmp byte [esp + 0x10], 8
je 0x46da8a
mov ebx, dword [esp + 0x14]
xor eax, eax
test ebx, ebx
je 0x46b121
mov dword [esp + 0x64], edi
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x60], ebp
mov dword [esp + 0xc], eax
lea esi, [esi]
movzx edx, byte [ebx + 1]
add ebx, 8
movzx ebp, byte [ebx - 8]
add dword [esp + 0xc], 1
sar edx, cl
mov edx, dword [esi + edx*4]
movzx edx, word [edx + ebp*2]
mov byte [ebx - 7], dl
mov ebp, edx
movzx edx, byte [ebx - 5]
shr bp, 8
mov eax, ebp
movzx ebp, byte [ebx - 6]
mov byte [ebx - 8], al
sar edx, cl
mov edx, dword [esi + edx*4]
movzx edx, word [edx + ebp*2]
mov byte [ebx - 5], dl
mov ebp, edx
movzx edx, byte [ebx - 3]
shr bp, 8
mov eax, ebp
movzx ebp, byte [ebx - 4]
mov byte [ebx - 6], al
sar edx, cl
mov edx, dword [esi + edx*4]
movzx edx, word [edx + ebp*2]
mov ebp, edx
shr bp, 8
mov eax, ebp
mov byte [ebx - 4], al
mov byte [ebx - 3], dl
cmp dword [esp + 0xc], edi
jne 0x46be10
mov ebp, dword [esp + 0x60]
mov edi, dword [esp + 0x64]
mov edx, dword [ebp + 0x78]
jmp 0x46b121
movzx eax, byte [edi + 8]
and eax, 0xfffffffd
cmp al, 4
jne 0x46b133
mov dword [esp + 8], 0
mov eax, dword [ebp + 0x120]
mov dword [esp], edi
add eax, 1
mov dword [esp + 4], eax
call fcn.004753c0
jmp 0x46b133
cmp cl, 2
jne 0x46b1c2
movzx ecx, byte [edi + 9]
cmp cl, 8
je 0x46c850
cmp cl, 0x10
jne 0x46b1c2
and ebx, 0x80
mov ebx, dword [esp + 0x10]
lea eax, [esi + esi]
lea ecx, [eax + esi]
lea ecx, [ebx + ecx*2]
je 0x46d80f
add eax, ecx
cmp esi, 1
mov dword [esp + 0x10], eax
jbe 0x46bf66
mov dword [esp + 0x60], ebp
mov ebx, 1
mov ebp, edx
nop
mov edx, ebp
sub ecx, 6
mov byte [eax - 1], dl
movzx edx, byte [esp + 0xc]
add ebx, 1
sub eax, 8
mov byte [eax + 6], dl
movzx edx, byte [ecx + 5]
mov byte [eax + 5], dl
movzx edx, byte [ecx + 4]
mov byte [eax + 4], dl
movzx edx, byte [ecx + 3]
mov byte [eax + 3], dl
movzx edx, byte [ecx + 2]
mov byte [eax + 2], dl
movzx edx, byte [ecx + 1]
mov byte [eax + 1], dl
movzx edx, byte [ecx]
cmp ebx, esi
mov byte [eax], dl
jne 0x46bf10
mov ebx, dword [esp + 0x10]
mov eax, esi
mov ebp, dword [esp + 0x60]
neg eax
lea eax, [ebx + eax*8 + 8]
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x10]
movzx eax, byte [esp + 0x14]
mov byte [ebx - 1], al
movzx eax, byte [esp + 0x18]
mov byte [ebx - 2], al
lea eax, [esi*8]
mov byte [edi + 0xa], 4
mov byte [edi + 0xb], 0x40
mov dword [edi + 4], eax
mov eax, dword [ebp + 0x78]
jmp 0x46b1c2
cmp word [ebp + 0x144], 0
jne 0x46b121
movzx ecx, byte [ebp + 0x14b]
test cl, 4
jne 0x46b121
jmp 0x46bd55
movzx edx, byte [ebp + 0x1a5]
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebp + 0x1a6]
mov dword [esp + 0x30], ecx
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebp + 0x1a7]
mov dword [esp + 0x34], ecx
mov ecx, esi
sub ecx, edx
mov edx, 3
mov dword [esp + 0x38], ecx
jmp 0x46b69d
movzx ebx, byte [edi + 8]
lea eax, [ecx + 1]
cmp bl, 2
je 0x46cd80
cmp bl, 6
je 0x46d173
cmp bl, 3
jne 0x46b9b2
test edx, edx
je 0x46b9b2
mov esi, dword [esp + 0xc]
test esi, esi
je 0x46b9b2
lea ebx, [ecx + esi + 1]
lea esi, [esi]
movzx ecx, byte [eax]
add eax, 1
movzx ecx, byte [edx + ecx]
mov byte [eax - 1], cl
cmp eax, ebx
jne 0x46c030
jmp 0x46b9b2
test al, al
jne case.0x46c05c.0
cmp byte [edi + 9], 0x10
ja case.0x46c05c.0
movzx eax, byte [edi + 9]
jmp dword [eax*4 + 0x5679bc]
mov dword [esp + eax*4 + 0x30], 0
jmp 0x46b6d9
movzx eax, byte [edx + 6]
add esi, 4
add edx, 8
mov byte [esi - 2], al
movzx eax, byte [edx - 1]
mov byte [esi - 1], al
jmp 0x46b89d
lea ecx, [ebp + 0x1b0]
add edx, 1
mov eax, edi
call fcn.00468800
jmp 0x46b0d3
cmp byte [edi + 9], 8
je 0x46d287
add eax, dword [edi + 4]
test edx, edx
je 0x46b187
xor ecx, ecx
lea esi, [esi]
add ecx, 1
not byte [eax - 1]
not byte [eax - 2]
sub eax, 8
cmp ecx, edx
jne 0x46c0c0
jmp 0x46b652
cmp byte [edi + 9], 8
je 0x46d2a6
add edx, dword [edi + 4]
test ecx, ecx
je 0x46b1cd
xor eax, eax
mov esi, ecx
nop
movzx ecx, byte [edx - 1]
add eax, 1
sub edx, 8
movzx ebx, byte [edx + 6]
mov byte [esp + 0xc], cl
movzx ecx, byte [edx + 5]
mov byte [edx + 7], cl
movzx ecx, byte [edx + 4]
mov byte [edx + 6], cl
movzx ecx, byte [edx + 3]
mov byte [edx + 5], cl
movzx ecx, byte [edx + 2]
mov byte [edx + 4], cl
movzx ecx, byte [edx + 1]
mov byte [edx + 3], cl
movzx ecx, byte [edx]
mov byte [edx + 2], cl
movzx ecx, byte [esp + 0xc]
mov byte [edx + 1], cl
cmp eax, esi
mov byte [edx], bl
jne 0x46c0f0
jmp 0x46bd0d
movzx eax, word [ebp + 0x144]
mov ebx, dword [ebp + 0x138]
mov word [esp + 0x14], ax
mov eax, dword [ebp + 0x1ac]
mov dword [esp + 0x18], eax
lea eax, [edx + 1]
mov dword [esp + 0x10], eax
mov eax, dword [edi]
mov dword [esp + 0xc], eax
movzx eax, byte [edi + 9]
cmp al, 7
jbe 0x46c513
cmp al, 8
jne 0x46b0d3
mov eax, dword [esp + 0xc]
sub eax, 1
mov dword [esp + 0x1c], eax
movzx esi, word [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add eax, edx
test esi, esi
je 0x46dca8
mov ecx, dword [esp + 0xc]
lea edx, [edx + ecx*4 - 2]
mov dword [esp + 0x10], edx
mov edx, eax
sub edx, ecx
test ecx, ecx
mov dword [esp + 0x14], edx
je 0x46d874
mov dword [esp + 0x60], ebp
mov edx, dword [esp + 0x10]
mov dword [esp + 0x64], edi
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
jmp 0x46c20e
mov byte [edx + 1], 0xff
movzx ecx, byte [eax]
sub eax, 1
sub edx, 4
lea ecx, [ecx + ecx*2]
movzx ecx, byte [ebx + ecx + 2]
mov byte [edx + 4], cl
movzx ecx, byte [eax + 1]
lea ecx, [ecx + ecx*2]
movzx ecx, byte [ebx + ecx + 1]
mov byte [edx + 3], cl
movzx ecx, byte [eax + 1]
lea ecx, [ecx + ecx*2]
movzx ecx, byte [ebx + ecx]
mov byte [edx + 2], cl
cmp eax, edi
je 0x46d86c
movzx ecx, byte [eax]
cmp esi, ecx
jle 0x46c1d1
movzx ecx, byte [ebp + ecx]
mov byte [edx + 1], cl
jmp 0x46c1d5
cmp byte [edi + 9], 8
je 0x46c7b4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x46d8a0
mov ecx, dword [esp + 0xc]
test ecx, ecx
je case.0x46c05c.0
mov dword [esp + 0x60], ebp
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x64], edi
jmp 0x46c2c3
movzx ecx, byte [esp + 0x10]
movzx edi, byte [esp + 0x14]
sar edx, cl
mov edx, dword [ebp + edx*4]
sar edi, cl
movzx eax, word [edx + eax*2]
mov edx, eax
shr dx, 8
mov byte [esi], dl
mov byte [esi + 1], al
mov eax, dword [ebp + edi*4]
movzx eax, word [eax + ebx*2]
mov byte [esi + 3], al
mov edx, eax
movzx eax, byte [esp + 0x20]
shr dx, 8
mov byte [esi + 2], dl
movzx edx, byte [esp + 0x1c]
sar eax, cl
mov eax, dword [ebp + eax*4]
movzx eax, word [eax + edx*2]
mov edx, eax
shr dx, 8
mov byte [esi + 4], dl
mov byte [esi + 5], al
add dword [esp + 0x18], 1
add esi, 6
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x18], eax
je 0x46cb40
movzx ecx, byte [esi + 3]
movzx eax, byte [esi]
movzx edx, byte [esi + 1]
movzx ebx, byte [esi + 2]
mov byte [esp + 0x14], cl
movzx ecx, byte [esi + 4]
mov edi, eax
shl edi, 8
mov byte [esp + 0x1c], cl
movzx ecx, byte [esi + 5]
mov byte [esp + 0x20], cl
movzx ecx, dl
add ecx, edi
mov edi, dword [esp + 0x60]
cmp cx, word [edi + 0x1b2]
jne 0x46c258
movzx ecx, byte [esp + 0x14]
mov edi, ebx
shl edi, 8
add ecx, edi
mov edi, dword [esp + 0x60]
cmp cx, word [edi + 0x1b4]
jne 0x46c258
movzx edi, word [esp + 0x1c]
movzx ecx, byte [esp + 0x20]
shl edi, 8
add ecx, edi
mov edi, dword [esp + 0x60]
cmp cx, word [edi + 0x1b6]
jne 0x46c258
movzx eax, byte [edi + 0x163]
mov byte [esi], al
movzx eax, word [edi + 0x162]
mov byte [esi + 1], al
movzx eax, byte [edi + 0x165]
mov byte [esi + 2], al
movzx eax, word [edi + 0x164]
mov byte [esi + 3], al
movzx eax, byte [edi + 0x167]
mov byte [esi + 4], al
movzx eax, word [edi + 0x166]
mov byte [esi + 5], al
jmp 0x46c2ad
cmp byte [edi + 9], 8
je 0x46c595
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x46d0e0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x46d0e0
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x46d0e0
mov ecx, dword [esp + 0xc]
xor eax, eax
test ecx, ecx
je case.0x46c05c.0
mov dword [esp + 0x64], edi
jmp 0x46c3e5
movzx edx, byte [ebp + 0x169]
mov byte [esi], dl
movzx edx, word [ebp + 0x168]
mov byte [esi + 1], dl
add eax, 1
add esi, 4
cmp eax, dword [esp + 0xc]
je 0x46cb30
movzx edx, byte [esi + 2]
movzx edi, byte [esi + 3]
shl edx, 8
add edi, edx
cmp di, 0xffff
je 0x46cbb4
test di, di
je 0x46c3c2
movzx ecx, word [ebp + 0x172]
movzx edi, di
mov edx, 0xffff
sub edx, edi
movzx ebx, byte [esi + 1]
imul edx, ecx
movzx ecx, byte [esp + 0x10]
sar ebx, cl
movzx ecx, byte [esi]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x18]
mov ebx, dword [ecx + ebx*4]
mov ecx, dword [esp + 0x24]
movzx ecx, word [ebx + ecx*2]
mov ebx, dword [esp + 0x14]
imul ecx, edi
lea edx, [edx + ecx + 0x8000]
mov ecx, edx
shr ecx, 0x10
add edx, ecx
shr edx, 0x10
test ebx, ebx
mov ecx, edx
jne 0x46c46c
movzx ecx, byte [esp + 0x10]
movzx ebx, dl
mov edi, dword [esp + 0x20]
shr edx, 8
sar ebx, cl
mov ecx, dword [edi + ebx*4]
movzx ecx, word [ecx + edx*2]
mov edx, ecx
shr dx, 8
mov byte [esi], dl
mov byte [esi + 1], cl
jmp 0x46c3d5
mov edi, dword [esp + 0x64]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x60]
movzx ecx, byte [edi + 8]
movzx eax, byte [edi + 9]
movzx esi, byte [edi + 0xa]
and ecx, 0xfffffffd
mov byte [edi + 8], cl
lea edx, [esi - 2]
imul eax, edx
mov byte [edi + 0xa], dl
cmp al, 7
mov byte [edi + 0xb], al
jbe 0x46c4f6
shr al, 3
movzx eax, al
imul eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x1c]
mov dword [edi + 4], eax
test ebx, ebx
je 0x46df8d
mov eax, dword [ebp + 0x78]
mov byte [ebp + 0x244], 1
mov edx, eax
and edx, 0x600000
cmp edx, 0x200000
jne 0x46b0f7
mov dword [esp + 4], str.png_do_rgb_to_gray_found_nongray_pixel
mov dword [esp], ebp
call fcn.00461910
movzx eax, al
imul eax, dword [esp + 0xc]
add eax, 7
shr eax, 3
jmp 0x46c4b9
test ecx, ecx
jne 0x46bda8
jmp 0x46b121
cmp al, 2
je 0x46da24
cmp al, 4
lea esi, [esi]
je 0x46d9c9
cmp al, 1
je 0x46d957
mov eax, dword [esp + 0xc]
sub eax, 1
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xc]
mov byte [edi + 9], 8
mov byte [edi + 0xb], 8
mov dword [edi + 4], eax
jmp 0x46c188
mov esi, dword [edi + 4]
add esi, eax
cmp eax, esi
mov ecx, esi
jae 0x46b190
mov dword [esp + 0x60], ebp
xor ebx, ebx
mov esi, edx
mov ebp, ecx
lea esi, [esi]
movzx edx, byte [eax]
mov ecx, dword [esp + ebx*4 + 0x30]
add ebx, 1
sar edx, cl
cmp esi, ebx
mov ecx, 0
cmovle ebx, ecx
add eax, 1
cmp eax, ebp
mov byte [eax - 1], dl
jne 0x46c570
jmp 0x46b767
mov edx, dword [esp + 0x24]
test edx, edx
je 0x46d5e3
mov eax, dword [esp + 0x28]
test eax, eax
je 0x46d5e3
test ebx, ebx
je 0x46d5e3
mov eax, dword [esp + 0xc]
xor edx, edx
test eax, eax
je case.0x46c05c.0
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], edi
mov dword [esp + 0x10], ebx
jmp 0x46c5ee
mov eax, dword [esp + 0x60]
movzx eax, word [eax + 0x168]
mov byte [esi], al
add edx, 1
add esi, 2
cmp edx, dword [esp + 0xc]
je 0x46cb40
movzx ecx, byte [esi + 1]
movzx eax, cl
cmp ax, 0xff
je 0x46d462
test ax, ax
je 0x46c5d1
movzx ebx, byte [esi]
mov ebp, dword [esp + 0x24]
mov edi, ebx
mov ebx, 0xff
sub ebx, eax
mov eax, dword [esp + 0x60]
imul bx, word [eax + 0x172]
mov eax, ecx
mul byte [ebp + edi]
lea ebx, [ebx + eax + 0x80]
movzx eax, bx
movzx ebx, bh
add ebx, eax
mov eax, dword [esp + 0x14]
sar ebx, 8
test eax, eax
jne 0x46c64b
mov eax, dword [esp + 0x28]
movzx ebx, bl
movzx ebx, byte [eax + ebx]
mov byte [esi], bl
jmp 0x46c5de
mov eax, dword [esp + 0x24]
test eax, eax
je 0x46d656
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x46d656
test ebx, ebx
je 0x46d656
mov edx, dword [esp + 0xc]
xor eax, eax
test edx, edx
je case.0x46c05c.0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x64], edi
mov dword [esp + 0x10], eax
jmp 0x46c6c3
movzx eax, word [ebp + 0x162]
mov byte [esi], al
movzx eax, word [ebp + 0x164]
mov byte [esi + 1], al
movzx eax, word [ebp + 0x166]
mov byte [esi + 2], al
add dword [esp + 0x10], 1
add esi, 4
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x10], eax
je 0x46cb30
movzx edx, byte [esi + 3]
cmp dl, 0xff
je 0x46d474
test dl, dl
je 0x46c690
movzx eax, byte [esi]
mov ecx, 0xff
mov edi, eax
movzx eax, dl
sub ecx, eax
mov eax, edx
mov ebx, ecx
imul bx, word [ebp + 0x16c]
mov word [esp + 0x18], bx
mov ebx, dword [esp + 0x24]
mul byte [ebx + edi]
movzx edi, word [esp + 0x18]
lea ebx, [edi + eax + 0x80]
movzx eax, bx
movzx ebx, bh
add ebx, eax
mov eax, dword [esp + 0x14]
sar ebx, 8
test eax, eax
jne 0x46c725
mov eax, dword [esp + 0x28]
movzx ebx, bl
movzx ebx, byte [eax + ebx]
mov byte [esi], bl
mov ebx, ecx
movzx eax, byte [esi + 1]
imul bx, word [ebp + 0x16e]
mov edi, eax
mov eax, edx
mov word [esp + 0x18], bx
mov ebx, dword [esp + 0x24]
mul byte [ebx + edi]
movzx edi, word [esp + 0x18]
lea ebx, [edi + eax + 0x80]
mov edi, dword [esp + 0x14]
movzx eax, bx
movzx ebx, bh
add ebx, eax
sar ebx, 8
test edi, edi
jne 0x46c76f
mov eax, dword [esp + 0x28]
movzx ebx, bl
movzx ebx, byte [eax + ebx]
mov byte [esi + 1], bl
mov edi, dword [esp + 0x24]
mov eax, edx
movzx ebx, byte [esi + 2]
imul cx, word [ebp + 0x170]
mul byte [edi + ebx]
lea ecx, [ecx + eax + 0x80]
movzx eax, cx
movzx ecx, ch
add ecx, eax
mov eax, dword [esp + 0x14]
sar ecx, 8
test eax, eax
jne 0x46c7ac
mov eax, dword [esp + 0x28]
movzx ecx, cl
movzx ecx, byte [eax + ecx]
mov byte [esi + 2], cl
jmp 0x46c6ad
test ebx, ebx
je 0x46dd16
mov eax, dword [esp + 0xc]
test eax, eax
je case.0x46c05c.0
lea eax, [eax + eax*2 + 1]
add eax, edx
mov dword [esp + 0x64], edi
mov dword [esp + 0xc], eax
jmp 0x46c7fd
movzx edx, byte [esi + 2]
movzx eax, byte [ebx + eax]
mov byte [esi], al
movzx eax, byte [ebx + ecx]
mov byte [esi + 1], al
movzx eax, byte [ebx + edx]
mov byte [esi + 2], al
add esi, 3
cmp esi, dword [esp + 0xc]
je 0x46cb30
movzx eax, byte [esi]
movzx ecx, byte [esi + 1]
movzx edx, al
cmp dx, word [ebp + 0x1b2]
jne 0x46c7d8
movzx edx, cl
cmp dx, word [ebp + 0x1b4]
movzx edx, byte [esi + 2]
jne 0x46c7dc
movzx edi, dl
cmp di, word [ebp + 0x1b6]
jne 0x46c7dc
movzx eax, word [ebp + 0x162]
mov byte [esi], al
movzx eax, word [ebp + 0x164]
mov byte [esi + 1], al
movzx eax, word [ebp + 0x166]
mov byte [esi + 2], al
jmp 0x46c7f0
and ebx, 0x80
mov ebx, dword [esp + 0x10]
lea eax, [esi + esi*2]
je 0x46d7c9
add ebx, eax
cmp esi, 1
lea ecx, [ebx + esi]
mov dword [esp + 0x10], ecx
jbe 0x46c8b6
lea ecx, [ebx - 3]
sub ebx, eax
mov eax, dword [esp + 0x10]
mov byte [esp + 0xc], dl
nop
movzx edx, byte [esp + 0xc]
sub ecx, 3
sub eax, 4
mov byte [eax + 3], dl
movzx edx, byte [ecx + 5]
mov byte [eax + 2], dl
movzx edx, byte [ecx + 4]
mov byte [eax + 1], dl
movzx edx, byte [ecx + 3]
cmp ecx, ebx
mov byte [eax], dl
jne 0x46c880
mov ebx, dword [esp + 0x10]
mov eax, esi
neg eax
lea eax, [ebx + eax*4 + 4]
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x10]
movzx eax, byte [esp + 0x14]
mov byte [ebx - 1], al
lea eax, [esi*4]
mov byte [edi + 0xa], 4
mov byte [edi + 0xb], 0x20
mov dword [edi + 4], eax
mov eax, dword [ebp + 0x78]
jmp 0x46b1c2
mov ecx, dword [esp + 0xc]
test ecx, ecx
je case.0x46c05c.0
xor ebx, ebx
mov eax, 7
mov dword [esp + 0x64], edi
jmp 0x46c907
add esi, 1
mov al, 7
add ebx, 1
cmp ebx, dword [esp + 0xc]
je 0x46cb30
movzx edi, byte [esi]
mov ecx, eax
mov edx, edi
sar edx, cl
movzx ecx, word [ebp + 0x1b8]
and edx, 1
cmp edx, ecx
je 0x46cf15
test eax, eax
je 0x46c8f5
sub eax, 1
jmp 0x46c8fa
test ebx, ebx
lea esi, [esi]
je 0x46de71
mov ecx, dword [esp + 0xc]
test ecx, ecx
je case.0x46c05c.0
xor ecx, ecx
mov eax, 6
mov dword [esp + 0x10], ebx
mov ebx, eax
mov dword [esp + 0x64], edi
mov edi, ecx
mov dword [esp + 0x60], ebp
jmp 0x46c972
add esi, 1
mov bl, 6
add edi, 1
cmp edi, dword [esp + 0xc]
je 0x46cb40
movzx edx, byte [esi]
mov ecx, ebx
mov eax, edx
sar eax, cl
mov ecx, dword [esp + 0x60]
and eax, 3
movzx ecx, word [ecx + 0x1b8]
cmp eax, ecx
mov ecx, 6
je 0x46d1e0
sub ecx, ebx
mov ebp, 0x3f3f
sar ebp, cl
mov ecx, eax
and ebp, edx
shl ecx, 4
lea edx, [eax*4]
or edx, ecx
mov ecx, ebx
or edx, eax
shl eax, 6
or edx, eax
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + edx]
shr al, 6
movzx eax, al
shl eax, cl
or eax, ebp
mov byte [esi], al
test ebx, ebx
je 0x46c960
sub ebx, 2
jmp 0x46c965
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x46df12
mov eax, dword [esp + 0xc]
test eax, eax
je case.0x46c05c.0
xor ebx, ebx
mov dword [esp + 0x64], edi
jmp 0x46ca22
movzx ecx, byte [esp + 0x10]
mov edi, dword [esp + 0x1c]
sar edx, cl
mov edx, dword [edi + edx*4]
movzx eax, word [edx + eax*2]
mov edx, eax
shr dx, 8
mov byte [esi], dl
mov byte [esi + 1], al
add ebx, 1
add esi, 2
cmp ebx, dword [esp + 0xc]
je 0x46cb30
movzx eax, byte [esi]
movzx edx, byte [esi + 1]
mov edi, eax
shl edi, 8
movzx ecx, dl
add ecx, edi
cmp cx, word [ebp + 0x1b8]
jne 0x46c9f5
movzx eax, byte [ebp + 0x169]
mov byte [esi], al
movzx eax, word [ebp + 0x168]
mov byte [esi + 1], al
jmp 0x46ca12
test ebx, ebx
mov eax, dword [esp + 0xc]
je 0x46dedc
test eax, eax
je case.0x46c05c.0
lea ecx, [edx + eax + 1]
jmp 0x46ca81
movzx eax, byte [ebx + eax]
mov byte [esi], al
add esi, 1
cmp esi, ecx
je case.0x46c05c.0
movzx eax, byte [esi]
movzx edx, al
cmp dx, word [ebp + 0x1b8]
jne 0x46ca70
movzx eax, word [ebp + 0x168]
mov byte [esi], al
jmp 0x46ca76
test ebx, ebx
je 0x46de06
mov eax, dword [esp + 0xc]
test eax, eax
je case.0x46c05c.0
xor ecx, ecx
mov eax, 4
mov dword [esp + 0x10], ebx
mov ebx, ecx
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], edi
jmp 0x46cad4
add esi, 1
mov al, 4
add ebx, 1
cmp ebx, dword [esp + 0xc]
je 0x46cb40
movzx edi, byte [esi]
mov ecx, eax
mov edx, edi
sar edx, cl
mov ecx, dword [esp + 0x60]
and edx, 0xf
movzx ecx, word [ecx + 0x1b8]
cmp edx, ecx
mov ecx, 4
je 0x46d203
sub ecx, eax
mov ebp, 0xf0f
sar ebp, cl
mov ecx, edx
and ebp, edi
mov edi, dword [esp + 0x10]
shl ecx, 4
or ecx, edx
movzx edx, byte [edi + ecx]
mov ecx, eax
shr dl, 4
movzx edx, dl
shl edx, cl
or edx, ebp
mov byte [esi], dl
test eax, eax
je 0x46cac6
sub eax, 4
jmp 0x46cacb
mov edi, dword [esp + 0x64]
jmp case.0x46c05c.0
mov ebp, dword [esp + 0x60]
mov edi, dword [esp + 0x64]
jmp case.0x46c05c.0
mov ebx, dword [esp + 0x10]
movzx eax, byte [esi + 1]
mov edi, dword [esp + 0x1c]
movzx edx, byte [esi]
mov ecx, ebx
sar eax, cl
mov eax, dword [edi + eax*4]
movzx eax, word [eax + edx*2]
mov byte [esi + 1], al
mov edx, eax
movzx eax, byte [esi + 3]
shr dx, 8
mov byte [esi], dl
movzx edx, byte [esi + 2]
sar eax, cl
mov eax, dword [edi + eax*4]
movzx eax, word [eax + edx*2]
mov byte [esi + 3], al
mov edx, eax
movzx eax, byte [esi + 5]
shr dx, 8
mov byte [esi + 2], dl
movzx edx, byte [esi + 4]
sar eax, cl
mov eax, dword [edi + eax*4]
movzx eax, word [eax + edx*2]
mov edx, eax
shr dx, 8
mov byte [esi + 4], dl
mov byte [esi + 5], al
jmp 0x46b43b
movzx edx, byte [esi + 1]
movzx ecx, byte [esp + 0x10]
mov edi, dword [esp + 0x1c]
sar edx, cl
movzx ecx, byte [esi]
mov edx, dword [edi + edx*4]
movzx edx, word [edx + ecx*2]
mov ecx, edx
shr cx, 8
mov byte [esi], cl
mov byte [esi + 1], dl
jmp 0x46c3d5
lea edx, [ebx - 1]
mov esi, edx
shr esi, 3
add esi, eax
add eax, edx
lea ecx, [ebx + 7]
mov edx, eax
not ecx
sub edx, ebx
and ecx, 7
test ebx, ebx
je 0x46bc58
mov dword [esp + 0xc], ebx
mov ebx, edx
jmp 0x46cc12
add ecx, 1
sub eax, 1
cmp eax, ebx
je 0x46cc28
movzx edx, byte [esi]
sar edx, cl
and edx, 1
cmp ecx, 7
mov byte [eax], dl
jne 0x46cc08
sub esi, 1
xor cl, cl
jmp 0x46cc0b
mov ebx, dword [esp + 0xc]
jmp 0x46bc58
lea edx, [ebx - 1]
mov esi, edx
shr esi, 1
add esi, eax
add eax, edx
lea edx, [ebx + 1]
and edx, 1
cmp edx, 1
sbb ecx, ecx
and ecx, 4
test ebx, ebx
je 0x46bc58
mov edx, eax
sub edx, ebx
mov dword [esp + 0xc], ebx
mov ebx, edx
jmp 0x46cc6c
mov ecx, 4
sub eax, 1
cmp eax, ebx
je 0x46cc28
movzx edx, byte [esi]
sar edx, cl
and edx, 0xf
cmp ecx, 4
mov byte [eax], dl
jne 0x46cc60
sub esi, 1
xor cl, cl
jmp 0x46cc65
lea edx, [ebx - 1]
lea ecx, [ebx + 3]
mov esi, edx
not ecx
shr esi, 2
and ecx, 3
add esi, eax
add ecx, ecx
add eax, edx
test ebx, ebx
je 0x46bc58
mov edx, eax
sub edx, ebx
mov dword [esp + 0xc], ebx
mov ebx, edx
jmp 0x46ccbe
add ecx, 2
sub eax, 1
cmp eax, ebx
je 0x46cc28
movzx edx, byte [esi]
sar edx, cl
and edx, 3
cmp ecx, 6
mov byte [eax], dl
jne 0x46ccb0
sub esi, 1
xor cl, cl
jmp 0x46ccb3
and ebx, 0x80
mov ebx, dword [esp + 0x10]
je 0x46d3f2
add ebx, esi
cmp esi, 1
lea eax, [ebx + esi]
mov dword [esp + 0x10], eax
jbe 0x46cd28
mov eax, dword [esp + 0x10]
mov ecx, ebx
sub ecx, esi
lea ecx, [ecx + 1]
mov byte [esp + 0xc], dl
movzx edx, byte [esp + 0xc]
sub ebx, 1
sub eax, 2
mov byte [eax + 1], dl
movzx edx, byte [ebx]
cmp ebx, ecx
mov byte [eax], dl
jne 0x46cd01
mov ebx, dword [esp + 0x10]
mov eax, esi
neg eax
lea eax, [ebx + eax*2 + 2]
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x10]
movzx eax, byte [esp + 0x14]
mov byte [ebx - 1], al
lea eax, [esi + esi]
mov byte [edi + 0xa], 2
mov byte [edi + 0xb], 0x10
mov dword [edi + 4], eax
mov eax, dword [ebp + 0x78]
jmp 0x46b1c2
cmp byte [esp + 0x10], 2
jne 0x46b190
mov ecx, dword [edi + 4]
add ecx, eax
cmp eax, ecx
jae 0x46b190
movzx edx, byte [eax]
add eax, 1
shr dl, 1
and edx, 0x55
cmp eax, ecx
mov byte [eax - 1], dl
jne 0x46cd68
jmp 0x46b76b
test esi, esi
je 0x46b9b2
mov ebx, dword [esp + 0xc]
test ebx, ebx
nop
je 0x46d266
lea ebx, [ecx + ebx + 1]
mov ecx, ebx
mov ebx, eax
mov dword [esp + 0x60], ebp
mov ebp, ecx
movzx ecx, byte [ebx]
add ebx, 3
add eax, 1
movzx edx, byte [ebx - 2]
sar ecx, 3
sar edx, 3
shl ecx, 0xa
shl edx, 5
or edx, ecx
movzx ecx, byte [ebx - 1]
sar ecx, 3
or edx, ecx
cmp eax, ebp
movzx edx, byte [esi + edx]
mov byte [eax - 1], dl
jne 0x46cda4
mov ebp, dword [esp + 0x60]
movzx eax, byte [edi + 9]
mov byte [edi + 8], 3
mov byte [edi + 0xa], 1
cmp al, 7
mov byte [edi + 0xb], al
ja 0x46d277
imul eax, dword [esp + 0xc]
add eax, 7
shr eax, 3
mov dword [edi + 4], eax
jmp 0x46b9b5
mov eax, dword [ebp + 0x190]
test eax, eax
je 0x46d723
mov ebx, dword [ebp + 0x194]
test ebx, ebx
je 0x46d723
mov edx, dword [esp + 0xc]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0
test edx, edx
je 0x46dc96
mov edx, esi
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], edi
jmp 0x46ce5d
add esi, 3
mov edx, ecx
add dword [esp + 0x14], 1
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x14], eax
je 0x46cf00
movzx eax, byte [esi]
movzx ecx, byte [esi + 2]
movzx edi, byte [esi + 1]
cmp al, cl
jne 0x46ce72
mov ebx, edi
cmp al, bl
je 0x46cee6
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x1c], 1
mov ebp, dword [ebx + 0x194]
mov ebx, edi
movzx edi, bl
movzx ebx, cl
lea ecx, [edx + 1]
movzx eax, byte [ebp + eax]
movzx edi, byte [ebp + edi]
imul edi, dword [esp + 0x28]
imul eax, dword [esp + 0x24]
movzx ebx, byte [ebp + ebx]
imul ebx, dword [esp + 0x18]
lea eax, [eax + edi + 0x4000]
mov edi, dword [esp + 0x60]
add eax, ebx
shr eax, 0xf
mov ebx, dword [edi + 0x190]
movzx eax, byte [ebx + eax]
mov byte [edx], al
mov edi, dword [esp + 0x10]
test edi, edi
je 0x46ce45
movzx eax, byte [esi + 3]
lea edx, [ecx + 1]
add esi, 4
mov byte [ecx], al
jmp 0x46ce4a
mov edi, dword [esp + 0x60]
mov ecx, dword [edi + 0x188]
test ecx, ecx
je 0x46cef8
movzx eax, byte [ecx + eax]
lea ecx, [edx + 1]
mov byte [edx], al
jmp 0x46cec9
mov edi, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
movzx ecx, byte [edi + 8]
movzx eax, byte [edi + 9]
jmp 0x46c494
mov ecx, 7
mov edx, 0x7f7f
sub ecx, eax
sar edx, cl
mov ecx, eax
and edx, edi
movzx edi, word [ebp + 0x168]
shl edi, cl
or edx, edi
mov byte [esi], dl
jmp 0x46c922
mov esi, dword [ebp + 0x190]
test esi, esi
mov dword [esp + 0x10], esi
je 0x46b142
and edx, 2
mov ecx, dword [esp + 0xc]
cmp dl, 1
sbb esi, esi
and esi, 0xfffffffe
mov edx, esi
add edx, 4
test eax, eax
lea esi, [ecx + esi + 3]
je 0x46b142
mov ecx, dword [esp + 0x10]
movzx ebx, byte [esi]
movzx ebx, byte [ecx + ebx]
mov byte [esi], bl
add esi, edx
sub eax, 1
jne 0x46cf76
jmp 0x46b2fe
mov eax, dword [esp + 0xc]
xor ecx, ecx
test eax, eax
je case.0x46c05c.0
mov dword [esp + 0x64], edi
jmp 0x46cfef
movzx eax, byte [ebp + 0x163]
mov byte [esi], al
movzx eax, word [ebp + 0x162]
mov byte [esi + 1], al
movzx eax, byte [ebp + 0x165]
mov byte [esi + 2], al
movzx eax, word [ebp + 0x164]
mov byte [esi + 3], al
movzx eax, byte [ebp + 0x167]
mov byte [esi + 4], al
movzx eax, word [ebp + 0x166]
mov byte [esi + 5], al
add ecx, 1
add esi, 8
cmp ecx, dword [esp + 0xc]
je 0x46cb30
movzx eax, byte [esi + 6]
movzx edx, byte [esi + 7]
shl eax, 8
add ax, dx
je 0x46cfa4
cmp ax, 0xffff
je 0x46cfdf
movzx edx, byte [esi + 2]
movzx eax, ax
movzx ebx, byte [esi + 3]
shl edx, 8
lea edi, [edx + ebx]
movzx edx, byte [esi + 4]
movzx ebx, byte [esi + 5]
mov word [esp + 0x14], di
movzx edi, byte [esi + 1]
shl edx, 8
add ebx, edx
movzx edx, byte [esi]
mov word [esp + 0x18], bx
mov ebx, 0xffff
sub ebx, eax
mov dword [esp + 0x10], ebx
shl edx, 8
add edx, edi
movzx edi, word [ebp + 0x162]
movzx edx, dx
imul edx, eax
imul edi, ebx
lea edx, [edx + edi + 0x8000]
mov edi, edx
shr edi, 0x10
add edx, edi
shr edx, 0x10
mov byte [esi + 1], dl
mov edi, edx
movzx edx, word [esp + 0x14]
shr di, 8
mov ebx, edi
mov byte [esi], bl
movzx edi, word [ebp + 0x164]
imul edx, eax
imul edi, dword [esp + 0x10]
lea edx, [edx + edi + 0x8000]
mov edi, edx
shr edi, 0x10
add edx, edi
shr edx, 0x10
mov edi, edx
mov byte [esi + 3], dl
movzx edx, word [esp + 0x18]
shr di, 8
mov ebx, edi
mov byte [esi + 2], bl
mov ebx, dword [esp + 0x10]
imul edx, eax
movzx eax, word [ebp + 0x166]
imul ebx, eax
lea eax, [edx + ebx + 0x8000]
mov edx, eax
shr edx, 0x10
add eax, edx
shr eax, 0x10
mov edx, eax
shr dx, 8
mov byte [esi + 4], dl
mov byte [esi + 5], al
jmp 0x46cfdf
mov edx, dword [esp + 0xc]
xor eax, eax
test edx, edx
je case.0x46c05c.0
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x64], edi
jmp 0x46d119
movzx edx, byte [ebp + 0x169]
mov byte [esi], dl
movzx edx, word [ebp + 0x168]
mov byte [esi + 1], dl
add eax, 1
add esi, 4
cmp eax, ebx
je 0x46cb30
movzx edx, byte [esi + 2]
movzx ecx, byte [esi + 3]
shl edx, 8
add cx, dx
je 0x46d0f8
cmp cx, 0xffff
je 0x46d10b
movzx edx, byte [esi]
movzx ecx, cx
movzx edi, byte [esi + 1]
shl edx, 8
add edi, edx
mov edx, 0xffff
movzx edi, di
sub edx, ecx
imul edi, ecx
movzx ecx, word [ebp + 0x168]
imul edx, ecx
lea edx, [edi + edx + 0x8000]
mov ecx, edx
shr ecx, 0x10
add edx, ecx
shr edx, 0x10
mov ecx, edx
shr cx, 8
mov byte [esi], cl
mov byte [esi + 1], dl
jmp 0x46d10b
test esi, esi
je 0x46b9b2
mov ebx, dword [esp + 0xc]
test ebx, ebx
je 0x46d266
lea ebx, [ecx + ebx + 1]
mov ecx, ebx
mov ebx, eax
mov dword [esp + 0x60], ebp
mov ebp, ecx
mov dword [esp + 0x64], edi
lea esi, [esi]
movzx edx, byte [ebx]
add eax, 1
add ebx, 4
movzx ecx, byte [ebx - 3]
movzx edi, byte [ebx - 2]
sar edx, 3
sar ecx, 3
shl edx, 0xa
shl ecx, 5
or edx, ecx
sar edi, 3
or edx, edi
cmp eax, ebp
movzx edx, byte [esi + edx]
mov byte [eax - 1], dl
jne 0x46d1a0
mov ebp, dword [esp + 0x60]
mov edi, dword [esp + 0x64]
jmp 0x46cdd7
sub ecx, ebx
mov eax, 0x3f3f
sar eax, cl
mov ecx, dword [esp + 0x60]
and eax, edx
movzx edx, word [ecx + 0x168]
mov ecx, ebx
shl edx, cl
or eax, edx
mov byte [esi], al
jmp 0x46c9cc
sub ecx, eax
mov edx, 0xf0f
sar edx, cl
mov ecx, eax
and edx, edi
mov edi, dword [esp + 0x60]
movzx edi, word [edi + 0x168]
shl edi, cl
or edx, edi
mov byte [esi], dl
jmp 0x46cb20
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], 0xf
mov esi, dword [edi + 4]
sar dword [esp + 0xc], cl
mov edx, dword [esp + 0xc]
add esi, eax
shl edx, 4
or edx, dword [esp + 0xc]
cmp eax, esi
jae 0x46b190
nop
movzx ebx, byte [eax]
add eax, 1
sar ebx, cl
and ebx, edx
cmp eax, esi
mov byte [eax - 1], bl
jne 0x46d250
jmp 0x46b76b
mov byte [edi + 8], 3
mov eax, 8
mov byte [edi + 0xa], 1
mov byte [edi + 0xb], 8
shr al, 3
movzx eax, al
imul eax, dword [esp + 0xc]
jmp 0x46cdf9
add eax, dword [edi + 4]
test edx, edx
je 0x46b187
xor ecx, ecx
add ecx, 1
not byte [eax - 1]
sub eax, 4
cmp ecx, edx
jne 0x46d294
jmp 0x46b652
add edx, dword [edi + 4]
test ecx, ecx
je 0x46b1cd
xor ebx, ebx
mov esi, ecx
movzx eax, byte [edx - 2]
add ebx, 1
sub edx, 4
movzx ecx, byte [edx + 3]
mov byte [edx + 3], al
movzx eax, byte [edx + 1]
mov byte [edx + 2], al
movzx eax, byte [edx]
mov byte [edx + 1], al
cmp ebx, esi
mov byte [edx], cl
jne 0x46d2b5
jmp 0x46bd0d
add edx, dword [edi + 4]
test ecx, ecx
je 0x46b1cd
xor ebx, ebx
mov esi, ecx
nop
movzx eax, byte [edx - 2]
add ebx, 1
sub edx, 2
movzx ecx, byte [edx + 1]
mov byte [edx + 1], al
cmp ebx, esi
mov byte [edx], cl
jne 0x46d2f0
jmp 0x46bd0d
add eax, dword [edi + 4]
test edx, edx
je 0x46b187
xor ecx, ecx
lea esi, [esi]
add ecx, 1
not byte [eax - 1]
sub eax, 2
cmp ecx, edx
jne 0x46d320
jmp 0x46b652
xor ebx, ebx
cmp dword [esp + 0xc], 0
mov dword [esp + 0x1c], 0
je 0x46d893
mov dword [esp + 0x60], ebp
mov ebp, ebx
mov dword [esp + 0x64], edi
jmp 0x46d366
add esi, 6
add edx, 2
add ebp, 1
cmp ebp, dword [esp + 0xc]
je 0x46cf00
movzx ecx, byte [esi]
movzx eax, byte [esi + 1]
movzx ebx, byte [esi + 3]
movzx edi, byte [esi + 4]
shl ecx, 8
or eax, ecx
movzx ecx, byte [esi + 2]
shl edi, 8
shl ecx, 8
or ebx, ecx
movzx ecx, byte [esi + 5]
or ecx, edi
cmp ax, cx
jne 0x46d396
cmp ax, bx
je 0x46d39e
mov dword [esp + 0x1c], 1
movzx eax, ax
movzx ebx, bx
mov edi, dword [esp + 0x10]
imul eax, dword [esp + 0x24]
movzx ecx, cx
imul ebx, dword [esp + 0x28]
imul ecx, dword [esp + 0x18]
lea eax, [eax + ebx + 0x4000]
add ecx, eax
shr ecx, 0xf
mov eax, ecx
shr ax, 8
test edi, edi
mov byte [edx], al
mov byte [edx + 1], cl
je 0x46d353
movzx eax, byte [esi + 6]
add edx, 4
add esi, 8
mov byte [edx - 2], al
movzx eax, byte [esi - 1]
mov byte [edx - 1], al
jmp 0x46d359
add ebx, esi
mov ecx, ebx
sub ecx, esi
test esi, esi
lea eax, [ebx + esi]
je 0x46cd34
mov byte [esp + 0xc], dl
sub ebx, 1
movzx edx, byte [ebx]
sub eax, 2
mov byte [eax + 1], dl
movzx edx, byte [esp + 0xc]
cmp ebx, ecx
mov byte [eax], dl
jne 0x46d407
jmp 0x46cd34
xor ebx, ebx
test esi, esi
je 0x46bbee
mov dword [esp + 0x60], ebp
mov ebp, edx
movzx edx, byte [ecx - 1]
sub ecx, 2
add ebx, 1
sub eax, 4
mov byte [eax + 3], dl
movzx edx, byte [ecx]
mov byte [eax + 2], dl
mov edx, ebp
mov byte [eax + 1], dl
movzx edx, byte [esp + 0xc]
cmp ebx, esi
mov byte [eax], dl
jne 0x46d433
mov ebp, dword [esp + 0x60]
jmp 0x46bbee
movzx eax, byte [esi]
mov edi, dword [esp + 0x10]
movzx eax, byte [edi + eax]
mov byte [esi], al
jmp 0x46c5de
mov ebx, dword [esp + 0x1c]
movzx eax, byte [esi]
movzx eax, byte [ebx + eax]
mov byte [esi], al
movzx eax, byte [esi + 1]
movzx eax, byte [ebx + eax]
mov byte [esi + 1], al
movzx eax, byte [esi + 2]
movzx eax, byte [ebx + eax]
mov byte [esi + 2], al
jmp 0x46c6ad
test bl, bl
jne 0x46b121
cmp byte [esp + 0x10], 2
je 0x46db9e
movzx edx, byte [esp + 0x10]
cmp dl, 4
je 0x46db3e
cmp dl, 8
je 0x46ddd3
cmp dl, 0x10
je 0x46dd80
mov eax, dword [ebp + 0x78]
mov edx, eax
jmp 0x46b121
cmp byte [esp + 0x10], 8
je 0x46dacf
mov ecx, dword [esp + 0x14]
xor eax, eax
test ecx, ecx
je 0x46b121
mov dword [esp + 0x64], edi
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x60], ebp
mov dword [esp + 0xc], eax
nop
movzx edx, byte [ebx + 1]
add ebx, 6
movzx ebp, byte [ebx - 6]
add dword [esp + 0xc], 1
sar edx, cl
mov edx, dword [esi + edx*4]
movzx edx, word [edx + ebp*2]
mov byte [ebx - 5], dl
mov ebp, edx
movzx edx, byte [ebx - 3]
shr bp, 8
mov eax, ebp
movzx ebp, byte [ebx - 4]
mov byte [ebx - 6], al
sar edx, cl
mov edx, dword [esi + edx*4]
movzx edx, word [edx + ebp*2]
mov byte [ebx - 3], dl
mov ebp, edx
movzx edx, byte [ebx - 1]
shr bp, 8
mov eax, ebp
movzx ebp, byte [ebx - 2]
mov byte [ebx - 4], al
sar edx, cl
mov edx, dword [esi + edx*4]
movzx edx, word [edx + ebp*2]
mov ebp, edx
shr bp, 8
mov eax, ebp
mov byte [ebx - 2], al
mov byte [ebx - 1], dl
cmp dword [esp + 0xc], edi
jne 0x46d510
jmp 0x46be7b
cmp byte [esp + 0x10], 8
je 0x46db13
mov ecx, dword [esp + 0x14]
xor eax, eax
test ecx, ecx
je 0x46b121
mov dword [esp + 0x64], edi
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x60], ebp
lea esi, [esi]
movzx edx, byte [ebx + 1]
add eax, 1
add ebx, 4
movzx ecx, byte [esp + 0xc]
movzx ebp, byte [ebx - 4]
sar edx, cl
mov edx, dword [esi + edx*4]
movzx edx, word [edx + ebp*2]
mov ebp, edx
shr bp, 8
mov ecx, ebp
mov byte [ebx - 4], cl
mov byte [ebx - 3], dl
cmp eax, edi
jne 0x46d5b0
jmp 0x46be7b
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov ebx, 0xff
test eax, eax
je case.0x46c05c.0
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0xc]
jmp 0x46d617
movzx eax, word [ebp + 0x168]
mov byte [esi], al
add ecx, 1
add esi, 2
cmp ecx, edi
je 0x46cb30
movzx edx, byte [esi + 1]
test dl, dl
je 0x46d600
cmp dl, 0xff
je 0x46d609
mov eax, edx
mul byte [esi]
mov word [esp + 0xc], ax
mov eax, ebx
sub eax, edx
mov edx, eax
movzx eax, word [esp + 0xc]
imul dx, word [ebp + 0x168]
lea eax, [eax + edx + 0x80]
movzx edx, ax
movzx eax, ah
add eax, edx
sar eax, 8
mov byte [esi], al
jmp 0x46d609
mov eax, dword [esp + 0xc]
xor ecx, ecx
test eax, eax
je case.0x46c05c.0
mov dword [esp + 0x64], edi
jmp 0x46d69d
movzx eax, word [ebp + 0x162]
mov byte [esi], al
movzx eax, word [ebp + 0x164]
mov byte [esi + 1], al
movzx eax, word [ebp + 0x166]
mov byte [esi + 2], al
add ecx, 1
add esi, 4
cmp ecx, dword [esp + 0xc]
je 0x46cb30
movzx edx, byte [esi + 3]
test dl, dl
je 0x46d670
cmp dl, 0xff
je 0x46d68d
movzx eax, dl
mov ebx, 0xff
sub ebx, eax
mov eax, edx
mov edi, ebx
mul byte [esi]
imul di, word [ebp + 0x162]
lea eax, [eax + edi + 0x80]
movzx edi, ax
movzx eax, ah
add eax, edi
mov edi, ebx
sar eax, 8
mov byte [esi], al
mov eax, edx
imul di, word [ebp + 0x164]
mul byte [esi + 1]
lea eax, [eax + edi + 0x80]
movzx edi, ax
movzx eax, ah
add eax, edi
sar eax, 8
mov byte [esi + 1], al
mov eax, edx
imul bx, word [ebp + 0x166]
mul byte [esi + 2]
mov edx, ebx
lea edx, [eax + edx + 0x80]
movzx eax, dx
movzx edx, dh
add eax, edx
sar eax, 8
mov byte [esi + 2], al
jmp 0x46d68d
mov ebx, dword [esp + 0xc]
xor eax, eax
mov edx, esi
mov dword [esp + 0x1c], 0
test ebx, ebx
je 0x46dc96
mov dword [esp + 0x14], eax
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], edi
jmp 0x46d768
add edx, 3
mov esi, ebx
add dword [esp + 0x14], 1
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x14], eax
je 0x46cf00
movzx edi, byte [edx + 2]
movzx eax, byte [edx]
movzx ebp, byte [edx + 1]
mov ebx, edi
cmp al, bl
jne 0x46d77f
mov ebx, ebp
cmp al, bl
je 0x46d7c2
mov ecx, ebp
movzx ebp, cl
mov ecx, edi
imul ebp, dword [esp + 0x28]
movzx edi, cl
imul eax, dword [esp + 0x24]
imul edi, dword [esp + 0x18]
lea ebx, [esi + 1]
mov dword [esp + 0x1c], 1
add eax, ebp
add eax, edi
shr eax, 0xf
mov byte [esi], al
mov esi, dword [esp + 0x10]
test esi, esi
je 0x46d750
movzx eax, byte [edx + 3]
lea esi, [ebx + 1]
add edx, 4
mov byte [ebx], al
jmp 0x46d755
lea ebx, [esi + 1]
mov byte [esi], al
jmp 0x46d7ac
add ebx, eax
lea ecx, [ebx + esi]
mov dword [esp + 0xc], ecx
mov ecx, ebx
sub ecx, eax
test esi, esi
mov eax, ecx
je 0x46c8c2
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xc], eax
movzx eax, byte [ebx - 1]
sub ecx, 4
sub ebx, 3
mov byte [ecx + 3], al
movzx eax, byte [ebx + 1]
mov byte [ecx + 2], al
movzx eax, byte [ebx]
mov byte [ecx + 1], al
cmp ebx, dword [esp + 0xc]
mov byte [ecx], dl
jne 0x46d7e8
jmp 0x46c8c2
add eax, ecx
xor ebx, ebx
test esi, esi
je 0x46bf7a
mov dword [esp + 0x60], ebp
mov ebp, edx
movzx edx, byte [ecx - 1]
sub ecx, 6
add ebx, 1
sub eax, 8
mov byte [eax + 7], dl
movzx edx, byte [ecx + 4]
mov byte [eax + 6], dl
movzx edx, byte [ecx + 3]
mov byte [eax + 5], dl
movzx edx, byte [ecx + 2]
mov byte [eax + 4], dl
movzx edx, byte [ecx + 1]
mov byte [eax + 3], dl
movzx edx, byte [ecx]
mov byte [eax + 2], dl
mov edx, ebp
mov byte [eax + 1], dl
movzx edx, byte [esp + 0xc]
cmp ebx, esi
mov byte [eax], dl
jne 0x46d821
mov ebp, dword [esp + 0x60]
jmp 0x46bf7a
mov ebp, dword [esp + 0x60]
mov edi, dword [esp + 0x64]
mov eax, dword [esp + 0xc]
mov byte [edi + 9], 8
mov byte [edi + 0xb], 0x20
mov byte [edi + 8], 6
shl eax, 2
mov dword [edi + 4], eax
mov byte [edi + 0xa], 4
jmp 0x46b0d3
mov esi, dword [esp + 0xc]
mov dword [esp + 0x1c], esi
jmp 0x46c494
mov eax, dword [esp + 0xc]
xor ebx, ebx
test eax, eax
je case.0x46c05c.0
mov dword [esp + 0x64], edi
jmp 0x46d8c4
add ebx, 1
add esi, 6
cmp ebx, dword [esp + 0xc]
je 0x46cb30
movzx eax, byte [esi + 4]
movzx edx, byte [esi + 1]
movzx edi, byte [esi + 2]
movzx ecx, byte [esi + 3]
mov byte [esp + 0x10], al
movzx eax, byte [esi + 5]
mov byte [esp + 0x14], al
movzx eax, byte [esi]
shl eax, 8
add eax, edx
cmp ax, word [ebp + 0x1b2]
jne 0x46d8b4
shl edi, 8
add ecx, edi
cmp cx, word [ebp + 0x1b4]
jne 0x46d8b4
movzx eax, word [esp + 0x10]
movzx edx, byte [esp + 0x14]
shl eax, 8
add eax, edx
cmp ax, word [ebp + 0x1b6]
jne 0x46d8b4
movzx eax, byte [ebp + 0x163]
mov byte [esi], al
movzx eax, word [ebp + 0x162]
mov byte [esi + 1], al
movzx eax, byte [ebp + 0x165]
mov byte [esi + 2], al
movzx eax, word [ebp + 0x164]
mov byte [esi + 3], al
movzx eax, byte [ebp + 0x167]
mov byte [esi + 4], al
movzx eax, word [ebp + 0x166]
mov byte [esi + 5], al
jmp 0x46d8b4
mov edx, dword [esp + 0xc]
mov eax, edx
sub eax, 1
mov ecx, eax
mov esi, eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
shr esi, 3
add esi, eax
add eax, ecx
mov ecx, edx
add ecx, 7
mov dword [esp + 0x20], esi
not ecx
mov esi, eax
and ecx, 7
sub esi, edx
test edx, edx
je 0x46c539
mov dword [esp + 0x24], ebx
mov ebx, esi
mov esi, dword [esp + 0x20]
jmp 0x46d9aa
add ecx, 1
sub eax, 1
cmp eax, ebx
je 0x46d9c0
movzx edx, byte [esi]
sar edx, cl
and edx, 1
cmp ecx, 7
mov byte [eax], dl
jne 0x46d9a0
sub esi, 1
xor cl, cl
jmp 0x46d9a3
mov ebx, dword [esp + 0x24]
jmp 0x46c539
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
lea esi, [eax - 1]
mov ecx, esi
mov dword [esp + 0x1c], esi
shr esi, 1
add esi, edx
add edx, ecx
mov ecx, eax
and ecx, 1
shl ecx, 2
test eax, eax
mov dword [esp + 0x20], ecx
je 0x46c539
mov ecx, edx
sub ecx, eax
mov dword [esp + 0x24], ebx
mov ebx, ecx
mov ecx, dword [esp + 0x20]
jmp 0x46da0e
add ecx, 4
sub edx, 1
cmp edx, ebx
je 0x46d9c0
movzx eax, byte [esi]
sar eax, cl
and eax, 0xf
cmp ecx, 4
mov byte [edx], al
jne 0x46da04
sub esi, 1
xor cl, cl
jmp 0x46da07
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, ecx
sub eax, 1
mov esi, eax
shr esi, 2
add esi, edx
add edx, eax
mov dword [esp + 0x1c], eax
mov eax, ecx
lea ecx, [ecx + 3]
not ecx
and ecx, 3
add ecx, ecx
test eax, eax
mov dword [esp + 0x20], ecx
je 0x46c539
mov ecx, edx
sub ecx, eax
mov dword [esp + 0x24], ebx
mov ebx, ecx
mov ecx, dword [esp + 0x20]
jmp 0x46da74
add ecx, 2
sub edx, 1
cmp edx, ebx
je 0x46d9c0
movzx eax, byte [esi]
sar eax, cl
and eax, 3
cmp ecx, 6
mov byte [edx], al
jne 0x46da66
sub esi, 1
xor cl, cl
jmp 0x46da69
mov esi, dword [esp + 0x14]
test esi, esi
je 0x46b121
mov ebx, dword [esp + 0x1c]
xor edx, edx
lea esi, [esi]
movzx eax, byte [ebx]
add edx, 1
add ebx, 4
movzx eax, byte [ecx + eax]
mov byte [ebx - 4], al
movzx eax, byte [ebx - 3]
movzx eax, byte [ecx + eax]
mov byte [ebx - 3], al
movzx eax, byte [ebx - 2]
movzx eax, byte [ecx + eax]
mov byte [ebx - 2], al
cmp edx, esi
jne 0x46daa0
jmp 0x46be83
mov eax, dword [esp + 0x14]
test eax, eax
je 0x46b121
mov ebx, dword [esp + 0x1c]
lea edx, [eax + eax*2 + 1]
add edx, dword [esp + 0x18]
movzx eax, byte [ebx]
add ebx, 3
movzx eax, byte [ecx + eax]
mov byte [ebx - 3], al
movzx eax, byte [ebx - 2]
movzx eax, byte [ecx + eax]
mov byte [ebx - 2], al
movzx eax, byte [ebx - 1]
movzx eax, byte [ecx + eax]
mov byte [ebx - 1], al
cmp ebx, edx
jne 0x46dae7
jmp 0x46be83
mov esi, dword [esp + 0x14]
test esi, esi
je 0x46b121
mov ebx, dword [esp + 0x18]
xor edx, edx
movzx eax, byte [ebx + edx*2 + 1]
movzx eax, byte [ecx + eax]
mov byte [ebx + edx*2 + 1], al
add edx, 1
cmp edx, esi
jne 0x46db25
jmp 0x46be83
mov edx, dword [esp + 0x14]
test edx, edx
je 0x46d4d6
mov dword [esp + 0x60], ebp
mov ebx, dword [esp + 0x1c]
xor esi, esi
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x64], edi
lea esi, [esi]
movzx edx, byte [ebx]
add esi, 2
add ebx, 1
mov edi, edx
and edx, 0xf
mov eax, edx
and edi, 0xf0
shl eax, 4
or eax, edx
mov edx, edi
sar edx, 4
movzx eax, byte [ecx + eax]
or edx, edi
movzx edx, byte [ecx + edx]
shr al, 4
and edx, 0xfffffff0
or eax, edx
mov byte [ebx - 1], al
cmp ebp, esi
ja 0x46db60
jmp 0x46be7b
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x46b121
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], esi
mov dword [esp + 0x60], ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x64], edi
mov esi, dword [esp + 0x10]
movzx edx, byte [esi]
mov edi, edx
mov esi, edx
mov ebx, edx
and edx, 3
mov eax, edx
mov ebp, edx
shl ebp, 4
and edi, 0xc0
shl eax, 6
and esi, 0x30
or eax, ebp
mov ebp, edi
or eax, edx
and ebx, 0xc
shl edx, 2
or eax, edx
mov edx, edi
sar edx, 2
movzx eax, byte [ecx + eax]
sar ebp, 4
or edx, ebp
or edx, edi
sar edi, 6
or edx, edi
mov edi, esi
movzx edx, byte [ecx + edx]
shr al, 6
sar edi, 2
and edx, 0xffffffc0
or eax, edx
lea edx, [esi*4]
or edx, edi
or edx, esi
sar esi, 4
or edx, esi
movzx edx, byte [ecx + edx]
lea esi, [ebx*4]
shr dl, 2
and edx, 0x30
or eax, edx
mov edx, ebx
shl edx, 4
or edx, esi
mov esi, dword [esp + 0x10]
or edx, ebx
sar ebx, 2
or edx, ebx
movzx edx, byte [ecx + edx]
shr dl, 4
and edx, 0xc
or eax, edx
add dword [esp + 0x20], 4
add dword [esp + 0x10], 1
mov byte [esi], al
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x14], eax
ja 0x46dbc6
mov edi, dword [esp + 0x64]
mov esi, dword [esp + 0x24]
mov ebp, dword [esp + 0x60]
movzx edx, byte [edi + 9]
cmp dl, 4
jne 0x46d4c1
jmp 0x46db4a
mov esi, dword [esp + 0xc]
mov eax, 8
mov dword [esp + 0x1c], esi
jmp 0x46c494
mov esi, dword [esp + 0xc]
lea ecx, [esi + esi*2]
mov dword [esp + 0x10], ecx
lea edx, [edx + ecx - 1]
mov ecx, eax
sub ecx, esi
test esi, esi
je 0x46dcfa
mov dword [esp + 0xc], ecx
movzx esi, byte [eax]
sub edx, 3
sub eax, 1
lea esi, [esi + esi*2]
movzx ecx, byte [ebx + esi + 2]
mov byte [edx + 3], cl
movzx esi, byte [eax + 1]
lea esi, [esi + esi*2]
movzx ecx, byte [ebx + esi + 1]
mov byte [edx + 2], cl
movzx esi, byte [eax + 1]
cmp eax, dword [esp + 0xc]
lea esi, [esi + esi*2]
movzx ecx, byte [ebx + esi]
mov byte [edx + 1], cl
jne 0x46dcc3
mov eax, dword [esp + 0x10]
mov byte [edi + 9], 8
mov byte [edi + 0xb], 0x18
mov byte [edi + 8], 2
mov dword [edi + 4], eax
mov byte [edi + 0xa], 3
jmp 0x46b0d3
mov ebx, dword [esp + 0xc]
lea eax, [ebx + ebx*2 + 1]
add edx, eax
test ebx, ebx
jne 0x46dd3b
jmp case.0x46c05c.0
add esi, 3
cmp esi, edx
je case.0x46c05c.0
movzx eax, byte [esi]
cmp ax, word [ebp + 0x1b2]
jne 0x46dd30
movzx eax, byte [esi + 1]
cmp ax, word [ebp + 0x1b4]
jne 0x46dd30
movzx eax, byte [esi + 2]
cmp ax, word [ebp + 0x1b6]
jne 0x46dd30
movzx eax, word [ebp + 0x162]
mov byte [esi], al
movzx eax, word [ebp + 0x164]
mov byte [esi + 1], al
movzx eax, word [ebp + 0x166]
mov byte [esi + 2], al
jmp 0x46dd30
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x46d4d3
mov dword [esp + 0x64], edi
mov ebx, dword [esp + 0x1c]
xor edx, edx
mov edi, dword [esp + 0x14]
mov dword [esp + 0x60], ebp
nop
movzx eax, byte [ebx + 1]
add edx, 1
add ebx, 2
movzx ecx, byte [esp + 0xc]
movzx ebp, byte [ebx - 2]
sar eax, cl
mov eax, dword [esi + eax*4]
movzx eax, word [eax + ebp*2]
mov ebp, eax
shr bp, 8
mov ecx, ebp
mov byte [ebx - 2], cl
mov byte [ebx - 1], al
cmp edx, edi
jne 0x46dda0
jmp 0x46be7b
mov esi, dword [esp + 0x14]
test esi, esi
je 0x46d4d3
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
lea edx, [eax + esi + 1]
nop
movzx eax, byte [ebx]
add ebx, 1
movzx eax, byte [ecx + eax]
mov byte [ebx - 1], al
cmp ebx, edx
jne 0x46ddf0
jmp 0x46be83
mov edx, dword [esp + 0xc]
xor eax, eax
mov bl, 4
test edx, edx
je case.0x46c05c.0
mov edx, eax
mov dword [esp + 0x64], edi
jmp 0x46de30
add esi, 1
mov bl, 4
add edx, 1
cmp edx, dword [esp + 0xc]
je 0x46cb30
movzx edi, byte [esi]
mov ecx, ebx
mov eax, edi
sar eax, cl
movzx ecx, word [ebp + 0x1b8]
and eax, 0xf
cmp eax, ecx
je 0x46de50
test ebx, ebx
je 0x46de1e
sub ebx, 4
jmp 0x46de23
mov ecx, 4
mov eax, 0xf0f
sub ecx, ebx
sar eax, cl
mov ecx, ebx
and eax, edi
movzx edi, word [ebp + 0x168]
shl edi, cl
or eax, edi
mov byte [esi], al
jmp 0x46de47
mov edx, dword [esp + 0xc]
xor eax, eax
mov bl, 6
test edx, edx
je case.0x46c05c.0
mov edx, eax
mov dword [esp + 0x64], edi
jmp 0x46de9b
add esi, 1
mov bl, 6
add edx, 1
cmp edx, dword [esp + 0xc]
je 0x46cb30
movzx edi, byte [esi]
mov ecx, ebx
mov eax, edi
sar eax, cl
movzx ecx, word [ebp + 0x1b8]
and eax, 3
cmp eax, ecx
je 0x46debb
test ebx, ebx
je 0x46de89
sub ebx, 2
jmp 0x46de8e
mov ecx, 6
mov eax, 0x3f3f
sub ecx, ebx
sar eax, cl
mov ecx, ebx
and eax, edi
movzx edi, word [ebp + 0x168]
shl edi, cl
or eax, edi
mov byte [esi], al
jmp 0x46deb2
test eax, eax
lea edx, [edx + eax + 1]
jne 0x46defb
jmp case.0x46c05c.0
add esi, 1
cmp esi, edx
je case.0x46c05c.0
movzx eax, byte [esi]
cmp ax, word [ebp + 0x1b8]
jne 0x46def0
movzx eax, word [ebp + 0x168]
mov byte [esi], al
jmp 0x46def0
mov eax, dword [esp + 0xc]
xor edx, edx
mov ecx, dword [esp + 0xc]
test eax, eax
jne 0x46df33
jmp case.0x46c05c.0
add edx, 1
add esi, 2
cmp edx, ecx
je case.0x46c05c.0
movzx eax, byte [esi]
movzx ebx, byte [esi + 1]
shl eax, 8
add eax, ebx
cmp ax, word [ebp + 0x1b8]
jne 0x46df25
movzx eax, byte [ebp + 0x169]
mov byte [esi], al
movzx eax, word [ebp + 0x168]
mov byte [esi + 1], al
jmp 0x46df25
mov dword [esp + 4], str.Uninitialized_row
mov dword [esp], ebp
call fcn.00461910
mov dword [esp + 4], str.NULL_row_buffer
mov dword [esp], ebp
call fcn.00461910
mov dword [esp + 4], str.png_do_quantize_returned_rowbytes0
mov dword [esp], ebp
call fcn.00461910
mov eax, dword [ebp + 0x78]
jmp 0x46b0f7