Function at 0x4651ab
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
mov eax, dword [0x52d080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, edx
mov dword [ebp - 0xa4], eax
mov eax, dword [eax]
push edi
mov edi, ecx
mov dword [ebp - 0x64], edx
mov ecx, dword [ebp + 0x14]
add eax, edx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0xa0], ecx
mov eax, dword [ecx]
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x50], 0xffffffff
lea ecx, [eax + esi]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x8c], ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x68], ecx
and ecx, 4
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x9c], ecx
je 0x46514e
mov dword [ebp - 0x84], 0xffffffff
mov dword [ebp - 0x78], 0
jmp 0x465166
sub eax, edx
add eax, esi
mov dword [ebp - 0x78], eax
lea ecx, [eax - 1]
mov dword [ebp - 0x84], ecx
test eax, ecx
jne 0x466724
cmp esi, edx
jb 0x466724
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x38]
mov ecx, dword [edi + 0x24]
mov esi, dword [edi + 4]
mov dword [ebp - 0x70], eax
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x7c], eax
mov eax, dword [edi + 0x3c]
mov dword [ebp - 0x90], eax
mov eax, dword [edi]
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x48], ecx
cmp eax, 0x35
ja case.0x4651a4.4
movzx eax, byte [eax + 0x4667dc]
jmp dword [eax*4 + 0x466754]
mov eax, dword [ebp - 0x68]
xor edx, edx
xor esi, esi
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x60], edx
mov dword [edi + 0x1c], 1
mov dword [edi + 0x10], 1
test al, 1
je 0x4659b4
mov ecx, dword [ebp - 0x54]
cmp ebx, ecx
jae 0x465219
mov eax, ebx
lea ebx, [eax + 1]
movzx eax, byte [eax]
mov dword [ebp - 0x4c], ebx
jmp 0x46522e
mov ecx, dword [ebp - 0x54]
mov eax, ebx
cmp eax, ecx
jae 0x465216
lea ebx, [eax + 1]
movzx eax, byte [eax]
mov dword [ebp - 0x4c], ebx
jmp 0x46522e
mov eax, dword [ebp - 0x68]
test al, 2
je 0x46522c
mov ecx, 1
mov dword [ebp - 0x50], ecx
mov dword [edi], ecx
jmp 0x46654a
xor eax, eax
mov dword [edi + 8], eax
cmp ebx, ecx
jae 0x465252
mov al, byte [ebx]
inc ebx
mov dword [ebp - 0x4c], ebx
movzx ecx, al
jmp 0x46526d
mov eax, ebx
cmp eax, dword [ebp - 0x54]
jae 0x465252
movzx ecx, byte [eax]
lea ebx, [eax + 1]
mov dword [ebp - 0x4c], ebx
jmp 0x46526d
test byte [ebp - 0x68], 2
je 0x46526b
mov ecx, 1
mov dword [edi], 2
mov dword [ebp - 0x50], ecx
jmp 0x46654a
xor ecx, ecx
mov dword [edi + 0xc], ecx
xor edx, edx
mov eax, dword [edi + 8]
shl eax, 8
add eax, ecx
mov ecx, 0x1f
div ecx
test edx, edx
mov edx, dword [edi + 8]
jne 0x46529a
test byte [edi + 0xc], 0x20
jne 0x46529a
mov eax, edx
and al, 0xf
cmp al, 8
jne 0x46529a
xor ecx, ecx
jmp 0x46529f
mov ecx, 1
cmp dword [ebp - 0x9c], 0
mov dword [ebp - 0x48], ecx
jne 0x4652d5
shr edx, 4
mov eax, 1
lea ecx, [edx + 8]
shl eax, cl
cmp eax, 0x8000
ja 0x4652c8
cmp dword [ebp - 0x78], eax
jb 0x4652c8
xor eax, eax
jmp 0x4652cd
mov eax, 1
mov ecx, dword [ebp - 0x48]
or ecx, eax
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x60]
test ecx, ecx
je 0x4659b4
or ecx, 0xffffffff
mov dword [edi], 0x24
mov dword [ebp - 0x50], ecx
jmp 0x46654a
mov ecx, ebx
cmp ecx, dword [ebp - 0x54]
jae 0x4659be
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4659d0
mov ecx, ebx
cmp ecx, dword [ebp - 0x54]
jae 0x465a0e
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x465a20
mov ecx, ebx
cmp ecx, dword [ebp - 0x54]
jae 0x465a59
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x465a6b
mov eax, ebx
cmp eax, dword [ebp - 0x54]
jae 0x465a97
mov al, byte [eax]
inc ebx
mov byte [edi + ecx + 0x2920], al
inc ecx
mov dword [ebp - 0x4c], ebx
jmp 0x465a43
mov ecx, ebx
cmp ecx, dword [ebp - 0x54]
jae 0x465b0d
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x465b1f
mov ecx, ebx
cmp ecx, dword [ebp - 0x54]
jae 0x465ca9
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x465cbb
mov ecx, ebx
cmp ecx, dword [ebp - 0x54]
jae 0x465d49
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x465d5b
mov ecx, ebx
cmp ecx, dword [ebp - 0x54]
jae 0x4660df
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4660f1
mov ecx, ebx
cmp ecx, dword [ebp - 0x54]
jae 0x46619e
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4661b0
mov ecx, ebx
cmp ecx, dword [ebp - 0x54]
jae 0x465612
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x465624
mov ecx, ebx
cmp ecx, dword [ebp - 0x54]
jae 0x4656f8
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x46570a
mov ecx, ebx
cmp ecx, dword [ebp - 0x54]
jae 0x4657c5
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4657d7
mov ecx, ebx
cmp ecx, dword [ebp - 0x54]
jae 0x465870
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x465882
mov eax, dword [ebp - 0x8c]
cmp dword [ebp - 0x58], eax
jae 0x4663b8
mov eax, dword [ebp - 0x90]
sub eax, dword [ebp - 0x70]
and eax, dword [ebp - 0x84]
mov edi, dword [ebp + 0xc]
mov al, byte [eax + edi]
mov edi, dword [ebp - 0x58]
inc dword [ebp - 0x58]
inc dword [ebp - 0x90]
mov byte [edi], al
mov edi, dword [ebp - 0x5c]
mov eax, ecx
dec ecx
mov dword [ebp - 0x48], ecx
test eax, eax
jne case.0x4651a4.53
jmp 0x465467
mov al, byte [edi + 1]
mov edi, dword [ebp - 0x58]
mov byte [edi + 1], al
add dword [ebp - 0x58], ecx
mov edi, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x54]
sub ecx, ebx
cmp ecx, 4
jl 0x465580
mov eax, dword [ebp - 0x8c]
sub eax, dword [ebp - 0x58]
mov edi, dword [ebp - 0x5c]
cmp eax, 2
jl 0x465580
cmp esi, 0xf
jae 0x4654a1
movzx eax, word [ebx]
mov ecx, esi
shl eax, cl
add ebx, 2
or edx, eax
mov dword [ebp - 0x4c], ebx
add esi, 0x10
mov eax, edx
and eax, 0x3ff
movsx eax, word [edi + eax*2 + 0x160]
mov dword [ebp - 0x48], eax
test eax, eax
js 0x4654be
mov ecx, eax
sar ecx, 9
jmp 0x4654e4
mov ebx, dword [ebp - 0x48]
mov ecx, 0xa
mov eax, edx
not ebx
shr eax, cl
inc ecx
and eax, 1
add eax, ebx
movsx ebx, word [edi + eax*2 + 0x960]
test ebx, ebx
js 0x4654c6
mov dword [ebp - 0x48], ebx
mov ebx, dword [ebp - 0x4c]
shr edx, cl
sub esi, ecx
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x60], edx
test ecx, 0x100
jne 0x4656bd
cmp esi, 0xf
jae 0x465511
movzx eax, word [ebx]
mov ecx, esi
shl eax, cl
add ebx, 2
or edx, eax
mov dword [ebp - 0x4c], ebx
add esi, 0x10
mov eax, edx
and eax, 0x3ff
movsx eax, word [edi + eax*2 + 0x160]
mov dword [ebp - 0x6c], eax
test eax, eax
js 0x46552e
mov ecx, eax
sar ecx, 9
jmp 0x465554
mov ebx, dword [ebp - 0x6c]
mov ecx, 0xa
mov eax, edx
not ebx
shr eax, cl
inc ecx
and eax, 1
add eax, ebx
movsx ebx, word [edi + eax*2 + 0x960]
test ebx, ebx
js 0x465536
mov dword [ebp - 0x6c], ebx
mov ebx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
sub esi, ecx
shr edx, cl
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x60], edx
mov byte [ecx], al
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x6c]
test ecx, 0x100
jne 0x4656ba
add dword [ebp - 0x58], 2
mov byte [eax], cl
jmp 0x465467
cmp esi, 0xf
jae 0x4655af
cmp ecx, 2
jge 0x465641
mov eax, edx
and eax, 0x3ff
movsx edi, word [edi + eax*2 + 0x160]
test edi, edi
js 0x4655db
sar edi, 9
test edi, edi
je 0x46560a
cmp esi, edi
jb 0x46560a
mov edi, dword [ebp - 0x5c]
mov eax, edx
and eax, 0x3ff
movsx eax, word [edi + eax*2 + 0x160]
mov dword [ebp - 0x48], eax
test eax, eax
js 0x465667
mov ecx, eax
sar ecx, 9
and eax, 0x1ff
mov dword [ebp - 0x48], eax
jmp 0x46568e
cmp esi, 0xa
jbe 0x46560a
mov ecx, 0xa
mov ebx, dword [ebp - 0x5c]
mov eax, edx
shr eax, cl
not edi
and eax, 1
inc ecx
add eax, edi
movsx edi, word [ebx + eax*2 + 0x960]
mov ebx, dword [ebp - 0x4c]
test edi, edi
jns 0x4655ac
lea eax, [ecx + 1]
cmp esi, eax
jae 0x4655e5
cmp ebx, dword [ebp - 0x54]
jb 0x465620
mov edi, dword [ebp - 0x5c]
test byte [ebp - 0x68], 2
jne 0x466265
xor eax, eax
jmp 0x465627
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x4c], ebx
mov edi, dword [ebp - 0x5c]
mov ecx, esi
shl eax, cl
add esi, 8
or edx, eax
cmp esi, 0xf
jb 0x46558e
jmp 0x4655af
movzx edx, byte [ebx + 1]
lea ecx, [esi + 8]
movzx eax, byte [ebx]
add ebx, 2
shl edx, cl
mov ecx, esi
shl eax, cl
or edx, eax
mov dword [ebp - 0x4c], ebx
or dword [ebp - 0x60], edx
add esi, 0x10
mov edx, dword [ebp - 0x60]
jmp 0x4655af
mov ebx, dword [ebp - 0x48]
mov ecx, 0xa
nop
mov eax, edx
not ebx
shr eax, cl
inc ecx
and eax, 1
add eax, ebx
movsx ebx, word [edi + eax*2 + 0x960]
test ebx, ebx
js 0x465670
mov dword [ebp - 0x48], ebx
mov ebx, dword [ebp - 0x4c]
shr edx, cl
sub esi, ecx
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x60], edx
cmp ecx, 0x100
jae 0x4656bd
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x8c]
jae 0x466278
mov byte [eax], cl
inc eax
mov dword [ebp - 0x58], eax
jmp 0x465467
mov dword [ebp - 0x58], eax
and ecx, 0x1ff
mov dword [ebp - 0x48], ecx
cmp ecx, 0x100
je 0x4659aa
lea eax, [ecx*4 - 0x404]
mov ecx, dword [eax + 0x508c70]
mov eax, dword [eax + 0x508a70]
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x48], eax
test ecx, ecx
je 0x465731
cmp esi, ecx
jae 0x46571d
cmp ebx, dword [ebp - 0x54]
jb 0x465706
test byte [ebp - 0x68], 2
jne 0x46628b
xor eax, eax
jmp 0x46570d
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x4c], ebx
mov ecx, esi
add esi, 8
shl eax, cl
mov ecx, dword [ebp - 0x7c]
or edx, eax
cmp esi, ecx
jb 0x4656f3
mov eax, 1
sub esi, ecx
shl eax, cl
dec eax
and eax, edx
shr edx, cl
add dword [ebp - 0x48], eax
mov dword [ebp - 0x60], edx
cmp esi, 0xf
jae 0x465765
mov eax, dword [ebp - 0x54]
sub eax, ebx
cmp eax, 2
jge 0x4657f4
mov eax, edx
and eax, 0x3ff
movsx edi, word [edi + eax*2 + 0xf00]
test edi, edi
js 0x46578e
sar edi, 9
test edi, edi
je 0x4657bd
cmp esi, edi
jb 0x4657bd
mov edi, dword [ebp - 0x5c]
mov eax, edx
and eax, 0x3ff
movsx eax, word [edi + eax*2 + 0xf00]
mov dword [ebp - 0x6c], eax
test eax, eax
js 0x46581a
mov ecx, eax
sar ecx, 9
and eax, 0x1ff
jmp 0x465843
cmp esi, 0xa
jbe 0x4657bd
mov ecx, 0xa
mov ebx, dword [ebp - 0x5c]
mov eax, edx
shr eax, cl
not edi
and eax, 1
inc ecx
add eax, edi
movsx edi, word [ebx + eax*2 + 0x1700]
mov ebx, dword [ebp - 0x4c]
test edi, edi
jns 0x465762
lea eax, [ecx + 1]
cmp esi, eax
jae 0x465798
cmp ebx, dword [ebp - 0x54]
jb 0x4657d3
mov edi, dword [ebp - 0x5c]
test byte [ebp - 0x68], 2
jne 0x46629e
xor eax, eax
jmp 0x4657da
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x4c], ebx
mov edi, dword [ebp - 0x5c]
mov ecx, esi
shl eax, cl
add esi, 8
or edx, eax
cmp esi, 0xf
jb 0x465744
jmp 0x465765
movzx edx, byte [ebx + 1]
lea ecx, [esi + 8]
movzx eax, byte [ebx]
add ebx, 2
shl edx, cl
mov ecx, esi
shl eax, cl
or edx, eax
mov dword [ebp - 0x4c], ebx
or dword [ebp - 0x60], edx
add esi, 0x10
mov edx, dword [ebp - 0x60]
jmp 0x465765
mov ebx, dword [ebp - 0x6c]
mov ecx, 0xa
mov eax, edx
not ebx
shr eax, cl
inc ecx
and eax, 1
add eax, ebx
movsx ebx, word [edi + eax*2 + 0x1700]
test ebx, ebx
js 0x465822
mov dword [ebp - 0x6c], ebx
mov ebx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x6c]
shr edx, cl
sub esi, ecx
mov ecx, dword [eax*4 + 0x508b70]
mov dword [ebp - 0x7c], ecx
cmp dword [ebp - 0x7c], 0
mov ecx, dword [eax*4 + 0x508af0]
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x70], ecx
je 0x4658ae
mov ecx, dword [ebp - 0x7c]
cmp esi, ecx
jae 0x465895
cmp ebx, dword [ebp - 0x54]
jb 0x46587e
test byte [ebp - 0x68], 2
jne 0x4662b1
xor eax, eax
jmp 0x465885
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x4c], ebx
mov ecx, esi
add esi, 8
shl eax, cl
mov ecx, dword [ebp - 0x7c]
or edx, eax
cmp esi, ecx
jb 0x46586b
mov eax, 1
sub esi, ecx
shl eax, cl
dec eax
and eax, edx
shr edx, cl
mov ecx, dword [ebp - 0x70]
add ecx, eax
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x70], ecx
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp + 0xc]
mov dword [ebp - 0x90], eax
cmp ecx, eax
jbe 0x4658cb
cmp dword [ebp - 0x9c], 0
jne case.0x4651a4.37
mov edi, eax
sub edi, ecx
mov ecx, dword [ebp - 0x48]
and edi, dword [ebp - 0x84]
add edi, dword [ebp + 0xc]
cmp dword [ebp - 0x58], edi
mov eax, edi
cmova eax, dword [ebp - 0x58]
add eax, ecx
cmp eax, dword [ebp - 0x8c]
ja 0x465449
cmp ecx, 9
jb 0x465958
cmp ecx, dword [ebp - 0x70]
ja 0x465958
mov edx, dword [ebp - 0x58]
mov eax, ecx
and eax, 0xfffffff8
add eax, edi
mov dword [ebp - 0x80], eax
mov ecx, eax
nop dword [eax + eax]
mov eax, dword [edi]
mov dword [edx], eax
mov eax, dword [edi + 4]
add edi, 8
mov dword [edx + 4], eax
add edx, 8
cmp edi, ecx
jb 0x465910
mov ecx, dword [ebp - 0x48]
and ecx, 7
mov dword [ebp - 0x58], edx
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x48], ecx
cmp ecx, 3
jae 0x465958
test ecx, ecx
je 0x465464
mov ebx, dword [ebp - 0x58]
mov al, byte [edi]
mov byte [ebx], al
mov ebx, dword [ebp - 0x4c]
cmp ecx, 1
jbe 0x465461
jmp 0x465458
mov ebx, dword [ebp - 0x58]
nop dword [eax + eax]
movzx eax, byte [edi]
lea edi, [edi + 3]
mov byte [ebx], al
sub ecx, 3
movzx eax, byte [edi - 2]
mov byte [ebx + 1], al
movzx eax, byte [edi - 1]
mov byte [ebx + 2], al
add ebx, 3
cmp ecx, 2
jg 0x465960
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x4c]
mov dword [ebp - 0x48], ecx
test ecx, ecx
jle 0x465464
mov ebx, dword [ebp - 0x58]
mov al, byte [edi]
mov byte [ebx], al
mov ebx, dword [ebp - 0x4c]
cmp ecx, 1
jle 0x465461
jmp 0x465458
test byte [edi + 0x14], 1
jne 0x46639e
cmp esi, 3
jae 0x4659e1
cmp ebx, dword [ebp - 0x54]
jb 0x4659cc
test byte [ebp - 0x68], 2
jne 0x4662c4
xor eax, eax
jmp 0x4659d3
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x4c], ebx
mov ecx, esi
add esi, 8
shl eax, cl
or edx, eax
cmp esi, 3
jb 0x4659b9
mov eax, edx
sub esi, 3
and eax, 7
shr edx, 3
mov dword [edi + 0x14], eax
shr eax, 1
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x6c], esi
mov dword [edi + 0x18], eax
jne 0x465c05
mov eax, esi
and eax, 7
cmp esi, eax
jae 0x465a35
cmp ebx, dword [ebp - 0x54]
jb 0x465a1c
test byte [ebp - 0x68], 2
jne 0x466323
xor eax, eax
jmp 0x465a23
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x4c], ebx
mov ecx, esi
add esi, 8
shl eax, cl
or edx, eax
mov eax, esi
and eax, 7
cmp esi, eax
jb 0x465a09
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
mov dword [ebp - 0x60], edx
xor ecx, ecx
mov dword [ebp - 0x48], ecx
cmp ecx, 4
jae 0x465abc
test esi, esi
je 0x465a92
cmp esi, 8
jae 0x465a7f
cmp ebx, dword [ebp - 0x54]
jb 0x465a67
test byte [ebp - 0x68], 2
jne 0x466336
xor eax, eax
jmp 0x465a6e
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x4c], ebx
mov ecx, esi
add esi, 8
shl eax, cl
or edx, eax
cmp esi, 8
jb 0x465a54
mov ecx, dword [ebp - 0x48]
mov byte [edi + ecx + 0x2920], dl
sub esi, 8
shr edx, 8
inc ecx
mov dword [ebp - 0x60], edx
jmp 0x465a43
cmp ebx, dword [ebp - 0x54]
jb 0x465aac
test byte [ebp - 0x68], 2
jne 0x466349
mov byte [edi + ecx + 0x2920], 0
inc ecx
jmp 0x465a43
mov al, byte [ebx]
inc ebx
mov byte [edi + ecx + 0x2920], al
inc ecx
mov dword [ebp - 0x4c], ebx
jmp 0x465a43
movzx ecx, byte [edi + 0x2921]
movzx eax, byte [edi + 0x2920]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x2922]
mov dword [ebp - 0x48], ecx
movzx ecx, byte [edi + 0x2923]
shl ecx, 8
or ecx, eax
xor ecx, 0xffff
cmp dword [ebp - 0x48], ecx
jne case.0x4651a4.39
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x4659aa
test esi, esi
je case.0x4651a4.9
cmp esi, 8
jae 0x465b33
cmp ebx, dword [ebp - 0x54]
jb 0x465b1b
test byte [ebp - 0x68], 2
jne 0x466378
xor eax, eax
jmp 0x465b22
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x4c], ebx
mov ecx, esi
add esi, 8
shl eax, cl
or edx, eax
cmp esi, 8
jb 0x465b08
mov ecx, dword [ebp - 0x48]
movzx eax, dl
shr edx, 8
sub esi, 8
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x60], edx
jmp 0x465b47
mov eax, dword [ebp - 0x70]
mov edi, dword [ebp - 0x8c]
cmp dword [ebp - 0x58], edi
mov edi, dword [ebp - 0x5c]
jae 0x46638b
mov ebx, dword [ebp - 0x58]
inc dword [ebp - 0x58]
dec ecx
mov dword [ebp - 0x48], ecx
mov byte [ebx], al
mov ebx, dword [ebp - 0x4c]
jmp 0x465af7
mov ecx, dword [ebp - 0x8c]
cmp dword [ebp - 0x58], ecx
jb 0x465b91
mov edi, dword [ebp - 0x5c]
mov ecx, 2
mov dword [ebp - 0x50], ecx
mov dword [edi], 9
jmp 0x46654a
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x54]
cmp ebx, eax
jae 0x46635c
mov edx, dword [ebp - 0x58]
sub eax, ebx
mov edi, dword [ebp - 0x48]
sub ecx, edx
cmp ecx, eax
cmovae ecx, eax
cmp ecx, edi
cmovb edi, ecx
push edi
push ebx
push edx
call fcn.004b50a0
mov ecx, dword [ebp - 0x48]
add ebx, edi
mov eax, dword [ebp - 0x70]
sub ecx, edi
add dword [ebp - 0x58], edi
add esp, 0xc
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x90], eax
test ecx, ecx
jne case.0x4651a4.9
mov edi, dword [ebp - 0x5c]
jmp 0x4659aa
cmp eax, 3
je case.0x4651a4.10
cmp eax, 1
jne 0x465c8b
mov eax, dword [ebp - 0x5c]
add edi, 0x40
movaps xmm0, xmmword [0x5272a0]
push 0x90
push 8
mov dword [eax + 0x2c], 0x120
mov dword [eax + 0x30], 0x20
movups xmmword [eax + 0xde0], xmm0
push edi
movups xmmword [eax + 0xdf0], xmm0
call fcn.004b4cd0
push 0x70
add edi, 0x90
push 9
push edi
call fcn.004b4cd0
movaps xmm0, xmmword [str._a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_am_]
add esp, 0x18
movups xmmword [edi + 0x70], xmm0
movq qword [edi + 0x80], xmm0
mov dword [edi + 0x88], 0x8080808
mov dword [edi + 0x8c], 0x8080808
mov edi, dword [ebp - 0x5c]
jmp 0x465d9b
xor ecx, ecx
mov dword [ebp - 0x48], ecx
cmp ecx, 3
jae 0x465d1c
movsx eax, byte [ecx + 0x5271b0]
cmp esi, eax
jae 0x465cd8
cmp ebx, dword [ebp - 0x54]
jb 0x465cb7
test byte [ebp - 0x68], 2
jne 0x4662d7
xor eax, eax
jmp 0x465cbe
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x4c], ebx
mov ecx, esi
add esi, 8
shl eax, cl
mov ecx, dword [ebp - 0x48]
or edx, eax
mov dword [ebp - 0x60], edx
movsx eax, byte [ecx + 0x5271b0]
cmp esi, eax
jb 0x465ca4
mov cl, byte [ecx + 0x5271b0]
mov edx, 1
mov eax, dword [ebp - 0x60]
shl edx, cl
mov ecx, dword [ebp - 0x48]
dec edx
and edx, eax
mov dword [edi + ecx*4 + 0x2c], edx
movsx ecx, byte [ecx + 0x5271b0]
shr eax, cl
sub esi, ecx
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x6c], esi
mov eax, dword [ecx*4 + 0x508624]
add eax, edx
mov edx, dword [ebp - 0x60]
mov dword [edi + ecx*4 + 0x2c], eax
inc ecx
jmp 0x465c8d
push 0x120
lea eax, [edi + 0x1b80]
push 0
push eax
call fcn.004b4cd0
mov edx, dword [ebp - 0x60]
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x48], ecx
cmp ecx, dword [edi + 0x34]
jae 0x465d94
cmp esi, 3
jae 0x465d6c
cmp ebx, dword [ebp - 0x54]
jb 0x465d57
test byte [ebp - 0x68], 2
jne 0x4662ea
xor eax, eax
jmp 0x465d5e
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x4c], ebx
mov ecx, esi
add esi, 8
shl eax, cl
or edx, eax
cmp esi, 3
jb 0x465d44
mov eax, dword [ebp - 0x48]
mov ecx, edx
and ecx, 7
shr edx, 3
sub esi, 3
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x6c], esi
movzx eax, byte [eax + 0x508234]
mov byte [eax + edi + 0x1b80], cl
mov ecx, dword [ebp - 0x48]
inc ecx
jmp 0x465d37
mov dword [edi + 0x34], 0x13
mov eax, dword [edi + 0x18]
test eax, eax
js 0x46625d
imul eax, eax, 0xda0
push 0x40
push 0
add eax, 0x40
add eax, edi
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x44]
push eax
call fcn.004b4cd0
mov eax, dword [ebp - 0x50]
push 0xc80
add eax, 0x120
push 0
push eax
call fcn.004b4cd0
mov eax, dword [edi + 0x18]
add esp, 0x18
xor ecx, ecx
mov edx, dword [edi + eax*4 + 0x2c]
mov dword [ebp - 0x98], edx
test edx, edx
je 0x465e00
mov edi, dword [ebp - 0x50]
nop
movzx eax, byte [ecx + edi]
inc ecx
inc dword [ebp + eax*4 - 0x44]
cmp ecx, edx
jb 0x465df0
mov edi, dword [ebp - 0x5c]
xor ebx, ebx
mov edx, 4
xor ecx, ecx
mov dword [ebp - 0xe4], ecx
mov dword [ebp - 0xe8], ecx
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x78], ecx
nop
mov eax, dword [ebp + edx - 0x44]
add ecx, eax
add ecx, ecx
add ebx, eax
mov eax, dword [ebp + edx - 0x40]
add dword [ebp - 0x78], eax
mov dword [ebp + edx - 0xe4], ecx
add ecx, eax
mov eax, dword [ebp + edx - 0x3c]
add ecx, ecx
add dword [ebp - 0x88], eax
mov dword [ebp + edx - 0xe0], ecx
add ecx, eax
add ecx, ecx
mov dword [ebp + edx - 0xdc], ecx
add edx, 0xc
cmp edx, 0x3c
jbe 0x465e20
mov eax, dword [ebp - 0x88]
add eax, dword [ebp - 0x78]
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x80], ebx
mov ecx, dword [ebp - 0x80]
mov ebx, dword [ebp - 0x4c]
add ecx, eax
cmp dword [ebp - 0x94], 0x10000
je 0x465e8f
cmp ecx, 1
ja 0x4663fe
xor eax, eax
mov dword [ebp - 0x94], 0xffffffff
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x98], eax
jbe 0x466023
mov esi, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x50]
movzx edi, byte [eax + ecx]
xor edx, edx
test edi, edi
je 0x465ffe
mov ecx, dword [ebp + edi*4 - 0xe8]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x78], edi
lea eax, [ecx + 1]
mov dword [ebp + edi*4 - 0xe8], eax
nop dword [eax + eax]
mov eax, dword [ebp - 0x78]
and ecx, 1
mov ebx, dword [ebp - 0x84]
add edx, edx
or edx, ecx
dec eax
mov ecx, dword [ebp - 0x80]
shr ecx, 1
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x80], ecx
test eax, eax
jne 0x465ee0
cmp edi, 0xa
ja 0x465f74
mov eax, edi
mov dword [ebp - 0x84], ebx
shl eax, 9
or eax, dword [ebp - 0x88]
movzx eax, ax
mov dword [ebp - 0x94], eax
cmp edx, 0x400
jae 0x465ffb
mov ecx, edi
mov dword [ebp - 0x84], ebx
mov edi, dword [ebp - 0x94]
mov eax, 1
shl eax, cl
mov dword [ebp - 0x98], eax
add eax, eax
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x80]
lea eax, [eax + edx*2]
add eax, 0x120
nop
mov word [eax], di
add edx, ecx
add eax, ebx
cmp edx, 0x400
jb 0x465f60
jmp 0x465ffb
mov ecx, dword [ebp - 0x50]
mov eax, edx
and eax, 0x3ff
movsx ecx, word [ecx + eax*2 + 0x120]
test ecx, ecx
jne 0x465f9a
mov ecx, dword [ebp - 0x50]
mov word [ecx + eax*2 + 0x120], si
mov ecx, esi
sub esi, 2
shr edx, 9
mov dword [ebp - 0x84], ebx
cmp edi, 0xb
jbe 0x465fe3
mov dword [ebp - 0x84], ebx
add edi, 0xfffffff5
mov ebx, dword [ebp - 0x50]
shr edx, 1
mov eax, edx
and eax, 1
sub eax, ecx
movzx ecx, word [ebx + eax*2 + 0x91e]
test cx, cx
jne 0x465fd9
mov word [ebx + eax*2 + 0x91e], si
mov ecx, esi
sub esi, 2
jmp 0x465fdc
movsx ecx, cx
sub edi, 1
jne 0x465fb4
jmp 0x465fe6
mov ebx, dword [ebp - 0x50]
shr edx, 1
and edx, 1
sub edx, ecx
mov ecx, dword [ebp - 0x88]
mov word [ebx + edx*2 + 0x91e], cx
mov ecx, dword [ebp - 0x50]
mov edi, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x88]
inc edx
mov dword [ebp - 0x88], edx
mov eax, edx
mov ebx, dword [edi + 0x18]
cmp edx, dword [edi + ebx*4 + 0x2c]
jb 0x465eb6
mov esi, dword [ebp - 0x6c]
mov ebx, dword [ebp - 0x4c]
mov eax, dword [edi + 0x18]
cmp eax, 2
jne 0x466254
xor ecx, ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [edi + 0x30]
add eax, dword [edi + 0x2c]
mov ebx, dword [ebp - 0x4c]
mov dword [ebp - 0x48], ecx
cmp ecx, eax
jae 0x46621a
cmp esi, 0xf
jae 0x46607c
mov eax, dword [ebp - 0x54]
sub eax, ebx
cmp eax, 2
jge 0x46610e
mov eax, edx
and eax, 0x3ff
movsx edi, word [edi + eax*2 + 0x1ca0]
test edi, edi
js 0x4660a8
sar edi, 9
test edi, edi
je 0x4660d7
cmp esi, edi
jb 0x4660d7
mov edi, dword [ebp - 0x5c]
mov eax, edx
and eax, 0x3ff
movsx eax, word [edi + eax*2 + 0x1ca0]
mov dword [ebp - 0x70], eax
test eax, eax
js 0x466134
mov ecx, eax
sar ecx, 9
and eax, 0x1ff
mov dword [ebp - 0x70], eax
jmp 0x46615d
cmp esi, 0xa
jbe 0x4660d7
mov ecx, 0xa
mov ebx, dword [ebp - 0x5c]
mov eax, edx
shr eax, cl
not edi
and eax, 1
inc ecx
add eax, edi
movsx edi, word [ebx + eax*2 + 0x24a0]
mov ebx, dword [ebp - 0x4c]
test edi, edi
jns 0x466079
lea eax, [ecx + 1]
cmp esi, eax
jae 0x4660b2
cmp ebx, dword [ebp - 0x54]
jb 0x4660ed
mov edi, dword [ebp - 0x5c]
test byte [ebp - 0x68], 2
jne 0x4662fd
xor eax, eax
jmp 0x4660f4
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x4c], ebx
mov edi, dword [ebp - 0x5c]
mov ecx, esi
shl eax, cl
add esi, 8
or edx, eax
cmp esi, 0xf
jb 0x46605b
jmp 0x46607c
movzx edx, byte [ebx + 1]
lea ecx, [esi + 8]
movzx eax, byte [ebx]
add ebx, 2
shl edx, cl
mov ecx, esi
shl eax, cl
or edx, eax
mov dword [ebp - 0x4c], ebx
or dword [ebp - 0x60], edx
add esi, 0x10
mov edx, dword [ebp - 0x60]
jmp 0x46607c
mov ecx, 0xa
nop dword [eax]
not dword [ebp - 0x70]
mov eax, edx
shr eax, cl
inc ecx
and eax, 1
add eax, dword [ebp - 0x70]
movsx eax, word [edi + eax*2 + 0x24a0]
mov dword [ebp - 0x70], eax
test eax, eax
js 0x466140
shr edx, cl
sub esi, ecx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x6c], esi
cmp eax, 0x10
jae 0x46617c
mov ecx, dword [ebp - 0x48]
mov byte [edi + ecx + 0x2924], al
inc ecx
jmp 0x466034
jne 0x46618b
cmp dword [ebp - 0x48], 0
je case.0x4651a4.17
mov eax, dword [ebp - 0x70]
movsx ecx, byte [eax + 0x5271a4]
mov dword [ebp - 0x7c], ecx
cmp esi, ecx
jae 0x4661c6
cmp ebx, dword [ebp - 0x54]
jb 0x4661ac
test byte [ebp - 0x68], 2
jne 0x466310
xor eax, eax
jmp 0x4661b3
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x4c], ebx
mov ecx, esi
add esi, 8
shl eax, cl
mov ecx, dword [ebp - 0x7c]
or edx, eax
cmp esi, ecx
jb 0x466199
mov eax, dword [ebp - 0x70]
movsx eax, byte [eax + str.RogSoft]
mov edi, 1
shl edi, cl
sub esi, ecx
dec edi
mov dword [ebp - 0x6c], esi
and edi, edx
shr edx, cl
add edi, eax
mov dword [ebp - 0x60], edx
cmp dword [ebp - 0x70], 0x10
mov eax, dword [ebp - 0x48]
jne 0x4661f8
add eax, dword [ebp - 0x5c]
movzx edx, byte [eax + 0x2923]
jmp 0x4661fd
xor edx, edx
add eax, dword [ebp - 0x5c]
push edi
push edx
add eax, 0x2924
push eax
call fcn.004b4cd0
mov ecx, dword [ebp - 0x48]
add esp, 0xc
add ecx, edi
mov edi, dword [ebp - 0x5c]
jmp 0x466031
jne case.0x4651a4.21
mov eax, dword [edi + 0x2c]
push eax
lea eax, [edi + 0x2924]
push eax
lea eax, [edi + 0x40]
push eax
call fcn.004b50a0
mov eax, dword [edi + 0x2c]
push dword [edi + 0x30]
add eax, 0x2924
add eax, edi
push eax
lea eax, [edi + 0xde0]
push eax
call fcn.004b50a0
mov eax, dword [edi + 0x18]
add esp, 0x18
dec eax
mov dword [edi + 0x18], eax
jmp 0x465d9b
mov edx, dword [ebp - 0x60]
jmp 0x465467
mov ecx, 1
mov dword [edi], 0x17
mov dword [ebp - 0x50], ecx
jmp 0x46654a
mov ecx, 2
mov dword [edi], 0x18
mov dword [ebp - 0x50], ecx
jmp 0x46654a
mov ecx, 1
mov dword [edi], 0x19
mov dword [ebp - 0x50], ecx
jmp 0x46654a
mov ecx, 1
mov dword [edi], 0x1a
mov dword [ebp - 0x50], ecx
jmp 0x46654a
mov ecx, 1
mov dword [edi], 0x1b
mov dword [ebp - 0x50], ecx
jmp 0x46654a
mov ecx, 1
mov dword [edi], 3
mov dword [ebp - 0x50], ecx
jmp 0x46654a
mov ecx, 1
mov dword [edi], 0xb
mov dword [ebp - 0x50], ecx
jmp 0x46654a
mov ecx, 1
mov dword [edi], 0xe
mov dword [ebp - 0x50], ecx
jmp 0x46654a
mov ecx, 1
mov dword [edi], 0x10
mov dword [ebp - 0x50], ecx
jmp 0x46654a
mov ecx, 1
mov dword [edi], 0x12
mov dword [ebp - 0x50], ecx
jmp 0x46654a
mov ecx, 1
mov dword [edi], 5
mov dword [ebp - 0x50], ecx
jmp 0x46654a
mov ecx, 1
mov dword [edi], 6
mov dword [ebp - 0x50], ecx
jmp 0x46654a
mov ecx, 1
mov dword [edi], 7
mov dword [ebp - 0x50], ecx
jmp 0x46654a
test byte [ebp - 0x68], 2
mov edi, dword [ebp - 0x5c]
je case.0x4651a4.40
mov ecx, 1
mov dword [edi], 0x26
mov dword [ebp - 0x50], ecx
jmp 0x46654a
mov ecx, 1
mov dword [edi], 0x33
mov dword [ebp - 0x50], ecx
jmp 0x46654a
mov ecx, 2
mov dword [edi], 0x34
mov dword [ebp - 0x50], ecx
jmp 0x46654a
test byte [ebp - 0x68], 1
jne 0x466465
xor ecx, ecx
mov dword [edi], 0x22
mov dword [ebp - 0x50], ecx
jmp 0x46654a
mov ecx, 2
mov dword [edi], 0x35
mov dword [ebp - 0x50], ecx
jmp 0x46654a
or ecx, 0xffffffff
mov dword [edi], 0x27
mov dword [ebp - 0x50], ecx
jmp 0x46654a
or ecx, 0xffffffff
mov dword [edi], 0x28
mov dword [ebp - 0x50], ecx
jmp 0x46654a
or ecx, 0xffffffff
mov dword [edi], 0xa
mov dword [ebp - 0x50], ecx
jmp 0x46654a
mov edx, dword [ebp - 0x60]
or ecx, 0xffffffff
mov dword [edi], 0x23
mov dword [ebp - 0x50], ecx
jmp 0x46654a
or ecx, 0xffffffff
mov dword [edi], 0x11
mov dword [ebp - 0x50], ecx
jmp 0x46654a
or ecx, 0xffffffff
mov dword [edi], 0x15
mov dword [ebp - 0x50], ecx
jmp 0x46654a
or ecx, 0xffffffff
mov dword [edi], 0x25
mov dword [ebp - 0x50], ecx
jmp 0x46654a
mov ecx, ebx
cmp ecx, dword [ebp - 0x54]
jae 0x466454
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x46645c
test byte [ebp - 0x68], 2
jne 0x466486
xor eax, eax
mov ecx, esi
shl eax, cl
or edx, eax
add esi, 8
mov eax, esi
and eax, 7
cmp esi, eax
jae 0x466479
cmp ebx, dword [ebp - 0x54]
jae 0x466454
movzx eax, byte [ebx]
inc ebx
jmp 0x46645c
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
xor ecx, ecx
jmp 0x4664d2
mov ecx, 1
mov dword [edi], 0x20
mov dword [ebp - 0x50], ecx
jmp 0x46654a
mov ecx, ebx
cmp ecx, dword [ebp - 0x54]
jae 0x4664ec
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4664fa
mov eax, ebx
cmp eax, dword [ebp - 0x54]
jae 0x4664b8
movzx eax, byte [eax]
inc ebx
mov dword [ebp - 0x6c], eax
jmp 0x4664c5
test byte [ebp - 0x68], 2
jne 0x466537
mov dword [ebp - 0x6c], 0
mov eax, dword [edi + 0x10]
shl eax, 8
or eax, dword [ebp - 0x6c]
inc ecx
mov dword [edi + 0x10], eax
mov dword [ebp - 0x48], ecx
cmp ecx, 4
jae case.0x4651a4.34
test esi, esi
je 0x466519
cmp esi, 8
jae 0x46650b
cmp ebx, dword [ebp - 0x54]
jb 0x4664f6
test byte [ebp - 0x68], 2
jne 0x466527
xor eax, eax
jmp 0x4664fa
movzx eax, byte [ebx]
inc ebx
mov ecx, esi
add esi, 8
shl eax, cl
or edx, eax
cmp esi, 8
jb 0x4664e7
mov ecx, dword [ebp - 0x48]
movzx eax, dl
shr edx, 8
sub esi, 8
mov dword [ebp - 0x6c], eax
jmp 0x4664c5
cmp ebx, dword [ebp - 0x54]
jae 0x4664b8
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x6c], eax
jmp 0x4664c5
mov ecx, 1
mov dword [edi], 0x29
mov dword [ebp - 0x50], ecx
jmp 0x46654a
mov ecx, 1
mov dword [edi], 0x2a
mov dword [ebp - 0x50], ecx
jmp 0x46654a
or ecx, 0xffffffff
mov eax, dword [ebp - 0x70]
sub ebx, dword [ebp - 0x64]
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0x48]
mov dword [edi + 0x24], eax
mov eax, dword [ebp - 0x7c]
mov dword [edi + 0x28], eax
mov eax, dword [ebp - 0x90]
mov dword [edi + 0x3c], eax
mov eax, dword [ebp - 0xa4]
mov dword [edi + 0x38], edx
mov edx, dword [ebp - 0x58]
sub edx, dword [ebp - 0x74]
mov dword [edi + 4], esi
mov dword [eax], ebx
mov eax, dword [ebp - 0xa0]
mov ebx, dword [ebp - 0x68]
mov dword [ebp - 0x58], edx
mov dword [eax], edx
test bl, 9
je 0x466711
test ecx, ecx
js 0x466711
mov esi, dword [edi + 0x1c]
mov eax, 0x5e6ea9af
mul edx
movzx ecx, si
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, dword [ebp - 0x58]
shr esi, 0x10
mov dword [ebp - 0x78], esi
sub edx, eax
cmp dword [ebp - 0x58], 0
mov dword [ebp - 0x6c], edx
je 0x4666f2
nop dword [eax]
xor ebx, ebx
cmp edx, 7
jbe 0x46664d
mov eax, dword [ebp - 0x74]
mov edi, 7
sub edi, eax
movzx eax, byte [eax]
add ebx, 8
add ecx, eax
mov eax, dword [ebp - 0x74]
add esi, ecx
movzx eax, byte [eax + 1]
add ecx, eax
mov eax, dword [ebp - 0x74]
add esi, ecx
movzx eax, byte [eax + 2]
add ecx, eax
mov eax, dword [ebp - 0x74]
add esi, ecx
movzx eax, byte [eax + 3]
add ecx, eax
mov eax, dword [ebp - 0x74]
add esi, ecx
movzx eax, byte [eax + 4]
add ecx, eax
mov eax, dword [ebp - 0x74]
add esi, ecx
movzx eax, byte [eax + 5]
add ecx, eax
mov eax, dword [ebp - 0x74]
add esi, ecx
movzx eax, byte [eax + 6]
add ecx, eax
mov eax, dword [ebp - 0x74]
add esi, ecx
movzx eax, byte [eax + 7]
add ecx, eax
mov eax, dword [ebp - 0x74]
add eax, 8
add esi, ecx
mov dword [ebp - 0x74], eax
add eax, edi
cmp eax, edx
mov eax, dword [ebp - 0x74]
jb 0x4665e1
mov dword [ebp - 0x78], esi
xor edi, edi
cmp ebx, edx
jae 0x4666b1
mov eax, edx
sub eax, ebx
cmp eax, 2
jb 0x46669c
mov esi, dword [ebp - 0x74]
sub edx, ebx
sub edx, 2
shr edx, 1
inc edx
lea eax, [ebx + edx*2]
mov ebx, edi
mov dword [ebp - 0x98], eax
movzx eax, byte [esi]
add ecx, eax
movzx eax, byte [esi + 1]
add ebx, ecx
add esi, 2
add ecx, eax
add edi, ecx
sub edx, 1
jne 0x466672
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x74], esi
mov esi, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x6c]
jae 0x4666ac
jmp 0x46669e
mov ebx, edi
mov edx, dword [ebp - 0x74]
movzx eax, byte [edx]
add ecx, eax
add esi, ecx
inc edx
mov dword [ebp - 0x74], edx
lea eax, [ebx + edi]
add esi, eax
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
mov eax, 0x80078071
mul esi
shr edx, 0xf
imul eax, edx, 0xffff000f
mov edx, dword [ebp - 0x6c]
add esi, eax
sub dword [ebp - 0x58], edx
mov edx, 0x15b0
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x6c], edx
jne 0x4665d0
mov edi, dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x68]
shl esi, 0x10
add esi, ecx
mov ecx, dword [ebp - 0x50]
mov dword [edi + 0x1c], esi
test ecx, ecx
jne 0x466711
test bl, 1
je 0x466711
cmp esi, dword [edi + 0x10]
mov eax, 0xfffffffe
cmovne ecx, eax
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b323e
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [eax], 0
xor ecx, ebp
mov eax, dword [ebp - 0xa4]
pop ebx
mov dword [eax], 0
mov eax, 0xfffffffd
call fcn.004b323e
mov esp, ebp
pop ebp
ret