Function at 0x1002c050
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x1003f0bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x70], ebx
mov ecx, dword [esi + 0x1c]
cmp dword [esi + 0x18], ecx
je 0x1002c0b2
lea eax, [ecx + ecx*2]
add eax, eax
mov edx, dword [esi + eax*8 + 0x74c]
sub edx, ecx
mov ecx, dword [esi + eax*8 + 0x750]
mov dword [ebx], ecx
mov ecx, dword [esi + eax*8 + 0x74c]
mov eax, edx
mov dword [esi + 0x1c], ecx
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100348ef
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x30], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
jne 0x1002c0db
lea eax, [ebp - 0x5c]
push eax
push esi
call fcn.1002f030
mov dword [ebp - 0x48], eax
add esp, 8
mov eax, dword [ebp - 0x5c]
jmp 0x1002c0e4
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x48], eax
mov eax, dword [esi + 0x24]
mov ebx, dword [esi + 0x28]
mov dword [ebp - 0x3c], eax
push edi
cmp ebx, 2
jb 0x1002d1c5
push dword [esi]
mov eax, 0x111
cmp ebx, eax
cmova ebx, eax
mov eax, dword [esi + 0xc]
call eax
add esp, 4
mov dword [ebp - 0x44], 0
xor ecx, ecx
mov dword [ebp - 0x38], ecx
lea edx, [eax - 1]
mov al, byte [edx]
mov dword [ebp - 0x2c], edx
mov byte [ebp - 0x25], al
jmp 0x1002c124
mov edx, dword [ebp - 0x2c]
mov eax, dword [esi + ecx*4 + 0x34]
sub edx, eax
mov dword [ebp + ecx*4 - 0x14], eax
mov al, byte [ebp - 0x25]
cmp al, byte [edx - 1]
lea edi, [edx - 1]
jne 0x1002c179
mov eax, dword [ebp - 0x2c]
mov al, byte [eax + 1]
cmp al, byte [edx]
jne 0x1002c179
mov edx, 2
cmp ebx, edx
jbe 0x1002c164
mov eax, dword [ebp - 0x2c]
sub edi, eax
lea ecx, [eax + 2]
mov al, byte [ecx]
cmp al, byte [edi + ecx]
jne 0x1002c161
inc edx
inc ecx
cmp edx, ebx
jb 0x1002c154
mov ecx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x44]
mov eax, ecx
mov dword [ebp + ecx*4 - 0x24], edx
cmp edx, dword [ebp + edi*4 - 0x24]
cmovbe eax, edi
mov dword [ebp - 0x44], eax
jmp 0x1002c184
mov eax, dword [ebp - 0x44]
mov dword [ebp + ecx*4 - 0x24], 0
inc ecx
mov dword [ebp - 0x38], ecx
cmp ecx, 4
jb 0x1002c121
mov edi, dword [ebp + eax*4 - 0x24]
mov ecx, dword [esi + 0x2c]
cmp edi, ecx
jb 0x1002c1c5
mov ecx, dword [ebp - 0x70]
mov dword [ecx], eax
lea eax, [edi - 1]
test eax, eax
je 0x1002c1b2
mov ecx, dword [esi + 0x14]
add dword [esi + 0x30], eax
push eax
push dword [esi]
call ecx
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100348ef
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x48]
cmp ebx, ecx
jb 0x1002c206
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x70]
mov eax, dword [esi + eax*4 + 0x31130]
add eax, 4
mov dword [ecx], eax
lea eax, [ebx - 1]
test eax, eax
je 0x1002c1f3
add dword [esi + 0x30], eax
push eax
push dword [esi]
mov eax, dword [esi + 0x14]
call eax
add esp, 8
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100348ef
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x2c]
mov eax, ecx
sub eax, dword [ebp - 0x14]
mov dl, byte [ecx]
mov al, byte [eax - 1]
mov byte [ebp - 0x25], dl
mov byte [ebp - 0x26], al
cmp ebx, 2
jae 0x1002c22b
cmp dl, al
je 0x1002c22b
cmp edi, 2
jb 0x1002d1c5
mov ebx, dword [esi + 0x44]
mov eax, dword [ebp - 0x68]
mov dword [esi + 0x738], ebx
and eax, dword [esi + 0x58]
movzx edx, byte [ecx - 1]
mov ecx, 8
sub cl, byte [esi + 0x48]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x68]
and eax, dword [esi + 0x54]
shr edx, cl
mov ecx, dword [esi + 0x48]
shl eax, cl
add edx, eax
lea eax, [esi + 0x30f34]
imul ecx, edx, 0x600
movzx edx, byte [ebp - 0x25]
push eax
add ecx, dword [esi + 0x60]
cmp ebx, 7
jb 0x1002c282
movzx eax, byte [ebp - 0x26]
push eax
push edx
push ecx
call fcn.1002d9f0
add esp, 0x10
jmp 0x1002c28c
push edx
push ecx
call fcn.1002d9a0
add esp, 0xc
mov edx, dword [ebp - 0x44]
mov ecx, eax
mov eax, ebx
shl eax, 4
add eax, edx
mov dword [ebp - 0x38], eax
movzx eax, word [esi + eax*2 + 0x32608]
shr eax, 4
mov eax, dword [esi + eax*4 + 0x30f34]
add eax, ecx
mov dword [esi + 0x780], 0xffffffff
mov dword [esi + 0x764], eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x76c], 0
movzx eax, word [esi + eax*2 + 0x32608]
xor eax, 0x7f0
shr eax, 4
mov ecx, dword [esi + eax*4 + 0x30f34]
movzx eax, word [esi + ebx*2 + 0x32788]
xor eax, 0x7f0
mov dword [ebp - 0x54], ecx
shr eax, 4
mov eax, dword [esi + eax*4 + 0x30f34]
add eax, ecx
mov cl, byte [ebp - 0x25]
mov dword [ebp - 0x60], eax
or eax, 0xffffffff
cmp byte [ebp - 0x26], cl
jne 0x1002c354
mov eax, dword [ebp - 0x38]
movzx ecx, word [esi + ebx*2 + 0x327a0]
shr ecx, 4
movzx eax, word [esi + eax*2 + 0x327e8]
shr eax, 4
mov ecx, dword [esi + ecx*4 + 0x30f34]
add ecx, dword [esi + eax*4 + 0x30f34]
or eax, 0xffffffff
add ecx, dword [ebp - 0x60]
cmp ecx, dword [ebp - 0x5c]
jae 0x1002c354
mov dword [esi + 0x764], ecx
xor eax, eax
mov dword [esi + 0x780], 0
mov ebx, dword [ebp - 0x48]
cmp ebx, edi
cmovb ebx, edi
mov dword [ebp - 0x50], ebx
cmp ebx, 2
jae 0x1002c36e
mov ecx, dword [ebp - 0x70]
mov dword [ecx], eax
jmp 0x1002d1ce
mov eax, dword [ebp - 0x14]
mov ecx, ebx
mov dword [esi + 0x77c], 0
mov dword [esi + 0x754], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x758], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x75c], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x760], eax
lea eax, [ecx + ecx*2]
shl eax, 4
add eax, 0x734
add eax, esi
nop dword [eax + eax]
dec ecx
mov dword [eax], 0x40000000
lea eax, [eax - 0x30]
cmp ecx, 2
jae 0x1002c3b0
xor ebx, ebx
mov edi, dword [ebp + ebx*4 - 0x24]
cmp edi, 2
jb 0x1002c42c
push edx
push dword [esi + 0x44]
push ebx
push esi
call fcn.1002d500
imul ecx, dword [ebp - 0x44], 0x110
lea edx, [edi + 0x27]
add eax, dword [ebp - 0x60]
lea edx, [edx + edx*2]
shl edx, 4
add esp, 0x10
add edx, esi
mov dword [ebp - 0x5c], eax
add ecx, 0xde2d
add ecx, edi
lea ecx, [esi + ecx*4]
nop dword [eax + eax]
mov eax, dword [ecx]
add eax, dword [ebp - 0x5c]
cmp eax, dword [edx - 0x1c]
jae 0x1002c41d
mov dword [edx - 0x1c], eax
mov dword [edx - 4], 0
mov dword [edx], ebx
mov dword [edx - 0x14], 0
dec edi
sub ecx, 4
sub edx, 0x30
cmp edi, 2
jae 0x1002c400
mov edx, dword [ebp - 0x44]
inc ebx
cmp ebx, 4
jb 0x1002c3c1
mov eax, dword [esi + 0x44]
mov ebx, dword [ebp - 0x24]
movzx eax, word [esi + eax*2 + 0x32788]
shr eax, 4
mov eax, dword [esi + eax*4 + 0x30f34]
add eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
cmp ebx, 2
jb 0x1002c458
inc ebx
jmp 0x1002c45d
mov ebx, 2
cmp ebx, dword [ebp - 0x48]
ja 0x1002c554
xor ecx, ecx
mov dword [ebp - 0x34], ecx
cmp ebx, dword [esi + 0x31134]
jbe 0x1002c482
add ecx, 2
cmp ebx, dword [esi + ecx*4 + 0x31134]
ja 0x1002c473
mov dword [ebp - 0x34], ecx
imul eax, edx, 0x110
lea edi, [ebx + 0x27]
lea edi, [edi + edi*2]
shl edi, 4
add edi, esi
add eax, 0xcc1b
add eax, ebx
lea eax, [esi + eax*4]
mov edx, dword [esi + ecx*4 + 0x31138]
mov dword [ebp - 0x38], eax
mov eax, dword [eax]
add eax, dword [ebp - 0x5c]
mov dword [ebp - 0x44], edx
lea edx, [ebx - 2]
mov dword [ebp - 0x54], eax
cmp ebx, 5
jb 0x1002c4bf
mov edx, 3
mov eax, dword [ebp - 0x44]
cmp eax, 0x80
jae 0x1002c4d7
shl edx, 7
add edx, eax
mov edx, dword [esi + edx*4 + 0x31dc8]
jmp 0x1002c510
cmp eax, 0x20000
sbb ecx, ecx
shl edx, 5
and ecx, 0xfffffff6
add ecx, 0x10
shr eax, cl
add edx, ecx
mov ecx, dword [ebp - 0x44]
and ecx, 0xf
movzx eax, byte [eax + esi + 0x30734]
lea eax, [eax + edx*2]
mov edx, dword [esi + eax*4 + 0x319c8]
add edx, dword [esi + ecx*4 + 0x325c8]
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x44]
add edx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x4c]
cmp edx, dword [edi - 0x1c]
jae 0x1002c531
add eax, 4
mov dword [edi - 0x1c], edx
mov dword [edi - 4], 0
mov dword [edi], eax
mov dword [edi - 0x14], 0
cmp ebx, dword [esi + ecx*4 + 0x31134]
jne 0x1002c545
add ecx, 2
mov dword [ebp - 0x34], ecx
cmp ecx, dword [ebp - 0x3c]
je 0x1002c554
mov eax, dword [ebp - 0x38]
inc ebx
add eax, 4
add edi, 0x30
jmp 0x1002c49d
mov ebx, 1
mov dword [ebp - 0x30], ebx
jmp 0x1002c563
mov ebx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x68]
lea eax, [ebp - 0x44]
push eax
push esi
mov dword [ebp - 0x8c], edi
call fcn.1002f030
mov ecx, eax
add esp, 8
mov dword [ebp - 0x6c], ecx
cmp ecx, dword [esi + 0x2c]
jae 0x1002d19d
lea ebx, [ebx + ebx*2]
inc edi
shl ebx, 4
add ebx, esi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x60], ebx
cmp dword [ebx + 0x73c], 0
lea eax, [ebx + 0x740]
mov ecx, dword [ebx + 0x74c]
lea edi, [ebx + 0x748]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], edi
je 0x1002c60c
dec ecx
cmp dword [eax], 0
je 0x1002c5f4
mov eax, dword [ebx + 0x744]
lea eax, [eax + eax*2]
add eax, eax
cmp dword [edi], 4
mov eax, dword [esi + eax*8 + 0x738]
jae 0x1002c5e4
mov eax, dword [eax*4 + 0x1003a4d8]
mov edi, dword [eax*4 + 0x1003a478]
jmp 0x1002c624
mov eax, dword [eax*4 + str._a_a_a_a_a_a_a_n_n_n_n_n_b_b_b_b_b_b_b_v_v_v_v_v_t_t_t_t_t_t_t_v_v_v_v_v]
mov edi, dword [eax*4 + 0x1003a478]
jmp 0x1002c624
lea eax, [ecx + ecx*2]
mov dword [ebp - 0x2c], edi
add eax, eax
mov eax, dword [esi + eax*8 + 0x738]
mov edi, dword [eax*4 + 0x1003a478]
jmp 0x1002c624
lea eax, [ecx + ecx*2]
add eax, eax
mov edi, dword [esi + eax*8 + 0x738]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x30]
dec eax
cmp ecx, eax
jne 0x1002c653
cmp dword [ebx + 0x750], 0
jne 0x1002c644
mov edi, dword [edi*4 + 0x1003a508]
mov dword [ebp - 0x40], edi
jmp 0x1002c723
mov edi, dword [edi*4 + 0x1003a478]
mov dword [ebp - 0x40], edi
jmp 0x1002c723
cmp dword [ebx + 0x73c], 0
je 0x1002c691
mov eax, dword [ebp - 0x34]
cmp dword [eax], 0
je 0x1002c691
mov eax, dword [ebx + 0x744]
mov edx, dword [ebp - 0x2c]
mov edi, dword [edi*4 + 0x1003a4d8]
mov dword [ebp - 0x40], edi
lea ecx, [eax + eax*2]
mov edx, dword [edx]
shl ecx, 4
add ecx, 0x734
add ecx, esi
mov dword [ebp - 0x38], ecx
cmp edx, 4
jae 0x1002c70b
jmp 0x1002c6b7
mov edx, dword [ebx + 0x750]
lea ecx, [ecx + ecx*2]
shl ecx, 4
add ecx, 0x734
add ecx, esi
cmp edx, 4
jae 0x1002c701
mov eax, dword [edi*4 + 0x1003a4d8]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x38], ecx
mov eax, dword [ecx + edx*4 + 0x20]
mov dword [ebp - 0x14], eax
mov eax, 1
cmp edx, eax
jb 0x1002c6e4
lea esi, [ecx + 0x20]
mov ecx, edx
lea eax, [edx + 1]
lea edi, [ebp - 0x10]
rep movsd dword es:[edi], dword [esi]
cmp eax, 4
jb 0x1002c6e1
mov esi, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x40]
jmp 0x1002c723
mov ecx, dword [ebp - 0x38]
lea esi, [ecx + 0x20]
mov ecx, 4
lea edi, [ebp - 0x14]
sub ecx, eax
lea edi, [edi + eax*4]
lea esi, [esi + eax*4]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x40]
jmp 0x1002c723
mov edi, dword [edi*4 + str._a_a_a_a_a_a_a_n_n_n_n_n_b_b_b_b_b_b_b_v_v_v_v_v_t_t_t_t_t_t_t_v_v_v_v_v]
mov dword [ebp - 0x40], edi
lea eax, [edx - 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 0x24]
mov dword [ebp - 0xc], eax
mov eax, dword [ecx + 0x28]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x738], edi
mov dword [ebx + 0x754], eax
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x758], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x75c], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x760], eax
xor eax, eax
mov edi, dword [ebx + 0x734]
push dword [esi]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x54], edi
call eax
mov edx, dword [ebp - 0x68]
add esp, 4
and edx, dword [esi + 0x58]
mov dword [ebp - 0x38], edx
lea ecx, [eax - 1]
mov al, byte [ecx]
mov byte [ebp - 0x26], al
mov eax, ecx
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x48], ecx
mov al, byte [eax - 1]
mov byte [ebp - 0x25], al
mov eax, dword [ebp - 0x40]
shl eax, 4
add eax, edx
movzx edx, byte [ecx - 1]
mov dword [ebp - 0x34], eax
movzx eax, word [esi + eax*2 + 0x32608]
shr eax, 4
mov eax, dword [esi + eax*4 + 0x30f34]
add eax, edi
mov dword [ebp - 0x2c], eax
lea eax, [ecx - 1]
mov dword [ebp - 0x88], eax
mov ecx, 8
sub cl, byte [esi + 0x48]
mov eax, dword [esi + 0x54]
and eax, dword [ebp - 0x68]
shr edx, cl
mov ecx, dword [esi + 0x48]
shl eax, cl
add edx, eax
imul ecx, edx, 0x600
movzx edx, byte [ebp - 0x26]
add ecx, dword [esi + 0x60]
cmp dword [ebp - 0x40], 7
mov dword [ebp - 0x5c], ecx
jb 0x1002c7fa
lea eax, [esi + 0x30f34]
push eax
movzx eax, byte [ebp - 0x25]
push eax
push edx
push ecx
call fcn.1002d9f0
add esp, 0x10
mov edi, eax
jmp 0x1002c837
mov ebx, dword [ebp - 0x5c]
xor edi, edi
or edx, 0x100
mov eax, edx
shr eax, 8
movzx ecx, word [ebx + eax*2]
mov eax, edx
shr eax, 7
add edx, edx
and eax, 1
shr ecx, 4
neg eax
sar eax, 4
and eax, 0x7f
xor ecx, eax
add edi, dword [esi + ecx*4 + 0x30f34]
cmp edx, 0x10000
jb 0x1002c805
mov ebx, dword [ebp - 0x60]
add dword [ebp - 0x2c], edi
lea eax, [ebx + 0x76c]
mov ecx, dword [ebx + 0x764]
lea edi, [ebx + 0x77c]
lea edx, [ebx + 0x780]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x2c], ecx
jae 0x1002c886
mov ecx, dword [ebp - 0x2c]
mov dword [ebx + 0x764], ecx
mov ebx, dword [ebp - 0x30]
mov dword [edi], ebx
mov ebx, dword [ebp - 0x60]
mov dword [edx], 0xffffffff
mov dword [eax], 0
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x64], ecx
jmp 0x1002c889
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x34]
movzx eax, word [esi + eax*2 + 0x32608]
xor eax, 0x7f0
shr eax, 4
mov ecx, dword [esi + eax*4 + 0x30f34]
mov eax, dword [ebp - 0x40]
add ecx, dword [ebp - 0x54]
mov dword [ebp - 0x84], ecx
movzx eax, word [esi + eax*2 + 0x32788]
xor eax, 0x7f0
shr eax, 4
mov eax, dword [esi + eax*4 + 0x30f34]
add eax, ecx
mov dword [ebp - 0x74], eax
mov al, byte [ebp - 0x26]
cmp byte [ebp - 0x25], al
jne 0x1002c932
mov eax, dword [ebp - 0x30]
cmp dword [edi], eax
jae 0x1002c8df
cmp dword [edx], 0
je 0x1002c932
mov eax, dword [ebp - 0x40]
movzx ecx, word [esi + eax*2 + 0x327a0]
mov eax, dword [ebp - 0x34]
shr ecx, 4
movzx eax, word [esi + eax*2 + 0x327e8]
mov ecx, dword [esi + ecx*4 + 0x30f34]
shr eax, 4
add ecx, dword [esi + eax*4 + 0x30f34]
add ecx, dword [ebp - 0x74]
cmp ecx, dword [ebp - 0x64]
ja 0x1002c932
mov eax, dword [ebp - 0x30]
mov dword [edi], eax
mov eax, dword [ebp - 0x58]
mov dword [ebx + 0x764], ecx
mov ecx, 1
mov dword [edx], 0
mov dword [eax], 0
jmp 0x1002c935
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x30]
mov ebx, 0xfff
sub ebx, edx
cmp ebx, dword [esi + 0x28]
cmovae ebx, dword [esi + 0x28]
mov dword [ebp - 0x5c], ebx
cmp ebx, 2
jb 0x1002d171
mov edi, dword [esi + 0x2c]
cmp ebx, edi
mov eax, edi
cmovbe eax, ebx
mov dword [ebp - 0x60], eax
test ecx, ecx
jne 0x1002caad
mov al, byte [ebp - 0x26]
cmp byte [ebp - 0x25], al
je 0x1002caad
inc edi
cmp edi, ebx
jbe 0x1002c97c
mov edi, ebx
jmp 0x1002c985
mov edx, 1
cmp edi, edx
jbe 0x1002c9a1
mov ecx, dword [ebp - 0x48]
or ebx, 0xffffffff
inc ecx
mov edx, 1
sub ebx, dword [ebp - 0x14]
mov al, byte [ecx]
cmp al, byte [ebx + ecx]
jne 0x1002c9a1
inc edx
inc ecx
cmp edx, edi
jb 0x1002c994
lea eax, [edx - 1]
mov dword [ebp - 0x64], eax
cmp eax, 2
jb 0x1002caad
mov eax, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x68]
add edx, dword [ebp - 0x30]
inc ebx
and ebx, dword [esi + 0x58]
mov edi, dword [eax*4 + 0x1003a478]
mov eax, edi
shl eax, 4
add eax, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], eax
movzx ecx, word [esi + eax*2 + 0x32608]
movzx eax, word [esi + edi*2 + 0x32788]
xor ecx, 0x7f0
xor eax, 0x7f0
shr ecx, 4
shr eax, 4
mov edi, dword [esi + ecx*4 + 0x30f34]
add edi, dword [esi + eax*4 + 0x30f34]
add edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x50]
cmp eax, edx
jae 0x1002ca2f
lea eax, [eax + eax*2]
mov ecx, edx
shl eax, 4
add eax, 0x734
add eax, esi
sub ecx, dword [ebp - 0x50]
mov dword [ebp - 0x50], edx
nop
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x1002ca20
mov eax, dword [ebp - 0x54]
lea edx, [edx + edx*2]
mov ebx, dword [ebp - 0x40]
shl edx, 4
add edx, 0x734
movzx ecx, word [esi + eax*2 + 0x327e8]
add edx, esi
mov eax, dword [ebx*4 + 0x1003a478]
xor ecx, 0x7f0
shr ecx, 4
movzx eax, word [esi + eax*2 + 0x327a0]
mov ecx, dword [esi + ecx*4 + 0x30f34]
shr eax, 4
add ecx, dword [esi + eax*4 + 0x30f34]
imul eax, dword [ebp - 0x58], 0x110
add eax, dword [ebp - 0x64]
add ecx, dword [esi + eax*4 + 0x378b4]
add ecx, edi
mov edi, dword [ebp - 0x30]
cmp ecx, dword [edx]
jae 0x1002cab0
lea eax, [edi + 1]
mov dword [edx], ecx
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], 0
mov dword [edx + 8], 1
mov dword [edx + 0xc], 0
jmp 0x1002cab0
mov edi, dword [ebp - 0x30]
xor ebx, ebx
mov dword [ebp - 0x2c], 2
mov dword [ebp - 0x3c], ebx
nop dword [eax]
mov eax, dword [ebp - 0x48]
mov ecx, eax
sub ecx, dword [ebp + ebx*4 - 0x14]
mov al, byte [eax]
lea edx, [ecx - 1]
mov dword [ebp - 0x34], edx
cmp al, byte [edx]
jne 0x1002cd95
mov eax, dword [ebp - 0x48]
mov al, byte [eax + 1]
cmp al, byte [ecx]
jne 0x1002cd95
mov edi, 2
cmp dword [ebp - 0x60], edi
jbe 0x1002cb10
mov esi, dword [ebp - 0x60]
lea ecx, [edx + 2]
mov edx, dword [ebp - 0x48]
sub edx, dword [ebp - 0x34]
nop dword [eax]
mov al, byte [edx + ecx]
cmp al, byte [ecx]
jne 0x1002cb0d
inc edi
inc ecx
cmp edi, esi
jb 0x1002cb00
mov esi, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x50]
add edx, edi
mov dword [ebp - 0x54], edx
cmp eax, edx
jae 0x1002cb4f
lea eax, [eax + eax*2]
mov ecx, edx
shl eax, 4
add eax, 0x734
add eax, esi
sub ecx, dword [ebp - 0x50]
mov dword [ebp - 0x50], edx
nop dword [eax]
nop dword [eax + eax]
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x1002cb40
push dword [ebp - 0x38]
mov dword [ebp - 0x58], edi
push dword [ebp - 0x40]
push ebx
push esi
call fcn.1002d500
add eax, dword [ebp - 0x74]
add esp, 0x10
mov dword [ebp - 0x64], eax
imul eax, dword [ebp - 0x38], 0x110
add eax, 0xde2d
add eax, edi
lea eax, [esi + eax*4]
mov dword [ebp - 0x78], eax
mov edx, eax
mov eax, dword [ebp - 0x54]
lea eax, [eax + eax*2]
add eax, 0x75
shl eax, 4
add eax, esi
mov esi, dword [ebp - 0x30]
nop
mov ecx, dword [edx]
add ecx, dword [ebp - 0x64]
cmp ecx, dword [eax - 0x1c]
jae 0x1002cba9
mov dword [eax - 0x1c], ecx
mov dword [eax - 4], esi
mov dword [eax], ebx
mov dword [eax - 0x14], 0
dec edi
sub edx, 4
sub eax, 0x30
cmp edi, 2
jae 0x1002cb90
mov edx, dword [ebp - 0x58]
test ebx, ebx
mov esi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x2c]
lea ecx, [edx + 1]
mov edi, dword [esi + 0x2c]
cmove eax, ecx
add edi, ecx
mov dword [ebp - 0x2c], eax
cmp edi, dword [ebp - 0x5c]
cmova edi, dword [ebp - 0x5c]
cmp ecx, edi
jae 0x1002cbf7
mov eax, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x48]
sub ebx, eax
lea edx, [ecx + eax]
mov al, byte [edx + ebx]
cmp al, byte [edx]
jne 0x1002cbf1
inc ecx
inc edx
cmp ecx, edi
jb 0x1002cbe4
mov ebx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x58]
or eax, 0xffffffff
mov dword [ebp - 0x80], ecx
sub eax, edx
add ecx, eax
mov dword [ebp - 0x7c], ecx
cmp ecx, 2
jb 0x1002cd92
mov ecx, dword [ebp - 0x48]
lea eax, [esi + 0x30f34]
mov ebx, dword [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x34]
add ebx, edx
mov edi, dword [esi + 0x58]
movzx eax, byte [edx + eax]
push eax
movzx eax, byte [edx + ecx]
movzx edx, byte [edx + ecx - 1]
mov ecx, 8
sub cl, byte [esi + 0x48]
push eax
mov eax, dword [esi + 0x54]
and eax, ebx
shr edx, cl
mov ecx, dword [esi + 0x48]
shl eax, cl
add edx, eax
imul eax, edx, 0x600
add eax, dword [esi + 0x60]
push eax
call fcn.1002d9f0
mov ecx, dword [ebp - 0x40]
mov esi, eax
mov edx, edi
add esp, 0x10
and edx, ebx
mov eax, dword [ecx*4 + 0x1003a4d8]
mov ecx, eax
shl ecx, 4
add edx, ecx
mov ecx, dword [ebp - 0x4c]
mov eax, dword [eax*4 + 0x1003a478]
mov dword [ebp - 0x58], eax
movzx ecx, word [ecx + edx*2 + 0x32608]
mov edx, dword [ebp - 0x4c]
shr ecx, 4
shl eax, 4
add esi, dword [edx + ecx*4 + 0x30f34]
mov ecx, dword [ebp - 0x78]
add esi, dword [ebp - 0x64]
add esi, dword [ecx]
lea ecx, [ebx + 1]
and ecx, edi
mov edi, dword [ebp - 0x80]
add edi, dword [ebp - 0x30]
add eax, ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x78], eax
movzx ecx, word [edx + eax*2 + 0x32608]
mov eax, dword [ebp - 0x58]
xor ecx, 0x7f0
shr ecx, 4
movzx eax, word [edx + eax*2 + 0x32788]
mov ebx, dword [edx + ecx*4 + 0x30f34]
xor eax, 0x7f0
shr eax, 4
add ebx, dword [edx + eax*4 + 0x30f34]
mov edx, dword [ebp - 0x50]
add ebx, esi
mov esi, dword [ebp - 0x4c]
cmp edx, edi
jae 0x1002cd11
lea eax, [edx + edx*2]
mov dword [ebp - 0x50], edi
shl eax, 4
mov ecx, edi
add eax, 0x734
add eax, esi
sub ecx, edx
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x1002cd02
mov eax, dword [ebp - 0x78]
movzx ecx, word [esi + eax*2 + 0x327e8]
mov eax, dword [ebp - 0x58]
xor ecx, 0x7f0
shr ecx, 4
movzx eax, word [esi + eax*2 + 0x327a0]
mov edx, dword [esi + ecx*4 + 0x30f34]
lea ecx, [edi + edi*2]
mov edi, dword [ebp - 0x30]
shr eax, 4
shl ecx, 4
add ecx, 0x734
add ecx, esi
add edx, dword [esi + eax*4 + 0x30f34]
imul eax, dword [ebp - 0x64], 0x110
add eax, dword [ebp - 0x7c]
add edx, dword [esi + eax*4 + 0x378b4]
add edx, ebx
mov ebx, dword [ebp - 0x3c]
cmp edx, dword [ecx]
jae 0x1002cd95
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ecx], edx
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], 0
mov dword [ecx + 8], 1
mov dword [ecx + 0xc], 1
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], ebx
jmp 0x1002cd95
mov edi, dword [ebp - 0x30]
inc ebx
mov dword [ebp - 0x3c], ebx
cmp ebx, 4
jb 0x1002cac0
mov edx, dword [ebp - 0x60]
mov ebx, dword [ebp - 0x6c]
cmp ebx, edx
jbe 0x1002cdde
xor eax, eax
xor ecx, ecx
mov ebx, edx
cmp edx, dword [esi + 0x31134]
jbe 0x1002cdd1
nop word [eax + eax]
add eax, 2
mov ecx, eax
mov dword [ebp - 0x44], eax
cmp edx, dword [esi + ecx*4 + 0x31134]
ja 0x1002cdc0
add eax, 2
mov dword [esi + ecx*4 + 0x31134], edx
mov dword [ebp - 0x44], eax
cmp ebx, dword [ebp - 0x2c]
jb 0x1002d16e
mov eax, dword [ebp - 0x40]
lea edx, [ebx + edi]
mov ebx, dword [ebp - 0x50]
movzx eax, word [esi + eax*2 + 0x32788]
shr eax, 4
mov eax, dword [esi + eax*4 + 0x30f34]
add dword [ebp - 0x84], eax
cmp ebx, edx
jae 0x1002ce2f
lea eax, [ebx + ebx*2]
mov dword [ebp - 0x50], edx
shl eax, 4
mov ecx, edx
add eax, 0x734
add eax, esi
sub ecx, ebx
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x1002ce20
mov ebx, dword [ebp - 0x2c]
xor edi, edi
mov dword [ebp - 0x3c], edi
cmp ebx, dword [esi + 0x31134]
jbe 0x1002ce4f
nop
add edi, 2
cmp ebx, dword [esi + edi*4 + 0x31134]
ja 0x1002ce40
mov dword [ebp - 0x3c], edi
mov edx, dword [esi + edi*4 + 0x31138]
cmp edx, 0x20000
mov edi, dword [ebp - 0x2c]
mov eax, edx
sbb ecx, ecx
mov dword [ebp - 0x54], edx
and ecx, 0xfffffff6
add edi, 0x27
add ecx, 0x10
inc ebx
shr eax, cl
movzx eax, byte [eax + esi + 0x30734]
lea eax, [eax + ecx*2]
mov dword [ebp - 0x74], eax
imul eax, dword [ebp - 0x38], 0x110
add eax, 0xcc1b
add eax, dword [ebp - 0x2c]
lea ecx, [esi + eax*4]
mov eax, dword [ebp - 0x30]
add eax, edi
mov dword [ebp - 0x38], ecx
mov edi, dword [ebp - 0x3c]
lea eax, [eax + eax*2]
shl eax, 4
add eax, esi
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx]
lea ecx, [ebx - 3]
add eax, dword [ebp - 0x84]
mov dword [ebp - 0x6c], eax
lea eax, [ebx - 1]
mov dword [ebp - 0x34], ebx
cmp eax, 5
jb 0x1002cec6
mov ecx, 3
cmp edx, 0x80
jae 0x1002cedc
shl ecx, 7
add ecx, edx
mov ecx, dword [esi + ecx*4 + 0x31dc8]
jmp 0x1002cef5
shl ecx, 6
mov eax, edx
add ecx, dword [ebp - 0x74]
and eax, 0xf
mov ecx, dword [esi + ecx*4 + 0x319c8]
add ecx, dword [esi + eax*4 + 0x325c8]
mov eax, dword [ebp - 0x6c]
add eax, ecx
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x7c], eax
cmp eax, dword [ecx - 0x1c]
jae 0x1002cf1a
mov dword [ecx - 0x1c], eax
mov eax, dword [ebp - 0x30]
mov dword [ecx - 4], eax
lea eax, [edx + 4]
mov dword [ecx], eax
mov dword [ecx - 0x14], 0
lea eax, [ebx - 1]
cmp eax, dword [esi + edi*4 + 0x31134]
jne 0x1002d15b
mov eax, dword [ebp - 0x48]
mov edi, dword [esi + 0x2c]
sub eax, edx
add edi, ebx
dec eax
cmp edi, dword [ebp - 0x5c]
mov edx, ebx
mov dword [ebp - 0x6c], eax
cmova edi, dword [ebp - 0x5c]
cmp ebx, edi
jae 0x1002cf60
mov esi, dword [ebp - 0x48]
lea ecx, [ebx + eax]
sub esi, eax
nop dword [eax]
mov al, byte [ecx + esi]
cmp al, byte [ecx]
jne 0x1002cf5d
inc edx
inc ecx
cmp edx, edi
jb 0x1002cf50
mov esi, dword [ebp - 0x4c]
mov eax, 0xffffffff
mov dword [ebp - 0x80], edx
lea ecx, [ebx - 1]
sub eax, ecx
add edx, eax
mov dword [ebp - 0x58], edx
cmp edx, 2
jb 0x1002d115
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x8c]
mov ebx, dword [eax*4 + str._a_a_a_a_a_a_a_n_n_n_n_n_b_b_b_b_b_b_b_v_v_v_v_v_t_t_t_t_t_t_t_v_v_v_v_v]
add esi, edx
mov edi, dword [ecx + 0x58]
lea eax, [ecx + 0x30f34]
push eax
mov eax, dword [ebp - 0x6c]
mov ecx, 8
and edi, esi
movzx eax, byte [edx + eax - 1]
push eax
mov eax, dword [ebp - 0x88]
movzx eax, byte [edx + eax]
push eax
mov eax, dword [ebp - 0x48]
movzx edx, byte [eax + edx - 2]
mov eax, dword [ebp - 0x4c]
sub cl, byte [eax + 0x48]
mov eax, dword [eax + 0x54]
and eax, esi
shr edx, cl
mov esi, dword [ebp - 0x4c]
mov ecx, dword [esi + 0x48]
shl eax, cl
add edx, eax
imul eax, edx, 0x600
add eax, dword [esi + 0x60]
push eax
call fcn.1002d9f0
mov ecx, ebx
mov edx, eax
mov ebx, dword [ebx*4 + 0x1003a478]
add esp, 0x10
shl ecx, 4
mov eax, ebx
add ecx, edi
shl eax, 4
movzx ecx, word [esi + ecx*2 + 0x32608]
shr ecx, 4
add edx, dword [esi + ecx*4 + 0x30f34]
lea ecx, [edi + 1]
and ecx, dword [esi + 0x58]
add edx, dword [ebp - 0x7c]
add eax, ecx
mov edi, dword [ebp - 0x80]
add edi, dword [ebp - 0x30]
mov dword [ebp - 0x78], ecx
movzx ecx, word [esi + eax*2 + 0x32608]
mov dword [ebp - 0x6c], eax
xor ecx, 0x7f0
movzx eax, word [esi + ebx*2 + 0x32788]
shr ecx, 4
xor eax, 0x7f0
shr eax, 4
mov dword [ebp - 0x7c], ebx
mov ebx, dword [esi + ecx*4 + 0x30f34]
add ebx, dword [esi + eax*4 + 0x30f34]
add ebx, edx
mov edx, dword [ebp - 0x50]
cmp edx, edi
jae 0x1002d08f
lea eax, [edx + edx*2]
mov dword [ebp - 0x50], edi
shl eax, 4
mov ecx, edi
add eax, 0x734
add eax, esi
sub ecx, edx
nop word [eax + eax]
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x1002d080
mov eax, dword [ebp - 0x6c]
movzx ecx, word [esi + eax*2 + 0x327e8]
mov eax, dword [ebp - 0x7c]
xor ecx, 0x7f0
shr ecx, 4
movzx eax, word [esi + eax*2 + 0x327a0]
mov edx, dword [esi + ecx*4 + 0x30f34]
lea ecx, [edi + edi*2]
shr eax, 4
shl ecx, 4
add ecx, 0x734
add ecx, esi
add edx, dword [esi + eax*4 + 0x30f34]
imul eax, dword [ebp - 0x78], 0x110
add eax, dword [ebp - 0x58]
add edx, dword [esi + eax*4 + 0x378b4]
add edx, ebx
mov ebx, dword [ebp - 0x34]
cmp edx, dword [ecx]
jae 0x1002d115
mov dword [ecx], edx
mov edx, dword [ebp - 0x30]
mov dword [ecx + 0x1c], 0
mov dword [ecx + 8], 1
mov dword [ecx + 0xc], 1
lea eax, [edx + ebx]
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x54]
add eax, 4
mov dword [ecx + 0x14], eax
jmp 0x1002d118
mov edx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x3c]
add edi, 2
mov dword [ebp - 0x3c], edi
cmp edi, dword [ebp - 0x44]
je 0x1002d171
mov edx, dword [esi + edi*4 + 0x31138]
mov dword [ebp - 0x54], edx
cmp edx, 0x80
jb 0x1002d158
cmp edx, 0x20000
mov eax, edx
sbb ecx, ecx
and ecx, 0xfffffff6
add ecx, 0x10
shr eax, cl
movzx eax, byte [eax + esi + 0x30734]
lea eax, [eax + ecx*2]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x2c]
add dword [ebp - 0x38], 4
add ecx, 0x30
mov dword [ebp - 0x2c], ecx
inc ebx
mov ecx, dword [ebp - 0x38]
jmp 0x1002cea8
mov edx, dword [ebp - 0x30]
inc edx
mov dword [ebp - 0x30], edx
cmp edx, dword [ebp - 0x50]
jne 0x1002c560
mov ecx, dword [ebp - 0x70]
push edx
push ecx
push esi
call fcn.1002bb30
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100348ef
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x44]
mov dword [esi + 0x20], ecx
mov ecx, dword [ebp - 0x70]
push ebx
push ecx
push esi
mov dword [esi + 0x24], eax
call fcn.1002bb30
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100348ef
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x70]
mov dword [ecx], 0xffffffff
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100348ef
mov esp, ebp
pop ebp
ret