Function at 0x4ec240
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x52a098]
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 0x4ec2c2
or ecx, 0xffffffff
jmp 0x4ec2c9
mov eax, esi
dec ecx
sub eax, edx
add ecx, eax
lea eax, [ecx + 1]
mov dword [ebp - 0xc4], ecx
test ecx, eax
jne 0x4edc9e
cmp esi, edx
jb 0x4edc9e
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.0x4ec324.4
movzx eax, byte [eax + 0x4edd54]
jmp dword [eax*4 + 0x4edccc]
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 0x4eccc2
mov ecx, dword [ebp - 0xa0]
cmp ebx, ecx
jae 0x4ec3b1
movzx eax, byte [ebx]
inc ebx
mov dword [edi + 8], eax
mov dword [ebp - 0x94], ebx
jmp 0x4ec3ce
mov ecx, dword [ebp - 0xa0]
mov eax, ebx
cmp eax, ecx
jae 0x4ec3ae
movzx eax, byte [eax]
inc ebx
mov dword [edi + 8], eax
mov dword [ebp - 0x94], ebx
jmp 0x4ec3ce
mov eax, dword [ebp + 0x18]
test al, 2
je 0x4ec3c7
mov eax, 1
mov dword [ebp - 0x98], eax
mov dword [edi], eax
jmp 0x4eda2f
mov dword [edi + 8], 0
cmp ebx, ecx
jae 0x4ec3fc
movzx eax, byte [ebx]
inc ebx
mov dword [edi + 0xc], eax
mov dword [ebp - 0x94], ebx
jmp 0x4ec41f
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4ec3fc
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
mov dword [edi + 0xc], eax
mov dword [ebp - 0x94], ebx
jmp 0x4ec41f
test byte [ebp + 0x18], 2
je 0x4ec418
mov eax, 1
mov dword [edi], 2
mov dword [ebp - 0x98], eax
jmp 0x4eda2f
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 0x4ec459
test cl, 0x20
jne 0x4ec459
mov eax, edi
and al, 0xf
cmp al, 8
jne 0x4ec459
xor ecx, ecx
jmp 0x4ec45e
mov ecx, 1
cmp dword [ebp - 0xb8], 0
mov dword [ebp - 0x8c], ecx
jne 0x4ec4a3
shr edi, 4
mov eax, 1
lea ecx, [edi + 8]
shl eax, cl
cmp eax, 0x8000
ja 0x4ec490
mov ecx, dword [ebp - 0xc4]
inc ecx
cmp ecx, eax
jb 0x4ec490
xor eax, eax
jmp 0x4ec495
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 0x4eccc2
or eax, 0xffffffff
mov dword [edi], 0x24
mov dword [ebp - 0x98], eax
jmp 0x4eda2f
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4ecccf
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4ecce1
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4ecd2b
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4ecd3d
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4ecd86
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4ecd98
mov eax, ebx
cmp eax, dword [ebp - 0xa0]
jae 0x4ecdd0
mov al, byte [eax]
inc ebx
mov byte [edi + ecx + 0x2920], al
inc ecx
mov dword [ebp - 0x94], ebx
jmp 0x4ecd66
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4ece5c
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4ece6e
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4ed073
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4ed085
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4ed13c
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4ed14e
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4ed4bd
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4ed4cf
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4ed5cf
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4ed5e1
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4ec819
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4ec82b
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4ec938
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4ec94a
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4eca02
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4eca14
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4ecae2
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4ecaf4
mov edi, dword [ebp - 0xb4]
jmp 0x4ecb92
mov eax, dword [ebp - 0xa4]
cmp eax, dword [ebp - 0xc8]
jae 0x4ed85e
mov byte [eax], cl
inc eax
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa0]
sub ecx, ebx
cmp ecx, 4
jl 0x4ec7a0
mov eax, dword [ebp - 0xc8]
sub eax, dword [ebp - 0xa4]
mov edi, dword [ebp - 0x90]
cmp eax, 2
jl 0x4ec7a0
cmp esi, 0xf
jae 0x4ec687
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 0x4ec6a7
mov ecx, eax
sar ecx, 9
jmp 0x4ec6d6
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 0x4ec6b2
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 0x4ec8f1
cmp esi, 0xf
jae 0x4ec70c
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 0x4ec72c
mov ecx, eax
sar ecx, 9
jmp 0x4ec757
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 0x4ec737
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 0x4ec793
mov ecx, dword [ebp - 0xa4]
mov byte [ecx + 1], al
add ecx, 2
mov dword [ebp - 0xa4], ecx
jmp 0x4ec641
inc dword [ebp - 0xa4]
mov ecx, eax
jmp 0x4ec8f1
cmp esi, 0xf
jae 0x4ec87b
cmp ecx, 2
jge 0x4ec84b
mov eax, edx
and eax, 0x3ff
movsx edi, word [edi + eax*2 + 0x160]
test edi, edi
js 0x4ec7d6
sar edi, 9
test edi, edi
je 0x4ec80b
cmp esi, edi
jae 0x4ec875
jmp 0x4ec80b
cmp esi, 0xa
jbe 0x4ec80b
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 0x4ec875
lea eax, [ecx + 1]
cmp esi, eax
jae 0x4ec7e0
cmp ebx, dword [ebp - 0xa0]
jb 0x4ec827
mov edi, dword [ebp - 0x90]
test byte [ebp + 0x18], 2
jne 0x4ed6bf
xor eax, eax
jmp 0x4ec831
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 0x4ec7b2
jmp 0x4ec87b
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 0x4ec8a6
mov ecx, eax
sar ecx, 9
and eax, 0x1ff
mov dword [ebp - 0x8c], eax
jmp 0x4ec8d5
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 0x4ec8b1
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.0x4ec324.24
and ecx, 0x1ff
mov dword [ebp - 0x8c], ecx
cmp ecx, 0x100
je 0x4eccb8
lea eax, [ecx*4 - 0x404]
mov ecx, dword [eax + 0x51fc30]
mov eax, dword [eax + 0x51fa30]
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0x8c], eax
test ecx, ecx
je 0x4ec97d
cmp esi, ecx
jae 0x4ec963
cmp ebx, dword [ebp - 0xa0]
jb 0x4ec946
test byte [ebp + 0x18], 2
jne 0x4ed6d5
xor eax, eax
jmp 0x4ec950
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 0x4ec930
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 0x4eca64
mov eax, dword [ebp - 0xa0]
sub eax, ebx
cmp eax, 2
jge 0x4eca34
mov eax, edx
and eax, 0x3ff
movsx edi, word [edi + eax*2 + 0xf00]
test edi, edi
js 0x4ec9bb
sar edi, 9
test edi, edi
je 0x4ec9f4
cmp esi, edi
jae 0x4eca5e
jmp 0x4ec9f4
cmp esi, 0xa
jbe 0x4ec9f4
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 0x4eca5e
lea eax, [ecx + 1]
cmp esi, eax
jae 0x4ec9c5
cmp ebx, dword [ebp - 0xa0]
jb 0x4eca10
mov edi, dword [ebp - 0x90]
test byte [ebp + 0x18], 2
jne 0x4ed6eb
xor eax, eax
jmp 0x4eca1a
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 0x4ec997
jmp 0x4eca64
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 0x4eca84
mov ecx, edi
sar ecx, 9
and edi, 0x1ff
jmp 0x4ecaae
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 0x4eca90
mov ebx, dword [ebp - 0x94]
shr edx, cl
sub esi, ecx
mov ecx, dword [edi*4 + 0x51fb30]
mov edi, dword [edi*4 + 0x51fab0]
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0xb4], edi
test ecx, ecx
je 0x4ecb2f
cmp esi, ecx
jae 0x4ecb13
cmp ebx, dword [ebp - 0xa0]
jb 0x4ecaf0
test byte [ebp + 0x18], 2
jne 0x4ed701
xor eax, eax
jmp 0x4ecafa
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 0x4ecada
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 0x4ecb4e
test byte [ebp + 0x18], 4
jne 0x4ed8f8
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 0x4ecbd4
mov ecx, dword [ebp - 0x8c]
mov eax, ecx
dec ecx
mov dword [ebp - 0x8c], ecx
test eax, eax
je 0x4ecc59
mov eax, dword [ebp - 0xc8]
cmp dword [ebp - 0xa4], eax
jae 0x4ed71d
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 0x4ecb81
mov eax, dword [ebp - 0x8c]
cmp eax, 9
jb 0x4ecc64
cmp eax, edi
ja 0x4ecc64
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 0x4ecbf8
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 0x4ecc64
test eax, eax
je 0x4ecc59
mov edi, dword [ebp - 0xa4]
mov al, byte [ecx]
mov byte [edi], al
mov eax, dword [ebp - 0x8c]
cmp eax, 1
jbe 0x4ecc51
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 0x4ec641
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 0x4ecc70
mov dword [ebp - 0x8c], ebx
test ebx, ebx
mov ebx, dword [ebp - 0x94]
mov dword [ebp - 0xa4], edi
jle 0x4ecc59
mov al, byte [ecx]
mov byte [edi], al
mov eax, dword [ebp - 0x8c]
cmp eax, 1
jle 0x4ecc51
jmp 0x4ecc45
test byte [edi + 0x14], 1
jne 0x4ed841
cmp esi, 3
jae 0x4eccf5
cmp ebx, dword [ebp - 0xa0]
jb 0x4eccdd
test byte [ebp + 0x18], 2
jne 0x4ed739
xor eax, eax
jmp 0x4ecce7
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 0x4eccc7
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 0x4ecf8c
mov eax, esi
and eax, 7
cmp esi, eax
jae 0x4ecd55
cmp ebx, dword [ebp - 0xa0]
jb 0x4ecd39
test byte [ebp + 0x18], 2
jne 0x4ed74f
xor eax, eax
jmp 0x4ecd43
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 0x4ecd23
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 0x4ecdfb
test esi, esi
je 0x4ecdc8
cmp esi, 8
jae 0x4ecdb2
cmp ebx, dword [ebp - 0xa0]
jb 0x4ecd94
test byte [ebp + 0x18], 2
jne 0x4ed765
xor eax, eax
jmp 0x4ecd9e
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 0x4ecd7e
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 0x4ecd66
cmp ebx, dword [ebp - 0xa0]
jb 0x4ecde5
test byte [ebp + 0x18], 2
jne 0x4ed77b
mov byte [edi + ecx + 0x2920], 0
inc ecx
jmp 0x4ecd66
mov al, byte [ebx]
inc ebx
mov byte [edi + ecx + 0x2920], al
inc ecx
mov dword [ebp - 0x94], ebx
jmp 0x4ecd66
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.0x4ec324.39
mov ecx, dword [ebp - 0x8c]
test ecx, ecx
je 0x4eccb8
test esi, esi
je 0x4ecedd
cmp esi, 8
jae 0x4ece88
cmp ebx, dword [ebp - 0xa0]
jb 0x4ece6a
test byte [ebp + 0x18], 2
jne 0x4ed791
xor eax, eax
jmp 0x4ece74
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 0x4ece54
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 0x4ecea5
mov eax, dword [ebp - 0xb4]
mov edi, dword [ebp - 0xc8]
cmp dword [ebp - 0xa4], edi
mov edi, dword [ebp - 0x90]
jae 0x4ed7a7
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 0x4ece3f
mov edx, dword [ebp - 0xa4]
test ecx, ecx
jne 0x4ecefe
mov edx, dword [ebp - 0x9c]
mov edi, dword [ebp - 0x90]
jmp 0x4eccb8
mov edx, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xc8]
cmp edx, ecx
jb 0x4ecf36
mov edi, dword [ebp - 0x90]
mov eax, 2
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0x98], eax
mov dword [edi], 9
jmp 0x4eda2f
mov edx, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xa0]
cmp ebx, eax
jae 0x4ed7bd
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.004b5a00
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 0x4ecee3
cmp eax, 3
je case.0x4ec324.10
cmp eax, 1
jne 0x4ed04f
movaps xmm0, xmmword [0x520210]
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 [0x5202a0]
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 [0x5202c0]
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 [0x520260]
movups xmmword [eax + 0x70], xmm0
movq qword [eax + 0x80], xmm0
mov dword [eax + 0x88], 0x8080808
mov dword [eax + 0x8c], 0x8080808
jmp 0x4ed19d
xor ecx, ecx
mov dword [ebp - 0x8c], ecx
cmp ecx, 3
jae 0x4ed106
movsx eax, byte [ecx + 0x534850]
cmp esi, eax
jae 0x4ed0ab
cmp ebx, dword [ebp - 0xa0]
jb 0x4ed081
test byte [ebp + 0x18], 2
jne 0x4ed7e9
xor eax, eax
jmp 0x4ed08b
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 + 0x534854]
cmp esi, eax
jb 0x4ed06b
lea edx, [edi + ecx*4]
mov eax, 1
movzx ecx, byte [ecx + 0x534858]
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 + 0x53485c]
shr edi, cl
mov ecx, eax
mov dword [ebp - 0x9c], edi
movsx eax, byte [ecx + 0x534860]
sub esi, eax
mov eax, dword [ecx*4 + 0x51f5dc]
add dword [edx + 0x2c], eax
inc ecx
mov edx, edi
mov dword [ebp - 0xcc], esi
mov edi, dword [ebp - 0x90]
jmp 0x4ed051
push 0x120
lea eax, [edi + 0x1b80]
push 0
push eax
call fcn.004b5630
mov edx, dword [ebp - 0x9c]
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x8c], ecx
cmp ecx, dword [edi + 0x34]
jae 0x4ed196
cmp esi, 3
jae 0x4ed162
cmp ebx, dword [ebp - 0xa0]
jb 0x4ed14a
test byte [ebp + 0x18], 2
jne 0x4ed7ff
xor eax, eax
jmp 0x4ed154
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 0x4ed134
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 + 0x51f270]
mov byte [eax + edi + 0x1b80], cl
mov ecx, dword [ebp - 0x8c]
inc ecx
jmp 0x4ed124
mov dword [edi + 0x34], 0x13
mov eax, dword [edi + 0x18]
test eax, eax
js 0x4ec641
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.004b5630
push 0xc80
lea eax, [edi + 0x120]
push 0
push eax
call fcn.004b5630
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 0x4ed210
nop dword [eax + eax]
movzx eax, byte [ecx + edi]
inc ecx
inc dword [ebp + eax*4 - 0x88]
cmp ecx, edx
jb 0x4ed200
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 0x4ed230
mov eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0xb8]
add edi, eax
cmp ecx, 0x10000
je 0x4ed28f
cmp edi, 1
ja 0x4ed8b0
cmp dword [ebp - 0xbc], 0
mov edi, dword [ebp - 0x90]
mov dword [ebp - 0xb0], 0xffffffff
mov dword [ebp - 0xb8], 0
jbe 0x4ed36b
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 0x4ed34b
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 0x4ed2e3
mov ecx, dword [ebp - 0xbc]
cmp ecx, 0xa
ja 0x4ed3da
mov eax, ecx
shl eax, 9
or eax, esi
movzx ebx, ax
cmp edx, 0x400
jae 0x4ed33f
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 0x4ed330
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 0x4ed2c2
mov esi, dword [ebp - 0xcc]
mov ebx, dword [ebp - 0x94]
cmp dword [edi + 0x18], 2
jne 0x4ed6b1
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 0x4ed66f
cmp esi, 0xf
jae 0x4ed51f
mov eax, dword [ebp - 0xa0]
sub eax, ebx
cmp eax, 2
jge 0x4ed4ef
mov eax, edx
and eax, 0x3ff
movsx edi, word [edi + eax*2 + 0x1ca0]
test edi, edi
js 0x4ed475
sar edi, 9
test edi, edi
je 0x4ed4af
cmp esi, edi
jae 0x4ed519
jmp 0x4ed4af
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 0x4ed40c
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 0x4ed461
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 0x4ed447
mov word [esi + eax*2], di
mov ecx, edi
sub edi, 2
jmp 0x4ed44a
movsx ecx, cx
sub ebx, 1
jne 0x4ed423
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 0x4ed345
cmp esi, 0xa
jbe 0x4ed4af
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 0x4ed519
lea eax, [ecx + 1]
cmp esi, eax
jae 0x4ed480
cmp ebx, dword [ebp - 0xa0]
jb 0x4ed4cb
mov edi, dword [ebp - 0x90]
test byte [ebp + 0x18], 2
jne 0x4ed815
xor eax, eax
jmp 0x4ed4d5
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 0x4ed3ab
jmp 0x4ed51f
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 0x4ed54a
mov ecx, eax
sar ecx, 9
and eax, 0x1ff
mov dword [ebp - 0xb4], eax
jmp 0x4ed57f
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 0x4ed555
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 0x4ed5a7
mov ecx, dword [ebp - 0x8c]
mov byte [edi + ecx + 0x2924], al
inc ecx
jmp 0x4ed37d
jne 0x4ed5b6
cmp dword [ebp - 0x8c], 0
je case.0x4ec324.17
movsx ecx, byte [eax + 0x534854]
mov dword [ebp - 0xc0], ecx
cmp esi, ecx
jae 0x4ed600
cmp ebx, dword [ebp - 0xa0]
jb 0x4ed5dd
test byte [ebp + 0x18], 2
jne 0x4ed82b
xor eax, eax
jmp 0x4ed5e7
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 0x4ed5c7
mov eax, dword [ebp - 0xb4]
movsx eax, byte [eax + 0x534858]
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 0x4ed642
mov eax, dword [ebp - 0x8c]
movzx eax, byte [ecx + eax + 0x2923]
jmp 0x4ed644
xor eax, eax
push edi
push eax
mov eax, dword [ebp - 0x8c]
add eax, 0x2924
add eax, ecx
push eax
call fcn.004b5630
mov ecx, dword [ebp - 0x8c]
add esp, 0xc
add ecx, edi
mov edi, dword [ebp - 0x90]
jmp 0x4ed377
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x2c]
add eax, ecx
cmp eax, dword [ebp - 0x8c]
jne case.0x4ec324.21
push ecx
lea eax, [edi + 0x2924]
push eax
lea eax, [edi + 0x40]
push eax
call fcn.004b5a00
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.004b5a00
add esp, 0x18
dec dword [edi + 0x18]
mov edx, dword [ebp - 0x9c]
jmp 0x4ed19d
mov eax, 1
mov dword [edi], 0x17
mov dword [ebp - 0x98], eax
jmp 0x4eda2f
mov eax, 1
mov dword [edi], 0x19
mov dword [ebp - 0x98], eax
jmp 0x4eda2f
mov eax, 1
mov dword [edi], 0x1a
mov dword [ebp - 0x98], eax
jmp 0x4eda2f
mov edi, dword [ebp - 0x90]
mov eax, 1
mov dword [ebp - 0x98], eax
mov dword [edi], 0x1b
jmp 0x4eda2f
mov edi, dword [ebp - 0x90]
mov eax, 2
mov dword [ebp - 0x98], eax
mov dword [edi], 0x35
jmp 0x4eda2f
mov eax, 1
mov dword [edi], 3
mov dword [ebp - 0x98], eax
jmp 0x4eda2f
mov eax, 1
mov dword [edi], 5
mov dword [ebp - 0x98], eax
jmp 0x4eda2f
mov eax, 1
mov dword [edi], 6
mov dword [ebp - 0x98], eax
jmp 0x4eda2f
mov eax, 1
mov dword [edi], 7
mov dword [ebp - 0x98], eax
jmp 0x4eda2f
mov eax, 1
mov dword [edi], 0x33
mov dword [ebp - 0x98], eax
jmp 0x4eda2f
mov eax, 2
mov dword [edi], 0x34
mov dword [ebp - 0x98], eax
jmp 0x4eda2f
test byte [ebp + 0x18], 2
mov edi, dword [ebp - 0x90]
mov edx, dword [ebp - 0x9c]
je case.0x4ec324.40
mov eax, 1
mov dword [edi], 0x26
mov dword [ebp - 0x98], eax
jmp 0x4eda2f
mov eax, 1
mov dword [edi], 0xb
mov dword [ebp - 0x98], eax
jmp 0x4eda2f
mov eax, 1
mov dword [edi], 0xe
mov dword [ebp - 0x98], eax
jmp 0x4eda2f
mov eax, 1
mov dword [edi], 0x10
mov dword [ebp - 0x98], eax
jmp 0x4eda2f
mov eax, 1
mov dword [edi], 0x12
mov dword [ebp - 0x98], eax
jmp 0x4eda2f
test byte [ebp + 0x18], 1
jne 0x4ed935
xor eax, eax
mov dword [edi], 0x22
mov dword [ebp - 0x98], eax
jmp 0x4eda2f
mov eax, 2
mov dword [edi], 0x18
mov dword [ebp - 0x98], eax
jmp 0x4eda2f
or eax, 0xffffffff
mov dword [edi], 0x27
mov dword [ebp - 0x98], eax
jmp 0x4eda2f
or eax, 0xffffffff
mov dword [edi], 0x28
mov dword [ebp - 0x98], eax
jmp 0x4eda2f
or eax, 0xffffffff
mov dword [edi], 0xa
mov dword [ebp - 0x98], eax
jmp 0x4eda2f
mov edx, dword [ebp - 0x9c]
mov edi, dword [ebp - 0x90]
or eax, 0xffffffff
mov dword [edi], 0x23
mov dword [ebp - 0x98], eax
jmp 0x4eda2f
or eax, 0xffffffff
mov dword [edi], 0x11
mov dword [ebp - 0x98], eax
jmp 0x4eda2f
or eax, 0xffffffff
mov dword [edi], 0x15
mov dword [ebp - 0x98], eax
jmp 0x4eda2f
mov edi, dword [ebp - 0x90]
or eax, 0xffffffff
mov dword [edi], 0x25
mov dword [ebp - 0x98], eax
jmp 0x4eda2f
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4ed924
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4ed92c
test byte [ebp + 0x18], 2
jne 0x4ed959
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 0x4ed94c
cmp ebx, dword [ebp - 0xa0]
jae 0x4ed924
movzx eax, byte [ebx]
inc ebx
jmp 0x4ed92c
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
xor ecx, ecx
jmp 0x4ed9b1
mov eax, 1
mov dword [edi], 0x20
mov dword [ebp - 0x98], eax
jmp 0x4eda2f
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4ed9d1
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4ed9df
mov eax, ebx
cmp eax, dword [ebp - 0xa0]
jae 0x4ed993
movzx ecx, byte [eax]
lea ebx, [eax + 1]
jmp 0x4ed99f
test byte [ebp + 0x18], 2
jne 0x4eda19
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.0x4ec324.34
test esi, esi
je 0x4ed9f8
cmp esi, 8
jae 0x4ed9ed
cmp ebx, dword [ebp - 0xa0]
jb 0x4ed9db
test byte [ebp + 0x18], 2
jne 0x4eda06
xor eax, eax
jmp 0x4ed9df
movzx eax, byte [ebx]
inc ebx
mov ecx, esi
add esi, 8
shl eax, cl
or edx, eax
cmp esi, 8
jb 0x4ed9c9
movzx ecx, dl
shr edx, 8
sub esi, 8
jmp 0x4ed99f
cmp ebx, dword [ebp - 0xa0]
jae 0x4ed993
movzx ecx, byte [ebx]
inc ebx
jmp 0x4ed99f
mov eax, 1
mov dword [edi], 0x29
mov dword [ebp - 0x98], eax
jmp 0x4eda2f
mov eax, 1
mov dword [edi], 0x2a
mov dword [ebp - 0x98], eax
jmp 0x4eda2f
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 0x4edcbb
test eax, eax
js 0x4edcbb
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 0x4edc6a
nop word [eax + eax]
xor edi, edi
cmp ebx, 7
jbe 0x4edb79
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 0x4edae8
mov dword [ebp - 0xc4], esi
xor edx, edx
mov dword [ebp - 0xb8], edx
mov dword [ebp - 0xb0], edx
cmp edi, ebx
jae 0x4edc23
mov eax, ebx
sub eax, edi
cmp eax, 2
jb 0x4edc01
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 0x4edbc0
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 0x4edc19
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 0x4edad0
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 0x4edcbb
test byte [ebp + 0x18], 1
je 0x4edcbb
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.0049ca1b
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.0049ca1b
mov esp, ebp
pop ebp
ret