Function at 0x4a9240
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x5519c0]
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 0x4a928b
lea eax, [ebp - 0x58]
push eax
push esi
call fcn.004ac310
mov dword [ebp - 0x50], eax
add esp, 8
mov eax, dword [ebp - 0x58]
jmp 0x4a9294
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 0x24]
mov ebx, dword [esi + 0x28]
mov dword [ebp - 0x40], eax
cmp ebx, 2
jb 0x4aa50a
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 - 0x44], 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 - 0x38], edx
mov dword [ebp - 0x30], 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 - 0x58], ecx
mov cl, byte [ebp - 0x25]
cmp cl, byte [edi + edx]
lea ecx, [eax*4]
jne 0x4a9355
mov eax, dword [ebp - 0x44]
mov al, byte [eax]
cmp al, byte [edi + edx + 1]
jne 0x4a9352
mov edx, 2
cmp ebx, edx
jbe 0x4a9330
mov ecx, dword [ebp - 0x44]
inc ecx
nop word [eax + eax]
mov al, byte [ecx]
cmp al, byte [ecx + edi]
jne 0x4a932d
inc edx
inc ecx
cmp edx, ebx
jb 0x4a9320
mov ecx, dword [ebp - 0x58]
mov dword [ebp + ecx - 0x24], edx
cmp edx, dword [ebp + esi - 0x24]
jbe 0x4a9342
mov eax, dword [ebp - 0x30]
mov esi, ecx
mov dword [ebp - 0x5c], eax
cmp edx, 0x111
je 0x4a936d
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x38]
jmp 0x4a935d
mov eax, dword [ebp - 0x30]
mov dword [ebp + ecx - 0x24], 0
mov edi, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x30], eax
cmp eax, 4
jb 0x4a92e0
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 0x4a93ab
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.004ae8e5
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x50]
cmp ebx, eax
jb 0x4a93ec
mov eax, dword [ebp - 0x40]
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.004ae8e5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x38]
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 - 0x54], edi
cmp edi, 2
jae 0x4a941b
cmp dl, al
jne 0x4aa50a
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 - 0x38], 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 0x4a9473
lea eax, [esi + 0x760]
push eax
movzx eax, byte [ebp - 0x26]
push eax
push edx
push ebx
call fcn.004aab50
add esp, 0x10
mov edi, eax
jmp 0x4a94a4
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 0x4a9480
mov edx, dword [esi + 0x2c]
mov ebx, edx
shl ebx, 4
add ebx, dword [ebp - 0x38]
movzx eax, word [esi + ebx*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 + ebx*2 + 0x1eb0]
xor eax, 0x7f0
shr eax, 4
mov ecx, dword [esi + eax*4 + 0x760]
movzx eax, word [esi + edx*2 + 0x1e50]
xor eax, 0x7f0
mov dword [ebp - 0x60], ecx
shr eax, 4
mov eax, dword [esi + eax*4 + 0x760]
add eax, ecx
mov dword [ebp - 0x44], eax
mov al, byte [ebp - 0x25]
cmp byte [ebp - 0x26], al
jne 0x4a956f
cmp dword [ebp - 0x24], 0
jne 0x4a956f
movzx ecx, word [esi + edx*2 + 0x1e68]
movzx eax, word [esi + ebx*2 + 0x2030]
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, dword [ebp - 0x44]
cmp ecx, edi
jae 0x4a955e
mov dword [esi + 0xbcd8], ecx
xor eax, eax
mov dword [esi + 0xbce4], 0
cmp dword [ebp - 0x54], 2
jae 0x4a956f
mov dword [esi + 0x90], eax
jmp 0x4aa514
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
mov edx, dword [ebp + ebx*4 - 0x24]
cmp edx, 2
jb 0x4a9695
mov eax, dword [esi + 0x2c]
movzx ecx, word [esi + eax*2 + 0x1e68]
test ebx, ebx
jne 0x4a95e7
shl eax, 4
add eax, dword [ebp - 0x38]
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 0x4a964c
movzx edi, word [esi + eax*2 + 0x1e80]
xor ecx, 0x7f0
shr ecx, 4
mov ecx, dword [esi + ecx*4 + 0x760]
mov dword [ebp - 0x30], ecx
cmp ebx, 1
jne 0x4a9615
shr edi, 4
mov eax, ecx
add eax, dword [esi + edi*4 + 0x760]
jmp 0x4a964c
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 - 0x30], eax
mov eax, dword [ebp - 0x30]
imul edi, dword [ebp - 0x38], 0x110
mov ecx, edx
add eax, dword [ebp - 0x44]
shl ecx, 5
add ecx, 0xbcc4
mov dword [ebp - 0x58], eax
add ecx, esi
add edi, 0x1e2c
add edi, edx
lea edi, [esi + edi*4]
mov eax, dword [edi]
add eax, dword [ebp - 0x58]
cmp eax, dword [ecx - 0xc]
jae 0x4a9689
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 0x4a9671
inc ebx
cmp ebx, 4
jb 0x4a95a2
mov edi, dword [ebp - 0x24]
inc edi
cmp edi, dword [ebp - 0x50]
ja 0x4a97c3
mov eax, dword [esi + 0x2c]
xor ecx, ecx
mov dword [ebp - 0x50], ecx
movzx eax, word [esi + eax*2 + 0x1e50]
shr eax, 4
mov edx, dword [esi + eax*4 + 0x760]
add edx, dword [ebp - 0x60]
mov dword [ebp - 0x58], edx
cmp edi, 2
jae 0x4a96d6
lea edi, [ecx + 2]
jmp 0x4a96ef
cmp edi, dword [esi + 0x960]
jbe 0x4a96ef
nop
add ecx, 2
cmp edi, dword [esi + ecx*4 + 0x960]
ja 0x4a96e0
mov dword [ebp - 0x50], ecx
imul ebx, dword [ebp - 0x38], 0x110
mov eax, edi
shl eax, 5
add eax, 0xbcc4
add eax, esi
mov dword [ebp - 0x30], 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 - 0x44], eax
lea edx, [edi - 2]
cmp edi, 5
jb 0x4a972e
mov edx, 3
cmp eax, 0x80
jae 0x4a9746
shl edx, 7
and eax, 0x7f
add edx, eax
add ebx, dword [esi + edx*4 + 0x1630]
jmp 0x4a977e
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 + 0x2cb0]
lea eax, [eax + edx*2]
mov eax, dword [esi + eax*4 + 0x1230]
add eax, dword [esi + ecx*4 + 0x11f0]
mov ecx, dword [ebp - 0x50]
add ebx, eax
mov edx, dword [ebp - 0x30]
cmp ebx, dword [edx - 0xc]
jae 0x4a979a
mov eax, dword [ebp - 0x44]
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 0x4a97ae
add ecx, 2
mov dword [ebp - 0x50], ecx
cmp ecx, dword [ebp - 0x40]
je 0x4a97c3
mov ebx, dword [ebp - 0x5c]
inc edi
add ebx, 4
add edx, 0x20
mov dword [ebp - 0x30], edx
mov edx, dword [ebp - 0x58]
jmp 0x4a9710
mov ecx, dword [ebp - 0x54]
mov ebx, 1
mov dword [ebp - 0x3c], ebx
cmp ecx, ebx
je 0x4aa3ef
nop word [eax + eax]
cmp ebx, 0x7c0
jae 0x4aa392
lea eax, [ebp - 0x50]
push eax
push esi
call fcn.004ac310
mov ecx, eax
add esp, 8
mov dword [ebp - 0x70], ecx
cmp ecx, dword [esi + 0x30]
jae 0x4aa387
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 0x4a9850
shl edx, 5
mov eax, 0x512508
cmp dword [edi + 0xc], 0
movzx ecx, word [edx + esi + 0xbcbc]
mov edx, 0x51252c
cmove eax, edx
mov edx, dword [ebp - 0x68]
movzx ebx, byte [eax + ecx]
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x48], ebx
jmp 0x4a9958
movzx ebx, word [edi + 6]
mov ecx, dword [edi + 0xc]
test bx, bx
je 0x4a989a
sub edx, ebx
mov dword [ebp - 0x48], 8
cmp ebx, 1
jne 0x4a9877
cmp ecx, 4
sbb eax, eax
neg eax
add eax, 7
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x48]
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 0x4a993a
jmp 0x4a98cb
mov eax, edx
shl edx, 5
shl eax, 5
movzx eax, word [eax + esi + 0xbcbc]
cmp ecx, 4
jae 0x4a991e
movzx eax, byte [eax + 0x512520]
mov dword [ebp - 0x48], eax
lea eax, [edx + 0xbcb8]
mov edx, dword [eax + esi + 0x10]
add eax, esi
mov ebx, dword [ebp - 0x48]
mov dword [ebp - 0x64], edx
mov edx, dword [eax + 0x14]
test ecx, ecx
jne 0x4a98ec
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 0x4a9952
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x74]
mov dword [ebp - 0x68], edx
cmp ecx, 1
jne 0x4a9905
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
jmp 0x4a994f
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 0x4a9955
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 - 0x48], eax
lea eax, [edx + 0xbcb8]
mov edx, dword [eax + esi + 0x10]
add eax, esi
mov ebx, dword [ebp - 0x48]
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 - 0x30], ecx
mov byte [ebp - 0x25], bh
mov bl, byte [eax]
mov eax, dword [ebp - 0x48]
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 - 0x58], eax
add edi, esi
mov dword [ebp - 0x4c], ecx
xor eax, eax
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x2c], eax
mov edx, dword [edi]
cmp edx, 0x40000000
jae 0x4a99f2
cmp bl, bh
je 0x4a99f6
cmp ecx, edx
jbe 0x4a9a00
xor ebx, ebx
mov dword [ebp - 0x4c], ebx
jmp 0x4a9aa7
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 - 0x48], 7
lea ecx, [edx + edx*2]
movzx edx, bh
lea ecx, [eax + ecx*2]
mov dword [ebp - 0x60], ecx
jb 0x4a9a48
lea eax, [esi + 0x760]
push eax
movzx eax, bl
push eax
push edx
push ecx
call fcn.004aab50
add esp, 0x10
mov ebx, eax
jmp 0x4a9a7a
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 0x4a9a53
mov edi, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [edi]
add ecx, ebx
mov dword [ebp - 0x4c], ecx
cmp ecx, edx
jae 0x4a9aa7
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 - 0x2c], 1
mov ecx, dword [ebp - 0x48]
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 - 0x58]
cmp dword [esi + 0x28], ebx
mov dword [ebp - 0x5c], eax
cmovbe ebx, dword [esi + 0x28]
cmp ecx, 7
mov al, byte [ebp - 0x26]
mov cl, byte [ebp - 0x25]
mov dword [ebp - 0x38], ebx
jae 0x4a9b56
cmp al, cl
jne 0x4a9b56
cmp dword [ebp - 0x5c], edx
jae 0x4a9b56
cmp dword [edi + 8], 2
jb 0x4a9af9
cmp dword [edi + 0xc], 0
je 0x4a9b56
mov eax, dword [ebp - 0x48]
shl eax, 4
add eax, dword [ebp - 0x30]
movzx ecx, word [esi + eax*2 + 0x2030]
mov eax, dword [ebp - 0x48]
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 - 0x5c]
cmp ecx, edx
jae 0x4a9b50
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 0x4a9b59
mov al, byte [ebp - 0x26]
mov cl, byte [ebp - 0x25]
mov edx, dword [ebp - 0x2c]
cmp dword [ebp - 0x38], 2
jb 0x4aa373
mov edi, dword [esi + 0x30]
mov ebx, edi
cmp dword [ebp - 0x38], edi
cmovbe ebx, dword [ebp - 0x38]
mov dword [ebp - 0x44], ebx
mov ebx, dword [ebp - 0x4c]
test edx, edx
jne 0x4a9cb9
test ebx, ebx
je 0x4a9cb9
mov edx, dword [ebp - 0x34]
cmp al, cl
je 0x4a9cbc
mov ecx, dword [ebp - 0x38]
cmp ecx, 2
jbe 0x4a9cbc
mov eax, dword [ebp - 0x8c]
mov ebx, edx
sub ebx, dword [ebp - 0x68]
mov al, byte [eax]
cmp al, byte [ebx + 1]
jne 0x4a9cbc
mov al, byte [edx + 2]
cmp al, byte [ebx + 2]
jne 0x4a9cbc
inc edi
mov edx, 3
cmp edi, ecx
mov dword [ebp - 0x40], edx
cmova edi, ecx
cmp edi, edx
jbe 0x4a9beb
mov esi, dword [ebp - 0x34]
lea ecx, [ebx + 3]
sub esi, ebx
mov al, byte [esi + ecx]
cmp al, byte [ecx]
jne 0x4a9be5
inc edx
inc ecx
cmp edx, edi
jb 0x4a9bd8
mov esi, dword [ebp - 0x74]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x6c]
inc ecx
and ecx, dword [esi + 0x4c]
movzx edi, byte [eax + 0x512508]
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 - 0x40]
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 - 0x4c]
mov eax, dword [ebp - 0x54]
cmp eax, ecx
cmovb eax, ecx
dec edx
mov dword [ebp - 0x54], 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 0x4a9cb9
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 - 0x48]
shl eax, 4
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x2c]
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 0x4a9ffd
mov eax, dword [ebp - 0x8c]
mov al, byte [eax]
cmp al, byte [edi + 1]
jne 0x4a9ffd
mov edx, 2
mov dword [ebp - 0x4c], edx
cmp dword [ebp - 0x44], edx
jbe 0x4a9d33
mov esi, dword [ebp - 0x44]
lea ecx, [edi + 2]
nop dword [eax]
mov al, byte [ebx + ecx]
cmp al, byte [ecx]
jne 0x4a9d2d
inc edx
inc ecx
cmp edx, esi
jb 0x4a9d20
mov esi, dword [ebp - 0x74]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x3c]
mov edi, edx
mov ecx, dword [ebp - 0x54]
add eax, edx
cmp ecx, eax
mov dword [ebp - 0x80], eax
cmovb ecx, eax
cmp dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x54], ecx
movzx ecx, word [esi + eax*2 + 0x1e68]
jne 0x4a9d82
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 0x4a9dea
xor ecx, 0x7f0
shr ecx, 4
cmp dword [ebp - 0x2c], 1
mov eax, dword [esi + ecx*4 + 0x760]
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x40], eax
movzx ebx, word [esi + ecx*2 + 0x1e80]
jne 0x4a9db2
shr ebx, 4
add eax, dword [esi + ebx*4 + 0x760]
jmp 0x4a9dea
movzx ecx, word [esi + ecx*2 + 0x1e98]
mov eax, 2
sub eax, dword [ebp - 0x2c]
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 - 0x40], eax
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x5c]
mov dword [ebp - 0x40], eax
imul eax, dword [ebp - 0x30], 0x110
add eax, 0x1e2c
add eax, edx
mov edx, dword [ebp - 0x2c]
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 - 0x40]
cmp ecx, dword [eax - 0xc]
jae 0x4a9e29
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 0x4a9e11
test edx, edx
mov edx, dword [ebp - 0x4c]
jne 0x4a9e42
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 - 0x38]
cmova ecx, dword [ebp - 0x38]
add eax, 2
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x80], eax
cmp eax, ecx
ja 0x4a9ff7
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 0x4a9ff7
mov al, byte [edi - 1]
cmp al, byte [ecx - 1]
jne 0x4a9ff7
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.004aab50
mov ecx, dword [ebp - 0x48]
add esp, 0x10
mov edx, dword [ebp - 0x40]
movzx ecx, byte [ecx + 0x512520]
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 - 0x30], 0x110
add ecx, dword [ebp - 0x4c]
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 - 0x40], edx
mov edx, dword [ebp - 0x80]
cmp edx, edi
jae 0x4a9f9d
mov ecx, dword [ebp - 0x88]
mov ebx, dword [ebp - 0x7c]
nop dword [eax]
mov al, byte [ecx + ebx]
cmp al, byte [ecx]
jne 0x4a9f9d
inc edx
inc ecx
cmp edx, edi
jb 0x4a9f90
mov ecx, dword [ebp - 0x3c]
mov eax, edx
mov ebx, dword [ebp - 0x4c]
add ecx, eax
mov eax, dword [ebp - 0x54]
sub edx, ebx
cmp eax, ecx
cmovb eax, ecx
dec edx
mov dword [ebp - 0x54], eax
imul eax, dword [ebp - 0x78], 0x110
shl ecx, 5
add eax, edx
lea edi, [ecx + esi]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [esi + eax*4 + 0x78b0]
add eax, dword [ebp - 0x40]
cmp eax, dword [edi + 0xbcb8]
jae 0x4a9ffa
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 0x4a9ffa
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x34]
inc ecx
mov dword [ebp - 0x2c], ecx
cmp ecx, 4
jb 0x4a9ce0
mov edx, dword [ebp - 0x44]
mov edi, dword [ebp - 0x70]
cmp edi, edx
jbe 0x4aa040
xor eax, eax
xor ecx, ecx
mov edi, edx
cmp edx, dword [esi + 0x960]
jbe 0x4aa033
add eax, 2
mov ecx, eax
mov dword [ebp - 0x50], eax
cmp edx, dword [esi + ecx*4 + 0x960]
ja 0x4aa022
add eax, 2
mov dword [esi + ecx*4 + 0x960], edx
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x60]
cmp edi, ebx
jb 0x4aa373
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x54]
movzx eax, word [esi + eax*2 + 0x1e50]
shr eax, 4
mov eax, dword [esi + eax*4 + 0x760]
add eax, dword [ebp - 0x58]
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 - 0x54], ecx
mov dword [ebp - 0x44], edi
cmp ebx, dword [esi + 0x960]
jbe 0x4aa092
add edi, 2
cmp ebx, dword [esi + edi*4 + 0x960]
ja 0x4aa083
mov dword [ebp - 0x44], edi
mov eax, dword [esi + edi*4 + 0x964]
cmp eax, 0x20000
mov dword [ebp - 0x4c], eax
sbb ecx, ecx
imul edx, dword [ebp - 0x30], 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 - 0x58], 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 - 0x5c], eax
mov dword [ebp - 0x30], 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 - 0x2c], ecx
cmovb edx, eax
mov eax, dword [ebp - 0x4c]
cmp eax, 0x80
jae 0x4aa11d
shl edx, 7
and eax, 0x7f
add edx, eax
add ebx, dword [esi + edx*4 + 0x1630]
jmp 0x4aa13b
shl edx, 6
mov ecx, eax
add edx, dword [ebp - 0x58]
and ecx, 0xf
mov eax, dword [esi + edx*4 + 0x1230]
add eax, dword [esi + ecx*4 + 0x11f0]
mov ecx, dword [ebp - 0x2c]
add ebx, eax
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x40], ebx
cmp ebx, dword [edx - 0xc]
jae 0x4aa162
lea eax, [ecx - 3]
mov dword [edx - 0xc], ebx
mov ebx, dword [ebp - 0x30]
mov dword [edx - 4], eax
mov edx, dword [ebp - 0x4c]
lea eax, [edx + 4]
mov dword [ebx], eax
xor eax, eax
mov word [ebx - 6], ax
jmp 0x4aa165
mov edx, dword [ebp - 0x4c]
lea eax, [ecx - 3]
cmp eax, dword [esi + edi*4 + 0x960]
jne 0x4aa35c
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 - 0x38]
mov dword [ebp - 0x88], ebx
cmova edi, dword [ebp - 0x38]
cmp ecx, edi
ja 0x4aa321
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 0x4aa321
mov eax, dword [ebp - 0x34]
mov al, byte [eax + ecx - 1]
cmp al, byte [ebx + ecx - 1]
jne 0x4aa321
cmp ecx, edi
jae 0x4aa1e0
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 0x4aa1dd
inc edx
inc ecx
cmp edx, edi
jb 0x4aa1d0
mov ecx, dword [ebp - 0x2c]
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 - 0x5c]
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.004aab50
mov ecx, dword [ebp - 0x48]
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 - 0x40], 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 - 0x40]
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 - 0x54]
add ebx, ecx
mov ecx, dword [ebp - 0x3c]
add ecx, dword [ebp - 0x7c]
cmp eax, ecx
cmovb eax, ecx
dec edi
mov dword [ebp - 0x54], 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 0x4aa321
mov dword [ecx + esi + 0xbcb8], eax
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffffe
mov dword [ecx + esi + 0xbcc0], edi
mov word [ecx + esi + 0xbcbe], ax
mov eax, dword [ebp - 0x4c]
add eax, 4
mov dword [ecx + esi + 0xbcc4], eax
mov edi, dword [ebp - 0x44]
add edi, 2
mov dword [ebp - 0x44], edi
cmp edi, dword [ebp - 0x50]
je 0x4aa373
mov edx, dword [esi + edi*4 + 0x964]
cmp edx, 0x20000
mov eax, edx
mov dword [ebp - 0x4c], 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 - 0x2c]
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x60]
add dword [ebp - 0x30], 0x20
add edx, 4
add dword [ebp - 0x5c], 0x100
inc ecx
jmp 0x4aa0ea
mov ebx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x54]
inc ebx
mov dword [ebp - 0x3c], ebx
cmp ebx, ecx
jne 0x4a97e0
jmp 0x4aa3ef
mov eax, dword [ebp - 0x50]
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], ecx
jmp 0x4aa3ec
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 0x4aa3d5
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 - 0x54]
jbe 0x4aa3b0
mov eax, dword [ebp - 0x3c]
mov ecx, ebx
sub ecx, eax
je 0x4aa3e9
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 - 0x54]
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 0x4aa400
lea edx, [ebx + 1]
mov ebx, edx
mov dword [ebp - 0x38], 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 - 0x50], 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 - 0x44], eax
test eax, eax
je 0x4aa49e
dec dword [ebp - 0x38]
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 - 0x38]
cmp ecx, 1
jne 0x4aa4c1
mov eax, dword [ebp - 0x70]
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x50], 0xffffffff
mov dword [eax], esi
mov esi, dword [ebp - 0x74]
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x3c], 0
je 0x4aa4eb
dec eax
mov dword [edx - 0x20], ecx
sub edi, 0x20
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x50]
sub ebx, 0x20
sub edx, 0x20
mov dword [edi], eax
jmp 0x4aa430
lea ecx, [ebx + esi]
sub edi, 0x20
mov dword [ecx + 0xbcc4], 0
dec eax
mov ecx, dword [ebp - 0x44]
sub ebx, 0x20
dec ecx
mov dword [edx - 0x20], 1
sub edx, 0x20
mov dword [edi], 0xffffffff
jmp 0x4aa4a1
mov edx, dword [ebp - 0x50]
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.004ae8e5
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.004ae8e5
mov esp, ebp
pop ebp
ret