Function at 0x47b990
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x517074]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x7c], esi
mov ecx, dword [edi + 0x1c]
cmp dword [edi + 0x18], ecx
je 0x47b9ec
lea edx, [ecx + ecx*2]
add edx, edx
mov eax, dword [edi + edx*8 + 0x74c]
sub eax, ecx
mov ecx, dword [edi + edx*8 + 0x750]
mov dword [esi], ecx
mov ecx, dword [edi + edx*8 + 0x74c]
mov dword [edi + 0x1c], ecx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048bc9e
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x30], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
jne 0x47ba12
lea edx, [ebp - 0x34]
mov ecx, edi
call fcn.0047b700
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x34]
jmp 0x47ba1b
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x40], eax
mov eax, dword [edi + 0x24]
push ebx
mov ebx, dword [edi + 0x28]
mov dword [ebp - 0x50], eax
cmp ebx, 2
jae 0x47ba43
pop ebx
pop edi
mov dword [esi], 0xffffffff
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048bc9e
mov esp, ebp
pop ebp
ret
mov esi, dword [edi + 0xc]
mov eax, 0x111
push dword [edi]
cmp ebx, eax
mov ecx, esi
cmova ebx, eax
call dword [0x4db310]
call esi
xor ecx, ecx
mov dword [ebp - 0x30], 0
lea esi, [edi + 0x34]
mov dword [ebp - 0x68], ecx
add esp, 4
mov dword [ebp - 0x5c], esi
lea edx, [eax - 1]
xor edi, edi
mov al, byte [edx]
mov dword [ebp - 0x2c], edx
mov byte [ebp - 0x25], al
nop
lea ecx, [edi*4]
mov eax, dword [ecx + esi]
mov esi, edx
sub esi, eax
mov dword [ebp + ecx - 0x14], eax
mov al, byte [ebp - 0x25]
dec esi
mov dword [ebp - 0x34], ecx
cmp al, byte [esi]
jne 0x47bae0
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x47bae0
mov edx, 2
cmp ebx, edx
jbe 0x47bac6
mov eax, dword [ebp - 0x2c]
sub esi, eax
lea ecx, [eax + 2]
mov al, byte [ecx]
cmp al, byte [esi + ecx]
jne 0x47bac3
inc edx
inc ecx
cmp edx, ebx
jb 0x47bab6
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x68]
mov dword [ebp + ecx - 0x24], edx
cmp edx, dword [ebp + eax - 0x24]
mov edx, dword [ebp - 0x2c]
jbe 0x47bae8
mov eax, edi
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x30], eax
jmp 0x47baeb
mov dword [ebp + ecx - 0x24], 0
mov eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0x5c]
inc edi
cmp edi, 4
jb 0x47ba80
mov edi, dword [ebp - 0x44]
mov ebx, dword [ebp + eax*4 - 0x24]
mov dword [ebp - 0x3c], ebx
mov ecx, dword [edi + 0x2c]
cmp ebx, ecx
jb 0x47bb3a
mov edx, dword [ebp - 0x7c]
mov dword [edx], eax
lea eax, [ebx - 1]
test eax, eax
je 0x47bb27
mov esi, dword [edi + 0x14]
mov ecx, esi
add dword [edi + 0x30], eax
push eax
push dword [edi]
call dword [0x4db310]
call esi
add esp, 8
mov eax, ebx
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048bc9e
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x40]
cmp esi, ecx
jb 0x47bb86
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x7c]
mov eax, dword [edi + eax*4 + 0x31130]
add eax, 4
mov dword [edx], eax
lea eax, [esi - 1]
test eax, eax
je 0x47bb73
mov esi, dword [edi + 0x14]
mov ecx, esi
add dword [edi + 0x30], eax
push eax
push dword [edi]
call dword [0x4db310]
call esi
mov esi, dword [ebp - 0x40]
add esp, 8
pop ebx
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048bc9e
mov esp, ebp
pop ebp
ret
mov cl, byte [edx]
mov eax, edx
sub eax, dword [ebp - 0x14]
mov byte [ebp - 0x25], cl
mov al, byte [eax - 1]
mov byte [ebp - 0x26], al
cmp esi, 2
jae 0x47bbc3
cmp cl, al
je 0x47bbc3
cmp ebx, 2
jae 0x47bbc3
mov edx, dword [ebp - 0x7c]
mov eax, 1
pop ebx
pop edi
pop esi
mov dword [edx], 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048bc9e
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x44]
mov ecx, 8
mov dword [edi + 0x738], eax
mov eax, dword [ebp - 0x64]
and eax, dword [edi + 0x58]
sub cl, byte [edi + 0x48]
movzx edx, byte [edx - 1]
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 0x54]
and eax, dword [ebp - 0x64]
shr edx, cl
mov ecx, dword [edi + 0x48]
shl eax, cl
add edx, eax
imul ecx, edx, 0x600
movzx edx, byte [ebp - 0x25]
add ecx, dword [edi + 0x60]
cmp dword [edi + 0x44], 7
mov dword [ebp - 0x34], ecx
jb 0x47bc1e
lea eax, [edi + 0x30f34]
push eax
movzx eax, byte [ebp - 0x26]
push eax
call fcn.0047b1d0
add esp, 8
mov esi, eax
jmp 0x47bc62
mov ebx, dword [ebp - 0x34]
xor esi, esi
or edx, 0x100
nop dword [eax]
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 esi, dword [edi + ecx*4 + 0x30f34]
cmp edx, 0x10000
jb 0x47bc30
mov ebx, dword [ebp - 0x3c]
mov eax, dword [edi + 0x44]
mov ecx, dword [ebp - 0x30]
shl eax, 4
add eax, ecx
movzx eax, word [edi + eax*2 + 0x32608]
shr eax, 4
mov eax, dword [edi + eax*4 + 0x30f34]
add eax, esi
mov dword [edi + 0x780], 0xffffffff
mov dword [edi + 0x764], eax
mov dword [edi + 0x76c], 0
mov edx, dword [edi + 0x44]
mov eax, edx
shl eax, 4
add eax, ecx
movzx eax, word [edi + eax*2 + 0x32608]
xor eax, 0x7f0
shr eax, 4
mov eax, dword [edi + eax*4 + 0x30f34]
mov dword [ebp - 0x68], eax
movzx eax, word [edi + edx*2 + 0x32788]
xor eax, 0x7f0
shr eax, 4
mov esi, dword [edi + eax*4 + 0x30f34]
add esi, dword [ebp - 0x68]
mov al, byte [ebp - 0x26]
mov dword [ebp - 0x34], esi
cmp al, byte [ebp - 0x25]
jne 0x47bd33
mov eax, edx
shl eax, 4
add eax, ecx
movzx ecx, word [edi + eax*2 + 0x327e8]
movzx eax, word [edi + edx*2 + 0x327a0]
shr ecx, 4
shr eax, 4
mov ecx, dword [edi + ecx*4 + 0x30f34]
add ecx, dword [edi + eax*4 + 0x30f34]
add ecx, esi
cmp ecx, dword [edi + 0x764]
jae 0x47bd33
mov dword [edi + 0x764], ecx
mov dword [edi + 0x780], 0
mov dword [edi + 0x76c], 0
cmp dword [ebp - 0x40], ebx
cmovae ebx, dword [ebp - 0x40]
mov dword [ebp - 0x3c], ebx
cmp ebx, 2
jae 0x47bd63
mov edx, dword [ebp - 0x7c]
mov eax, dword [edi + 0x780]
pop ebx
pop edi
mov dword [edx], eax
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048bc9e
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov ecx, ebx
mov dword [edi + 0x77c], 0
mov dword [edi + 0x754], eax
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x758], eax
mov eax, dword [ebp - 0xc]
mov dword [edi + 0x75c], eax
mov eax, dword [ebp - 8]
mov dword [edi + 0x760], eax
lea eax, [ebx + ebx*2]
shl eax, 4
add eax, 0x734
add eax, edi
dec ecx
mov dword [eax], 0x40000000
lea eax, [eax - 0x30]
cmp ecx, 2
jae 0x47bda0
mov ebx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x2c], eax
mov esi, dword [ebp + eax*4 - 0x24]
cmp esi, 2
jb 0x47be24
push ebx
push dword [edi + 0x44]
mov edx, eax
mov ecx, edi
call fcn.0047b7d0
add eax, dword [ebp - 0x34]
add esp, 8
imul ecx, ebx, 0x110
mov dword [ebp - 0x5c], eax
add ecx, 0xde2d
add ecx, esi
lea edx, [edi + ecx*4]
lea ecx, [esi + 0x27]
lea ecx, [ecx + ecx*2]
shl ecx, 4
add ecx, edi
mov edi, dword [ebp - 0x2c]
mov eax, dword [edx]
add eax, dword [ebp - 0x5c]
cmp eax, dword [ecx - 0x1c]
jae 0x47be12
mov dword [ecx - 0x1c], eax
mov dword [ecx - 4], 0
mov dword [ecx], edi
mov dword [ecx - 0x14], 0
dec esi
sub edx, 4
sub ecx, 0x30
cmp esi, 2
jae 0x47bdf5
mov edi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, 4
jb 0x47bdb7
mov eax, dword [edi + 0x44]
mov ecx, dword [ebp - 0x24]
movzx eax, word [edi + eax*2 + 0x32788]
shr eax, 4
mov eax, dword [edi + eax*4 + 0x30f34]
add eax, dword [ebp - 0x68]
mov dword [ebp - 0x34], eax
cmp ecx, 2
jb 0x47be53
inc ecx
jmp 0x47be58
mov ecx, 2
mov ebx, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], ecx
cmp ecx, dword [ebp - 0x40]
ja 0x47bf67
xor edx, edx
mov dword [ebp - 0x2c], edx
cmp ecx, dword [edi + 0x31134]
jbe 0x47be83
add edx, 2
cmp ecx, dword [edi + edx*4 + 0x31134]
ja 0x47be74
mov dword [ebp - 0x2c], edx
imul ebx, dword [ebp - 0x30], 0x110
lea esi, [ecx + 0x27]
lea esi, [esi + esi*2]
shl esi, 4
add ebx, 0xcc1b
add ebx, ecx
add esi, edi
lea ebx, [edi + ebx*4]
lea eax, [edx*4]
mov edx, dword [eax + edi + 0x31138]
mov dword [ebp - 0x54], eax
mov eax, dword [ebx]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], edx
lea edx, [ecx - 2]
mov dword [ebp - 0x5c], eax
cmp ecx, 5
jb 0x47bec9
mov edx, 3
mov eax, dword [ebp - 0x40]
cmp eax, 0x80
jae 0x47bee1
shl edx, 7
add edx, eax
mov edx, dword [edi + edx*4 + 0x31dc8]
jmp 0x47bf1a
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 - 0x40]
and ecx, 0xf
movzx eax, byte [eax + edi + 0x30734]
lea eax, [eax + edx*2]
mov edx, dword [edi + eax*4 + 0x319c8]
add edx, dword [edi + ecx*4 + 0x325c8]
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x40]
add edx, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x44]
cmp edx, dword [esi - 0x1c]
jae 0x47bf3b
add eax, 4
mov dword [esi - 0x1c], edx
mov dword [esi - 4], 0
mov dword [esi], eax
mov dword [esi - 0x14], 0
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x2c]
cmp ecx, dword [eax + edi + 0x31134]
jne 0x47bf55
add edx, 2
mov dword [ebp - 0x2c], edx
cmp edx, dword [ebp - 0x50]
je 0x47bf64
inc ecx
add ebx, 4
mov dword [ebp - 0x4c], ecx
add esi, 0x30
jmp 0x47bea0
mov ebx, dword [ebp - 0x3c]
mov esi, 1
mov dword [ebp - 0x38], esi
cmp ebx, esi
je 0x47cb78
nop word [eax + eax]
lea edx, [ebp - 0x68]
mov ecx, edi
call fcn.0047b700
mov ecx, eax
mov dword [ebp - 0x70], ecx
cmp ecx, dword [edi + 0x2c]
jae 0x47cb6f
inc dword [ebp - 0x64]
lea ebx, [esi + esi*2]
shl ebx, 4
add ebx, edi
mov dword [ebp - 0x54], ebx
mov edx, dword [ebx + 0x73c]
mov ecx, dword [ebx + 0x74c]
test edx, edx
je 0x47c010
dec ecx
cmp dword [ebx + 0x740], 0
je 0x47bffb
mov eax, dword [ebx + 0x744]
lea eax, [eax + eax*2]
add eax, eax
cmp dword [ebx + 0x748], 4
mov esi, dword [edi + eax*8 + 0x738]
jae 0x47bfeb
mov esi, dword [esi*4 + 0x4fe9e8]
mov esi, dword [esi*4 + 0x4fe958]
jmp 0x47c01c
mov esi, dword [esi*4 + str._a_a_a_a_a_a_a_n_n_n_n_n_t_t_t_t_t_t_t_v_v_v_v_v_b_b_b_b_b_b_b_v_v_v_v_v]
mov esi, dword [esi*4 + 0x4fe958]
jmp 0x47c01c
lea eax, [ecx + ecx*2]
add eax, eax
mov esi, dword [edi + eax*8 + 0x738]
mov esi, dword [esi*4 + 0x4fe958]
jmp 0x47c01c
lea eax, [ecx + ecx*2]
add eax, eax
mov esi, dword [edi + eax*8 + 0x738]
mov eax, dword [ebp - 0x38]
dec eax
cmp ecx, eax
jne 0x47c04b
cmp dword [ebx + 0x750], 0
jne 0x47c03c
mov esi, dword [esi*4 + 0x4fe9b8]
mov dword [ebp - 0x48], esi
jmp 0x47c103
mov esi, dword [esi*4 + 0x4fe958]
mov dword [ebp - 0x48], esi
jmp 0x47c103
test edx, edx
je 0x47c06d
cmp dword [ebx + 0x740], 0
je 0x47c06d
mov ecx, dword [ebx + 0x744]
mov edx, dword [ebx + 0x748]
mov esi, dword [esi*4 + 0x4fe9e8]
jmp 0x47c088
mov edx, dword [ebx + 0x750]
cmp edx, 4
jae 0x47c081
mov esi, dword [esi*4 + 0x4fe9e8]
jmp 0x47c088
mov esi, dword [esi*4 + str._a_a_a_a_a_a_a_n_n_n_n_n_t_t_t_t_t_t_t_v_v_v_v_v_b_b_b_b_b_b_b_v_v_v_v_v]
lea eax, [ecx + ecx*2]
mov dword [ebp - 0x48], esi
shl eax, 4
lea ecx, [edi + 0x734]
add ecx, eax
mov dword [ebp - 0x34], ecx
cmp edx, 4
jae 0x47c0eb
mov eax, dword [ecx + edx*4 + 0x20]
mov dword [ebp - 0x14], eax
mov eax, 1
cmp edx, eax
jb 0x47c0ce
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 0x47c0cb
mov edi, dword [ebp - 0x44]
mov esi, dword [ebp - 0x48]
jmp 0x47c103
mov ecx, dword [ebp - 0x34]
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 edi, dword [ebp - 0x44]
mov esi, dword [ebp - 0x48]
jmp 0x47c103
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], esi
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
mov esi, dword [edi + 0xc]
mov ecx, esi
mov eax, dword [ebx + 0x734]
push dword [edi]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x2c], 0
call dword [0x4db310]
call esi
mov ecx, dword [ebp - 0x64]
add esp, 4
and ecx, dword [edi + 0x58]
mov dword [ebp - 0x5c], ecx
lea edx, [eax - 1]
mov al, byte [edx]
mov byte [ebp - 0x26], al
mov eax, edx
sub eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x58], eax
mov al, byte [eax]
mov byte [ebp - 0x25], al
mov eax, dword [ebp - 0x48]
shl eax, 4
add eax, ecx
mov ecx, 8
sub cl, byte [edi + 0x48]
mov dword [ebp - 0x6c], eax
movzx eax, word [edi + eax*2 + 0x32608]
shr eax, 4
mov eax, dword [edi + eax*4 + 0x30f34]
add eax, dword [ebp - 0x60]
mov dword [ebp - 0x30], eax
lea eax, [edx - 1]
movzx edx, byte [eax]
mov dword [ebp - 0x84], eax
mov eax, dword [edi + 0x54]
and eax, dword [ebp - 0x64]
shr edx, cl
mov ecx, dword [edi + 0x48]
shl eax, cl
add edx, eax
imul ecx, edx, 0x600
movzx edx, byte [ebp - 0x26]
add ecx, dword [edi + 0x60]
cmp dword [ebp - 0x48], 7
mov dword [ebp - 0x34], ecx
jb 0x47c1e5
lea eax, [edi + 0x30f34]
push eax
movzx eax, byte [ebp - 0x25]
push eax
call fcn.0047b1d0
add esp, 8
mov esi, eax
jmp 0x47c222
mov ebx, dword [ebp - 0x34]
xor esi, esi
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 esi, dword [edi + ecx*4 + 0x30f34]
cmp edx, 0x10000
jb 0x47c1f0
mov ebx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x30]
add eax, esi
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x30], eax
cmp eax, dword [ebx + 0x764]
jae 0x47c25c
mov dword [ebx + 0x764], eax
mov dword [ebx + 0x77c], esi
mov dword [ebx + 0x780], 0xffffffff
mov dword [ebx + 0x76c], 0
mov dword [ebp - 0x2c], 1
mov edx, dword [ebp - 0x6c]
movzx eax, word [edi + edx*2 + 0x32608]
xor eax, 0x7f0
shr eax, 4
mov ecx, dword [edi + eax*4 + 0x30f34]
mov eax, dword [ebp - 0x48]
add ecx, dword [ebp - 0x60]
mov dword [ebp - 0x80], ecx
movzx eax, word [edi + eax*2 + 0x32788]
xor eax, 0x7f0
shr eax, 4
mov eax, dword [edi + eax*4 + 0x30f34]
add eax, ecx
mov cl, byte [ebp - 0x26]
mov ch, byte [ebp - 0x25]
mov dword [ebp - 0x6c], eax
cmp ch, cl
jne 0x47c31b
cmp dword [ebx + 0x77c], esi
jae 0x47c2b6
cmp dword [ebx + 0x780], 0
je 0x47c31b
mov eax, dword [ebp - 0x48]
movzx ecx, word [edi + eax*2 + 0x327a0]
movzx eax, word [edi + edx*2 + 0x327e8]
shr ecx, 4
shr eax, 4
mov ecx, dword [edi + ecx*4 + 0x30f34]
add ecx, dword [edi + eax*4 + 0x30f34]
add ecx, dword [ebp - 0x6c]
cmp ecx, dword [ebx + 0x764]
ja 0x47c315
mov dword [ebx + 0x764], ecx
mov cl, byte [ebp - 0x26]
mov ch, byte [ebp - 0x25]
mov dword [ebx + 0x77c], esi
mov dword [ebx + 0x780], 0
mov dword [ebx + 0x76c], 0
mov ebx, 1
jmp 0x47c31e
mov cl, byte [ebp - 0x26]
mov ch, byte [ebp - 0x25]
mov ebx, dword [ebp - 0x2c]
mov edx, dword [edi + 0x28]
mov eax, 0xfff
sub eax, esi
cmp eax, edx
cmovb edx, eax
mov dword [ebp - 0x40], edx
cmp edx, 2
jb 0x47cb60
mov edx, dword [edi + 0x2c]
mov eax, edx
cmp dword [ebp - 0x40], edx
cmovbe eax, dword [ebp - 0x40]
mov dword [ebp - 0x60], eax
test ebx, ebx
jne 0x47c481
cmp ch, cl
je 0x47c481
inc edx
lea ecx, [ebx + 1]
cmp edx, dword [ebp - 0x40]
cmova edx, dword [ebp - 0x40]
cmp edx, ecx
jbe 0x47c380
mov esi, dword [ebp - 0x58]
mov ebx, dword [ebp - 0x4c]
nop dword [eax]
mov al, byte [ecx + ebx]
cmp al, byte [esi + ecx]
jne 0x47c37d
inc ecx
cmp ecx, edx
jb 0x47c370
mov esi, dword [ebp - 0x38]
lea edx, [ecx - 1]
mov dword [ebp - 0x34], edx
cmp edx, 2
jb 0x47c481
mov eax, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x64]
inc ebx
and ebx, dword [edi + 0x58]
mov esi, dword [eax*4 + 0x4fe958]
mov eax, esi
shl eax, 4
add eax, ebx
movzx ecx, word [edi + eax*2 + 0x32608]
movzx eax, word [edi + esi*2 + 0x32788]
xor ecx, 0x7f0
xor eax, 0x7f0
shr ecx, 4
shr eax, 4
mov esi, dword [edi + ecx*4 + 0x30f34]
add esi, dword [edi + eax*4 + 0x30f34]
mov eax, dword [ebp - 0x38]
add esi, dword [ebp - 0x30]
inc eax
mov ecx, dword [ebp - 0x3c]
add edx, eax
cmp ecx, edx
jae 0x47c40f
lea eax, [ecx + ecx*2]
sub edx, ecx
shl eax, 4
add eax, 0x734
add eax, edi
add ecx, edx
mov dword [ebp - 0x3c], ecx
nop word [eax + eax]
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub edx, 1
jne 0x47c400
mov eax, dword [ebp - 0x48]
xor edx, edx
push ebx
mov ecx, edi
push dword [eax*4 + 0x4fe958]
call fcn.0047b7d0
imul ecx, ebx, 0x110
add esp, 8
add ecx, dword [ebp - 0x34]
add eax, dword [edi + ecx*4 + 0x378b4]
add eax, esi
mov esi, dword [ebp - 0x38]
lea ecx, [esi + 1]
add ecx, dword [ebp - 0x34]
lea ecx, [ecx + ecx*2]
add ecx, ecx
cmp eax, dword [edi + ecx*8 + 0x734]
jae 0x47c481
mov dword [edi + ecx*8 + 0x734], eax
lea eax, [esi + 1]
mov dword [edi + ecx*8 + 0x74c], eax
mov dword [edi + ecx*8 + 0x750], 0
mov dword [edi + ecx*8 + 0x73c], 1
mov dword [edi + ecx*8 + 0x740], 0
mov ecx, dword [ebp - 0x4c]
xor edx, edx
mov dword [ebp - 0x30], 2
mov dword [ebp - 0x50], edx
mov al, byte [ecx]
mov ebx, ecx
sub ebx, dword [ebp + edx*4 - 0x14]
dec ebx
mov dword [ebp - 0x58], ebx
cmp al, byte [ebx]
jne 0x47c787
mov al, byte [ecx + 1]
cmp al, byte [ebx + 1]
jne 0x47c787
mov esi, 2
cmp dword [ebp - 0x60], esi
jbe 0x47c4d8
mov edx, dword [ebp - 0x4c]
lea ecx, [ebx + 2]
mov edi, dword [ebp - 0x60]
sub edx, ebx
mov al, byte [edx + ecx]
cmp al, byte [ecx]
jne 0x47c4d2
inc esi
inc ecx
cmp esi, edi
jb 0x47c4c5
mov edi, dword [ebp - 0x44]
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
add ecx, esi
cmp eax, ecx
jae 0x47c50f
sub ecx, dword [ebp - 0x3c]
lea eax, [eax + eax*2]
shl eax, 4
add eax, 0x734
add eax, edi
add dword [ebp - 0x3c], ecx
nop word [eax + eax]
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x47c500
mov ebx, dword [ebp - 0x5c]
mov ecx, edi
push ebx
push dword [ebp - 0x48]
mov dword [ebp - 0x2c], esi
call fcn.0047b7d0
add eax, dword [ebp - 0x6c]
add esp, 8
mov dword [ebp - 0x54], eax
imul eax, ebx, 0x110
mov ebx, dword [ebp - 0x50]
mov dword [ebp - 0x34], eax
lea ecx, [eax + 0xde2d]
add ecx, esi
lea edx, [edi + ecx*4]
mov ecx, dword [ebp - 0x38]
add ecx, esi
lea ecx, [ecx + ecx*2]
add ecx, 0x75
shl ecx, 4
add ecx, edi
mov edi, dword [ebp - 0x38]
mov eax, dword [edx]
add eax, dword [ebp - 0x54]
cmp eax, dword [ecx - 0x1c]
jae 0x47c56c
mov dword [ecx - 0x1c], eax
mov dword [ecx - 4], edi
mov dword [ecx], ebx
mov dword [ecx - 0x14], 0
dec esi
sub edx, 4
sub ecx, 0x30
cmp esi, 2
jae 0x47c553
mov ecx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x44]
inc ecx
mov edx, dword [ebp - 0x50]
mov eax, ecx
mov ebx, dword [ebp - 0x58]
test edx, edx
cmovne eax, dword [ebp - 0x30]
mov esi, dword [edi + 0x2c]
add esi, ecx
mov dword [ebp - 0x30], eax
cmp esi, dword [ebp - 0x40]
mov dword [ebp - 0x78], eax
cmova esi, dword [ebp - 0x40]
cmp ecx, esi
jae 0x47c5c0
lea edx, [ecx + ebx]
mov ebx, dword [ebp - 0x4c]
sub ebx, dword [ebp - 0x58]
nop dword [eax]
mov al, byte [ebx + edx]
cmp al, byte [edx]
jne 0x47c5bd
inc ecx
inc edx
cmp ecx, esi
jb 0x47c5b0
mov edx, dword [ebp - 0x50]
mov esi, dword [ebp - 0x2c]
or eax, 0xffffffff
sub eax, esi
add ecx, eax
mov dword [ebp - 0x74], ecx
cmp ecx, 2
jb 0x47c781
mov eax, dword [ebp - 0x48]
mov ecx, 8
mov edi, dword [ebp - 0x64]
add edi, esi
mov ebx, dword [eax*4 + 0x4fe9e8]
mov eax, dword [ebp - 0x44]
add eax, 0x30f34
push eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [esi + eax]
push eax
mov eax, dword [ebp - 0x4c]
movzx edx, byte [esi + eax]
movzx esi, byte [eax + esi - 1]
mov eax, dword [ebp - 0x44]
sub cl, byte [eax + 0x48]
mov eax, edi
shr esi, cl
mov ecx, dword [ebp - 0x44]
and eax, dword [ecx + 0x54]
mov ecx, dword [ecx + 0x48]
shl eax, cl
add esi, eax
imul ecx, esi, 0x600
mov esi, dword [ebp - 0x44]
add ecx, dword [esi + 0x60]
call fcn.0047b1d0
mov edx, eax
mov ecx, ebx
mov eax, dword [esi + 0x58]
add esp, 8
shl ecx, 4
and edi, eax
add edi, ecx
mov ebx, dword [ebx*4 + 0x4fe958]
movzx ecx, word [esi + edi*2 + 0x32608]
mov edi, esi
mov esi, dword [ebp - 0x2c]
shr ecx, 4
add edx, dword [edi + ecx*4 + 0x30f34]
mov ecx, dword [ebp - 0x34]
add ecx, esi
mov dword [ebp - 0x34], ebx
inc esi
add edx, dword [edi + ecx*4 + 0x378b4]
mov ecx, dword [ebp - 0x64]
add edx, dword [ebp - 0x54]
add ecx, esi
and ecx, eax
mov esi, dword [ebp - 0x74]
mov eax, ebx
mov dword [ebp - 0x54], ecx
shl eax, 4
add eax, ecx
movzx ecx, word [edi + eax*2 + 0x32608]
movzx eax, word [edi + ebx*2 + 0x32788]
xor ecx, 0x7f0
mov ebx, dword [ebp - 0x3c]
xor eax, 0x7f0
shr ecx, 4
shr eax, 4
mov ecx, dword [edi + ecx*4 + 0x30f34]
add ecx, dword [edi + eax*4 + 0x30f34]
mov eax, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x58], ecx
add eax, esi
mov ecx, dword [ebp - 0x38]
inc ecx
add ecx, eax
mov dword [ebp - 0x74], ecx
cmp ebx, ecx
jae 0x47c6f1
lea eax, [ebx + ebx*2]
sub ecx, ebx
shl eax, 4
add eax, 0x734
add eax, edi
add ebx, ecx
mov dword [ebp - 0x3c], ebx
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x47c6e2
push dword [ebp - 0x54]
xor edx, edx
mov ecx, edi
push dword [ebp - 0x34]
call fcn.0047b7d0
imul ecx, dword [ebp - 0x54], 0x110
add esp, 8
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x30], edx
mov edx, dword [ebp - 0x50]
add ecx, esi
mov esi, dword [ebp - 0x38]
add eax, dword [edi + ecx*4 + 0x378b4]
mov ecx, dword [ebp - 0x74]
add eax, dword [ebp - 0x58]
lea ecx, [ecx + ecx*2]
add ecx, ecx
cmp eax, dword [edi + ecx*8 + 0x734]
jae 0x47c77c
mov dword [edi + ecx*8 + 0x734], eax
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [edi + ecx*8 + 0x750], 0
add eax, esi
mov dword [edi + ecx*8 + 0x73c], 1
mov dword [edi + ecx*8 + 0x74c], eax
mov eax, dword [ebp - 0x78]
mov dword [edi + ecx*8 + 0x740], 1
mov dword [edi + ecx*8 + 0x744], esi
mov dword [edi + ecx*8 + 0x748], edx
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x4c]
jmp 0x47c78a
mov esi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x3c]
inc edx
mov dword [ebp - 0x50], edx
cmp edx, 4
jb 0x47c490
mov ecx, dword [ebp - 0x60]
cmp dword [ebp - 0x70], ecx
jbe 0x47c7cb
xor eax, eax
mov dword [ebp - 0x70], ecx
cmp ecx, dword [edi + 0x31134]
jbe 0x47c7bc
nop dword [eax]
add eax, 2
cmp ecx, dword [edi + eax*4 + 0x31134]
ja 0x47c7b0
mov dword [edi + eax*4 + 0x31134], ecx
add eax, 2
mov dword [ebp - 0x68], eax
jmp 0x47c7ce
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x54], eax
cmp ecx, edx
jb 0x47cb60
mov eax, dword [ebp - 0x48]
add ecx, esi
movzx eax, word [edi + eax*2 + 0x32788]
shr eax, 4
mov eax, dword [edi + eax*4 + 0x30f34]
add dword [ebp - 0x80], eax
cmp ebx, ecx
jae 0x47c820
lea eax, [ebx + ebx*2]
sub ecx, ebx
shl eax, 4
add eax, 0x734
add eax, edi
add ebx, ecx
mov dword [ebp - 0x3c], ebx
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x47c811
xor esi, esi
mov dword [ebp - 0x60], esi
cmp edx, dword [edi + 0x31134]
jbe 0x47c83f
nop dword [eax]
add esi, 2
cmp edx, dword [edi + esi*4 + 0x31134]
ja 0x47c830
mov dword [ebp - 0x60], esi
lea eax, [esi*4]
mov esi, dword [ebp - 0x30]
mov edx, dword [eax + edi + 0x31138]
cmp edx, 0x20000
mov dword [ebp - 0x6c], eax
mov eax, edx
sbb ecx, ecx
mov dword [ebp - 0x50], edx
and ecx, 0xfffffff6
lea ebx, [esi + 1]
add ecx, 0x10
shr eax, cl
movzx eax, byte [eax + edi + 0x30734]
lea eax, [eax + ecx*2]
mov dword [ebp - 0x34], eax
imul eax, dword [ebp - 0x5c], 0x110
add eax, 0xcc1b
add eax, esi
add esi, 0x27
lea ecx, [edi + eax*4]
mov eax, dword [ebp - 0x38]
add eax, esi
lea esi, [eax + eax*2]
shl esi, 4
add esi, edi
mov eax, dword [ecx]
add eax, dword [ebp - 0x80]
mov dword [ebp - 0x78], eax
lea eax, [ebx - 1]
mov dword [ebp - 0x30], ecx
lea ecx, [ebx - 3]
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x70], eax
cmp eax, 5
jb 0x47c8be
mov ecx, 3
cmp edx, 0x80
jae 0x47c8d4
shl ecx, 7
add ecx, edx
mov ecx, dword [edi + ecx*4 + 0x31dc8]
jmp 0x47c8ed
shl ecx, 6
mov eax, edx
add ecx, dword [ebp - 0x34]
and eax, 0xf
mov ecx, dword [edi + ecx*4 + 0x319c8]
add ecx, dword [edi + eax*4 + 0x325c8]
mov eax, dword [ebp - 0x78]
add eax, ecx
mov dword [ebp - 0x74], eax
cmp eax, dword [esi - 0x1c]
jae 0x47c90f
mov dword [esi - 0x1c], eax
mov eax, dword [ebp - 0x38]
mov dword [esi - 4], eax
lea eax, [edx + 4]
mov dword [esi], eax
mov dword [esi - 0x14], 0
mov eax, dword [ebp - 0x6c]
lea ecx, [ebx - 1]
cmp ecx, dword [eax + edi + 0x31134]
jne 0x47cb4e
mov eax, dword [ebp - 0x4c]
mov esi, dword [edi + 0x2c]
sub eax, edx
add esi, ebx
dec eax
cmp esi, dword [ebp - 0x40]
mov edx, ebx
mov dword [ebp - 0x78], eax
cmova esi, dword [ebp - 0x40]
cmp ebx, esi
jae 0x47c958
lea ecx, [eax + ebx]
mov ebx, dword [ebp - 0x4c]
sub ebx, eax
mov al, byte [ebx + ecx]
cmp al, byte [ecx]
jne 0x47c952
inc edx
inc ecx
cmp edx, esi
jb 0x47c945
mov ebx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x70]
or eax, 0xffffffff
sub eax, ecx
add edx, eax
mov dword [ebp - 0x6c], edx
cmp edx, 2
jb 0x47cafe
mov eax, dword [ebp - 0x44]
mov edi, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x2c]
dec edi
add edi, ebx
mov ebx, dword [eax + 0x58]
add eax, 0x30f34
push eax
mov eax, dword [ebp - 0x78]
and ebx, edi
movzx eax, byte [eax + ecx - 1]
push eax
mov eax, dword [ebp - 0x84]
movzx edx, byte [eax + ecx]
mov eax, dword [ebp - 0x4c]
movzx esi, byte [eax + ecx - 2]
mov ecx, 8
mov eax, dword [ebp - 0x44]
sub cl, byte [eax + 0x48]
mov eax, dword [eax + 0x54]
and eax, edi
shr esi, cl
mov edi, dword [ebp - 0x44]
mov ecx, dword [edi + 0x48]
shl eax, cl
add esi, eax
imul ecx, esi, 0x600
add ecx, dword [edi + 0x60]
call fcn.0047b1d0
mov ecx, dword [ebp - 0x48]
mov edx, eax
add esp, 8
mov eax, dword [ecx*4 + str._a_a_a_a_a_a_a_n_n_n_n_n_t_t_t_t_t_t_t_v_v_v_v_v_b_b_b_b_b_b_b_v_v_v_v_v]
mov ecx, eax
shl ecx, 4
add ecx, ebx
mov esi, dword [eax*4 + 0x4fe958]
mov eax, esi
shl eax, 4
movzx ecx, word [edi + ecx*2 + 0x32608]
shr ecx, 4
mov dword [ebp - 0x78], esi
add edx, dword [edi + ecx*4 + 0x30f34]
lea ecx, [ebx + 1]
and ecx, dword [edi + 0x58]
add edx, dword [ebp - 0x74]
add eax, ecx
mov ebx, dword [ebp - 0x38]
mov dword [ebp - 0x5c], ecx
inc ebx
movzx ecx, word [edi + eax*2 + 0x32608]
movzx eax, word [edi + esi*2 + 0x32788]
xor ecx, 0x7f0
mov esi, dword [ebp - 0x6c]
xor eax, 0x7f0
shr ecx, 4
shr eax, 4
mov ecx, dword [edi + ecx*4 + 0x30f34]
add ecx, dword [edi + eax*4 + 0x30f34]
mov eax, dword [ebp - 0x70]
add ecx, edx
mov edx, dword [ebp - 0x3c]
add eax, esi
add ebx, eax
mov dword [ebp - 0x74], ecx
cmp edx, ebx
jae 0x47ca7f
lea eax, [edx + edx*2]
mov ecx, ebx
shl eax, 4
sub ecx, edx
add eax, 0x734
add eax, edi
add edx, ecx
mov dword [ebp - 0x3c], edx
nop dword [eax + eax]
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x47ca70
push dword [ebp - 0x5c]
xor edx, edx
mov ecx, edi
push dword [ebp - 0x78]
call fcn.0047b7d0
imul ecx, dword [ebp - 0x5c], 0x110
add esp, 8
add ecx, esi
add eax, dword [edi + ecx*4 + 0x378b4]
lea ecx, [ebx + ebx*2]
add eax, dword [ebp - 0x74]
add ecx, ecx
cmp eax, dword [edi + ecx*8 + 0x734]
jae 0x47cafe
mov edx, dword [ebp - 0x38]
mov dword [edi + ecx*8 + 0x734], eax
mov eax, dword [ebp - 0x70]
inc eax
mov dword [edi + ecx*8 + 0x750], 0
add eax, edx
mov dword [edi + ecx*8 + 0x73c], 1
mov dword [edi + ecx*8 + 0x74c], eax
mov eax, dword [ebp - 0x50]
add eax, 4
mov dword [edi + ecx*8 + 0x740], 1
mov dword [edi + ecx*8 + 0x744], edx
mov dword [edi + ecx*8 + 0x748], eax
mov esi, dword [ebp - 0x60]
add esi, 2
mov dword [ebp - 0x60], esi
cmp esi, dword [ebp - 0x54]
je 0x47cb5d
mov ebx, dword [ebp - 0x2c]
lea eax, [esi*4]
mov edx, dword [eax + edi + 0x31138]
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x50], edx
cmp edx, 0x80
jb 0x47cb4e
cmp edx, 0x20000
mov eax, edx
sbb ecx, ecx
and ecx, 0xfffffff6
add ecx, 0x10
shr eax, cl
movzx eax, byte [eax + edi + 0x30734]
lea eax, [eax + ecx*2]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x30]
add esi, 0x30
add ecx, 4
inc ebx
jmp 0x47c89a
mov esi, dword [ebp - 0x38]
inc esi
mov dword [ebp - 0x38], esi
cmp esi, dword [ebp - 0x3c]
jne 0x47bf80
jmp 0x47cb78
mov eax, dword [ebp - 0x68]
mov dword [edi + 0x24], eax
mov dword [edi + 0x20], ecx
mov edx, dword [ebp - 0x7c]
mov ecx, edi
push esi
call fcn.0047b890
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop ebx
pop edi
pop esi
call fcn.0048bc9e
mov esp, ebp
pop ebp
ret