Function at 0x1002c050
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
mov eax, dword [0x100dcbc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0xd8], eax
mov eax, dword [eax]
add eax, ecx
mov dword [ebp - 0xdc], edx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0xac], eax
mov eax, dword [edx]
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 0x94], ecx
mov ecx, esi
push edi
lea edx, [eax + esi]
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0xd4], edx
mov edx, dword [ebp + 0x20]
and edx, 4
mov dword [ebp - 0xb4], esi
mov dword [ebp - 0x98], 0xffffffff
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xbc], edx
je 0x1002c0e4
mov dword [ebp - 0xd0], 0xffffffff
mov dword [ebp - 0x9c], 0
jmp 0x1002c100
sub eax, dword [ebp + 0x14]
add eax, esi
mov dword [ebp - 0x9c], eax
lea edx, [eax - 1]
mov dword [ebp - 0xd0], edx
test eax, edx
jne 0x1002dc8f
cmp esi, dword [ebp + 0x14]
jb 0x1002dc8f
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x38]
mov esi, dword [ebx + 4]
mov ebx, dword [ebx + 0x24]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x90], edx
mov dword [ebp - 0xb8], ebx
mov edi, dword [eax + 0x28]
mov dword [ebp - 0xc8], edi
mov edi, dword [eax + 0x3c]
mov eax, dword [eax]
mov dword [ebp - 0xc0], edi
mov edi, dword [ebp - 0x94]
cmp eax, 0x35
ja case.0x1002c157.4
movzx eax, byte [eax + 0x1002dd44]
jmp dword [eax*4 + 0x1002dcc0]
mov ecx, dword [ebp - 0x8c]
xor ebx, ebx
mov eax, dword [ebp + 0x20]
xor edx, edx
xor esi, esi
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xb8], ebx
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], 0
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0x90], edx
mov dword [ecx + 0x1c], 1
mov dword [ecx + 0x10], 1
test al, 1
je 0x1002c2d1
jmp 0x1002c1b8
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ebp + 0x20]
mov ebx, edi
cmp ebx, dword [ebp - 0xac]
mov ebx, dword [ebp - 0xb8]
jb 0x1002c1f3
test al, 2
mov dword [ebp - 0xa8], 1
mov eax, 0xfffffffc
mov dword [ecx], 1
cmovne eax, dword [ebp - 0xa8]
mov dword [ebp - 0x98], eax
mov ecx, eax
jmp 0x1002d92a
movzx eax, byte [edi]
inc edi
mov dword [ecx + 8], eax
mov dword [ebp - 0x94], edi
jmp 0x1002c208
mov ecx, dword [ebp - 0x8c]
cmp edi, dword [ebp - 0xac]
jb 0x1002c23d
test byte [ebp + 0x20], 2
mov eax, 0xfffffffc
mov dword [ebp - 0xa8], 1
cmovne eax, dword [ebp - 0xa8]
mov dword [ecx], 2
mov ecx, eax
mov dword [ebp - 0x98], eax
jmp 0x1002d92a
movzx ebx, byte [edi]
xor edx, edx
mov eax, dword [ecx + 8]
inc edi
shl eax, 8
add eax, ebx
mov dword [ebp - 0xa8], 0x1f
div dword [ebp - 0xa8]
mov dword [ecx + 0xc], ebx
test edx, edx
mov dword [ebp - 0x94], edi
mov edx, dword [ecx + 8]
jne 0x1002c27c
test bl, 0x20
jne 0x1002c27c
mov eax, edx
and al, 0xf
cmp al, 8
jne 0x1002c27c
xor ebx, ebx
jmp 0x1002c281
mov ebx, 1
cmp dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], ebx
jne 0x1002c2c3
shr edx, 4
mov eax, 1
lea ecx, [edx + 8]
shl eax, cl
cmp eax, 0x8000
ja 0x1002c2b0
cmp dword [ebp - 0x9c], eax
jb 0x1002c2b0
xor eax, eax
jmp 0x1002c2b5
mov eax, 1
mov ecx, dword [ebp - 0x8c]
or ebx, eax
mov dword [ebp - 0xb8], ebx
test ebx, ebx
jne 0x1002c3d5
mov edx, dword [ebp - 0x90]
cmp esi, 3
jae 0x1002c306
cmp edi, dword [ebp - 0xac]
jae 0x1002d5a5
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
or edx, eax
mov dword [ebp - 0x94], edi
add esi, 8
mov dword [ebp - 0x90], edx
cmp esi, 3
jb case.0x1002c157.3
mov ecx, dword [ebp - 0x8c]
mov eax, edx
sub esi, 3
and eax, 7
shr edx, 3
mov dword [ecx + 0x14], eax
shr eax, 1
mov dword [ebp - 0x90], edx
mov dword [ebp - 0xa0], esi
mov dword [ecx + 0x18], eax
jne 0x1002d06c
mov eax, esi
and eax, 7
cmp esi, eax
jae 0x1002c362
cmp edi, dword [ebp - 0xac]
jae 0x1002d5c7
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
add esi, 8
or edx, eax
inc edi
mov eax, esi
mov dword [ebp - 0x94], edi
and eax, 7
mov dword [ebp - 0x90], edx
cmp esi, eax
jb case.0x1002c157.5
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
mov dword [ebp - 0x90], edx
xor ebx, ebx
cmp ebx, 4
jae 0x1002cee4
test esi, esi
je case.0x1002c157.7
cmp esi, 8
jae 0x1002c3b3
cmp edi, dword [ebp - 0xac]
jae 0x1002d5e9
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
or edx, eax
mov dword [ebp - 0x94], edi
add esi, 8
mov dword [ebp - 0x90], edx
cmp esi, 8
jb case.0x1002c157.6
mov eax, dword [ebp - 0x8c]
sub esi, 8
mov byte [eax + ebx + 0x2920], dl
shr edx, 8
inc ebx
mov dword [ebp - 0x90], edx
jmp 0x1002c373
mov ecx, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x90]
mov dword [ebp - 0x98], 0xffffffff
mov dword [ecx], 0x24
jmp 0x1002d9a2
cmp edi, dword [ebp - 0xac]
jae 0x1002d763
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
mov ecx, dword [ebp - 0xc8]
or edx, eax
add esi, 8
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x90], edx
cmp esi, ecx
jb case.0x1002c157.18
mov eax, 1
sub esi, ecx
shl eax, cl
dec eax
mov dword [ebp - 0xa0], esi
and eax, edx
shr edx, cl
mov dword [ebp - 0x90], edx
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
movsx eax, byte [edx + 0x100bbd00]
add ecx, eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xbc], ecx
cmp edx, 0x10
jne 0x1002c46f
movzx edx, byte [eax + ebx + 0x2923]
jmp 0x1002c471
xor edx, edx
push ecx
add eax, 0x2924
push edx
add eax, ebx
push eax
call fcn.1008e1a0
mov ecx, dword [ebp - 0x8c]
add esp, 0xc
add ebx, dword [ebp - 0xbc]
mov edx, dword [ebp - 0x90]
mov eax, dword [ecx + 0x30]
add eax, dword [ecx + 0x2c]
mov edi, dword [ebp - 0x94]
mov dword [ebp - 0xb8], ebx
cmp ebx, eax
jae 0x1002c643
cmp esi, 0xf
jae 0x1002c5ab
mov eax, dword [ebp - 0xac]
sub eax, edi
cmp eax, 2
jge 0x1002c575
mov eax, edx
and eax, 0x3ff
movsx eax, word [ecx + eax*2 + 0x1ca0]
mov dword [ebp - 0x9c], eax
test eax, eax
js 0x1002c4f3
sar eax, 9
test eax, eax
je case.0x1002c157.16
cmp esi, eax
jae 0x1002c5ab
jmp case.0x1002c157.16
cmp esi, 0xa
jbe case.0x1002c157.16
mov ecx, 0xa
mov dword [ebp - 0xa0], ecx
inc dword [ebp - 0xa0]
mov eax, edx
shr eax, cl
mov ecx, dword [ebp - 0x9c]
and eax, 1
not ecx
add eax, ecx
mov ecx, dword [ebp - 0x8c]
movsx eax, word [ecx + eax*2 + 0x24a0]
mov dword [ebp - 0x9c], eax
test eax, eax
jns 0x1002c5ab
mov ecx, dword [ebp - 0xa0]
lea eax, [ecx + 1]
cmp esi, eax
jae 0x1002c503
cmp edi, dword [ebp - 0xac]
jae 0x1002d540
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
mov ecx, dword [ebp - 0x8c]
or edx, eax
add esi, 8
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x90], edx
cmp esi, 0xf
jb 0x1002c4c9
jmp 0x1002c5ab
movzx edx, byte [edi + 1]
lea ecx, [esi + 8]
movzx eax, byte [edi]
mov edi, dword [ebp - 0x94]
shl edx, cl
add edi, 2
mov ecx, esi
mov dword [ebp - 0x94], edi
shl eax, cl
mov ecx, dword [ebp - 0x8c]
or edx, eax
or dword [ebp - 0x90], edx
add esi, 0x10
mov edx, dword [ebp - 0x90]
mov eax, edx
and eax, 0x3ff
movsx eax, word [ecx + eax*2 + 0x1ca0]
mov dword [ebp - 0xb0], eax
test eax, eax
js 0x1002c5d6
mov ecx, eax
sar ecx, 9
and eax, 0x1ff
mov dword [ebp - 0xb0], eax
jmp 0x1002c617
mov edi, dword [ebp - 0x8c]
mov ecx, 0xa
mov ebx, dword [ebp - 0xb0]
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 0x1002c5e7
mov edi, dword [ebp - 0x94]
mov dword [ebp - 0xb0], ebx
mov ebx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0xb0]
shr edx, cl
sub esi, ecx
mov dword [ebp - 0x90], edx
mov dword [ebp - 0xa0], esi
cmp eax, 0x10
jae 0x1002d51c
mov ecx, dword [ebp - 0x8c]
mov byte [ecx + ebx + 0x2924], al
inc ebx
jmp 0x1002c495
jne 0x1002d80f
mov eax, dword [ecx + 0x2c]
push eax
lea eax, [ecx + 0x2924]
push eax
lea eax, [ecx + 0x40]
push eax
call fcn.1008dc20
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ecx + 0x2c]
push dword [ecx + 0x30]
add eax, 0x2924
add eax, ecx
push eax
lea eax, [ecx + 0xde0]
push eax
call fcn.1008dc20
mov ecx, dword [ebp - 0x8c]
add esp, 0x18
dec dword [ecx + 0x18]
mov eax, dword [ecx + 0x18]
test eax, eax
jns 0x1002d238
mov edx, dword [ebp - 0x90]
mov ecx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0xac]
sub eax, edi
mov dword [ebp - 0xa8], eax
cmp eax, 4
jl 0x1002c824
mov eax, dword [ebp - 0xd4]
sub eax, ecx
cmp eax, 2
jl 0x1002c81e
cmp esi, 0xf
jae 0x1002c6e2
movzx eax, word [edi]
mov ecx, esi
shl eax, cl
add edi, 2
or edx, eax
mov dword [ebp - 0x94], edi
add esi, 0x10
mov ecx, dword [ebp - 0x8c]
mov eax, edx
and eax, 0x3ff
movsx ebx, word [ecx + eax*2 + 0x160]
test ebx, ebx
js 0x1002c702
mov ecx, ebx
sar ecx, 9
jmp 0x1002c73a
mov ecx, 0xa
mov dword [ebp - 0x9c], ecx
nop dword [eax]
mov eax, edx
not ebx
shr eax, cl
mov ecx, dword [ebp - 0x8c]
and eax, 1
add eax, ebx
movsx ebx, word [ecx + eax*2 + 0x960]
mov ecx, dword [ebp - 0x9c]
inc ecx
mov dword [ebp - 0x9c], ecx
test ebx, ebx
js 0x1002c710
shr edx, cl
sub esi, ecx
mov dword [ebp - 0x90], edx
test ebx, 0x100
jne 0x1002c9ba
cmp esi, 0xf
jae 0x1002c76a
movzx eax, word [edi]
mov ecx, esi
shl eax, cl
add edi, 2
or edx, eax
mov dword [ebp - 0x94], edi
add esi, 0x10
mov ecx, dword [ebp - 0x8c]
mov eax, edx
and eax, 0x3ff
movsx eax, word [ecx + eax*2 + 0x160]
mov dword [ebp - 0x9c], eax
test eax, eax
js 0x1002c790
mov ecx, eax
sar ecx, 9
jmp 0x1002c7d6
mov ecx, 0xa
mov dword [ebp - 0xa0], ecx
nop dword [eax + eax]
mov eax, edx
shr eax, cl
mov ecx, dword [ebp - 0x9c]
and eax, 1
not ecx
add eax, ecx
mov ecx, dword [ebp - 0x8c]
movsx eax, word [ecx + eax*2 + 0x960]
mov ecx, dword [ebp - 0xa0]
inc ecx
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa0], ecx
test eax, eax
js 0x1002c7a0
shr edx, cl
sub esi, ecx
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x90], edx
mov byte [ecx], bl
lea edi, [ecx + 1]
mov dword [ebp - 0x9c], edi
mov edi, dword [ebp - 0x94]
test eax, 0x100
jne 0x1002c9ac
mov edi, dword [ebp - 0x9c]
add ecx, 2
mov dword [ebp - 0xa4], ecx
mov byte [edi], al
mov edi, dword [ebp - 0x94]
jmp 0x1002c6a0
mov eax, dword [ebp - 0xa8]
cmp esi, 0xf
jae 0x1002c91d
cmp eax, 2
jge 0x1002c8ed
mov ecx, dword [ebp - 0x8c]
mov eax, edx
and eax, 0x3ff
movsx eax, word [ecx + eax*2 + 0x160]
mov dword [ebp - 0x9c], eax
test eax, eax
js 0x1002c866
sar eax, 9
test eax, eax
je case.0x1002c157.23
cmp esi, eax
jae 0x1002c91d
jmp case.0x1002c157.23
cmp esi, 0xa
jbe case.0x1002c157.23
mov ecx, 0xa
mov dword [ebp - 0xa0], ecx
mov edi, dword [ebp - 0x8c]
mov eax, edx
shr eax, cl
mov ecx, dword [ebp - 0x9c]
and eax, 1
not ecx
add eax, ecx
movsx ecx, word [edi + eax*2 + 0x960]
mov eax, dword [ebp - 0xa0]
mov edi, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0xa0], eax
test ecx, ecx
jns 0x1002c91d
mov ecx, dword [ebp - 0xa0]
inc eax
cmp esi, eax
jae 0x1002c876
cmp edi, dword [ebp - 0xac]
jae 0x1002d562
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
or edx, eax
mov dword [ebp - 0x94], edi
add esi, 8
mov dword [ebp - 0x90], edx
cmp esi, 0xf
jb 0x1002c836
jmp 0x1002c91d
movzx edx, byte [edi + 1]
lea ecx, [esi + 8]
movzx eax, byte [edi]
mov edi, dword [ebp - 0x94]
shl edx, cl
add edi, 2
mov ecx, esi
mov dword [ebp - 0x94], edi
shl eax, cl
or edx, eax
or dword [ebp - 0x90], edx
add esi, 0x10
mov edx, dword [ebp - 0x90]
mov ebx, dword [ebp - 0x8c]
mov eax, edx
and eax, 0x3ff
movsx ebx, word [ebx + eax*2 + 0x160]
test ebx, ebx
js 0x1002c943
mov ecx, ebx
sar ecx, 9
and ebx, 0x1ff
jmp 0x1002c97a
mov ecx, 0xa
mov dword [ebp - 0x9c], ecx
nop
mov eax, edx
not ebx
shr eax, cl
mov ecx, dword [ebp - 0x8c]
and eax, 1
add eax, ebx
movsx ebx, word [ecx + eax*2 + 0x960]
mov ecx, dword [ebp - 0x9c]
inc ecx
mov dword [ebp - 0x9c], ecx
test ebx, ebx
js 0x1002c950
shr edx, cl
sub esi, ecx
mov dword [ebp - 0x90], edx
cmp ebx, 0x100
jae 0x1002c9ba
mov ecx, dword [ebp - 0xa4]
cmp ecx, dword [ebp - 0xd4]
jae 0x1002d584
mov byte [ecx], bl
inc ecx
mov dword [ebp - 0xa4], ecx
jmp 0x1002c6a0
mov ecx, dword [ebp - 0x9c]
mov ebx, eax
mov dword [ebp - 0xa4], ecx
and ebx, 0x1ff
mov dword [ebp - 0xb8], ebx
cmp ebx, 0x100
je 0x1002ce0b
lea eax, [ebx*4 - 0x404]
mov ecx, dword [eax + 0x100bbb68]
mov ebx, dword [eax + 0x100bbae8]
mov dword [ebp - 0xc8], ecx
test ecx, ecx
je 0x1002ca38
cmp esi, ecx
jae 0x1002ca22
cmp edi, dword [ebp - 0xac]
jae 0x1002d741
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
mov ecx, dword [ebp - 0xc8]
or edx, eax
add esi, 8
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x90], edx
cmp esi, ecx
jb case.0x1002c157.25
mov eax, 1
sub esi, ecx
shl eax, cl
dec eax
and eax, edx
shr edx, cl
mov dword [ebp - 0x90], edx
add ebx, eax
cmp esi, 0xf
jae 0x1002cb39
mov eax, dword [ebp - 0xac]
sub eax, edi
cmp eax, 2
jge 0x1002cb09
mov ecx, dword [ebp - 0x8c]
mov eax, edx
and eax, 0x3ff
movsx eax, word [ecx + eax*2 + 0xf00]
mov dword [ebp - 0x9c], eax
test eax, eax
js 0x1002ca82
sar eax, 9
test eax, eax
je case.0x1002c157.26
cmp esi, eax
jae 0x1002cb3f
jmp case.0x1002c157.26
cmp esi, 0xa
jbe case.0x1002c157.26
mov ecx, 0xa
mov dword [ebp - 0xa0], ecx
mov edi, dword [ebp - 0x8c]
mov eax, edx
shr eax, cl
mov ecx, dword [ebp - 0x9c]
and eax, 1
not ecx
add eax, ecx
movsx ecx, word [edi + eax*2 + 0x1700]
mov eax, dword [ebp - 0xa0]
mov edi, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0xa0], eax
test ecx, ecx
jns 0x1002cb39
mov ecx, dword [ebp - 0xa0]
inc eax
cmp esi, eax
jae 0x1002ca92
cmp edi, dword [ebp - 0xac]
jae 0x1002d6dc
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
or edx, eax
mov dword [ebp - 0x94], edi
add esi, 8
mov dword [ebp - 0x90], edx
cmp esi, 0xf
jb 0x1002ca52
jmp 0x1002cb39
movzx edx, byte [edi + 1]
lea ecx, [esi + 8]
movzx eax, byte [edi]
mov edi, dword [ebp - 0x94]
shl edx, cl
add edi, 2
mov ecx, esi
mov dword [ebp - 0x94], edi
shl eax, cl
or edx, eax
or dword [ebp - 0x90], edx
add esi, 0x10
mov edx, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x8c]
mov eax, edx
and eax, 0x3ff
movsx eax, word [ecx + eax*2 + 0xf00]
mov dword [ebp - 0x9c], eax
test eax, eax
js 0x1002cb64
mov ecx, eax
sar ecx, 9
and eax, 0x1ff
jmp 0x1002cba6
mov ecx, 0xa
mov dword [ebp - 0xa0], ecx
nop
mov eax, edx
shr eax, cl
mov ecx, dword [ebp - 0x9c]
and eax, 1
not ecx
add eax, ecx
mov ecx, dword [ebp - 0x8c]
movsx eax, word [ecx + eax*2 + 0x1700]
mov ecx, dword [ebp - 0xa0]
inc ecx
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa0], ecx
test eax, eax
js 0x1002cb70
shr edx, cl
sub esi, ecx
mov ecx, dword [eax*4 + 0x100bbc68]
mov eax, dword [eax*4 + 0x100bbbe8]
mov dword [ebp - 0x90], edx
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xb0], eax
test ecx, ecx
je 0x1002cc21
cmp esi, ecx
jae 0x1002cc01
cmp edi, dword [ebp - 0xac]
jae 0x1002d6fe
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
mov ecx, dword [ebp - 0xc8]
or edx, eax
add esi, 8
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x90], edx
cmp esi, ecx
jb case.0x1002c157.27
mov eax, 1
sub esi, ecx
shl eax, cl
dec eax
and eax, edx
shr edx, cl
add dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x90], edx
mov ecx, dword [ebp - 0xa4]
sub ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0xc0], ecx
test eax, eax
je 0x1002cc42
cmp eax, ecx
ja 0x1002cc42
test ecx, ecx
jne 0x1002cc4c
test byte [ebp + 0x20], 4
jne case.0x1002c157.37
mov edi, dword [ebp - 0x94]
sub ecx, eax
and ecx, dword [ebp - 0xd0]
add ecx, dword [ebp + 0x14]
cmp dword [ebp - 0xa4], ecx
mov eax, ecx
mov dword [ebp - 0xa0], ecx
cmova eax, dword [ebp - 0xa4]
add eax, ebx
cmp eax, dword [ebp - 0xd4]
jbe 0x1002ccc8
mov ecx, dword [ebp - 0xa4]
mov eax, ebx
dec ebx
test eax, eax
je 0x1002c6a0
cmp ecx, dword [ebp - 0xd4]
jae 0x1002d720
mov eax, dword [ebp - 0xc0]
sub eax, dword [ebp - 0xb0]
and eax, dword [ebp - 0xd0]
mov edx, dword [ebp + 0x14]
mov al, byte [eax + edx]
mov edx, dword [ebp - 0x90]
mov byte [ecx], al
inc ecx
inc dword [ebp - 0xc0]
mov dword [ebp - 0xa4], ecx
jmp 0x1002cc82
cmp ebx, 9
jb 0x1002cd79
cmp ebx, dword [ebp - 0xb0]
ja 0x1002cd7e
mov eax, ebx
and eax, 0xfffffff8
add eax, ecx
mov dword [ebp - 0xa8], eax
nop word [eax + eax]
mov eax, dword [ecx]
mov edi, dword [ebp - 0xa4]
mov ecx, dword [ecx + 4]
mov dword [edi], eax
mov eax, edi
mov dword [eax + 4], ecx
add eax, 8
mov ecx, dword [ebp - 0xa0]
add ecx, 8
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], ecx
cmp ecx, dword [ebp - 0xa8]
jb 0x1002ccf0
mov edi, dword [ebp - 0x94]
and ebx, 7
cmp ebx, 3
jae 0x1002cd79
test ebx, ebx
je 0x1002c69a
mov edx, dword [ebp - 0xa4]
mov al, byte [ecx]
mov byte [edx], al
mov edx, dword [ebp - 0x90]
cmp ebx, 1
jbe 0x1002cd66
mov al, byte [ecx + 1]
mov ecx, dword [ebp - 0xa4]
mov byte [ecx + 1], al
add ecx, ebx
mov dword [ebp - 0xa4], ecx
jmp 0x1002c6a0
mov ecx, dword [ebp - 0xa4]
add ecx, ebx
mov dword [ebp - 0xa4], ecx
jmp 0x1002c6a0
cmp ebx, 2
jbe 0x1002cdd1
lea ecx, [ebx - 3]
mov eax, 0xaaaaaaab
mul ecx
mov ecx, dword [ebp - 0xa0]
mov eax, edx
mov edx, dword [ebp - 0xa4]
shr eax, 1
inc eax
mov dword [ebp - 0x9c], eax
nop
movzx eax, byte [ecx]
sub ebx, 3
mov byte [edx], al
movzx eax, byte [ecx + 1]
mov byte [edx + 1], al
movzx eax, byte [ecx + 2]
add ecx, 3
mov byte [edx + 2], al
add edx, 3
sub dword [ebp - 0x9c], 1
jne 0x1002cda0
mov dword [ebp - 0xa4], edx
mov edx, dword [ebp - 0x90]
test ebx, ebx
je 0x1002c69a
mov edi, dword [ebp - 0xa4]
mov al, byte [ecx]
mov byte [edi], al
mov edi, dword [ebp - 0x94]
cmp ebx, 1
jbe 0x1002cd66
mov al, byte [ecx + 1]
mov ecx, dword [ebp - 0xa4]
mov byte [ecx + 1], al
add ecx, ebx
mov dword [ebp - 0xa4], ecx
jmp 0x1002c6a0
mov ecx, dword [ebp - 0x8c]
test byte [ecx + 0x14], 1
je 0x1002c2d1
mov eax, esi
and eax, 7
cmp esi, eax
jae 0x1002ce52
cmp edi, dword [ebp - 0xac]
jae 0x1002d84b
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
add esi, 8
or edx, eax
inc edi
mov eax, esi
mov dword [ebp - 0x94], edi
and eax, 7
mov dword [ebp - 0x90], edx
cmp esi, eax
jb case.0x1002c157.32
mov eax, dword [ebp - 0xcc]
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
mov dword [ebp - 0x90], edx
cmp edi, eax
jbe 0x1002ce83
nop dword [eax + eax]
cmp esi, 8
jb 0x1002ce7d
dec edi
sub esi, 8
cmp edi, eax
ja 0x1002ce70
mov dword [ebp - 0x94], edi
mov edi, dword [ebp - 0x90]
xor edx, edx
mov ecx, esi
xor eax, eax
bts edx, ecx
cmp ecx, 0x20
cmovae eax, edx
xor edx, eax
dec edx
and edi, edx
test byte [ebp + 0x20], 1
mov dword [ebp - 0x90], edi
je 0x1002d98c
mov edx, edi
xor ebx, ebx
mov edi, dword [ebp - 0x94]
jmp 0x1002d89f
cmp edi, dword [ebp - 0xac]
jae 0x1002d60b
mov ecx, dword [ebp - 0x8c]
mov al, byte [edi]
inc edi
mov dword [ebp - 0x94], edi
mov byte [ecx + ebx + 0x2920], al
inc ebx
jmp 0x1002c373
mov ecx, dword [ebp - 0x8c]
movzx ebx, byte [ecx + 0x2921]
movzx eax, byte [ecx + 0x2920]
movzx ecx, byte [ecx + 0x2923]
shl ebx, 8
or ebx, eax
shl ecx, 8
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xb8], ebx
movzx eax, byte [eax + 0x2922]
or ecx, eax
xor ecx, 0xffff
cmp ebx, ecx
jne case.0x1002c157.39
mov ecx, dword [ebp - 0xa4]
test ebx, ebx
je 0x1002d061
test esi, esi
je case.0x1002c157.9
cmp esi, 8
jae 0x1002cf6b
cmp edi, dword [ebp - 0xac]
jae 0x1002d62d
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
or edx, eax
mov dword [ebp - 0x94], edi
add esi, 8
mov dword [ebp - 0x90], edx
cmp esi, 8
jb case.0x1002c157.51
mov ecx, dword [ebp - 0xa4]
movzx eax, dl
shr edx, 8
sub esi, 8
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0x90], edx
jmp 0x1002cf8e
mov eax, dword [ebp - 0xb0]
cmp ecx, dword [ebp - 0xd4]
jae 0x1002d64f
mov byte [ecx], al
inc ecx
dec ebx
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xb8], ebx
jmp 0x1002cf30
test ebx, ebx
je 0x1002d061
mov edx, dword [ebp - 0xd4]
cmp ecx, edx
jb 0x1002cfe5
mov eax, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x90]
mov dword [ebp - 0x98], 2
mov dword [eax], 9
jmp 0x1002d9a2
mov edx, dword [ebp - 0xd4]
mov eax, dword [ebp - 0xac]
cmp edi, eax
jae 0x1002d670
sub eax, edi
sub edx, ecx
mov dword [ebp - 0xa0], eax
mov eax, edx
cmp edx, dword [ebp - 0xa0]
cmovae eax, dword [ebp - 0xa0]
cmp eax, ebx
jae 0x1002d025
cmp edx, dword [ebp - 0xa0]
cmovae edx, dword [ebp - 0xa0]
mov dword [ebp - 0x9c], edx
jmp 0x1002d02d
mov edx, ebx
mov dword [ebp - 0x9c], ebx
push edx
push edi
push ecx
call fcn.1008dc20
mov eax, dword [ebp - 0x9c]
add esp, 0xc
mov ecx, dword [ebp - 0xa4]
add edi, eax
add ecx, eax
mov dword [ebp - 0x94], edi
sub ebx, eax
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xb8], ebx
jmp 0x1002cfac
mov edx, dword [ebp - 0x90]
jmp 0x1002ce0b
cmp eax, 3
je 0x1002d7ac
cmp eax, 1
jne 0x1002d0fc
movaps xmm0, xmmword [0x100bbd40]
lea edi, [ecx + 0x40]
push 0x90
mov dword [ecx + 0x2c], 0x120
mov dword [ecx + 0x30], 0x20
push 8
movups xmmword [ecx + 0xde0], xmm0
push edi
movups xmmword [ecx + 0xdf0], xmm0
call fcn.1008e1a0
push 0x70
add edi, 0x90
push 9
push edi
call fcn.1008e1a0
movaps xmm0, xmmword [str._a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_acw]
add esp, 0x18
mov ecx, dword [ebp - 0x8c]
movups xmmword [edi + 0x70], xmm0
movq qword [edi + 0x80], xmm0
mov dword [edi + 0x88], 0x8080808
mov dword [edi + 0x8c], 0x8080808
mov edi, dword [ebp - 0x94]
jmp 0x1002c689
xor ebx, ebx
cmp ebx, 3
jae 0x1002d19a
movsx eax, byte [ebx + 0x100bbd0c]
cmp esi, eax
jae 0x1002d142
cmp edi, dword [ebp - 0xac]
jae 0x1002d698
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
or edx, eax
mov dword [ebp - 0x94], edi
movsx eax, byte [ebx + 0x100bbd0c]
add esi, 8
mov dword [ebp - 0x90], edx
cmp esi, eax
jb case.0x1002c157.11
mov cl, byte [ebx + 0x100bbd0c]
mov edx, 1
mov eax, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x90]
shl edx, cl
dec edx
and edx, edi
mov dword [eax + ebx*4 + 0x2c], edx
movsx ecx, byte [ebx + 0x100bbd0c]
mov eax, dword [ebx*4 + 0x100bbcfc]
sub esi, ecx
shr edi, cl
add eax, edx
mov ecx, dword [ebp - 0x8c]
mov edx, edi
mov dword [ebp - 0x90], edi
mov edi, dword [ebp - 0x94]
mov dword [ebp - 0xa0], esi
mov dword [ecx + ebx*4 + 0x2c], eax
inc ebx
jmp 0x1002d0fe
push 0x120
lea eax, [ecx + 0x1b80]
push 0
push eax
call fcn.1008e1a0
mov edx, dword [ebp - 0x90]
add esp, 0xc
xor ebx, ebx
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0xb8], ebx
cmp ebx, dword [ecx + 0x34]
jae 0x1002d22c
cmp esi, 3
jae 0x1002d1f8
cmp edi, dword [ebp - 0xac]
jae 0x1002d6ba
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
or edx, eax
mov dword [ebp - 0x94], edi
add esi, 8
mov dword [ebp - 0x90], edx
cmp esi, 3
jb case.0x1002c157.14
movzx eax, byte [ebx + 0x100bbce8]
mov ecx, edx
mov edi, dword [ebp - 0x8c]
and ecx, 7
shr edx, 3
sub esi, 3
mov dword [ebp - 0x90], edx
inc ebx
mov dword [ebp - 0xa0], esi
mov byte [eax + edi + 0x1b80], cl
mov edi, dword [ebp - 0x94]
jmp 0x1002d1b8
mov dword [ecx + 0x34], 0x13
jmp 0x1002c689
imul eax, eax, 0xda0
add ecx, 0x40
push 0x40
push 0
add eax, ecx
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x88]
push eax
call fcn.1008e1a0
mov eax, dword [ebp - 0x98]
push 0x800
add eax, 0x120
push 0
push eax
call fcn.1008e1a0
mov eax, dword [ebp - 0x98]
push 0x480
add eax, 0x920
push 0
push eax
call fcn.1008e1a0
mov ecx, dword [ebp - 0x8c]
add esp, 0x24
xor edx, edx
mov eax, dword [ecx + 0x18]
mov ecx, dword [ecx + eax*4 + 0x2c]
test ecx, ecx
je 0x1002d2b6
nop
mov eax, dword [ebp - 0x98]
movzx eax, byte [eax + edx]
inc edx
inc dword [ebp + eax*4 - 0x88]
cmp edx, ecx
jb 0x1002d2a0
xor edi, edi
mov edx, 4
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0x9c], ecx
mov eax, dword [ebp + edx - 0x88]
add ecx, eax
add ecx, ecx
add edi, eax
mov eax, dword [ebp + edx - 0x84]
add dword [ebp - 0x9c], eax
mov dword [ebp + edx - 0x44], ecx
add ecx, eax
mov eax, dword [ebp + edx - 0x80]
add ecx, ecx
add dword [ebp - 0xbc], 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 0x1002d2d1
mov eax, dword [ebp - 0xbc]
add eax, dword [ebp - 0x9c]
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0xa8], edi
mov ecx, dword [ebp - 0xa8]
mov edi, dword [ebp - 0x94]
add ecx, eax
cmp dword [ebp - 0xc4], 0x10000
je 0x1002d34c
cmp ecx, 1
ja case.0x1002c157.35
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0xc4], 0xffffffff
mov dword [ebp - 0xbc], 0
mov eax, dword [ecx + 0x18]
cmp dword [ecx + eax*4 + 0x2c], 0
jbe 0x1002d50c
mov esi, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0x98]
mov eax, dword [ebp - 0xbc]
xor edx, edx
movzx eax, byte [ebx + eax]
mov dword [ebp - 0x9c], eax
test eax, eax
je 0x1002d4e0
mov edi, dword [ebp + eax*4 - 0x48]
mov ecx, dword [ebp - 0x9c]
mov ebx, ecx
lea eax, [edi + 1]
mov dword [ebp + ecx*4 - 0x48], eax
nop dword [eax]
mov ecx, edi
add edx, edx
and ecx, 1
shr edi, 1
or edx, ecx
sub ebx, 1
jne 0x1002d3b0
mov ecx, dword [ebp - 0x9c]
cmp ecx, 0xa
ja 0x1002d434
mov edi, dword [ebp - 0xd0]
mov eax, ecx
shl eax, 9
or eax, dword [ebp - 0xbc]
movzx eax, ax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xd0], edi
cmp edx, 0x400
jae 0x1002d4d4
mov eax, dword [ebp - 0x98]
mov ebx, 1
shl ebx, cl
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0xd0], edi
lea eax, [eax + edx*2]
add eax, 0x120
lea edi, [ebx + ebx]
nop
mov word [eax], cx
add edx, ebx
add eax, edi
cmp edx, 0x400
jb 0x1002d420
jmp 0x1002d4d4
mov ebx, dword [ebp - 0x98]
mov eax, edx
and eax, 0x3ff
lea edi, [ebx + eax*2]
movsx eax, word [edi + 0x120]
mov dword [ebp - 0xc4], eax
test eax, eax
jne 0x1002d463
mov word [edi + 0x120], si
mov edi, esi
sub esi, 2
jmp 0x1002d469
mov edi, dword [ebp - 0xc4]
mov eax, dword [ebp - 0xd0]
shr edx, 9
mov dword [ebp - 0xd0], eax
cmp ecx, 0xb
jbe 0x1002d4b9
lea ebx, [ecx - 0xb]
mov dword [ebp - 0xd0], eax
shr edx, 1
mov eax, edx
and eax, 1
sub eax, edi
mov edi, dword [ebp - 0x98]
movzx ecx, word [edi + eax*2 + 0x91e]
test cx, cx
jne 0x1002d4b1
mov word [edi + eax*2 + 0x91e], si
mov edi, esi
sub esi, 2
jmp 0x1002d4b4
movsx edi, cx
sub ebx, 1
jne 0x1002d486
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebp - 0xbc]
shr edx, 1
and edx, 1
sub edx, edi
mov word [ecx + edx*2 + 0x91e], ax
mov ecx, dword [ebp - 0x8c]
mov ebx, dword [ebp - 0x98]
mov edx, dword [ebp - 0xbc]
mov eax, dword [ecx + 0x18]
inc edx
mov dword [ebp - 0xbc], edx
cmp edx, dword [ecx + eax*4 + 0x2c]
jb 0x1002d380
mov esi, dword [ebp - 0xa0]
mov ebx, dword [ebp - 0xb8]
mov edi, dword [ebp - 0x94]
cmp eax, 2
jne 0x1002c686
xor ebx, ebx
jmp 0x1002c48f
jne 0x1002d526
test ebx, ebx
je case.0x1002c157.17
movsx ecx, byte [eax + 0x100bbcf8]
mov dword [ebp - 0xc8], ecx
cmp esi, ecx
jae 0x1002c41f
jmp case.0x1002c157.18
test byte [ebp + 0x20], 2
mov eax, 1
mov ecx, 0xfffffffc
cmovne ecx, eax
mov eax, dword [ebp - 0x8c]
mov dword [eax], 0x10
jmp 0x1002d924
test byte [ebp + 0x20], 2
mov eax, 1
mov ecx, 0xfffffffc
cmovne ecx, eax
mov eax, dword [ebp - 0x8c]
mov dword [eax], 0x17
jmp 0x1002d924
mov eax, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x90]
mov dword [ebp - 0x98], 2
mov dword [eax], 0x18
jmp 0x1002d9a2
test byte [ebp + 0x20], 2
mov eax, 1
mov ecx, 0xfffffffc
cmovne ecx, eax
mov eax, dword [ebp - 0x8c]
mov dword [eax], 3
jmp 0x1002d924
test byte [ebp + 0x20], 2
mov eax, 1
mov ecx, 0xfffffffc
cmovne ecx, eax
mov eax, dword [ebp - 0x8c]
mov dword [eax], 5
jmp 0x1002d924
test byte [ebp + 0x20], 2
mov eax, 1
mov ecx, 0xfffffffc
cmovne ecx, eax
mov eax, dword [ebp - 0x8c]
mov dword [eax], 6
jmp 0x1002d924
test byte [ebp + 0x20], 2
mov eax, 1
mov ecx, 0xfffffffc
cmovne ecx, eax
mov eax, dword [ebp - 0x8c]
mov dword [eax], 7
jmp 0x1002d924
test byte [ebp + 0x20], 2
mov eax, 1
mov ecx, 0xfffffffc
cmovne ecx, eax
mov eax, dword [ebp - 0x8c]
mov dword [eax], 0x33
jmp 0x1002d924
mov eax, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x90]
mov dword [ebp - 0x98], 2
mov dword [eax], 0x34
jmp 0x1002d9a2
test byte [ebp + 0x20], 2
mov eax, 1
mov edx, dword [ebp - 0x90]
mov ecx, 0xfffffffc
cmovne ecx, eax
mov eax, dword [ebp - 0x8c]
mov dword [eax], 0x26
jmp 0x1002d924
test byte [ebp + 0x20], 2
mov eax, 1
mov ecx, 0xfffffffc
cmovne ecx, eax
mov eax, dword [ebp - 0x8c]
mov dword [eax], 0xb
jmp 0x1002d924
test byte [ebp + 0x20], 2
mov eax, 1
mov ecx, 0xfffffffc
cmovne ecx, eax
mov eax, dword [ebp - 0x8c]
mov dword [eax], 0xe
jmp 0x1002d924
test byte [ebp + 0x20], 2
mov eax, 1
mov ecx, 0xfffffffc
cmovne ecx, eax
mov eax, dword [ebp - 0x8c]
mov dword [eax], 0x1a
jmp 0x1002d924
test byte [ebp + 0x20], 2
mov eax, 1
mov ecx, 0xfffffffc
cmovne ecx, eax
mov eax, dword [ebp - 0x8c]
mov dword [eax], 0x1b
jmp 0x1002d924
mov eax, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x90]
mov dword [ebp - 0x98], 2
mov dword [eax], 0x35
jmp 0x1002d9a2
test byte [ebp + 0x20], 2
mov eax, 1
mov ecx, 0xfffffffc
cmovne ecx, eax
mov eax, dword [ebp - 0x8c]
mov dword [eax], 0x19
jmp 0x1002d924
test byte [ebp + 0x20], 2
mov eax, 1
mov ecx, 0xfffffffc
cmovne ecx, eax
mov eax, dword [ebp - 0x8c]
mov dword [eax], 0x12
jmp 0x1002d924
mov eax, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x90]
mov dword [ebp - 0x98], 0xffffffff
mov dword [eax], 0x27
jmp 0x1002d9a2
mov ecx, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x90]
mov dword [ebp - 0x98], 0xffffffff
mov dword [ecx], 0xa
jmp 0x1002d9a2
mov eax, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x90]
mov dword [ebp - 0x98], 0xffffffff
mov dword [eax], 0x23
jmp 0x1002d9a2
mov eax, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x90]
mov dword [ebp - 0x98], 0xffffffff
mov dword [eax], 0x11
jmp 0x1002d9a2
mov ecx, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x90]
mov dword [ebp - 0x98], 0xffffffff
mov dword [ecx], 0x15
jmp 0x1002d9a2
mov eax, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x90]
mov dword [ebp - 0x98], 0xffffffff
mov dword [eax], 0x25
jmp 0x1002d9a2
test byte [ebp + 0x20], 2
mov eax, 1
mov ecx, 0xfffffffc
cmovne ecx, eax
mov eax, dword [ebp - 0x8c]
mov dword [eax], 0x20
jmp 0x1002d924
cmp edi, dword [ebp - 0xac]
jae 0x1002d907
movzx eax, byte [edi]
inc edi
mov dword [ebp - 0x94], edi
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0xa8], eax
mov eax, dword [ecx + 0x10]
shl eax, 8
or eax, dword [ebp - 0xa8]
inc ebx
mov dword [ecx + 0x10], eax
cmp ebx, 4
jae case.0x1002c157.34
test esi, esi
je case.0x1002c157.42
cmp esi, 8
jae 0x1002d8d7
cmp edi, dword [ebp - 0xac]
jae 0x1002d8e8
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
or edx, eax
mov dword [ebp - 0x94], edi
add esi, 8
mov dword [ebp - 0x90], edx
cmp esi, 8
jb case.0x1002c157.41
movzx eax, dl
shr edx, 8
sub esi, 8
mov dword [ebp - 0x90], edx
jmp 0x1002d883
test byte [ebp + 0x20], 2
mov eax, 1
mov ecx, 0xfffffffc
cmovne ecx, eax
mov eax, dword [ebp - 0x8c]
mov dword [eax], 0x29
jmp 0x1002d924
test byte [ebp + 0x20], 2
mov eax, 1
mov ecx, 0xfffffffc
cmovne ecx, eax
mov eax, dword [ebp - 0x8c]
mov dword [eax], 0x2a
mov dword [ebp - 0x98], ecx
mov eax, ecx
mov dword [ebp - 0xc4], eax
cmp ecx, 1
je case.0x1002c157.4
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x94], edi
mov edi, edx
mov dword [ebp - 0x90], edx
mov dword [ebp - 0xc0], eax
cmp ecx, 0xfffffffc
je 0x1002d9c7
jmp 0x1002d9a2
mov edi, dword [ebp - 0x90]
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x98], 0
mov dword [eax], 0x22
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0xcc]
cmp edx, eax
jbe 0x1002d9cd
cmp esi, 8
jb 0x1002d9cd
dec edx
sub esi, 8
cmp edx, eax
ja 0x1002d9b2
jmp 0x1002d9cd
mov edi, dword [ebp - 0x90]
mov edx, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x8c]
xor eax, eax
mov dword [ecx + 4], esi
xor ecx, ecx
bts ecx, esi
cmp esi, 0x20
mov esi, dword [ebp - 0x8c]
cmovae eax, ecx
sub edx, dword [ebp - 0xcc]
xor ecx, eax
mov eax, dword [ebp - 0xb0]
dec ecx
mov dword [esi + 0x20], eax
and ecx, edi
mov eax, dword [ebp - 0xc8]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0xc0]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 0xd8]
mov dword [esi + 0x38], ecx
mov ecx, dword [ebp - 0xa4]
sub ecx, dword [ebp - 0xb4]
test byte [ebp + 0x20], 9
mov dword [esi + 0x24], ebx
mov dword [eax], edx
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xa4], ecx
mov dword [eax], ecx
je 0x1002dc76
cmp dword [ebp - 0x98], 0
jl 0x1002dc76
mov ebx, dword [esi + 0x1c]
mov eax, 0x5e6ea9af
mul ecx
movzx edi, bx
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, ecx
shr ebx, 0x10
mov dword [ebp - 0x9c], ebx
sub edx, eax
mov dword [ebp - 0xc0], edx
test ecx, ecx
je 0x1002dc3f
mov esi, edx
xor edx, edx
mov dword [ebp - 0xcc], edx
cmp esi, 7
jbe 0x1002db4d
mov eax, 7
sub eax, dword [ebp - 0xb4]
mov dword [ebp - 0xc4], eax
mov ecx, eax
nop word [eax + eax]
mov eax, dword [ebp - 0xb4]
add edx, 8
movzx eax, byte [eax]
add edi, eax
mov eax, dword [ebp - 0xb4]
add ebx, edi
movzx eax, byte [eax + 1]
add edi, eax
mov eax, dword [ebp - 0xb4]
add ebx, edi
movzx eax, byte [eax + 2]
add edi, eax
mov eax, dword [ebp - 0xb4]
add ebx, edi
movzx eax, byte [eax + 3]
add edi, eax
mov eax, dword [ebp - 0xb4]
add ebx, edi
movzx eax, byte [eax + 4]
add edi, eax
mov eax, dword [ebp - 0xb4]
add ebx, edi
movzx eax, byte [eax + 5]
add edi, eax
mov eax, dword [ebp - 0xb4]
add ebx, edi
movzx eax, byte [eax + 6]
add edi, eax
mov eax, dword [ebp - 0xb4]
add ebx, edi
movzx eax, byte [eax + 7]
add edi, eax
mov eax, dword [ebp - 0xb4]
add eax, 8
add ebx, edi
mov dword [ebp - 0xb4], eax
add eax, ecx
cmp eax, esi
jb 0x1002dab0
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xcc], edx
mov dword [ebp - 0x9c], ebx
mov eax, dword [ebp - 0xc0]
xor esi, esi
xor edx, edx
cmp dword [ebp - 0xcc], eax
jae 0x1002dbf2
sub eax, dword [ebp - 0xcc]
cmp eax, 2
jb 0x1002dbda
mov edx, dword [ebp - 0xc0]
mov ecx, esi
mov eax, dword [ebp - 0xcc]
sub edx, eax
mov ebx, dword [ebp - 0xb4]
sub edx, 2
shr edx, 1
inc edx
lea eax, [eax + edx*2]
mov dword [ebp - 0xc4], eax
movzx eax, byte [ebx]
add edi, eax
movzx eax, byte [ebx + 1]
add esi, edi
add ebx, 2
add edi, eax
add ecx, edi
sub edx, 1
jne 0x1002db97
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xa0], ecx
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0xb4], ebx
mov ebx, dword [ebp - 0x9c]
cmp eax, dword [ebp - 0xc0]
jae 0x1002dbed
mov eax, dword [ebp - 0xb4]
movzx eax, byte [eax]
add edi, eax
add ebx, edi
inc dword [ebp - 0xb4]
lea eax, [edx + esi]
add ebx, eax
mov eax, 0x80078071
mov esi, 0x15b0
mul edi
shr edx, 0xf
imul eax, edx, 0xffff000f
add edi, eax
mov eax, 0x80078071
mul ebx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ebx, eax
sub ecx, dword [ebp - 0xc0]
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xc0], esi
jne 0x1002da81
mov esi, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x98]
shl ebx, 0x10
lea eax, [ebx + edi]
mov dword [esi + 0x1c], eax
test ecx, ecx
jne 0x1002dc7c
test byte [ebp + 0x20], 1
je 0x1002dc7c
cmp eax, dword [esi + 0x10]
mov edx, 0xfffffffe
pop edi
cmovne ecx, edx
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008c3d3
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x98]
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008c3d3
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xdc]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [eax], 0
xor ecx, ebp
mov eax, dword [ebp - 0xd8]
pop ebx
mov dword [eax], 0
mov eax, 0xfffffffd
call fcn.1008c3d3
mov esp, ebp
pop ebp
ret