Function at 0x4efaa0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x52e098]
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
push edi
mov edi, ecx
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [eax]
add eax, edx
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xa0], eax
mov ecx, dword [ecx]
mov dword [ebp - 0xa8], edx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x90], edi
lea eax, [esi + ecx]
mov dword [ebp - 0xac], esi
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0x18]
and eax, 4
mov dword [ebp - 0x98], 0xffffffff
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xb8], eax
je 0x4efb22
or ecx, 0xffffffff
jmp 0x4efb29
mov eax, esi
dec ecx
sub eax, edx
add ecx, eax
lea eax, [ecx + 1]
mov dword [ebp - 0xc4], ecx
test ecx, eax
jne 0x4f14fe
cmp esi, edx
jb 0x4f14fe
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x38]
mov ecx, dword [edi + 0x24]
mov esi, dword [edi + 4]
mov dword [ebp - 0xb4], eax
mov eax, dword [edi + 0x28]
mov dword [ebp - 0xc0], eax
mov eax, dword [edi + 0x3c]
mov dword [ebp - 0xd0], eax
mov eax, dword [edi]
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0x8c], ecx
cmp eax, 0x35
ja case.0x4efb84.4
movzx eax, byte [eax + 0x4f15b4]
jmp dword [eax*4 + 0x4f152c]
mov eax, dword [ebp + 0x18]
xor edx, edx
xor esi, esi
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0x9c], edx
mov dword [edi + 0x1c], 1
mov dword [edi + 0x10], 1
test al, 1
je 0x4f0522
mov ecx, dword [ebp - 0xa0]
cmp ebx, ecx
jae 0x4efc11
movzx eax, byte [ebx]
inc ebx
mov dword [edi + 8], eax
mov dword [ebp - 0x94], ebx
jmp 0x4efc2e
mov ecx, dword [ebp - 0xa0]
mov eax, ebx
cmp eax, ecx
jae 0x4efc0e
movzx eax, byte [eax]
inc ebx
mov dword [edi + 8], eax
mov dword [ebp - 0x94], ebx
jmp 0x4efc2e
mov eax, dword [ebp + 0x18]
test al, 2
je 0x4efc27
mov eax, 1
mov dword [ebp - 0x98], eax
mov dword [edi], eax
jmp 0x4f128f
mov dword [edi + 8], 0
cmp ebx, ecx
jae 0x4efc5c
movzx eax, byte [ebx]
inc ebx
mov dword [edi + 0xc], eax
mov dword [ebp - 0x94], ebx
jmp 0x4efc7f
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4efc5c
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
mov dword [edi + 0xc], eax
mov dword [ebp - 0x94], ebx
jmp 0x4efc7f
test byte [ebp + 0x18], 2
je 0x4efc78
mov eax, 1
mov dword [edi], 2
mov dword [ebp - 0x98], eax
jmp 0x4f128f
mov dword [edi + 0xc], 0
mov eax, dword [ebp - 0x90]
xor edx, edx
mov edi, dword [edi + 8]
mov dword [ebp - 0xbc], 0x1f
mov ecx, dword [eax + 0xc]
mov eax, edi
shl eax, 8
add eax, ecx
div dword [ebp - 0xbc]
test edx, edx
jne 0x4efcb9
test cl, 0x20
jne 0x4efcb9
mov eax, edi
and al, 0xf
cmp al, 8
jne 0x4efcb9
xor ecx, ecx
jmp 0x4efcbe
mov ecx, 1
cmp dword [ebp - 0xb8], 0
mov dword [ebp - 0x8c], ecx
jne 0x4efd03
shr edi, 4
mov eax, 1
lea ecx, [edi + 8]
shl eax, cl
cmp eax, 0x8000
ja 0x4efcf0
mov ecx, dword [ebp - 0xc4]
inc ecx
cmp ecx, eax
jb 0x4efcf0
xor eax, eax
jmp 0x4efcf5
mov eax, 1
mov ecx, dword [ebp - 0x8c]
or ecx, eax
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x9c]
mov edi, dword [ebp - 0x90]
test ecx, ecx
je 0x4f0522
or eax, 0xffffffff
mov dword [edi], 0x24
mov dword [ebp - 0x98], eax
jmp 0x4f128f
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4f052f
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4f0541
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4f058b
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4f059d
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4f05e6
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4f05f8
mov eax, ebx
cmp eax, dword [ebp - 0xa0]
jae 0x4f0630
mov al, byte [eax]
inc ebx
mov byte [edi + ecx + 0x2920], al
inc ecx
mov dword [ebp - 0x94], ebx
jmp 0x4f05c6
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4f06bc
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4f06ce
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4f08d3
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4f08e5
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4f099c
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4f09ae
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4f0d1d
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4f0d2f
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4f0e2f
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4f0e41
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4f0079
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4f008b
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4f0198
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4f01aa
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4f0262
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4f0274
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4f0342
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4f0354
mov edi, dword [ebp - 0xb4]
jmp 0x4f03f2
mov eax, dword [ebp - 0xa4]
cmp eax, dword [ebp - 0xc8]
jae 0x4f10be
mov byte [eax], cl
inc eax
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa0]
sub ecx, ebx
cmp ecx, 4
jl 0x4f0000
mov eax, dword [ebp - 0xc8]
sub eax, dword [ebp - 0xa4]
mov edi, dword [ebp - 0x90]
cmp eax, 2
jl 0x4f0000
cmp esi, 0xf
jae 0x4efee7
movzx eax, word [ebx]
mov ecx, esi
shl eax, cl
add ebx, 2
or edx, eax
mov dword [ebp - 0x94], ebx
add esi, 0x10
mov eax, edx
and eax, 0x3ff
movsx eax, word [edi + eax*2 + 0x160]
mov dword [ebp - 0x8c], eax
test eax, eax
js 0x4eff07
mov ecx, eax
sar ecx, 9
jmp 0x4eff36
mov ebx, dword [ebp - 0x8c]
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 0x4eff12
mov dword [ebp - 0x8c], ebx
mov ebx, dword [ebp - 0x94]
shr edx, cl
sub esi, ecx
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x9c], edx
test ecx, 0x100
jne 0x4f0151
cmp esi, 0xf
jae 0x4eff6c
movzx eax, word [ebx]
mov ecx, esi
shl eax, cl
add ebx, 2
or edx, eax
mov dword [ebp - 0x94], ebx
add esi, 0x10
mov eax, edx
and eax, 0x3ff
movsx eax, word [edi + eax*2 + 0x160]
mov dword [ebp - 0xb0], eax
test eax, eax
js 0x4eff8c
mov ecx, eax
sar ecx, 9
jmp 0x4effb7
mov ebx, dword [ebp - 0xb0]
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 0x4eff97
mov dword [ebp - 0xb0], ebx
mov eax, ebx
mov ebx, dword [ebp - 0xa4]
sub esi, ecx
shr edx, cl
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x9c], edx
mov byte [ebx], cl
mov ebx, dword [ebp - 0x94]
test eax, 0x100
jne 0x4efff3
mov ecx, dword [ebp - 0xa4]
mov byte [ecx + 1], al
add ecx, 2
mov dword [ebp - 0xa4], ecx
jmp 0x4efea1
inc dword [ebp - 0xa4]
mov ecx, eax
jmp 0x4f0151
cmp esi, 0xf
jae 0x4f00db
cmp ecx, 2
jge 0x4f00ab
mov eax, edx
and eax, 0x3ff
movsx edi, word [edi + eax*2 + 0x160]
test edi, edi
js 0x4f0036
sar edi, 9
test edi, edi
je 0x4f006b
cmp esi, edi
jae 0x4f00d5
jmp 0x4f006b
cmp esi, 0xa
jbe 0x4f006b
mov ecx, 0xa
mov ebx, dword [ebp - 0x90]
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 - 0x94]
test edi, edi
jns 0x4f00d5
lea eax, [ecx + 1]
cmp esi, eax
jae 0x4f0040
cmp ebx, dword [ebp - 0xa0]
jb 0x4f0087
mov edi, dword [ebp - 0x90]
test byte [ebp + 0x18], 2
jne 0x4f0f1f
xor eax, eax
jmp 0x4f0091
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x94], ebx
mov edi, dword [ebp - 0x90]
mov ecx, esi
shl eax, cl
add esi, 8
or edx, eax
cmp esi, 0xf
jb 0x4f0012
jmp 0x4f00db
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 - 0x94], ebx
or dword [ebp - 0x9c], edx
add esi, 0x10
mov edx, dword [ebp - 0x9c]
mov edi, dword [ebp - 0x90]
mov eax, edx
and eax, 0x3ff
movsx eax, word [edi + eax*2 + 0x160]
mov dword [ebp - 0x8c], eax
test eax, eax
js 0x4f0106
mov ecx, eax
sar ecx, 9
and eax, 0x1ff
mov dword [ebp - 0x8c], eax
jmp 0x4f0135
mov ebx, dword [ebp - 0x8c]
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 0x4f0111
mov dword [ebp - 0x8c], ebx
mov ebx, dword [ebp - 0x94]
shr edx, cl
sub esi, ecx
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x9c], edx
cmp ecx, 0x100
jb case.0x4efb84.24
and ecx, 0x1ff
mov dword [ebp - 0x8c], ecx
cmp ecx, 0x100
je 0x4f0518
lea eax, [ecx*4 - 0x404]
mov ecx, dword [eax + 0x5242b0]
mov eax, dword [eax + 0x5240b0]
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0x8c], eax
test ecx, ecx
je 0x4f01dd
cmp esi, ecx
jae 0x4f01c3
cmp ebx, dword [ebp - 0xa0]
jb 0x4f01a6
test byte [ebp + 0x18], 2
jne 0x4f0f35
xor eax, eax
jmp 0x4f01b0
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x94], ebx
mov ecx, esi
add esi, 8
shl eax, cl
mov ecx, dword [ebp - 0xc0]
or edx, eax
cmp esi, ecx
jb 0x4f0190
mov eax, 1
sub esi, ecx
shl eax, cl
dec eax
and eax, edx
shr edx, cl
add dword [ebp - 0x8c], eax
mov dword [ebp - 0x9c], edx
cmp esi, 0xf
jae 0x4f02c4
mov eax, dword [ebp - 0xa0]
sub eax, ebx
cmp eax, 2
jge 0x4f0294
mov eax, edx
and eax, 0x3ff
movsx edi, word [edi + eax*2 + 0xf00]
test edi, edi
js 0x4f021b
sar edi, 9
test edi, edi
je 0x4f0254
cmp esi, edi
jae 0x4f02be
jmp 0x4f0254
cmp esi, 0xa
jbe 0x4f0254
mov ecx, 0xa
mov ebx, dword [ebp - 0x90]
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 - 0x94]
test edi, edi
jns 0x4f02be
lea eax, [ecx + 1]
cmp esi, eax
jae 0x4f0225
cmp ebx, dword [ebp - 0xa0]
jb 0x4f0270
mov edi, dword [ebp - 0x90]
test byte [ebp + 0x18], 2
jne 0x4f0f4b
xor eax, eax
jmp 0x4f027a
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x94], ebx
mov edi, dword [ebp - 0x90]
mov ecx, esi
shl eax, cl
add esi, 8
or edx, eax
cmp esi, 0xf
jb 0x4f01f7
jmp 0x4f02c4
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 - 0x94], ebx
or dword [ebp - 0x9c], edx
add esi, 0x10
mov edx, dword [ebp - 0x9c]
mov edi, dword [ebp - 0x90]
mov eax, edx
and eax, 0x3ff
movsx edi, word [edi + eax*2 + 0xf00]
test edi, edi
js 0x4f02e4
mov ecx, edi
sar ecx, 9
and edi, 0x1ff
jmp 0x4f030e
mov ebx, dword [ebp - 0x90]
mov ecx, 0xa
nop
mov eax, edx
not edi
shr eax, cl
inc ecx
and eax, 1
add eax, edi
movsx edi, word [ebx + eax*2 + 0x1700]
test edi, edi
js 0x4f02f0
mov ebx, dword [ebp - 0x94]
shr edx, cl
sub esi, ecx
mov ecx, dword [edi*4 + 0x5241b0]
mov edi, dword [edi*4 + 0x524130]
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0xb4], edi
test ecx, ecx
je 0x4f038f
cmp esi, ecx
jae 0x4f0373
cmp ebx, dword [ebp - 0xa0]
jb 0x4f0350
test byte [ebp + 0x18], 2
jne 0x4f0f61
xor eax, eax
jmp 0x4f035a
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x94], ebx
mov ecx, esi
add esi, 8
shl eax, cl
mov ecx, dword [ebp - 0xc0]
or edx, eax
cmp esi, ecx
jb 0x4f033a
mov edi, dword [ebp - 0xb4]
mov eax, 1
sub esi, ecx
shl eax, cl
dec eax
and eax, edx
shr edx, cl
add edi, eax
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0xb4], edi
mov ecx, dword [ebp - 0xa4]
mov eax, dword [ebp + 0xc]
sub ecx, eax
mov dword [ebp - 0xd0], ecx
cmp edi, ecx
jbe 0x4f03ae
test byte [ebp + 0x18], 4
jne 0x4f1158
mov ebx, dword [ebp - 0x94]
sub ecx, edi
and ecx, dword [ebp - 0xc4]
add ecx, eax
cmp dword [ebp - 0xa4], ecx
mov eax, ecx
cmova eax, dword [ebp - 0xa4]
add eax, dword [ebp - 0x8c]
cmp eax, dword [ebp - 0xc8]
jbe 0x4f0434
mov ecx, dword [ebp - 0x8c]
mov eax, ecx
dec ecx
mov dword [ebp - 0x8c], ecx
test eax, eax
je 0x4f04b9
mov eax, dword [ebp - 0xc8]
cmp dword [ebp - 0xa4], eax
jae 0x4f0f7d
mov eax, dword [ebp - 0xd0]
mov ebx, dword [ebp + 0xc]
sub eax, edi
and eax, dword [ebp - 0xc4]
mov al, byte [eax + ebx]
mov ebx, dword [ebp - 0xa4]
inc dword [ebp - 0xa4]
inc dword [ebp - 0xd0]
mov byte [ebx], al
mov ebx, dword [ebp - 0x94]
jmp 0x4f03e1
mov eax, dword [ebp - 0x8c]
cmp eax, 9
jb 0x4f04c4
cmp eax, edi
ja 0x4f04c4
mov edx, dword [ebp - 0xa4]
mov edi, eax
and edi, 0xfffffff8
add edi, ecx
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
add ecx, 8
mov dword [edx + 4], eax
add edx, 8
cmp ecx, edi
jb 0x4f0458
mov eax, dword [ebp - 0x8c]
and eax, 7
mov dword [ebp - 0xa4], edx
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0x8c], eax
cmp eax, 3
jae 0x4f04c4
test eax, eax
je 0x4f04b9
mov edi, dword [ebp - 0xa4]
mov al, byte [ecx]
mov byte [edi], al
mov eax, dword [ebp - 0x8c]
cmp eax, 1
jbe 0x4f04b1
mov al, byte [ecx + 1]
mov byte [edi + 1], al
mov eax, dword [ebp - 0x8c]
add edi, eax
mov dword [ebp - 0xa4], edi
mov edi, dword [ebp - 0x90]
jmp 0x4efea1
mov ebx, dword [ebp - 0x8c]
mov edi, dword [ebp - 0xa4]
movzx eax, byte [ecx]
lea ecx, [ecx + 3]
mov byte [edi], al
sub ebx, 3
movzx eax, byte [ecx - 2]
mov byte [edi + 1], al
movzx eax, byte [ecx - 1]
mov byte [edi + 2], al
add edi, 3
cmp ebx, 2
jg 0x4f04d0
mov dword [ebp - 0x8c], ebx
test ebx, ebx
mov ebx, dword [ebp - 0x94]
mov dword [ebp - 0xa4], edi
jle 0x4f04b9
mov al, byte [ecx]
mov byte [edi], al
mov eax, dword [ebp - 0x8c]
cmp eax, 1
jle 0x4f04b1
jmp 0x4f04a5
test byte [edi + 0x14], 1
jne 0x4f10a1
cmp esi, 3
jae 0x4f0555
cmp ebx, dword [ebp - 0xa0]
jb 0x4f053d
test byte [ebp + 0x18], 2
jne 0x4f0f99
xor eax, eax
jmp 0x4f0547
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x94], ebx
mov ecx, esi
add esi, 8
shl eax, cl
or edx, eax
cmp esi, 3
jb 0x4f0527
mov eax, edx
sub esi, 3
and eax, 7
shr edx, 3
mov dword [edi + 0x14], eax
shr eax, 1
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0xcc], esi
mov dword [edi + 0x18], eax
jne 0x4f07ec
mov eax, esi
and eax, 7
cmp esi, eax
jae 0x4f05b5
cmp ebx, dword [ebp - 0xa0]
jb 0x4f0599
test byte [ebp + 0x18], 2
jne 0x4f0faf
xor eax, eax
jmp 0x4f05a3
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x94], ebx
mov ecx, esi
add esi, 8
shl eax, cl
or edx, eax
mov eax, esi
and eax, 7
cmp esi, eax
jb 0x4f0583
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
mov dword [ebp - 0x9c], edx
xor ecx, ecx
mov dword [ebp - 0x8c], ecx
cmp ecx, 4
jae 0x4f065b
test esi, esi
je 0x4f0628
cmp esi, 8
jae 0x4f0612
cmp ebx, dword [ebp - 0xa0]
jb 0x4f05f4
test byte [ebp + 0x18], 2
jne 0x4f0fc5
xor eax, eax
jmp 0x4f05fe
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x94], ebx
mov ecx, esi
add esi, 8
shl eax, cl
or edx, eax
cmp esi, 8
jb 0x4f05de
mov ecx, dword [ebp - 0x8c]
mov byte [edi + ecx + 0x2920], dl
sub esi, 8
shr edx, 8
inc ecx
mov dword [ebp - 0x9c], edx
jmp 0x4f05c6
cmp ebx, dword [ebp - 0xa0]
jb 0x4f0645
test byte [ebp + 0x18], 2
jne 0x4f0fdb
mov byte [edi + ecx + 0x2920], 0
inc ecx
jmp 0x4f05c6
mov al, byte [ebx]
inc ebx
mov byte [edi + ecx + 0x2920], al
inc ecx
mov dword [ebp - 0x94], ebx
jmp 0x4f05c6
movzx ecx, byte [edi + 0x2921]
movzx eax, byte [edi + 0x2920]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x2922]
mov dword [ebp - 0x8c], ecx
movzx ecx, byte [edi + 0x2923]
shl ecx, 8
or ecx, eax
xor ecx, 0xffff
cmp dword [ebp - 0x8c], ecx
jne case.0x4efb84.39
mov ecx, dword [ebp - 0x8c]
test ecx, ecx
je 0x4f0518
test esi, esi
je 0x4f073d
cmp esi, 8
jae 0x4f06e8
cmp ebx, dword [ebp - 0xa0]
jb 0x4f06ca
test byte [ebp + 0x18], 2
jne 0x4f0ff1
xor eax, eax
jmp 0x4f06d4
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x94], ebx
mov ecx, esi
add esi, 8
shl eax, cl
or edx, eax
cmp esi, 8
jb 0x4f06b4
mov ecx, dword [ebp - 0x8c]
movzx eax, dl
shr edx, 8
sub esi, 8
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0x9c], edx
jmp 0x4f0705
mov eax, dword [ebp - 0xb4]
mov edi, dword [ebp - 0xc8]
cmp dword [ebp - 0xa4], edi
mov edi, dword [ebp - 0x90]
jae 0x4f1007
mov ebx, dword [ebp - 0xa4]
inc dword [ebp - 0xa4]
dec ecx
mov dword [ebp - 0x8c], ecx
mov byte [ebx], al
mov ebx, dword [ebp - 0x94]
jmp 0x4f069f
mov edx, dword [ebp - 0xa4]
test ecx, ecx
jne 0x4f075e
mov edx, dword [ebp - 0x9c]
mov edi, dword [ebp - 0x90]
jmp 0x4f0518
mov edx, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xc8]
cmp edx, ecx
jb 0x4f0796
mov edi, dword [ebp - 0x90]
mov eax, 2
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0x98], eax
mov dword [edi], 9
jmp 0x4f128f
mov edx, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xa0]
cmp ebx, eax
jae 0x4f101d
mov edi, dword [ebp - 0x8c]
sub ecx, edx
sub eax, ebx
cmp ecx, eax
cmovae ecx, eax
cmp ecx, edi
cmovb edi, ecx
push edi
push ebx
push edx
call fcn.004b6e70
mov edx, dword [ebp - 0xa4]
add ebx, edi
mov ecx, dword [ebp - 0x8c]
add edx, edi
add esp, 0xc
mov dword [ebp - 0x94], ebx
sub ecx, edi
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0x8c], ecx
jmp 0x4f0743
cmp eax, 3
je case.0x4efb84.10
cmp eax, 1
jne 0x4f08af
movaps xmm0, xmmword [0x524980]
lea eax, [edi + 0xd0]
mov dword [edi + 0x2c], 0x120
mov dword [edi + 0x30], 0x20
movups xmmword [edi + 0xde0], xmm0
movups xmmword [edi + 0xdf0], xmm0
movaps xmm0, xmmword [0x5249d0]
movups xmmword [edi + 0x40], xmm0
movups xmmword [edi + 0x50], xmm0
movups xmmword [edi + 0x60], xmm0
movups xmmword [edi + 0x70], xmm0
movups xmmword [edi + 0x80], xmm0
movups xmmword [edi + 0x90], xmm0
movups xmmword [edi + 0xa0], xmm0
movups xmmword [edi + 0xb0], xmm0
movups xmmword [edi + 0xc0], xmm0
movaps xmm0, xmmword [0x5249e0]
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
movups xmmword [eax + 0x20], xmm0
movups xmmword [eax + 0x30], xmm0
movups xmmword [eax + 0x40], xmm0
movups xmmword [eax + 0x50], xmm0
movups xmmword [eax + 0x60], xmm0
movaps xmm0, xmmword [str._a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_tE_n_t]
movups xmmword [eax + 0x70], xmm0
movq qword [eax + 0x80], xmm0
mov dword [eax + 0x88], 0x8080808
mov dword [eax + 0x8c], 0x8080808
jmp 0x4f09fd
xor ecx, ecx
mov dword [ebp - 0x8c], ecx
cmp ecx, 3
jae 0x4f0966
movsx eax, byte [ecx + 0x538848]
cmp esi, eax
jae 0x4f090b
cmp ebx, dword [ebp - 0xa0]
jb 0x4f08e1
test byte [ebp + 0x18], 2
jne 0x4f1049
xor eax, eax
jmp 0x4f08eb
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x94], ebx
mov ecx, esi
add esi, 8
shl eax, cl
mov ecx, dword [ebp - 0x8c]
or edx, eax
mov dword [ebp - 0x9c], edx
movsx eax, byte [ecx + 0x53884c]
cmp esi, eax
jb 0x4f08cb
lea edx, [edi + ecx*4]
mov eax, 1
movzx ecx, byte [ecx + 0x538850]
mov edi, dword [ebp - 0x9c]
shl eax, cl
dec eax
and eax, edi
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 0x8c]
movzx ecx, byte [eax + 0x538854]
shr edi, cl
mov ecx, eax
mov dword [ebp - 0x9c], edi
movsx eax, byte [ecx + 0x538858]
sub esi, eax
mov eax, dword [ecx*4 + 0x523c5c]
add dword [edx + 0x2c], eax
inc ecx
mov edx, edi
mov dword [ebp - 0xcc], esi
mov edi, dword [ebp - 0x90]
jmp 0x4f08b1
push 0x120
lea eax, [edi + 0x1b80]
push 0
push eax
call fcn.004b6aa0
mov edx, dword [ebp - 0x9c]
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x8c], ecx
cmp ecx, dword [edi + 0x34]
jae 0x4f09f6
cmp esi, 3
jae 0x4f09c2
cmp ebx, dword [ebp - 0xa0]
jb 0x4f09aa
test byte [ebp + 0x18], 2
jne 0x4f105f
xor eax, eax
jmp 0x4f09b4
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x94], ebx
mov ecx, esi
add esi, 8
shl eax, cl
or edx, eax
cmp esi, 3
jb 0x4f0994
mov eax, dword [ebp - 0x8c]
mov ecx, edx
and ecx, 7
shr edx, 3
sub esi, 3
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0xcc], esi
movzx eax, byte [eax + 0x5238f0]
mov byte [eax + edi + 0x1b80], cl
mov ecx, dword [ebp - 0x8c]
inc ecx
jmp 0x4f0984
mov dword [edi + 0x34], 0x13
mov eax, dword [edi + 0x18]
test eax, eax
js 0x4efea1
imul eax, eax, 0xda0
push 0x40
push 0
add eax, 0x40
add edi, eax
lea eax, [ebp - 0x88]
push eax
mov dword [ebp - 0x98], edi
call fcn.004b6aa0
push 0xc80
lea eax, [edi + 0x120]
push 0
push eax
call fcn.004b6aa0
mov edx, dword [ebp - 0x90]
add esp, 0x18
xor ecx, ecx
mov eax, dword [edx + 0x18]
mov edx, dword [edx + eax*4 + 0x2c]
mov dword [ebp - 0xbc], edx
test edx, edx
je 0x4f0a70
nop dword [eax + eax]
movzx eax, byte [ecx + edi]
inc ecx
inc dword [ebp + eax*4 - 0x88]
cmp ecx, edx
jb 0x4f0a60
xor edi, edi
mov edx, 4
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xb8], ecx
nop dword [eax + eax]
mov eax, dword [ebp + edx - 0x88]
add ecx, eax
add ecx, ecx
add edi, eax
mov eax, dword [ebp + edx - 0x84]
add dword [ebp - 0xb8], eax
mov dword [ebp + edx - 0x44], ecx
add ecx, eax
mov eax, dword [ebp + edx - 0x80]
add ecx, ecx
add dword [ebp - 0xb0], eax
mov dword [ebp + edx - 0x40], ecx
add ecx, eax
add ecx, ecx
mov dword [ebp + edx - 0x3c], ecx
add edx, 0xc
cmp edx, 0x3c
jbe 0x4f0a90
mov eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0xb8]
add edi, eax
cmp ecx, 0x10000
je 0x4f0aef
cmp edi, 1
ja 0x4f1110
cmp dword [ebp - 0xbc], 0
mov edi, dword [ebp - 0x90]
mov dword [ebp - 0xb0], 0xffffffff
mov dword [ebp - 0xb8], 0
jbe 0x4f0bcb
mov ebx, dword [ebp - 0x98]
mov esi, dword [ebp - 0xb8]
movzx ecx, byte [esi + ebx]
xor edx, edx
mov dword [ebp - 0xbc], ecx
test ecx, ecx
je 0x4f0bab
mov edi, dword [ebp + ecx*4 - 0x48]
mov ebx, ecx
lea eax, [edi + 1]
mov dword [ebp + ecx*4 - 0x48], eax
mov ecx, edi
add edx, edx
and ecx, 1
shr edi, 1
or edx, ecx
sub ebx, 1
jne 0x4f0b43
mov ecx, dword [ebp - 0xbc]
cmp ecx, 0xa
ja 0x4f0c3a
mov eax, ecx
shl eax, 9
or eax, esi
movzx ebx, ax
cmp edx, 0x400
jae 0x4f0b9f
mov eax, dword [ebp - 0x98]
mov edi, 1
shl edi, cl
lea eax, [eax + edx*2]
lea ecx, [edi + edi]
add eax, 0x120
nop dword [eax]
mov word [eax], bx
add edx, edi
add eax, ecx
cmp edx, 0x400
jb 0x4f0b90
mov ebx, dword [ebp - 0x98]
mov edi, dword [ebp - 0x90]
mov eax, dword [edi + 0x18]
inc esi
mov dword [ebp - 0xb8], esi
cmp esi, dword [edi + eax*4 + 0x2c]
jb 0x4f0b22
mov esi, dword [ebp - 0xcc]
mov ebx, dword [ebp - 0x94]
cmp dword [edi + 0x18], 2
jne 0x4f0f11
xor ecx, ecx
mov edx, dword [ebp - 0x9c]
mov eax, dword [edi + 0x30]
add eax, dword [edi + 0x2c]
mov dword [ebp - 0x8c], ecx
cmp ecx, eax
jae 0x4f0ecf
cmp esi, 0xf
jae 0x4f0d7f
mov eax, dword [ebp - 0xa0]
sub eax, ebx
cmp eax, 2
jge 0x4f0d4f
mov eax, edx
and eax, 0x3ff
movsx edi, word [edi + eax*2 + 0x1ca0]
test edi, edi
js 0x4f0cd5
sar edi, 9
test edi, edi
je 0x4f0d0f
cmp esi, edi
jae 0x4f0d79
jmp 0x4f0d0f
mov ebx, dword [ebp - 0x98]
mov eax, edx
mov edi, dword [ebp - 0xb0]
and eax, 0x3ff
movsx ecx, word [ebx + eax*2 + 0x120]
test ecx, ecx
jne 0x4f0c6c
mov word [ebx + eax*2 + 0x120], di
mov ecx, edi
sub edi, 2
mov dword [ebp - 0xb0], edi
mov eax, dword [ebp - 0xbc]
shr edx, 9
cmp eax, 0xb
jbe 0x4f0cc1
mov esi, dword [ebp - 0x98]
lea ebx, [eax - 0xb]
shr edx, 1
mov eax, edx
and eax, 1
sub ecx, eax
mov eax, 0x48f
sub eax, ecx
movzx ecx, word [esi + eax*2]
test cx, cx
jne 0x4f0ca7
mov word [esi + eax*2], di
mov ecx, edi
sub edi, 2
jmp 0x4f0caa
movsx ecx, cx
sub ebx, 1
jne 0x4f0c83
mov ebx, dword [ebp - 0x98]
mov esi, dword [ebp - 0xb8]
mov dword [ebp - 0xb0], edi
shr edx, 1
and edx, 1
sub edx, ecx
mov word [ebx + edx*2 + 0x91e], si
jmp 0x4f0ba5
cmp esi, 0xa
jbe 0x4f0d0f
mov ecx, 0xa
nop
mov ebx, dword [ebp - 0x90]
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 - 0x94]
test edi, edi
jns 0x4f0d79
lea eax, [ecx + 1]
cmp esi, eax
jae 0x4f0ce0
cmp ebx, dword [ebp - 0xa0]
jb 0x4f0d2b
mov edi, dword [ebp - 0x90]
test byte [ebp + 0x18], 2
jne 0x4f1075
xor eax, eax
jmp 0x4f0d35
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x94], ebx
mov edi, dword [ebp - 0x90]
mov ecx, esi
shl eax, cl
add esi, 8
or edx, eax
cmp esi, 0xf
jb 0x4f0c0b
jmp 0x4f0d7f
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 - 0x94], ebx
or dword [ebp - 0x9c], edx
add esi, 0x10
mov edx, dword [ebp - 0x9c]
mov edi, dword [ebp - 0x90]
mov eax, edx
and eax, 0x3ff
movsx eax, word [edi + eax*2 + 0x1ca0]
mov dword [ebp - 0xb4], eax
test eax, eax
js 0x4f0daa
mov ecx, eax
sar ecx, 9
and eax, 0x1ff
mov dword [ebp - 0xb4], eax
jmp 0x4f0ddf
mov ebx, dword [ebp - 0xb4]
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 + 0x24a0]
test ebx, ebx
js 0x4f0db5
mov dword [ebp - 0xb4], ebx
mov ebx, dword [ebp - 0x94]
mov eax, dword [ebp - 0xb4]
shr edx, cl
sub esi, ecx
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0xcc], esi
cmp eax, 0x10
jae 0x4f0e07
mov ecx, dword [ebp - 0x8c]
mov byte [edi + ecx + 0x2924], al
inc ecx
jmp 0x4f0bdd
jne 0x4f0e16
cmp dword [ebp - 0x8c], 0
je case.0x4efb84.17
movsx ecx, byte [eax + 0x53884c]
mov dword [ebp - 0xc0], ecx
cmp esi, ecx
jae 0x4f0e60
cmp ebx, dword [ebp - 0xa0]
jb 0x4f0e3d
test byte [ebp + 0x18], 2
jne 0x4f108b
xor eax, eax
jmp 0x4f0e47
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x94], ebx
mov ecx, esi
add esi, 8
shl eax, cl
mov ecx, dword [ebp - 0xc0]
or edx, eax
cmp esi, ecx
jb 0x4f0e27
mov eax, dword [ebp - 0xb4]
movsx eax, byte [eax + 0x538850]
mov edi, 1
shl edi, cl
sub esi, ecx
dec edi
mov dword [ebp - 0xcc], esi
and edi, edx
shr edx, cl
mov ecx, dword [ebp - 0x90]
add edi, eax
cmp dword [ebp - 0xb4], 0x10
mov dword [ebp - 0x9c], edx
jne 0x4f0ea2
mov eax, dword [ebp - 0x8c]
movzx eax, byte [ecx + eax + 0x2923]
jmp 0x4f0ea4
xor eax, eax
push edi
push eax
mov eax, dword [ebp - 0x8c]
add eax, 0x2924
add eax, ecx
push eax
call fcn.004b6aa0
mov ecx, dword [ebp - 0x8c]
add esp, 0xc
add ecx, edi
mov edi, dword [ebp - 0x90]
jmp 0x4f0bd7
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x2c]
add eax, ecx
cmp eax, dword [ebp - 0x8c]
jne case.0x4efb84.21
push ecx
lea eax, [edi + 0x2924]
push eax
lea eax, [edi + 0x40]
push eax
call fcn.004b6e70
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.004b6e70
add esp, 0x18
dec dword [edi + 0x18]
mov edx, dword [ebp - 0x9c]
jmp 0x4f09fd
mov eax, 1
mov dword [edi], 0x17
mov dword [ebp - 0x98], eax
jmp 0x4f128f
mov eax, 1
mov dword [edi], 0x19
mov dword [ebp - 0x98], eax
jmp 0x4f128f
mov eax, 1
mov dword [edi], 0x1a
mov dword [ebp - 0x98], eax
jmp 0x4f128f
mov edi, dword [ebp - 0x90]
mov eax, 1
mov dword [ebp - 0x98], eax
mov dword [edi], 0x1b
jmp 0x4f128f
mov edi, dword [ebp - 0x90]
mov eax, 2
mov dword [ebp - 0x98], eax
mov dword [edi], 0x35
jmp 0x4f128f
mov eax, 1
mov dword [edi], 3
mov dword [ebp - 0x98], eax
jmp 0x4f128f
mov eax, 1
mov dword [edi], 5
mov dword [ebp - 0x98], eax
jmp 0x4f128f
mov eax, 1
mov dword [edi], 6
mov dword [ebp - 0x98], eax
jmp 0x4f128f
mov eax, 1
mov dword [edi], 7
mov dword [ebp - 0x98], eax
jmp 0x4f128f
mov eax, 1
mov dword [edi], 0x33
mov dword [ebp - 0x98], eax
jmp 0x4f128f
mov eax, 2
mov dword [edi], 0x34
mov dword [ebp - 0x98], eax
jmp 0x4f128f
test byte [ebp + 0x18], 2
mov edi, dword [ebp - 0x90]
mov edx, dword [ebp - 0x9c]
je case.0x4efb84.40
mov eax, 1
mov dword [edi], 0x26
mov dword [ebp - 0x98], eax
jmp 0x4f128f
mov eax, 1
mov dword [edi], 0xb
mov dword [ebp - 0x98], eax
jmp 0x4f128f
mov eax, 1
mov dword [edi], 0xe
mov dword [ebp - 0x98], eax
jmp 0x4f128f
mov eax, 1
mov dword [edi], 0x10
mov dword [ebp - 0x98], eax
jmp 0x4f128f
mov eax, 1
mov dword [edi], 0x12
mov dword [ebp - 0x98], eax
jmp 0x4f128f
test byte [ebp + 0x18], 1
jne 0x4f1195
xor eax, eax
mov dword [edi], 0x22
mov dword [ebp - 0x98], eax
jmp 0x4f128f
mov eax, 2
mov dword [edi], 0x18
mov dword [ebp - 0x98], eax
jmp 0x4f128f
or eax, 0xffffffff
mov dword [edi], 0x27
mov dword [ebp - 0x98], eax
jmp 0x4f128f
or eax, 0xffffffff
mov dword [edi], 0x28
mov dword [ebp - 0x98], eax
jmp 0x4f128f
or eax, 0xffffffff
mov dword [edi], 0xa
mov dword [ebp - 0x98], eax
jmp 0x4f128f
mov edx, dword [ebp - 0x9c]
mov edi, dword [ebp - 0x90]
or eax, 0xffffffff
mov dword [edi], 0x23
mov dword [ebp - 0x98], eax
jmp 0x4f128f
or eax, 0xffffffff
mov dword [edi], 0x11
mov dword [ebp - 0x98], eax
jmp 0x4f128f
or eax, 0xffffffff
mov dword [edi], 0x15
mov dword [ebp - 0x98], eax
jmp 0x4f128f
mov edi, dword [ebp - 0x90]
or eax, 0xffffffff
mov dword [edi], 0x25
mov dword [ebp - 0x98], eax
jmp 0x4f128f
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4f1184
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4f118c
test byte [ebp + 0x18], 2
jne 0x4f11b9
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 0x4f11ac
cmp ebx, dword [ebp - 0xa0]
jae 0x4f1184
movzx eax, byte [ebx]
inc ebx
jmp 0x4f118c
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
xor ecx, ecx
jmp 0x4f1211
mov eax, 1
mov dword [edi], 0x20
mov dword [ebp - 0x98], eax
jmp 0x4f128f
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4f1231
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4f123f
mov eax, ebx
cmp eax, dword [ebp - 0xa0]
jae 0x4f11f3
movzx ecx, byte [eax]
lea ebx, [eax + 1]
jmp 0x4f11ff
test byte [ebp + 0x18], 2
jne 0x4f1279
xor ecx, ecx
mov eax, dword [edi + 0x10]
shl eax, 8
or eax, ecx
mov ecx, dword [ebp - 0x8c]
mov dword [edi + 0x10], eax
inc ecx
mov dword [ebp - 0x8c], ecx
cmp ecx, 4
jae case.0x4efb84.34
test esi, esi
je 0x4f1258
cmp esi, 8
jae 0x4f124d
cmp ebx, dword [ebp - 0xa0]
jb 0x4f123b
test byte [ebp + 0x18], 2
jne 0x4f1266
xor eax, eax
jmp 0x4f123f
movzx eax, byte [ebx]
inc ebx
mov ecx, esi
add esi, 8
shl eax, cl
or edx, eax
cmp esi, 8
jb 0x4f1229
movzx ecx, dl
shr edx, 8
sub esi, 8
jmp 0x4f11ff
cmp ebx, dword [ebp - 0xa0]
jae 0x4f11f3
movzx ecx, byte [ebx]
inc ebx
jmp 0x4f11ff
mov eax, 1
mov dword [edi], 0x29
mov dword [ebp - 0x98], eax
jmp 0x4f128f
mov eax, 1
mov dword [edi], 0x2a
mov dword [ebp - 0x98], eax
jmp 0x4f128f
or eax, 0xffffffff
mov ecx, dword [ebp - 0xb4]
sub ebx, dword [ebp - 0xa8]
mov dword [edi + 0x20], ecx
mov ecx, dword [ebp - 0x8c]
mov dword [edi + 0x24], ecx
mov ecx, dword [ebp - 0xc0]
mov dword [edi + 0x28], ecx
mov ecx, dword [ebp - 0xd0]
mov dword [edi + 0x3c], ecx
mov ecx, dword [ebp - 0xd4]
mov dword [edi + 4], esi
mov dword [edi + 0x38], edx
mov dword [ecx], ebx
mov ebx, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xd8]
sub ebx, dword [ebp - 0xac]
test byte [ebp + 0x18], 9
mov dword [ebp - 0xa4], ebx
mov dword [ecx], ebx
je 0x4f151b
test eax, eax
js 0x4f151b
mov esi, dword [edi + 0x1c]
mov eax, 0x5e6ea9af
mul ebx
movzx ecx, si
shr edx, 0xb
imul eax, edx, 0x15b0
shr esi, 0x10
mov dword [ebp - 0xc4], esi
sub ebx, eax
cmp dword [ebp - 0xa4], 0
mov dword [ebp - 0xbc], ebx
je 0x4f14ca
nop word [eax + eax]
xor edi, edi
cmp ebx, 7
jbe 0x4f13d9
mov eax, dword [ebp - 0xac]
mov edx, 7
sub edx, eax
movzx eax, byte [eax]
add edi, 8
add ecx, eax
mov eax, dword [ebp - 0xac]
add esi, ecx
movzx eax, byte [eax + 1]
add ecx, eax
mov eax, dword [ebp - 0xac]
add esi, ecx
movzx eax, byte [eax + 2]
add ecx, eax
mov eax, dword [ebp - 0xac]
add esi, ecx
movzx eax, byte [eax + 3]
add ecx, eax
mov eax, dword [ebp - 0xac]
add esi, ecx
movzx eax, byte [eax + 4]
add ecx, eax
mov eax, dword [ebp - 0xac]
add esi, ecx
movzx eax, byte [eax + 5]
add ecx, eax
mov eax, dword [ebp - 0xac]
add esi, ecx
movzx eax, byte [eax + 6]
add ecx, eax
mov eax, dword [ebp - 0xac]
add esi, ecx
movzx eax, byte [eax + 7]
add ecx, eax
mov eax, dword [ebp - 0xac]
add eax, 8
add esi, ecx
mov dword [ebp - 0xac], eax
add eax, edx
cmp eax, ebx
mov eax, dword [ebp - 0xac]
jb 0x4f1348
mov dword [ebp - 0xc4], esi
xor edx, edx
mov dword [ebp - 0xb8], edx
mov dword [ebp - 0xb0], edx
cmp edi, ebx
jae 0x4f1483
mov eax, ebx
sub eax, edi
cmp eax, 2
jb 0x4f1461
mov esi, dword [ebp - 0xac]
mov edx, ebx
mov ebx, dword [ebp - 0xb8]
sub edx, edi
sub edx, 2
shr edx, 1
inc edx
lea edi, [edi + edx*2]
mov dword [ebp - 0xd4], edi
mov edi, ebx
nop dword [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 0x4f1420
mov dword [ebp - 0xb8], ebx
mov ebx, dword [ebp - 0xbc]
mov edx, dword [ebp - 0xb8]
mov dword [ebp - 0xac], esi
mov esi, dword [ebp - 0xc4]
mov dword [ebp - 0xb0], edi
mov edi, dword [ebp - 0xd4]
cmp edi, ebx
jae 0x4f1479
mov edi, dword [ebp - 0xac]
movzx eax, byte [edi]
add ecx, eax
add esi, ecx
inc edi
mov dword [ebp - 0xac], edi
mov eax, dword [ebp - 0xb0]
add eax, edx
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
add esi, eax
sub dword [ebp - 0xa4], ebx
mov ebx, 0x15b0
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xbc], ebx
jne 0x4f1330
mov edi, dword [ebp - 0x90]
mov eax, dword [ebp - 0x98]
shl esi, 0x10
add esi, ecx
mov dword [edi + 0x1c], esi
test eax, eax
jne 0x4f151b
test byte [ebp + 0x18], 1
je 0x4f151b
cmp esi, dword [edi + 0x10]
mov ecx, 0xfffffffe
pop edi
pop esi
cmovne eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049de5d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xd8]
mov eax, 0xfffffffd
mov dword [ecx], 0
mov ecx, dword [ebp - 0xd4]
mov dword [ecx], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049de5d
mov esp, ebp
pop ebp
ret