Function at 0x4ec3a0
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 0x4ec422
or ecx, 0xffffffff
jmp 0x4ec429
mov eax, esi
dec ecx
sub eax, edx
add ecx, eax
lea eax, [ecx + 1]
mov dword [ebp - 0xc4], ecx
test ecx, eax
jne 0x4eddfe
cmp esi, edx
jb 0x4eddfe
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.0x4ec484.4
movzx eax, byte [eax + 0x4edeb4]
jmp dword [eax*4 + 0x4ede2c]
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 0x4ece22
mov ecx, dword [ebp - 0xa0]
cmp ebx, ecx
jae 0x4ec511
movzx eax, byte [ebx]
inc ebx
mov dword [edi + 8], eax
mov dword [ebp - 0x94], ebx
jmp 0x4ec52e
mov ecx, dword [ebp - 0xa0]
mov eax, ebx
cmp eax, ecx
jae 0x4ec50e
movzx eax, byte [eax]
inc ebx
mov dword [edi + 8], eax
mov dword [ebp - 0x94], ebx
jmp 0x4ec52e
mov eax, dword [ebp + 0x18]
test al, 2
je 0x4ec527
mov eax, 1
mov dword [ebp - 0x98], eax
mov dword [edi], eax
jmp 0x4edb8f
mov dword [edi + 8], 0
cmp ebx, ecx
jae 0x4ec55c
movzx eax, byte [ebx]
inc ebx
mov dword [edi + 0xc], eax
mov dword [ebp - 0x94], ebx
jmp 0x4ec57f
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4ec55c
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
mov dword [edi + 0xc], eax
mov dword [ebp - 0x94], ebx
jmp 0x4ec57f
test byte [ebp + 0x18], 2
je 0x4ec578
mov eax, 1
mov dword [edi], 2
mov dword [ebp - 0x98], eax
jmp 0x4edb8f
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 0x4ec5b9
test cl, 0x20
jne 0x4ec5b9
mov eax, edi
and al, 0xf
cmp al, 8
jne 0x4ec5b9
xor ecx, ecx
jmp 0x4ec5be
mov ecx, 1
cmp dword [ebp - 0xb8], 0
mov dword [ebp - 0x8c], ecx
jne 0x4ec603
shr edi, 4
mov eax, 1
lea ecx, [edi + 8]
shl eax, cl
cmp eax, 0x8000
ja 0x4ec5f0
mov ecx, dword [ebp - 0xc4]
inc ecx
cmp ecx, eax
jb 0x4ec5f0
xor eax, eax
jmp 0x4ec5f5
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 0x4ece22
or eax, 0xffffffff
mov dword [edi], 0x24
mov dword [ebp - 0x98], eax
jmp 0x4edb8f
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4ece2f
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4ece41
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4ece8b
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4ece9d
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4ecee6
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4ecef8
mov eax, ebx
cmp eax, dword [ebp - 0xa0]
jae 0x4ecf30
mov al, byte [eax]
inc ebx
mov byte [edi + ecx + 0x2920], al
inc ecx
mov dword [ebp - 0x94], ebx
jmp 0x4ecec6
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4ecfbc
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4ecfce
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4ed1d3
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4ed1e5
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4ed29c
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4ed2ae
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4ed61d
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4ed62f
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4ed72f
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4ed741
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4ec979
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4ec98b
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4eca98
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4ecaaa
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4ecb62
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4ecb74
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4ecc42
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4ecc54
mov edi, dword [ebp - 0xb4]
jmp 0x4eccf2
mov eax, dword [ebp - 0xa4]
cmp eax, dword [ebp - 0xc8]
jae 0x4ed9be
mov byte [eax], cl
inc eax
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa0]
sub ecx, ebx
cmp ecx, 4
jl 0x4ec900
mov eax, dword [ebp - 0xc8]
sub eax, dword [ebp - 0xa4]
mov edi, dword [ebp - 0x90]
cmp eax, 2
jl 0x4ec900
cmp esi, 0xf
jae 0x4ec7e7
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 0x4ec807
mov ecx, eax
sar ecx, 9
jmp 0x4ec836
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 0x4ec812
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 0x4eca51
cmp esi, 0xf
jae 0x4ec86c
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 0x4ec88c
mov ecx, eax
sar ecx, 9
jmp 0x4ec8b7
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 0x4ec897
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 0x4ec8f3
mov ecx, dword [ebp - 0xa4]
mov byte [ecx + 1], al
add ecx, 2
mov dword [ebp - 0xa4], ecx
jmp 0x4ec7a1
inc dword [ebp - 0xa4]
mov ecx, eax
jmp 0x4eca51
cmp esi, 0xf
jae 0x4ec9db
cmp ecx, 2
jge 0x4ec9ab
mov eax, edx
and eax, 0x3ff
movsx edi, word [edi + eax*2 + 0x160]
test edi, edi
js 0x4ec936
sar edi, 9
test edi, edi
je 0x4ec96b
cmp esi, edi
jae 0x4ec9d5
jmp 0x4ec96b
cmp esi, 0xa
jbe 0x4ec96b
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 0x4ec9d5
lea eax, [ecx + 1]
cmp esi, eax
jae 0x4ec940
cmp ebx, dword [ebp - 0xa0]
jb 0x4ec987
mov edi, dword [ebp - 0x90]
test byte [ebp + 0x18], 2
jne 0x4ed81f
xor eax, eax
jmp 0x4ec991
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 0x4ec912
jmp 0x4ec9db
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 0x4eca06
mov ecx, eax
sar ecx, 9
and eax, 0x1ff
mov dword [ebp - 0x8c], eax
jmp 0x4eca35
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 0x4eca11
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.0x4ec484.24
and ecx, 0x1ff
mov dword [ebp - 0x8c], ecx
cmp ecx, 0x100
je 0x4ece18
lea eax, [ecx*4 - 0x404]
mov ecx, dword [eax + 0x51fc40]
mov eax, dword [eax + 0x51fa40]
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0x8c], eax
test ecx, ecx
je 0x4ecadd
cmp esi, ecx
jae 0x4ecac3
cmp ebx, dword [ebp - 0xa0]
jb 0x4ecaa6
test byte [ebp + 0x18], 2
jne 0x4ed835
xor eax, eax
jmp 0x4ecab0
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 0x4eca90
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 0x4ecbc4
mov eax, dword [ebp - 0xa0]
sub eax, ebx
cmp eax, 2
jge 0x4ecb94
mov eax, edx
and eax, 0x3ff
movsx edi, word [edi + eax*2 + 0xf00]
test edi, edi
js 0x4ecb1b
sar edi, 9
test edi, edi
je 0x4ecb54
cmp esi, edi
jae 0x4ecbbe
jmp 0x4ecb54
cmp esi, 0xa
jbe 0x4ecb54
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 0x4ecbbe
lea eax, [ecx + 1]
cmp esi, eax
jae 0x4ecb25
cmp ebx, dword [ebp - 0xa0]
jb 0x4ecb70
mov edi, dword [ebp - 0x90]
test byte [ebp + 0x18], 2
jne 0x4ed84b
xor eax, eax
jmp 0x4ecb7a
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 0x4ecaf7
jmp 0x4ecbc4
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 0x4ecbe4
mov ecx, edi
sar ecx, 9
and edi, 0x1ff
jmp 0x4ecc0e
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 0x4ecbf0
mov ebx, dword [ebp - 0x94]
shr edx, cl
sub esi, ecx
mov ecx, dword [edi*4 + 0x51fb40]
mov edi, dword [edi*4 + 0x51fac0]
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0xb4], edi
test ecx, ecx
je 0x4ecc8f
cmp esi, ecx
jae 0x4ecc73
cmp ebx, dword [ebp - 0xa0]
jb 0x4ecc50
test byte [ebp + 0x18], 2
jne 0x4ed861
xor eax, eax
jmp 0x4ecc5a
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 0x4ecc3a
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 0x4eccae
test byte [ebp + 0x18], 4
jne 0x4eda58
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 0x4ecd34
mov ecx, dword [ebp - 0x8c]
mov eax, ecx
dec ecx
mov dword [ebp - 0x8c], ecx
test eax, eax
je 0x4ecdb9
mov eax, dword [ebp - 0xc8]
cmp dword [ebp - 0xa4], eax
jae 0x4ed87d
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 0x4ecce1
mov eax, dword [ebp - 0x8c]
cmp eax, 9
jb 0x4ecdc4
cmp eax, edi
ja 0x4ecdc4
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 0x4ecd58
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 0x4ecdc4
test eax, eax
je 0x4ecdb9
mov edi, dword [ebp - 0xa4]
mov al, byte [ecx]
mov byte [edi], al
mov eax, dword [ebp - 0x8c]
cmp eax, 1
jbe 0x4ecdb1
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 0x4ec7a1
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 0x4ecdd0
mov dword [ebp - 0x8c], ebx
test ebx, ebx
mov ebx, dword [ebp - 0x94]
mov dword [ebp - 0xa4], edi
jle 0x4ecdb9
mov al, byte [ecx]
mov byte [edi], al
mov eax, dword [ebp - 0x8c]
cmp eax, 1
jle 0x4ecdb1
jmp 0x4ecda5
test byte [edi + 0x14], 1
jne 0x4ed9a1
cmp esi, 3
jae 0x4ece55
cmp ebx, dword [ebp - 0xa0]
jb 0x4ece3d
test byte [ebp + 0x18], 2
jne 0x4ed899
xor eax, eax
jmp 0x4ece47
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 0x4ece27
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 0x4ed0ec
mov eax, esi
and eax, 7
cmp esi, eax
jae 0x4eceb5
cmp ebx, dword [ebp - 0xa0]
jb 0x4ece99
test byte [ebp + 0x18], 2
jne 0x4ed8af
xor eax, eax
jmp 0x4ecea3
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 0x4ece83
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 0x4ecf5b
test esi, esi
je 0x4ecf28
cmp esi, 8
jae 0x4ecf12
cmp ebx, dword [ebp - 0xa0]
jb 0x4ecef4
test byte [ebp + 0x18], 2
jne 0x4ed8c5
xor eax, eax
jmp 0x4ecefe
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 0x4ecede
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 0x4ecec6
cmp ebx, dword [ebp - 0xa0]
jb 0x4ecf45
test byte [ebp + 0x18], 2
jne 0x4ed8db
mov byte [edi + ecx + 0x2920], 0
inc ecx
jmp 0x4ecec6
mov al, byte [ebx]
inc ebx
mov byte [edi + ecx + 0x2920], al
inc ecx
mov dword [ebp - 0x94], ebx
jmp 0x4ecec6
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.0x4ec484.39
mov ecx, dword [ebp - 0x8c]
test ecx, ecx
je 0x4ece18
test esi, esi
je 0x4ed03d
cmp esi, 8
jae 0x4ecfe8
cmp ebx, dword [ebp - 0xa0]
jb 0x4ecfca
test byte [ebp + 0x18], 2
jne 0x4ed8f1
xor eax, eax
jmp 0x4ecfd4
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 0x4ecfb4
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 0x4ed005
mov eax, dword [ebp - 0xb4]
mov edi, dword [ebp - 0xc8]
cmp dword [ebp - 0xa4], edi
mov edi, dword [ebp - 0x90]
jae 0x4ed907
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 0x4ecf9f
mov edx, dword [ebp - 0xa4]
test ecx, ecx
jne 0x4ed05e
mov edx, dword [ebp - 0x9c]
mov edi, dword [ebp - 0x90]
jmp 0x4ece18
mov edx, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xc8]
cmp edx, ecx
jb 0x4ed096
mov edi, dword [ebp - 0x90]
mov eax, 2
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0x98], eax
mov dword [edi], 9
jmp 0x4edb8f
mov edx, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xa0]
cmp ebx, eax
jae 0x4ed91d
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.004b5a10
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 0x4ed043
cmp eax, 3
je case.0x4ec484.10
cmp eax, 1
jne 0x4ed1af
movaps xmm0, xmmword [0x520230]
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 [0x520270]
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 [0x520290]
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_n]
movups xmmword [eax + 0x70], xmm0
movq qword [eax + 0x80], xmm0
mov dword [eax + 0x88], 0x8080808
mov dword [eax + 0x8c], 0x8080808
jmp 0x4ed2fd
xor ecx, ecx
mov dword [ebp - 0x8c], ecx
cmp ecx, 3
jae 0x4ed266
movsx eax, byte [ecx + 0x534850]
cmp esi, eax
jae 0x4ed20b
cmp ebx, dword [ebp - 0xa0]
jb 0x4ed1e1
test byte [ebp + 0x18], 2
jne 0x4ed949
xor eax, eax
jmp 0x4ed1eb
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 0x4ed1cb
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 + 0x51f5f4]
add dword [edx + 0x2c], eax
inc ecx
mov edx, edi
mov dword [ebp - 0xcc], esi
mov edi, dword [ebp - 0x90]
jmp 0x4ed1b1
push 0x120
lea eax, [edi + 0x1b80]
push 0
push eax
call fcn.004b5640
mov edx, dword [ebp - 0x9c]
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x8c], ecx
cmp ecx, dword [edi + 0x34]
jae 0x4ed2f6
cmp esi, 3
jae 0x4ed2c2
cmp ebx, dword [ebp - 0xa0]
jb 0x4ed2aa
test byte [ebp + 0x18], 2
jne 0x4ed95f
xor eax, eax
jmp 0x4ed2b4
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 0x4ed294
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 + 0x51f288]
mov byte [eax + edi + 0x1b80], cl
mov ecx, dword [ebp - 0x8c]
inc ecx
jmp 0x4ed284
mov dword [edi + 0x34], 0x13
mov eax, dword [edi + 0x18]
test eax, eax
js 0x4ec7a1
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.004b5640
push 0xc80
lea eax, [edi + 0x120]
push 0
push eax
call fcn.004b5640
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 0x4ed370
nop dword [eax + eax]
movzx eax, byte [ecx + edi]
inc ecx
inc dword [ebp + eax*4 - 0x88]
cmp ecx, edx
jb 0x4ed360
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 0x4ed390
mov eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0xb8]
add edi, eax
cmp ecx, 0x10000
je 0x4ed3ef
cmp edi, 1
ja 0x4eda10
cmp dword [ebp - 0xbc], 0
mov edi, dword [ebp - 0x90]
mov dword [ebp - 0xb0], 0xffffffff
mov dword [ebp - 0xb8], 0
jbe 0x4ed4cb
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 0x4ed4ab
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 0x4ed443
mov ecx, dword [ebp - 0xbc]
cmp ecx, 0xa
ja 0x4ed53a
mov eax, ecx
shl eax, 9
or eax, esi
movzx ebx, ax
cmp edx, 0x400
jae 0x4ed49f
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 0x4ed490
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 0x4ed422
mov esi, dword [ebp - 0xcc]
mov ebx, dword [ebp - 0x94]
cmp dword [edi + 0x18], 2
jne 0x4ed811
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 0x4ed7cf
cmp esi, 0xf
jae 0x4ed67f
mov eax, dword [ebp - 0xa0]
sub eax, ebx
cmp eax, 2
jge 0x4ed64f
mov eax, edx
and eax, 0x3ff
movsx edi, word [edi + eax*2 + 0x1ca0]
test edi, edi
js 0x4ed5d5
sar edi, 9
test edi, edi
je 0x4ed60f
cmp esi, edi
jae 0x4ed679
jmp 0x4ed60f
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 0x4ed56c
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 0x4ed5c1
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 0x4ed5a7
mov word [esi + eax*2], di
mov ecx, edi
sub edi, 2
jmp 0x4ed5aa
movsx ecx, cx
sub ebx, 1
jne 0x4ed583
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 0x4ed4a5
cmp esi, 0xa
jbe 0x4ed60f
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 0x4ed679
lea eax, [ecx + 1]
cmp esi, eax
jae 0x4ed5e0
cmp ebx, dword [ebp - 0xa0]
jb 0x4ed62b
mov edi, dword [ebp - 0x90]
test byte [ebp + 0x18], 2
jne 0x4ed975
xor eax, eax
jmp 0x4ed635
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 0x4ed50b
jmp 0x4ed67f
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 0x4ed6aa
mov ecx, eax
sar ecx, 9
and eax, 0x1ff
mov dword [ebp - 0xb4], eax
jmp 0x4ed6df
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 0x4ed6b5
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 0x4ed707
mov ecx, dword [ebp - 0x8c]
mov byte [edi + ecx + 0x2924], al
inc ecx
jmp 0x4ed4dd
jne 0x4ed716
cmp dword [ebp - 0x8c], 0
je case.0x4ec484.17
movsx ecx, byte [eax + 0x534854]
mov dword [ebp - 0xc0], ecx
cmp esi, ecx
jae 0x4ed760
cmp ebx, dword [ebp - 0xa0]
jb 0x4ed73d
test byte [ebp + 0x18], 2
jne 0x4ed98b
xor eax, eax
jmp 0x4ed747
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 0x4ed727
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 0x4ed7a2
mov eax, dword [ebp - 0x8c]
movzx eax, byte [ecx + eax + 0x2923]
jmp 0x4ed7a4
xor eax, eax
push edi
push eax
mov eax, dword [ebp - 0x8c]
add eax, 0x2924
add eax, ecx
push eax
call fcn.004b5640
mov ecx, dword [ebp - 0x8c]
add esp, 0xc
add ecx, edi
mov edi, dword [ebp - 0x90]
jmp 0x4ed4d7
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x2c]
add eax, ecx
cmp eax, dword [ebp - 0x8c]
jne case.0x4ec484.21
push ecx
lea eax, [edi + 0x2924]
push eax
lea eax, [edi + 0x40]
push eax
call fcn.004b5a10
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.004b5a10
add esp, 0x18
dec dword [edi + 0x18]
mov edx, dword [ebp - 0x9c]
jmp 0x4ed2fd
mov eax, 1
mov dword [edi], 0x17
mov dword [ebp - 0x98], eax
jmp 0x4edb8f
mov eax, 1
mov dword [edi], 0x19
mov dword [ebp - 0x98], eax
jmp 0x4edb8f
mov eax, 1
mov dword [edi], 0x1a
mov dword [ebp - 0x98], eax
jmp 0x4edb8f
mov edi, dword [ebp - 0x90]
mov eax, 1
mov dword [ebp - 0x98], eax
mov dword [edi], 0x1b
jmp 0x4edb8f
mov edi, dword [ebp - 0x90]
mov eax, 2
mov dword [ebp - 0x98], eax
mov dword [edi], 0x35
jmp 0x4edb8f
mov eax, 1
mov dword [edi], 3
mov dword [ebp - 0x98], eax
jmp 0x4edb8f
mov eax, 1
mov dword [edi], 5
mov dword [ebp - 0x98], eax
jmp 0x4edb8f
mov eax, 1
mov dword [edi], 6
mov dword [ebp - 0x98], eax
jmp 0x4edb8f
mov eax, 1
mov dword [edi], 7
mov dword [ebp - 0x98], eax
jmp 0x4edb8f
mov eax, 1
mov dword [edi], 0x33
mov dword [ebp - 0x98], eax
jmp 0x4edb8f
mov eax, 2
mov dword [edi], 0x34
mov dword [ebp - 0x98], eax
jmp 0x4edb8f
test byte [ebp + 0x18], 2
mov edi, dword [ebp - 0x90]
mov edx, dword [ebp - 0x9c]
je case.0x4ec484.40
mov eax, 1
mov dword [edi], 0x26
mov dword [ebp - 0x98], eax
jmp 0x4edb8f
mov eax, 1
mov dword [edi], 0xb
mov dword [ebp - 0x98], eax
jmp 0x4edb8f
mov eax, 1
mov dword [edi], 0xe
mov dword [ebp - 0x98], eax
jmp 0x4edb8f
mov eax, 1
mov dword [edi], 0x10
mov dword [ebp - 0x98], eax
jmp 0x4edb8f
mov eax, 1
mov dword [edi], 0x12
mov dword [ebp - 0x98], eax
jmp 0x4edb8f
test byte [ebp + 0x18], 1
jne 0x4eda95
xor eax, eax
mov dword [edi], 0x22
mov dword [ebp - 0x98], eax
jmp 0x4edb8f
mov eax, 2
mov dword [edi], 0x18
mov dword [ebp - 0x98], eax
jmp 0x4edb8f
or eax, 0xffffffff
mov dword [edi], 0x27
mov dword [ebp - 0x98], eax
jmp 0x4edb8f
or eax, 0xffffffff
mov dword [edi], 0x28
mov dword [ebp - 0x98], eax
jmp 0x4edb8f
or eax, 0xffffffff
mov dword [edi], 0xa
mov dword [ebp - 0x98], eax
jmp 0x4edb8f
mov edx, dword [ebp - 0x9c]
mov edi, dword [ebp - 0x90]
or eax, 0xffffffff
mov dword [edi], 0x23
mov dword [ebp - 0x98], eax
jmp 0x4edb8f
or eax, 0xffffffff
mov dword [edi], 0x11
mov dword [ebp - 0x98], eax
jmp 0x4edb8f
or eax, 0xffffffff
mov dword [edi], 0x15
mov dword [ebp - 0x98], eax
jmp 0x4edb8f
mov edi, dword [ebp - 0x90]
or eax, 0xffffffff
mov dword [edi], 0x25
mov dword [ebp - 0x98], eax
jmp 0x4edb8f
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4eda84
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4eda8c
test byte [ebp + 0x18], 2
jne 0x4edab9
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 0x4edaac
cmp ebx, dword [ebp - 0xa0]
jae 0x4eda84
movzx eax, byte [ebx]
inc ebx
jmp 0x4eda8c
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
xor ecx, ecx
jmp 0x4edb11
mov eax, 1
mov dword [edi], 0x20
mov dword [ebp - 0x98], eax
jmp 0x4edb8f
mov ecx, ebx
cmp ecx, dword [ebp - 0xa0]
jae 0x4edb31
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4edb3f
mov eax, ebx
cmp eax, dword [ebp - 0xa0]
jae 0x4edaf3
movzx ecx, byte [eax]
lea ebx, [eax + 1]
jmp 0x4edaff
test byte [ebp + 0x18], 2
jne 0x4edb79
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.0x4ec484.34
test esi, esi
je 0x4edb58
cmp esi, 8
jae 0x4edb4d
cmp ebx, dword [ebp - 0xa0]
jb 0x4edb3b
test byte [ebp + 0x18], 2
jne 0x4edb66
xor eax, eax
jmp 0x4edb3f
movzx eax, byte [ebx]
inc ebx
mov ecx, esi
add esi, 8
shl eax, cl
or edx, eax
cmp esi, 8
jb 0x4edb29
movzx ecx, dl
shr edx, 8
sub esi, 8
jmp 0x4edaff
cmp ebx, dword [ebp - 0xa0]
jae 0x4edaf3
movzx ecx, byte [ebx]
inc ebx
jmp 0x4edaff
mov eax, 1
mov dword [edi], 0x29
mov dword [ebp - 0x98], eax
jmp 0x4edb8f
mov eax, 1
mov dword [edi], 0x2a
mov dword [ebp - 0x98], eax
jmp 0x4edb8f
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 0x4ede1b
test eax, eax
js 0x4ede1b
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 0x4eddca
nop word [eax + eax]
xor edi, edi
cmp ebx, 7
jbe 0x4edcd9
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 0x4edc48
mov dword [ebp - 0xc4], esi
xor edx, edx
mov dword [ebp - 0xb8], edx
mov dword [ebp - 0xb0], edx
cmp edi, ebx
jae 0x4edd83
mov eax, ebx
sub eax, edi
cmp eax, 2
jb 0x4edd61
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 0x4edd20
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 0x4edd79
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 0x4edc30
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 0x4ede1b
test byte [ebp + 0x18], 1
je 0x4ede1b
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.0049ca2c
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.0049ca2c
mov esp, ebp
pop ebp
ret