Function at 0x4acef0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x5569c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x6c], eax
cmp dword [esi + 0x34], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
jne 0x4acf3b
lea eax, [ebp - 0x54]
push eax
push esi
call fcn.004affd0
mov dword [ebp - 0x2c], eax
add esp, 8
mov eax, dword [ebp - 0x54]
jmp 0x4acf44
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x24]
mov ebx, dword [esi + 0x28]
mov dword [ebp - 0x38], eax
cmp ebx, 2
jb 0x4ae1ca
push dword [esi]
mov eax, 0x111
cmp ebx, eax
cmova ebx, eax
mov eax, dword [esi + 0xc]
call eax
xor ecx, ecx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x5c], ecx
lea edi, [esi + 0x38]
mov cl, byte [eax - 1]
add esp, 4
lea edx, [eax - 1]
mov byte [ebp - 0x25], cl
xor eax, eax
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x40], eax
xor esi, esi
mov dword [ebp - 0x60], edi
nop dword [eax + eax]
mov edi, dword [edi + eax*4]
lea ecx, [eax*4]
mov dword [ebp + ecx - 0x14], edi
neg edi
mov dword [ebp - 0x54], ecx
mov cl, byte [ebp - 0x25]
cmp cl, byte [edi + edx]
lea ecx, [eax*4]
jne 0x4ad005
mov eax, dword [ebp - 0x50]
mov al, byte [eax]
cmp al, byte [edi + edx + 1]
jne 0x4ad002
mov edx, 2
cmp ebx, edx
jbe 0x4acfe0
mov ecx, dword [ebp - 0x50]
inc ecx
nop word [eax + eax]
mov al, byte [ecx]
cmp al, byte [ecx + edi]
jne 0x4acfdd
inc edx
inc ecx
cmp edx, ebx
jb 0x4acfd0
mov ecx, dword [ebp - 0x54]
mov dword [ebp + ecx - 0x24], edx
cmp edx, dword [ebp + esi - 0x24]
jbe 0x4acff2
mov eax, dword [ebp - 0x40]
mov esi, ecx
mov dword [ebp - 0x5c], eax
cmp edx, 0x111
je 0x4ad01d
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x58]
jmp 0x4ad00d
mov eax, dword [ebp - 0x40]
mov dword [ebp + ecx - 0x24], 0
mov edi, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x40], eax
cmp eax, 4
jb 0x4acf90
mov ecx, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x74]
mov edi, dword [ebp + ecx*4 - 0x24]
mov eax, dword [esi + 0x30]
cmp edi, eax
jb 0x4ad05b
mov dword [esi + 0x90], ecx
lea ecx, [edi - 1]
add dword [esi + 0x34], ecx
lea ecx, [edi - 1]
push ecx
push dword [esi]
mov ecx, dword [esi + 0x14]
call ecx
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b25dd
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x2c]
cmp ebx, eax
jb 0x4ad09c
mov eax, dword [ebp - 0x38]
mov eax, dword [esi + eax*4 + 0x95c]
add eax, 4
mov dword [esi + 0x90], eax
lea eax, [ebx - 1]
add dword [esi + 0x34], eax
lea eax, [ebx - 1]
push eax
push dword [esi]
mov eax, dword [esi + 0x14]
call eax
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b25dd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x58]
mov eax, ecx
mov esi, dword [ebp - 0x14]
sub eax, esi
cmp edi, ebx
mov dword [ebp - 0x68], esi
mov esi, dword [ebp - 0x74]
mov dl, byte [ecx]
cmovbe edi, ebx
mov al, byte [eax]
mov byte [ebp - 0x25], dl
mov byte [ebp - 0x26], al
mov dword [ebp - 0x4c], edi
cmp edi, 2
jae 0x4ad0cb
cmp dl, al
jne 0x4ae1ca
mov ax, word [esi + 0x2c]
mov word [esi + 0xbcbc], ax
mov eax, dword [esi + 0x4c]
and eax, dword [ebp - 0x6c]
movzx edx, byte [ecx - 1]
mov ecx, dword [esi + 0x94]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x6c]
shl eax, 8
add edx, eax
mov eax, dword [esi + 0x50]
and edx, dword [esi + 0x48]
shl edx, cl
cmp dword [esi + 0x2c], 7
lea ecx, [edx + edx*2]
movzx edx, byte [ebp - 0x25]
lea ebx, [eax + ecx*2]
jb 0x4ad123
lea eax, [esi + 0x760]
push eax
movzx eax, byte [ebp - 0x26]
push eax
push edx
push ebx
call fcn.004ae810
add esp, 0x10
mov edi, eax
jmp 0x4ad154
xor edi, edi
or edx, 0x100
nop dword [eax + eax]
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
shr ecx, 4
movzx eax, word [ebx + edx*2]
and ecx, 0x7f
shr eax, 4
xor eax, ecx
add edi, dword [esi + eax*4 + 0x760]
cmp edx, 2
jae 0x4ad130
mov edx, dword [esi + 0x2c]
mov eax, edx
mov ecx, dword [ebp - 0x48]
shl eax, 4
add ecx, eax
movzx eax, word [esi + ecx*2 + 0x1eb0]
shr eax, 4
add edi, dword [esi + eax*4 + 0x760]
xor eax, eax
mov word [esi + 0xbcde], ax
mov dword [esi + 0xbcd8], edi
mov dword [esi + 0xbce4], 0xffffffff
movzx eax, word [esi + ecx*2 + 0x1eb0]
xor eax, 0x7f0
shr eax, 4
mov eax, dword [esi + eax*4 + 0x760]
mov dword [ebp - 0x50], eax
movzx eax, word [esi + edx*2 + 0x1e50]
xor eax, 0x7f0
shr eax, 4
mov ebx, dword [esi + eax*4 + 0x760]
add ebx, dword [ebp - 0x50]
mov al, byte [ebp - 0x25]
mov dword [ebp - 0x54], ebx
cmp byte [ebp - 0x26], al
jne 0x4ad221
cmp dword [ebp - 0x24], 0
jne 0x4ad221
movzx ecx, word [esi + ecx*2 + 0x2030]
movzx eax, word [esi + edx*2 + 0x1e68]
shr ecx, 4
shr eax, 4
mov ecx, dword [esi + ecx*4 + 0x760]
add ecx, dword [esi + eax*4 + 0x760]
or eax, 0xffffffff
add ecx, ebx
cmp ecx, edi
jae 0x4ad210
mov dword [esi + 0xbcd8], ecx
xor eax, eax
mov dword [esi + 0xbce4], 0
cmp dword [ebp - 0x4c], 2
jae 0x4ad221
mov dword [esi + 0x90], eax
jmp 0x4ae1d4
mov eax, dword [ebp - 0x68]
xor ebx, ebx
mov edx, dword [ebp - 0xc]
mov dword [esi + 0xbce0], 1
mov dword [esi + 0xbcc8], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0xbccc], eax
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0xbcd0], edx
mov dword [esi + 0xbcd4], eax
nop dword [eax]
nop dword [eax + eax]
mov edx, dword [ebp + ebx*4 - 0x24]
cmp edx, 2
jb 0x4ad354
mov eax, dword [esi + 0x2c]
movzx ecx, word [esi + eax*2 + 0x1e68]
test ebx, ebx
jne 0x4ad2a5
shl eax, 4
add eax, dword [ebp - 0x48]
shr ecx, 4
movzx eax, word [esi + eax*2 + 0x2030]
xor eax, 0x7f0
shr eax, 4
mov eax, dword [esi + eax*4 + 0x760]
add eax, dword [esi + ecx*4 + 0x760]
jmp 0x4ad30a
movzx edi, word [esi + eax*2 + 0x1e80]
xor ecx, 0x7f0
shr ecx, 4
mov ecx, dword [esi + ecx*4 + 0x760]
mov dword [ebp - 0x40], ecx
cmp ebx, 1
jne 0x4ad2d3
shr edi, 4
mov eax, ecx
add eax, dword [esi + edi*4 + 0x760]
jmp 0x4ad30a
movzx ecx, word [esi + eax*2 + 0x1e98]
xor edi, 0x7f0
mov eax, 2
shr ecx, 4
sub eax, ebx
shr edi, 4
shr eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [esi + ecx*4 + 0x760]
add eax, dword [esi + edi*4 + 0x760]
add dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
imul edi, dword [ebp - 0x48], 0x110
mov ecx, edx
add eax, dword [ebp - 0x54]
shl ecx, 5
add ecx, 0xbcc4
mov dword [ebp - 0x60], eax
add ecx, esi
add edi, 0x1e2c
add edi, edx
lea edi, [esi + edi*4]
nop
mov eax, dword [edi]
add eax, dword [ebp - 0x60]
cmp eax, dword [ecx - 0xc]
jae 0x4ad348
mov dword [ecx - 0xc], eax
xor eax, eax
mov dword [ecx - 4], edx
mov dword [ecx], ebx
mov word [ecx - 6], ax
dec edx
sub edi, 4
sub ecx, 0x20
cmp edx, 2
jae 0x4ad330
inc ebx
cmp ebx, 4
jb 0x4ad260
mov edi, dword [ebp - 0x24]
inc edi
cmp edi, dword [ebp - 0x2c]
ja 0x4ad483
mov eax, dword [esi + 0x2c]
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
movzx eax, word [esi + eax*2 + 0x1e50]
shr eax, 4
mov edx, dword [esi + eax*4 + 0x760]
add edx, dword [ebp - 0x50]
mov dword [ebp - 0x54], edx
cmp edi, 2
jae 0x4ad395
lea edi, [ecx + 2]
jmp 0x4ad3af
cmp edi, dword [esi + 0x960]
jbe 0x4ad3af
nop dword [eax]
add ecx, 2
cmp edi, dword [esi + ecx*4 + 0x960]
ja 0x4ad3a0
mov dword [ebp - 0x2c], ecx
imul ebx, dword [ebp - 0x48], 0x110
mov eax, edi
shl eax, 5
add eax, 0xbcc4
add eax, esi
mov dword [ebp - 0x58], eax
add ebx, 0xd2b
add ebx, edi
lea ebx, [esi + ebx*4]
mov eax, dword [esi + ecx*4 + 0x964]
mov dword [ebp - 0x5c], ebx
mov ebx, dword [ebx]
add ebx, edx
mov dword [ebp - 0x50], eax
lea edx, [edi - 2]
cmp edi, 5
jb 0x4ad3ee
mov edx, 3
cmp eax, 0x80
jae 0x4ad406
shl edx, 7
and eax, 0x7f
add edx, eax
add ebx, dword [esi + edx*4 + 0x1630]
jmp 0x4ad43e
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 - 0x50]
and ecx, 0xf
movzx eax, byte [eax + esi + 0x2cb0]
lea eax, [eax + edx*2]
mov eax, dword [esi + eax*4 + 0x1230]
add eax, dword [esi + ecx*4 + 0x11f0]
mov ecx, dword [ebp - 0x2c]
add ebx, eax
mov edx, dword [ebp - 0x58]
cmp ebx, dword [edx - 0xc]
jae 0x4ad45a
mov eax, dword [ebp - 0x50]
add eax, 4
mov dword [edx - 0xc], ebx
mov dword [edx], eax
xor eax, eax
mov dword [edx - 4], edi
mov word [edx - 6], ax
cmp edi, dword [esi + ecx*4 + 0x960]
jne 0x4ad46e
add ecx, 2
mov dword [ebp - 0x2c], ecx
cmp ecx, dword [ebp - 0x38]
je 0x4ad483
mov ebx, dword [ebp - 0x5c]
inc edi
add ebx, 4
add edx, 0x20
mov dword [ebp - 0x58], edx
mov edx, dword [ebp - 0x54]
jmp 0x4ad3d0
mov ecx, dword [ebp - 0x4c]
mov ebx, 1
mov dword [ebp - 0x3c], ebx
cmp ecx, ebx
je 0x4ae0af
nop word [eax + eax]
cmp ebx, 0x7c0
jae 0x4ae052
lea eax, [ebp - 0x50]
push eax
push esi
call fcn.004affd0
mov ecx, eax
add esp, 8
mov dword [ebp - 0x70], ecx
cmp ecx, dword [esi + 0x30]
jae 0x4ae047
inc dword [ebp - 0x6c]
mov edi, ebx
shl edi, 5
mov edx, ebx
add edi, 0xbcb8
add edi, esi
sub edx, dword [edi + 8]
cmp dword [edi + 8], 1
jne 0x4ad510
shl edx, 5
mov eax, 0x5166d0
cmp dword [edi + 0xc], 0
movzx ecx, word [edx + esi + 0xbcbc]
mov edx, 0x5166f4
cmove eax, edx
mov edx, dword [ebp - 0x68]
movzx ebx, byte [eax + ecx]
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x44], ebx
jmp 0x4ad618
movzx ebx, word [edi + 6]
mov ecx, dword [edi + 0xc]
test bx, bx
je 0x4ad55a
sub edx, ebx
mov dword [ebp - 0x44], 8
cmp ebx, 1
jne 0x4ad537
cmp ecx, 4
sbb eax, eax
neg eax
add eax, 7
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x44]
shl edx, 5
mov dword [ebp - 0x7c], ebx
lea eax, [edx + 0xbcb8]
mov edx, dword [eax + esi + 0x10]
add eax, esi
mov dword [ebp - 0x64], edx
cmp ecx, 4
jae 0x4ad5fa
jmp 0x4ad58b
mov eax, edx
shl edx, 5
shl eax, 5
movzx eax, word [eax + esi + 0xbcbc]
cmp ecx, 4
jae 0x4ad5de
movzx eax, byte [eax + 0x5166e8]
mov dword [ebp - 0x44], eax
lea eax, [edx + 0xbcb8]
mov edx, dword [eax + esi + 0x10]
add eax, esi
mov ebx, dword [ebp - 0x44]
mov dword [ebp - 0x64], edx
mov edx, dword [eax + 0x14]
test ecx, ecx
jne 0x4ad5ac
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x68]
jmp 0x4ad612
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x74]
mov dword [ebp - 0x68], edx
cmp ecx, 1
jne 0x4ad5c5
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
jmp 0x4ad60f
mov dword [ebp - 0xc], edx
mov edx, dword [eax + ecx*4 + 0x10]
xor ecx, 1
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x14], edx
mov eax, dword [eax + ecx*4 + 0x10]
mov ecx, dword [ebp - 0xc]
jmp 0x4ad615
movzx eax, byte [eax + 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 - 0x44], eax
lea eax, [edx + 0xbcb8]
mov edx, dword [eax + esi + 0x10]
add eax, esi
mov ebx, dword [ebp - 0x44]
mov dword [ebp - 0x64], edx
lea edx, [ecx - 3]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x64]
mov word [edi + 4], bx
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 8]
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], eax
push dword [esi]
mov eax, dword [esi + 0xc]
call eax
mov bh, byte [eax - 1]
add esp, 4
mov ecx, dword [ebp - 0x6c]
and ecx, dword [esi + 0x4c]
mov dword [ebp - 0x8c], eax
dec eax
mov dword [ebp - 0x34], eax
sub eax, dword [ebp - 0x68]
mov dword [ebp - 0x40], ecx
mov byte [ebp - 0x25], bh
mov bl, byte [eax]
mov eax, dword [ebp - 0x44]
shl eax, 4
add eax, ecx
mov byte [ebp - 0x26], bl
movzx ecx, word [esi + eax*2 + 0x1eb0]
mov eax, ecx
shr ecx, 4
xor eax, 0x7f0
shr eax, 4
mov ecx, dword [esi + ecx*4 + 0x760]
add ecx, dword [edi]
mov eax, dword [esi + eax*4 + 0x760]
add eax, dword [edi]
mov edi, dword [ebp - 0x3c]
shl edi, 5
add edi, 0xbcd8
mov dword [ebp - 0x54], eax
add edi, esi
mov dword [ebp - 0x38], ecx
xor eax, eax
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x30], eax
mov edx, dword [edi]
cmp edx, 0x40000000
jae 0x4ad6b2
cmp bl, bh
je 0x4ad6b6
cmp ecx, edx
jbe 0x4ad6c0
xor ebx, ebx
mov dword [ebp - 0x38], ebx
jmp 0x4ad767
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x6c]
shl eax, 8
movzx edx, byte [ecx - 1]
mov ecx, dword [esi + 0x94]
add edx, eax
and edx, dword [esi + 0x48]
mov eax, dword [esi + 0x50]
shl edx, cl
cmp dword [ebp - 0x44], 7
lea ecx, [edx + edx*2]
movzx edx, bh
lea ecx, [eax + ecx*2]
mov dword [ebp - 0x60], ecx
jb 0x4ad708
lea eax, [esi + 0x760]
push eax
movzx eax, bl
push eax
push edx
push ecx
call fcn.004ae810
add esp, 0x10
mov ebx, eax
jmp 0x4ad73a
mov edi, dword [ebp - 0x60]
xor ebx, ebx
or edx, 0x100
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
shr ecx, 4
movzx eax, word [edi + edx*2]
and ecx, 0x7f
shr eax, 4
xor eax, ecx
add ebx, dword [esi + eax*4 + 0x760]
cmp edx, 2
jae 0x4ad713
mov edi, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x38]
mov edx, dword [edi]
add ecx, ebx
mov dword [ebp - 0x38], ecx
cmp ecx, edx
jae 0x4ad767
xor eax, eax
mov dword [edi], ecx
mov dword [edi + 8], 1
mov edx, ecx
mov dword [edi + 0xc], 0xffffffff
mov word [edi + 6], ax
mov dword [ebp - 0x30], 1
mov ecx, dword [ebp - 0x44]
mov ebx, 0x7ff
sub ebx, dword [ebp - 0x3c]
movzx eax, word [esi + ecx*2 + 0x1e50]
xor eax, 0x7f0
shr eax, 4
mov eax, dword [esi + eax*4 + 0x760]
add eax, dword [ebp - 0x54]
cmp dword [esi + 0x28], ebx
mov dword [ebp - 0x58], eax
cmovbe ebx, dword [esi + 0x28]
cmp ecx, 7
mov al, byte [ebp - 0x26]
mov cl, byte [ebp - 0x25]
mov dword [ebp - 0x48], ebx
jae 0x4ad816
cmp al, cl
jne 0x4ad816
cmp dword [ebp - 0x58], edx
jae 0x4ad816
cmp dword [edi + 8], 2
jb 0x4ad7b9
cmp dword [edi + 0xc], 0
je 0x4ad816
mov eax, dword [ebp - 0x44]
shl eax, 4
add eax, dword [ebp - 0x40]
movzx ecx, word [esi + eax*2 + 0x2030]
mov eax, dword [ebp - 0x44]
shr ecx, 4
movzx eax, word [esi + eax*2 + 0x1e68]
mov ecx, dword [esi + ecx*4 + 0x760]
shr eax, 4
add ecx, dword [esi + eax*4 + 0x760]
add ecx, dword [ebp - 0x58]
cmp ecx, edx
jae 0x4ad810
xor eax, eax
mov dword [edi], ecx
mov cl, byte [ebp - 0x25]
xor edx, edx
mov word [edi + 6], ax
mov al, byte [ebp - 0x26]
mov dword [edi + 8], 1
mov dword [edi + 0xc], 0
jmp 0x4ad819
mov al, byte [ebp - 0x26]
mov cl, byte [ebp - 0x25]
mov edx, dword [ebp - 0x30]
cmp dword [ebp - 0x48], 2
jb 0x4ae033
mov edi, dword [esi + 0x30]
mov ebx, edi
cmp dword [ebp - 0x48], edi
cmovbe ebx, dword [ebp - 0x48]
mov dword [ebp - 0x5c], ebx
mov ebx, dword [ebp - 0x38]
test edx, edx
jne 0x4ad979
test ebx, ebx
je 0x4ad979
mov edx, dword [ebp - 0x34]
cmp al, cl
je 0x4ad97c
mov ecx, dword [ebp - 0x48]
cmp ecx, 2
jbe 0x4ad97c
mov eax, dword [ebp - 0x8c]
mov ebx, edx
sub ebx, dword [ebp - 0x68]
mov al, byte [eax]
cmp al, byte [ebx + 1]
jne 0x4ad97c
mov al, byte [edx + 2]
cmp al, byte [ebx + 2]
jne 0x4ad97c
inc edi
mov edx, 3
cmp edi, ecx
mov dword [ebp - 0x2c], edx
cmova edi, ecx
cmp edi, edx
jbe 0x4ad8ab
mov esi, dword [ebp - 0x34]
lea ecx, [ebx + 3]
sub esi, ebx
mov al, byte [esi + ecx]
cmp al, byte [ecx]
jne 0x4ad8a5
inc edx
inc ecx
cmp edx, edi
jb 0x4ad898
mov esi, dword [ebp - 0x74]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x6c]
inc ecx
and ecx, dword [esi + 0x4c]
movzx edi, byte [eax + 0x5166d0]
mov dword [ebp - 0x60], ecx
mov edx, edi
shl edx, 4
add edx, ecx
movzx ecx, word [esi + edi*2 + 0x1e50]
xor ecx, 0x7f0
shr ecx, 4
movzx eax, word [esi + edx*2 + 0x2030]
xor eax, 0x7f0
shr eax, 4
mov ebx, dword [esi + ecx*4 + 0x760]
mov ecx, dword [ebp - 0x3c]
add ebx, dword [esi + eax*4 + 0x760]
movzx eax, word [esi + edx*2 + 0x1eb0]
mov edx, dword [ebp - 0x2c]
xor eax, 0x7f0
shr eax, 4
add ecx, edx
add ebx, dword [esi + eax*4 + 0x760]
movzx eax, word [esi + edi*2 + 0x1e68]
shr eax, 4
add ebx, dword [esi + eax*4 + 0x760]
add ebx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x4c]
cmp eax, ecx
cmovb eax, ecx
dec edx
mov dword [ebp - 0x4c], eax
imul eax, dword [ebp - 0x60], 0x110
shl ecx, 5
add eax, edx
mov eax, dword [esi + eax*4 + 0x78b0]
add eax, ebx
cmp eax, dword [ecx + esi + 0xbcb8]
jae 0x4ad979
mov dword [ecx + esi + 0xbcb8], eax
mov eax, 1
mov dword [ecx + esi + 0xbcc0], edx
mov dword [ecx + esi + 0xbcc4], 0
mov word [ecx + esi + 0xbcbe], ax
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x44]
shl eax, 4
add eax, dword [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x60], 2
mov dword [ebp - 0x90], eax
nop dword [eax]
mov ebx, dword [ebp + ecx*4 - 0x14]
mov edi, edx
mov al, byte [edx]
sub edi, ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], edi
cmp al, byte [edi]
jne 0x4adcbd
mov eax, dword [ebp - 0x8c]
mov al, byte [eax]
cmp al, byte [edi + 1]
jne 0x4adcbd
mov edx, 2
mov dword [ebp - 0x38], edx
cmp dword [ebp - 0x5c], edx
jbe 0x4ad9f3
mov esi, dword [ebp - 0x5c]
lea ecx, [edi + 2]
nop dword [eax]
mov al, byte [ebx + ecx]
cmp al, byte [ecx]
jne 0x4ad9ed
inc edx
inc ecx
cmp edx, esi
jb 0x4ad9e0
mov esi, dword [ebp - 0x74]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x3c]
mov edi, edx
mov ecx, dword [ebp - 0x4c]
add eax, edx
cmp ecx, eax
mov dword [ebp - 0x80], eax
cmovb ecx, eax
cmp dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], ecx
movzx ecx, word [esi + eax*2 + 0x1e68]
jne 0x4ada42
mov eax, dword [ebp - 0x90]
shr ecx, 4
movzx eax, word [esi + eax*2 + 0x2030]
xor eax, 0x7f0
shr eax, 4
mov eax, dword [esi + eax*4 + 0x760]
add eax, dword [esi + ecx*4 + 0x760]
jmp 0x4adaaa
xor ecx, 0x7f0
shr ecx, 4
cmp dword [ebp - 0x30], 1
mov eax, dword [esi + ecx*4 + 0x760]
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x2c], eax
movzx ebx, word [esi + ecx*2 + 0x1e80]
jne 0x4ada72
shr ebx, 4
add eax, dword [esi + ebx*4 + 0x760]
jmp 0x4adaaa
movzx ecx, word [esi + ecx*2 + 0x1e98]
mov eax, 2
sub eax, dword [ebp - 0x30]
xor ebx, 0x7f0
shr eax, 4
and eax, 0x7f
shr ecx, 4
xor ecx, eax
shr ebx, 4
mov eax, dword [esi + ecx*4 + 0x760]
add eax, dword [esi + ebx*4 + 0x760]
add dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x58]
mov dword [ebp - 0x2c], eax
imul eax, dword [ebp - 0x40], 0x110
add eax, 0x1e2c
add eax, edx
mov edx, dword [ebp - 0x30]
lea ebx, [esi + eax*4]
mov eax, dword [ebp - 0x80]
shl eax, 5
add eax, 0xbcc4
add eax, esi
mov ecx, dword [ebx]
add ecx, dword [ebp - 0x2c]
cmp ecx, dword [eax - 0xc]
jae 0x4adae9
mov dword [eax - 0xc], ecx
xor ecx, ecx
mov dword [eax - 4], edi
mov dword [eax], edx
mov word [eax - 6], cx
dec edi
sub ebx, 4
sub eax, 0x20
cmp edi, 2
jae 0x4adad1
test edx, edx
mov edx, dword [ebp - 0x38]
jne 0x4adb02
lea eax, [edx + 1]
mov dword [ebp - 0x60], eax
mov ecx, dword [esi + 0x30]
lea eax, [edx + 1]
add ecx, eax
cmp ecx, dword [ebp - 0x48]
cmova ecx, dword [ebp - 0x48]
add eax, 2
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x80], eax
cmp eax, ecx
ja 0x4adcb7
mov edi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x78]
add edi, eax
add ecx, eax
mov dword [ebp - 0x88], ecx
mov al, byte [edi - 2]
cmp al, byte [ecx - 2]
jne 0x4adcb7
mov al, byte [edi - 1]
cmp al, byte [ecx - 1]
jne 0x4adcb7
mov ecx, dword [ebp - 0x6c]
lea eax, [esi + 0x760]
push eax
mov eax, dword [ebp - 0x78]
add ecx, edx
mov edi, ecx
shl ecx, 8
and edi, dword [esi + 0x4c]
movzx eax, byte [edx + eax]
push eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [edx + eax]
push eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [edx + eax - 1]
add eax, ecx
mov ecx, dword [esi + 0x94]
and eax, dword [esi + 0x48]
shl eax, cl
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x50]
lea eax, [eax + ecx*2]
push eax
call fcn.004ae810
mov ecx, dword [ebp - 0x44]
add esp, 0x10
mov edx, dword [ebp - 0x2c]
movzx ecx, byte [ecx + 0x5166e8]
shl ecx, 4
add ecx, edi
movzx ecx, word [esi + ecx*2 + 0x1eb0]
shr ecx, 4
add eax, dword [esi + ecx*4 + 0x760]
imul ecx, dword [ebp - 0x40], 0x110
add ecx, dword [ebp - 0x38]
add eax, dword [esi + ecx*4 + 0x78b0]
add edx, eax
lea eax, [edi + 1]
and eax, dword [esi + 0x4c]
mov dword [ebp - 0x78], eax
mov edi, dword [ebp - 0x84]
movzx ecx, word [esi + eax*2 + 0x20d0]
movzx eax, word [esi + eax*2 + 0x1f50]
xor ecx, 0x7f0
xor eax, 0x7f0
shr ecx, 4
shr eax, 4
mov ecx, dword [esi + ecx*4 + 0x760]
add ecx, dword [esi + eax*4 + 0x760]
movzx eax, word [esi + 0x1e5a]
xor eax, 0x7f0
shr eax, 4
add ecx, dword [esi + eax*4 + 0x760]
movzx eax, word [esi + 0x1e72]
shr eax, 4
add ecx, dword [esi + eax*4 + 0x760]
add edx, ecx
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x80]
cmp edx, edi
jae 0x4adc5d
mov ecx, dword [ebp - 0x88]
mov ebx, dword [ebp - 0x7c]
nop dword [eax]
mov al, byte [ecx + ebx]
cmp al, byte [ecx]
jne 0x4adc5d
inc edx
inc ecx
cmp edx, edi
jb 0x4adc50
mov ecx, dword [ebp - 0x3c]
mov eax, edx
mov ebx, dword [ebp - 0x38]
add ecx, eax
mov eax, dword [ebp - 0x4c]
sub edx, ebx
cmp eax, ecx
cmovb eax, ecx
dec edx
mov dword [ebp - 0x4c], eax
imul eax, dword [ebp - 0x78], 0x110
shl ecx, 5
add eax, edx
lea edi, [ecx + esi]
mov ecx, dword [ebp - 0x30]
mov eax, dword [esi + eax*4 + 0x78b0]
add eax, dword [ebp - 0x2c]
cmp eax, dword [edi + 0xbcb8]
jae 0x4adcba
mov dword [edi + 0xbcb8], eax
lea eax, [ebx + 1]
mov dword [edi + 0xbcc0], edx
mov word [edi + 0xbcbe], ax
mov dword [edi + 0xbcc4], ecx
jmp 0x4adcba
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
inc ecx
mov dword [ebp - 0x30], ecx
cmp ecx, 4
jb 0x4ad9a0
mov edx, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x70]
cmp edi, edx
jbe 0x4adcfd
xor eax, eax
xor ecx, ecx
mov edi, edx
cmp edx, dword [esi + 0x960]
jbe 0x4adcf0
add eax, 2
mov ecx, eax
cmp edx, dword [esi + ecx*4 + 0x960]
ja 0x4adce2
add eax, 2
mov dword [esi + ecx*4 + 0x960], edx
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x60]
cmp edi, ebx
jb 0x4ae033
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x4c]
movzx eax, word [esi + eax*2 + 0x1e50]
shr eax, 4
mov eax, dword [esi + eax*4 + 0x760]
add eax, dword [ebp - 0x54]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x3c]
add eax, edi
cmp ecx, eax
cmovb ecx, eax
xor edi, edi
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x5c], edi
cmp ebx, dword [esi + 0x960]
jbe 0x4add4f
add edi, 2
cmp ebx, dword [esi + edi*4 + 0x960]
ja 0x4add40
mov dword [ebp - 0x5c], edi
mov eax, dword [esi + edi*4 + 0x964]
cmp eax, 0x20000
mov dword [ebp - 0x38], eax
sbb ecx, ecx
imul edx, dword [ebp - 0x40], 0x110
and ecx, 0xfffffff6
add ecx, 0x10
shr eax, cl
add edx, 0xd2b
add edx, ebx
movzx eax, byte [eax + esi + 0x2cb0]
lea edx, [esi + edx*4]
lea eax, [eax + ecx*2]
mov dword [ebp - 0x54], eax
lea ecx, [ebx + 3]
mov eax, dword [ebp - 0x6c]
add eax, ebx
add ebx, dword [ebp - 0x3c]
shl ebx, 5
shl eax, 8
add ebx, 0xbcc4
add ebx, esi
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x40], ebx
mov ebx, dword [edx]
lea eax, [ecx - 5]
add ebx, dword [ebp - 0x70]
mov dword [ebp - 0x60], edx
mov edx, 3
cmp eax, edx
mov dword [ebp - 0x30], ecx
cmovb edx, eax
mov eax, dword [ebp - 0x38]
cmp eax, 0x80
jae 0x4addda
shl edx, 7
and eax, 0x7f
add edx, eax
add ebx, dword [esi + edx*4 + 0x1630]
jmp 0x4addf8
shl edx, 6
mov ecx, eax
add edx, dword [ebp - 0x54]
and ecx, 0xf
mov eax, dword [esi + edx*4 + 0x1230]
add eax, dword [esi + ecx*4 + 0x11f0]
mov ecx, dword [ebp - 0x30]
add ebx, eax
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x2c], ebx
cmp ebx, dword [edx - 0xc]
jae 0x4ade1f
lea eax, [ecx - 3]
mov dword [edx - 0xc], ebx
mov ebx, dword [ebp - 0x40]
mov dword [edx - 4], eax
mov edx, dword [ebp - 0x38]
lea eax, [edx + 4]
mov dword [ebx], eax
xor eax, eax
mov word [ebx - 6], ax
jmp 0x4ade22
mov edx, dword [ebp - 0x38]
lea eax, [ecx - 3]
cmp eax, dword [esi + edi*4 + 0x960]
jne 0x4ae01c
mov edi, dword [esi + 0x30]
mov ebx, dword [ebp - 0x34]
add edi, 0xfffffffe
sub ebx, edx
add edi, ecx
dec ebx
mov edx, ecx
cmp edi, dword [ebp - 0x48]
mov dword [ebp - 0x88], ebx
cmova edi, dword [ebp - 0x48]
cmp ecx, edi
ja 0x4adfe1
mov eax, dword [ebp - 0x34]
dec eax
add eax, ecx
mov dword [ebp - 0x7c], eax
mov al, byte [eax - 1]
cmp al, byte [ebx + ecx - 2]
jne 0x4adfe1
mov eax, dword [ebp - 0x34]
mov al, byte [eax + ecx - 1]
cmp al, byte [ebx + ecx - 1]
jne 0x4adfe1
cmp ecx, edi
jae 0x4adea0
mov ecx, dword [ebp - 0x7c]
inc ecx
sub ebx, dword [ebp - 0x34]
nop dword [eax]
mov al, byte [ecx]
cmp al, byte [ebx + ecx]
jne 0x4ade9d
inc edx
inc ecx
cmp edx, edi
jb 0x4ade90
mov ecx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x6c]
mov eax, 3
sub eax, ecx
mov dword [ebp - 0x7c], edx
add edx, eax
add edi, 0xfffffffd
lea eax, [esi + 0x760]
mov dword [ebp - 0x84], edx
mov edx, dword [ebp - 0x34]
add edi, ecx
push eax
mov eax, dword [ebp - 0x88]
and edi, dword [esi + 0x4c]
movzx eax, byte [eax + ecx - 3]
push eax
movzx eax, byte [edx + ecx - 3]
push eax
movzx eax, byte [edx + ecx - 4]
add eax, dword [ebp - 0x58]
and eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x94]
shl eax, cl
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x50]
lea eax, [eax + ecx*2]
push eax
call fcn.004ae810
mov ecx, dword [ebp - 0x44]
lea edx, [edi + 1]
and edx, dword [esi + 0x4c]
add esp, 0x10
movzx ecx, byte [ecx + 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]
shl ecx, 4
add ecx, edi
mov edi, dword [ebp - 0x84]
movzx ecx, word [esi + ecx*2 + 0x1eb0]
shr ecx, 4
add eax, dword [esi + ecx*4 + 0x760]
add dword [ebp - 0x2c], eax
movzx ecx, word [esi + edx*2 + 0x20b0]
movzx eax, word [esi + edx*2 + 0x1f30]
xor ecx, 0x7f0
xor eax, 0x7f0
shr ecx, 4
shr eax, 4
mov ebx, dword [ebp - 0x2c]
mov ecx, dword [esi + ecx*4 + 0x760]
add ecx, dword [esi + eax*4 + 0x760]
movzx eax, word [esi + 0x1e58]
xor eax, 0x7f0
shr eax, 4
add ecx, dword [esi + eax*4 + 0x760]
movzx eax, word [esi + 0x1e70]
shr eax, 4
add ecx, dword [esi + eax*4 + 0x760]
mov eax, dword [ebp - 0x4c]
add ebx, ecx
mov ecx, dword [ebp - 0x3c]
add ecx, dword [ebp - 0x7c]
cmp eax, ecx
cmovb eax, ecx
dec edi
mov dword [ebp - 0x4c], eax
imul eax, edx, 0x110
shl ecx, 5
add eax, edi
mov eax, dword [esi + eax*4 + 0x78b0]
add eax, ebx
cmp eax, dword [ecx + esi + 0xbcb8]
jae 0x4adfe1
mov dword [ecx + esi + 0xbcb8], eax
mov eax, dword [ebp - 0x30]
add eax, 0xfffffffe
mov dword [ecx + esi + 0xbcc0], edi
mov word [ecx + esi + 0xbcbe], ax
mov eax, dword [ebp - 0x38]
add eax, 4
mov dword [ecx + esi + 0xbcc4], eax
mov edi, dword [ebp - 0x5c]
add edi, 2
mov dword [ebp - 0x5c], edi
cmp edi, dword [ebp - 0x50]
je 0x4ae033
mov edx, dword [esi + edi*4 + 0x964]
cmp edx, 0x20000
mov eax, edx
mov dword [ebp - 0x38], edx
sbb ecx, ecx
and ecx, 0xfffffff6
add ecx, 0x10
shr eax, cl
movzx eax, byte [eax + esi + 0x2cb0]
lea eax, [eax + ecx*2]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x60]
add dword [ebp - 0x40], 0x20
add edx, 4
add dword [ebp - 0x58], 0x100
inc ecx
jmp 0x4adda7
mov ebx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x4c]
inc ebx
mov dword [ebp - 0x3c], ebx
cmp ebx, ecx
jne 0x4ad4a0
jmp 0x4ae0af
mov eax, dword [ebp - 0x50]
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], ecx
jmp 0x4ae0ac
mov eax, ebx
shl eax, 5
mov edi, dword [eax + esi + 0xbcb8]
mov eax, dword [ebp - 0x3c]
lea edx, [eax + 1]
cmp edx, ecx
ja 0x4ae095
nop dword [eax + eax]
mov eax, edx
shl eax, 5
mov ecx, dword [eax + esi + 0xbcb8]
cmp edi, ecx
mov eax, edx
cmovb eax, ebx
inc edx
cmp edi, ecx
mov ebx, eax
cmovb ecx, edi
mov edi, ecx
cmp edx, dword [ebp - 0x4c]
jbe 0x4ae070
mov eax, dword [ebp - 0x3c]
mov ecx, ebx
sub ecx, eax
je 0x4ae0a9
mov eax, dword [esi + 0x14]
add dword [esi + 0x34], ecx
push ecx
push dword [esi]
call eax
add esp, 8
mov dword [ebp - 0x3c], ebx
mov ecx, dword [ebp - 0x4c]
mov eax, ecx
shl eax, 5
add eax, 0xbcb8
add eax, esi
nop dword [eax + eax]
mov dword [eax], 0x40000000
lea eax, [eax - 0x20]
sub ecx, 1
jne 0x4ae0c0
lea edx, [ebx + 1]
mov ebx, edx
mov dword [ebp - 0x48], edx
mov dword [esi + 0x1c], edx
add edx, 0x5e6
shl ebx, 5
shl edx, 5
add edx, esi
lea edi, [ebx + 0xbcc4]
add edi, esi
nop
mov ecx, dword [ebp - 0x3c]
shl ecx, 5
mov eax, dword [ecx + esi + 0xbcc4]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x3c]
add eax, 0x5e6
shl eax, 5
mov eax, dword [eax + esi]
mov dword [ebp - 0x70], eax
movzx eax, word [ecx + esi + 0xbcbe]
mov ecx, dword [ebp - 0x70]
sub dword [ebp - 0x3c], ecx
mov dword [ebp - 0x50], eax
test eax, eax
je 0x4ae15e
dec dword [ebp - 0x48]
sub edx, 0x20
sub ebx, 0x20
sub edi, 0x20
mov dword [edx], ecx
mov ecx, eax
sub dword [ebp - 0x3c], ecx
lea eax, [ebx + 0xbcc4]
add eax, esi
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x48]
cmp ecx, 1
jne 0x4ae181
mov eax, dword [ebp - 0x70]
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], 0xffffffff
mov dword [eax], esi
mov esi, dword [ebp - 0x74]
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x3c], 0
je 0x4ae1ab
dec eax
mov dword [edx - 0x20], ecx
sub edi, 0x20
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x2c]
sub ebx, 0x20
sub edx, 0x20
mov dword [edi], eax
jmp 0x4ae0f0
lea ecx, [ebx + esi]
sub edi, 0x20
mov dword [ecx + 0xbcc4], 0
dec eax
mov ecx, dword [ebp - 0x50]
sub ebx, 0x20
dec ecx
mov dword [edx - 0x20], 1
sub edx, 0x20
mov dword [edi], 0xffffffff
jmp 0x4ae161
mov edx, dword [ebp - 0x2c]
pop edi
mov dword [esi + 0x18], eax
mov eax, ecx
mov dword [esi + 0x90], edx
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b25dd
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x90], 0xffffffff
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b25dd
mov esp, ebp
pop ebp
ret