Function at 0x4a01c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x534090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x54], edx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x80], ebx
mov ecx, dword [ebx + 0x690]
mov dword [ebp - 0x6c], esi
cmp dword [ebx + 0x68c], ecx
je 0x4a0227
lea eax, [ecx + ecx*2]
add eax, eax
mov edx, dword [ebx + eax*8 + 0x6b8]
sub edx, ecx
mov ecx, dword [ebx + eax*8 + 0x6bc]
mov dword [esi], ecx
mov ecx, dword [ebx + eax*8 + 0x6b8]
mov eax, edx
pop esi
mov dword [ebx + 0x690], ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb63e
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x31938], 0
mov dword [ebx + 0x68c], 0
mov dword [ebx + 0x690], 0
jne 0x4a0256
lea edx, [ebp - 0x3c]
mov ecx, ebx
call fcn.0049ff60
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x3c]
jmp 0x4a0265
mov eax, dword [ebx + 0x694]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x698]
push edi
mov edi, dword [ebx + 0x69c]
mov dword [ebp - 0x38], eax
cmp edi, 2
jb 0x4a1411
push dword [ebx + 0x18]
mov eax, 0x111
cmp edi, eax
cmova edi, eax
mov eax, dword [ebx + 0xc]
call eax
add esp, 4
mov dword [ebp - 0x48], 0
xor ecx, ecx
mov dword [ebp - 0x50], ecx
lea edx, [eax - 1]
mov al, byte [edx]
mov dword [ebp - 0x2c], edx
mov byte [ebp - 0x25], al
jmp 0x4a02b3
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebx + ecx*4 + 0x3193c]
sub edx, eax
mov dword [ebp + ecx*4 - 0x14], eax
mov al, byte [ebp - 0x25]
cmp al, byte [edx - 1]
lea esi, [edx - 1]
jne 0x4a030b
mov eax, dword [ebp - 0x2c]
mov al, byte [eax + 1]
cmp al, byte [edx]
jne 0x4a030b
mov edx, 2
cmp edi, edx
jbe 0x4a02f6
mov eax, dword [ebp - 0x2c]
sub esi, eax
lea ecx, [eax + 2]
mov al, byte [ecx]
cmp al, byte [esi + ecx]
jne 0x4a02f3
inc edx
inc ecx
cmp edx, edi
jb 0x4a02e6
mov ecx, dword [ebp - 0x50]
mov esi, dword [ebp - 0x48]
mov eax, ecx
mov dword [ebp + ecx*4 - 0x24], edx
cmp edx, dword [ebp + esi*4 - 0x24]
cmovbe eax, esi
mov dword [ebp - 0x48], eax
jmp 0x4a0316
mov eax, dword [ebp - 0x48]
mov dword [ebp + ecx*4 - 0x24], 0
inc ecx
mov dword [ebp - 0x50], ecx
cmp ecx, 4
jb 0x4a02b0
mov esi, dword [ebp + eax*4 - 0x24]
mov ecx, dword [ebx + 0x31934]
cmp esi, ecx
jb 0x4a035e
mov edx, dword [ebp - 0x6c]
mov dword [edx], eax
lea eax, [esi - 1]
test eax, eax
je 0x4a034b
mov ecx, dword [ebx + 0x14]
add dword [ebx + 0x31938], eax
push eax
push dword [ebx + 0x18]
call ecx
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb63e
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x30]
cmp edi, ecx
jb 0x4a03a3
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebx + eax*4 + 0x3109c]
add eax, 4
mov dword [edx], eax
lea eax, [edi - 1]
test eax, eax
je 0x4a0390
add dword [ebx + 0x31938], eax
push eax
push dword [ebx + 0x18]
mov eax, dword [ebx + 0x14]
call eax
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb63e
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x2c]
mov eax, edx
sub eax, dword [ebp - 0x14]
mov cl, byte [edx]
mov al, byte [eax - 1]
mov byte [ebp - 0x25], cl
mov byte [ebp - 0x26], al
cmp edi, 2
jae 0x4a03c8
cmp cl, al
je 0x4a03c8
cmp esi, 2
jb 0x4a140e
mov edi, dword [ebx + 0x3194c]
mov ecx, 8
mov eax, dword [ebp - 0x54]
mov dword [ebx + 0x6a4], edi
and eax, dword [ebx + 0x325a8]
sub cl, byte [ebx + 0x32598]
movzx edx, byte [edx - 1]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x325a4]
and eax, dword [ebp - 0x54]
shr edx, cl
mov ecx, dword [ebx + 0x32598]
shl eax, cl
add edx, eax
movzx eax, byte [ebp - 0x25]
imul ecx, edx, 0x600
lea edx, [ebx + 0x30ea0]
mov dword [ebp - 0x3c], eax
push edx
add ecx, dword [ebx + 0x325ac]
cmp edi, 7
jb 0x4a0435
movzx eax, byte [ebp - 0x26]
mov edx, dword [ebp - 0x3c]
push eax
call fcn.0049fa00
add esp, 8
jmp 0x4a043f
mov edx, eax
call fcn.0049f9b0
add esp, 4
mov edx, dword [ebp - 0x2c]
mov ecx, eax
mov eax, edi
shl eax, 4
add eax, edx
movzx eax, word [ebx + eax*2 + 0x325b0]
shr eax, 4
mov eax, dword [ebx + eax*4 + 0x30ea0]
add eax, ecx
mov dword [ebx + 0x6ec], 0xffffffff
mov dword [ebx + 0x6d0], eax
mov dword [ebp - 0x3c], eax
mov eax, edi
shl eax, 4
add eax, edx
mov dword [ebx + 0x6d8], 0
movzx eax, word [ebx + eax*2 + 0x325b0]
xor eax, 0x7f0
shr eax, 4
mov ecx, dword [ebx + eax*4 + 0x30ea0]
movzx eax, word [ebx + edi*2 + 0x32730]
xor eax, 0x7f0
mov dword [ebp - 0x44], ecx
shr eax, 4
mov eax, dword [ebx + eax*4 + 0x30ea0]
add eax, ecx
mov cl, byte [ebp - 0x25]
mov dword [ebp - 0x50], eax
or eax, 0xffffffff
cmp byte [ebp - 0x26], cl
jne 0x4a050c
mov eax, edi
shl eax, 4
add eax, edx
movzx ecx, word [ebx + eax*2 + 0x32790]
movzx eax, word [ebx + edi*2 + 0x32748]
shr ecx, 4
shr eax, 4
mov ecx, dword [ebx + ecx*4 + 0x30ea0]
add ecx, dword [ebx + eax*4 + 0x30ea0]
or eax, 0xffffffff
add ecx, dword [ebp - 0x50]
cmp ecx, dword [ebp - 0x3c]
jae 0x4a050c
mov dword [ebx + 0x6d0], ecx
xor eax, eax
mov dword [ebx + 0x6ec], 0
mov edi, dword [ebp - 0x30]
cmp edi, esi
cmovb edi, esi
mov dword [ebp - 0x4c], edi
cmp edi, 2
jae 0x4a0526
mov edx, dword [ebp - 0x6c]
mov dword [edx], eax
jmp 0x4a1417
mov eax, dword [ebp - 0x14]
mov ecx, edi
mov dword [ebx + 0x6e8], 0
mov dword [ebx + 0x6c0], eax
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x6c4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x6c8], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x6cc], eax
lea eax, [ecx + ecx*2]
shl eax, 4
add eax, 0x6a0
add eax, ebx
dec ecx
mov dword [eax], 0x40000000
lea eax, [eax - 0x30]
cmp ecx, 2
jae 0x4a0563
xor edi, edi
mov esi, dword [ebp + edi*4 - 0x24]
cmp esi, 2
jb 0x4a05e2
push edx
push dword [ebx + 0x3194c]
mov edx, edi
mov ecx, ebx
call fcn.004a0010
add eax, dword [ebp - 0x50]
lea ecx, [esi + esi*2]
shl ecx, 4
lea edx, [ebx + 0x6bc]
add edx, ecx
mov dword [ebp - 0x3c], eax
imul ecx, dword [ebp - 0x2c], 0x110
add esp, 8
add ecx, 0xde16
add ecx, esi
lea ecx, [ebx + ecx*4]
mov eax, dword [ecx]
add eax, dword [ebp - 0x3c]
cmp eax, dword [edx - 0x1c]
jae 0x4a05d3
mov dword [edx - 0x1c], eax
mov dword [edx - 4], 0
mov dword [edx], edi
mov dword [edx - 0x14], 0
dec esi
sub ecx, 4
sub edx, 0x30
cmp esi, 2
jae 0x4a05b6
mov edx, dword [ebp - 0x2c]
inc edi
cmp edi, 4
jb 0x4a0574
mov eax, dword [ebx + 0x3194c]
mov edi, dword [ebp - 0x24]
movzx eax, word [ebx + eax*2 + 0x32730]
shr eax, 4
mov eax, dword [ebx + eax*4 + 0x30ea0]
add eax, dword [ebp - 0x44]
mov dword [ebp - 0x3c], eax
cmp edi, 2
jb 0x4a0611
inc edi
jmp 0x4a0616
mov edi, 2
cmp edi, dword [ebp - 0x30]
ja 0x4a073f
xor esi, esi
cmp edi, dword [ebx + 0x310a0]
jbe 0x4a063c
nop dword [eax]
add esi, 2
cmp edi, dword [ebx + esi*4 + 0x310a0]
ja 0x4a0630
mov eax, edi
lea ecx, [ebx + 0x6bc]
shl eax, 5
add eax, 0x62ea
mov dword [ebp - 0x48], eax
lea eax, [edi - 2]
shl eax, 7
mov dword [ebp - 0x34], eax
lea eax, [edi + edi*2]
shl eax, 4
add ecx, eax
imul eax, edx, 0x110
add eax, 0xcc04
add eax, edi
lea eax, [ebx + eax*4]
mov edx, dword [ebx + esi*4 + 0x310a4]
mov dword [ebp - 0x40], eax
mov eax, dword [eax]
add eax, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x44], eax
cmp edi, 5
jae 0x4a069b
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x2c]
jmp 0x4a06a7
mov eax, 0x180
mov dword [ebp - 0x50], 0x638a
cmp edx, 0x80
jae 0x4a06ba
add eax, edx
mov eax, dword [ebx + eax*4 + 0x31d50]
jmp 0x4a06f6
mov eax, dword [ebp - 0x30]
mov edx, 0x1ffff
sub edx, eax
shr edx, 0x1f
neg edx
and edx, 0xa
add edx, 6
mov ecx, edx
shr eax, cl
movzx ecx, byte [eax + ebx + 0x306a0]
mov eax, dword [ebp - 0x50]
add eax, edx
mov edx, dword [ebp - 0x30]
and edx, 0xf
lea eax, [ecx + eax*2]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebx + eax*4]
add eax, dword [ebx + edx*4 + 0x32550]
add eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x30]
cmp eax, dword [ecx - 0x1c]
jae 0x4a0717
mov dword [ecx - 0x1c], eax
lea eax, [edx + 4]
mov dword [ecx - 4], 0
mov dword [ecx], eax
mov dword [ecx - 0x14], 0
cmp edi, dword [ebx + esi*4 + 0x310a0]
jne 0x4a0728
add esi, 2
cmp esi, dword [ebp - 0x38]
je 0x4a073f
mov eax, dword [ebp - 0x40]
inc edi
add dword [ebp - 0x48], 0x20
add eax, 4
sub dword [ebp - 0x34], 0xffffff80
add ecx, 0x30
jmp 0x4a0670
mov edi, 1
mov dword [ebp - 0x34], edi
mov esi, dword [ebp - 0x54]
lea edx, [ebp - 0x50]
mov ecx, ebx
mov dword [ebp - 0x84], esi
call fcn.0049ff60
mov ecx, eax
mov dword [ebp - 0x68], ecx
cmp ecx, dword [ebx + 0x31934]
jae 0x4a13e0
inc esi
mov dword [ebp - 0x54], esi
lea esi, [edi + edi*2]
shl esi, 4
add esi, ebx
mov dword [ebp - 0x2c], esi
mov edi, dword [esi + 0x6a8]
mov ecx, dword [esi + 0x6b8]
test edi, edi
je 0x4a07e4
dec ecx
cmp dword [esi + 0x6ac], 0
je 0x4a07cf
mov eax, dword [esi + 0x6b0]
lea eax, [eax + eax*2]
add eax, eax
cmp dword [esi + 0x6b4], 4
mov eax, dword [ebx + eax*8 + 0x6a4]
jae 0x4a07bf
mov edx, dword [eax*4 + 0x514bc0]
mov edx, dword [edx*4 + 0x514b30]
jmp 0x4a07f0
mov edx, dword [eax*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 edx, dword [edx*4 + 0x514b30]
jmp 0x4a07f0
lea eax, [ecx + ecx*2]
add eax, eax
mov edx, dword [ebx + eax*8 + 0x6a4]
mov edx, dword [edx*4 + 0x514b30]
jmp 0x4a07f0
lea eax, [ecx + ecx*2]
add eax, eax
mov edx, dword [ebx + eax*8 + 0x6a4]
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x40], edx
cmp ecx, eax
jne 0x4a0822
cmp dword [esi + 0x6bc], 0
jne 0x4a0813
mov eax, dword [edx*4 + 0x514b90]
mov dword [ebp - 0x38], eax
jmp 0x4a08ff
mov eax, dword [edx*4 + 0x514b30]
mov dword [ebp - 0x38], eax
jmp 0x4a08ff
test edi, edi
je 0x4a0864
cmp dword [esi + 0x6ac], 0
je 0x4a0864
mov eax, dword [esi + 0x6b0]
mov edi, dword [esi + 0x6b4]
mov dword [ebp - 0x70], edi
lea edx, [eax + eax*2]
mov eax, dword [ebp - 0x40]
shl edx, 4
add edx, 0x6a0
add edx, ebx
mov eax, dword [eax*4 + 0x514bc0]
mov dword [ebp - 0x38], eax
cmp edi, 4
jae 0x4a08e4
jmp 0x4a088a
mov edi, dword [esi + 0x6bc]
mov dword [ebp - 0x70], edi
cmp edi, 4
jae 0x4a08cc
mov eax, dword [edx*4 + 0x514bc0]
lea edx, [ebx + 0x6a0]
mov dword [ebp - 0x38], eax
lea eax, [ecx + ecx*2]
shl eax, 4
add edx, eax
mov eax, dword [edx + edi*4 + 0x20]
mov dword [ebp - 0x14], eax
mov eax, 1
cmp edi, eax
jb 0x4a08b2
mov eax, dword [ebp - 0x70]
lea esi, [edx + 0x20]
mov ecx, edi
inc eax
lea edi, [ebp - 0x10]
rep movsd dword es:[edi], dword [esi]
cmp eax, 4
jb 0x4a08b2
mov esi, dword [ebp - 0x2c]
jmp 0x4a08fc
lea edi, [ebp - 0x14]
mov ecx, 4
lea esi, [eax + 8]
sub ecx, eax
lea esi, [edx + esi*4]
lea edi, [edi + eax*4]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x2c]
jmp 0x4a08fc
mov eax, dword [edx*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 edx, [ebx + 0x6a0]
mov dword [ebp - 0x38], eax
lea eax, [ecx + ecx*2]
shl eax, 4
add edx, eax
lea eax, [edi - 4]
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 0x24]
mov dword [ebp - 0xc], eax
mov eax, dword [edx + 0x28]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x6a4], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x6c0], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x6c4], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x6c8], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x6cc], eax
mov edi, dword [esi + 0x6a0]
push dword [ebx + 0x18]
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x44], 0
call eax
mov edx, dword [ebp - 0x54]
add esp, 4
and edx, dword [ebx + 0x325a8]
mov dword [ebp - 0x60], edx
lea ecx, [eax - 1]
mov al, byte [ecx]
mov byte [ebp - 0x25], al
mov eax, ecx
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x48], ecx
mov al, byte [eax - 1]
mov byte [ebp - 0x26], al
mov eax, dword [ebp - 0x38]
shl eax, 4
add eax, edx
movzx edx, byte [ecx - 1]
mov dword [ebp - 0x40], eax
movzx eax, word [ebx + eax*2 + 0x325b0]
shr eax, 4
mov eax, dword [ebx + eax*4 + 0x30ea0]
add eax, edi
mov dword [ebp - 0x30], eax
lea eax, [ecx - 1]
mov dword [ebp - 0x88], eax
mov ecx, 8
sub cl, byte [ebx + 0x32598]
mov eax, dword [ebx + 0x325a4]
and eax, dword [ebp - 0x54]
shr edx, cl
mov ecx, dword [ebx + 0x32598]
shl eax, cl
add edx, eax
imul ecx, edx, 0x600
movzx edx, byte [ebp - 0x25]
add ecx, dword [ebx + 0x325ac]
cmp dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], ecx
jb 0x4a09e6
lea eax, [ebx + 0x30ea0]
push eax
movzx eax, byte [ebp - 0x26]
push eax
call fcn.0049fa00
add esp, 8
mov edi, eax
jmp 0x4a0a23
mov esi, dword [ebp - 0x3c]
xor edi, edi
or edx, 0x100
mov eax, edx
shr eax, 8
movzx ecx, word [esi + 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 [ebx + ecx*4 + 0x30ea0]
cmp edx, 0x10000
jb 0x4a09f1
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov edx, dword [esi + 0x6d0]
add eax, edi
mov dword [ebp - 0x30], eax
cmp eax, edx
jae 0x4a0a61
mov ecx, dword [ebp - 0x34]
mov edi, 1
mov dword [esi + 0x6d0], eax
mov edx, eax
mov dword [esi + 0x6e8], ecx
mov dword [esi + 0x6ec], 0xffffffff
mov dword [esi + 0x6d8], 0
jmp 0x4a0a64
mov edi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x40]
movzx eax, word [ebx + eax*2 + 0x325b0]
xor eax, 0x7f0
shr eax, 4
mov ecx, dword [ebx + eax*4 + 0x30ea0]
mov eax, dword [ebp - 0x38]
add ecx, dword [ebp - 0x64]
mov dword [ebp - 0x7c], ecx
movzx eax, word [ebx + eax*2 + 0x32730]
xor eax, 0x7f0
shr eax, 4
mov eax, dword [ebx + eax*4 + 0x30ea0]
add eax, ecx
mov cl, byte [ebp - 0x26]
mov ch, byte [ebp - 0x25]
mov dword [ebp - 0x64], eax
cmp cl, ch
jne 0x4a0b20
mov eax, dword [ebp - 0x34]
cmp dword [esi + 0x6e8], eax
jae 0x4a0ac1
cmp dword [esi + 0x6ec], 0
je 0x4a0b20
mov eax, dword [ebp - 0x40]
movzx ecx, word [ebx + eax*2 + 0x32790]
mov eax, dword [ebp - 0x38]
shr ecx, 4
movzx eax, word [ebx + eax*2 + 0x32748]
mov ecx, dword [ebx + ecx*4 + 0x30ea0]
shr eax, 4
add ecx, dword [ebx + eax*4 + 0x30ea0]
add ecx, dword [ebp - 0x64]
cmp ecx, edx
ja 0x4a0b1a
mov eax, dword [ebp - 0x34]
mov edi, 1
mov dword [esi + 0x6d0], ecx
mov dword [esi + 0x6e8], eax
mov dword [esi + 0x6ec], 0
mov dword [esi + 0x6d8], 0
mov ch, byte [ebp - 0x25]
mov cl, byte [ebp - 0x26]
mov eax, dword [ebx + 0x69c]
mov edx, 0xfff
sub edx, dword [ebp - 0x34]
cmp edx, eax
cmovae edx, eax
mov dword [ebp - 0x70], edx
cmp edx, 2
jb 0x4a13b1
mov esi, dword [ebx + 0x31934]
cmp edx, esi
mov eax, esi
cmovbe eax, edx
mov dword [ebp - 0x5c], eax
test edi, edi
jne 0x4a0c9d
cmp cl, ch
je 0x4a0c9d
inc esi
cmp esi, edx
jbe 0x4a0b68
mov esi, edx
jmp 0x4a0b71
mov edx, 1
cmp esi, edx
jbe 0x4a0b8d
mov ecx, dword [ebp - 0x48]
or edi, 0xffffffff
inc ecx
mov edx, 1
sub edi, dword [ebp - 0x14]
mov al, byte [ecx]
cmp al, byte [edi + ecx]
jne 0x4a0b8d
inc edx
inc ecx
cmp edx, esi
jb 0x4a0b80
lea eax, [edx - 1]
mov dword [ebp - 0x40], eax
cmp eax, 2
jb 0x4a0c9d
mov eax, dword [ebp - 0x38]
mov edi, dword [ebp - 0x54]
add edx, dword [ebp - 0x34]
inc edi
and edi, dword [ebx + 0x325a8]
mov esi, dword [eax*4 + 0x514b30]
mov eax, esi
shl eax, 4
add eax, edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x3c], eax
movzx ecx, word [ebx + eax*2 + 0x325b0]
movzx eax, word [ebx + esi*2 + 0x32730]
xor ecx, 0x7f0
xor eax, 0x7f0
shr ecx, 4
shr eax, 4
mov esi, dword [ebx + ecx*4 + 0x30ea0]
add esi, dword [ebx + eax*4 + 0x30ea0]
add esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x4c]
cmp eax, edx
jae 0x4a0c1f
lea eax, [eax + eax*2]
mov ecx, edx
shl eax, 4
add eax, 0x6a0
add eax, ebx
sub ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], edx
nop
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x4a0c10
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x38]
movzx ecx, word [ebx + eax*2 + 0x32790]
mov eax, dword [edi*4 + 0x514b30]
xor ecx, 0x7f0
shr ecx, 4
mov edi, dword [ebp - 0x34]
movzx eax, word [ebx + eax*2 + 0x32748]
mov ecx, dword [ebx + ecx*4 + 0x30ea0]
shr eax, 4
add ecx, dword [ebx + eax*4 + 0x30ea0]
imul eax, dword [ebp - 0x44], 0x110
add eax, dword [ebp - 0x40]
add ecx, dword [ebx + eax*4 + 0x37858]
lea eax, [edx + edx*2]
shl eax, 4
lea edx, [ebx + 0x6a0]
add edx, eax
add ecx, esi
cmp ecx, dword [edx]
jae 0x4a0ca0
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 0x4a0ca0
mov edi, dword [ebp - 0x34]
xor edx, edx
mov dword [ebp - 0x2c], 2
mov dword [ebp - 0x30], edx
nop dword [eax]
mov eax, dword [ebp - 0x48]
mov ecx, eax
sub ecx, dword [ebp + edx*4 - 0x14]
mov al, byte [eax]
lea esi, [ecx - 1]
mov dword [ebp - 0x40], esi
cmp al, byte [esi]
jne 0x4a0f97
mov eax, dword [ebp - 0x48]
mov al, byte [eax + 1]
cmp al, byte [ecx]
jne 0x4a0f97
mov esi, 2
cmp dword [ebp - 0x5c], esi
jbe 0x4a0d03
mov edx, dword [ebp - 0x48]
lea eax, [ecx - 1]
mov ebx, dword [ebp - 0x5c]
lea ecx, [eax + 2]
sub edx, eax
nop
mov al, byte [ecx + edx]
cmp al, byte [ecx]
jne 0x4a0cfd
inc esi
inc ecx
cmp esi, ebx
jb 0x4a0cf0
mov ebx, dword [ebp - 0x80]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x4c]
add edi, esi
cmp eax, edi
jae 0x4a0d30
lea eax, [eax + eax*2]
mov ecx, edi
shl eax, 4
add eax, 0x6a0
add eax, ebx
sub ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], edi
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x4a0d21
push dword [ebp - 0x60]
mov ecx, ebx
mov dword [ebp - 0x58], esi
push dword [ebp - 0x38]
call fcn.004a0010
add eax, dword [ebp - 0x64]
lea ecx, [edi + edi*2]
mov edi, dword [ebp - 0x30]
add esp, 8
mov dword [ebp - 0x44], eax
imul eax, dword [ebp - 0x60], 0x110
shl ecx, 4
add eax, esi
mov dword [ebp - 0x3c], eax
add eax, 0xde16
lea edx, [ebx + eax*4]
lea eax, [ebx + 0x6bc]
mov ebx, dword [ebp - 0x34]
add eax, ecx
mov ecx, dword [edx]
add ecx, dword [ebp - 0x44]
cmp ecx, dword [eax - 0x1c]
jae 0x4a0d8a
mov dword [eax - 0x1c], ecx
mov dword [eax - 4], ebx
mov dword [eax], edi
mov dword [eax - 0x14], 0
dec esi
sub edx, 4
sub eax, 0x30
cmp esi, 2
jae 0x4a0d71
mov ecx, dword [ebp - 0x58]
mov ebx, dword [ebp - 0x80]
inc ecx
mov edx, dword [ebp - 0x30]
test edx, edx
mov eax, dword [ebp - 0x2c]
cmove eax, ecx
mov esi, dword [ebx + 0x31934]
add esi, ecx
mov dword [ebp - 0x2c], eax
cmp esi, dword [ebp - 0x70]
cmova esi, dword [ebp - 0x70]
cmp ecx, esi
jae 0x4a0de0
mov eax, dword [ebp - 0x40]
mov edi, dword [ebp - 0x48]
sub edi, eax
lea edx, [ecx + eax]
nop dword [eax]
mov al, byte [edx + edi]
cmp al, byte [edx]
jne 0x4a0ddd
inc ecx
inc edx
cmp ecx, esi
jb 0x4a0dd0
mov edx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x58]
mov eax, 0xffffffff
sub eax, esi
mov dword [ebp - 0x74], ecx
add ecx, eax
mov dword [ebp - 0x78], ecx
cmp ecx, 2
jb 0x4a0f94
mov edi, dword [ebp - 0x54]
lea eax, [ebx + 0x30ea0]
push eax
mov eax, dword [ebp - 0x40]
add edi, esi
mov ecx, 8
sub cl, byte [ebx + 0x32598]
movzx eax, byte [esi + eax]
push eax
mov eax, dword [ebp - 0x48]
movzx edx, byte [esi + eax]
movzx esi, byte [esi + eax - 1]
mov eax, edi
and eax, dword [ebx + 0x325a4]
shr esi, cl
mov ecx, dword [ebx + 0x32598]
shl eax, cl
add esi, eax
imul ecx, esi, 0x600
add ecx, dword [ebx + 0x325ac]
call fcn.0049fa00
mov ecx, dword [ebp - 0x38]
mov esi, eax
mov eax, dword [ebx + 0x325a8]
mov edx, edi
and edx, eax
add esp, 8
mov ecx, dword [ecx*4 + 0x514bc0]
shl ecx, 4
add edx, ecx
movzx ecx, word [ebx + edx*2 + 0x325b0]
mov edx, dword [ebp - 0x38]
shr ecx, 4
add esi, dword [ebx + ecx*4 + 0x30ea0]
mov ecx, dword [ebp - 0x3c]
add esi, dword [ebx + ecx*4 + 0x37858]
mov ecx, dword [edx*4 + 0x514bc0]
add esi, dword [ebp - 0x44]
mov edx, dword [ecx*4 + 0x514b30]
lea ecx, [edi + 1]
and ecx, eax
mov eax, edx
shl eax, 4
add eax, ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x3c], eax
movzx ecx, word [ebx + eax*2 + 0x325b0]
movzx eax, word [ebx + edx*2 + 0x32730]
xor ecx, 0x7f0
xor eax, 0x7f0
shr ecx, 4
shr eax, 4
mov edi, dword [ebx + ecx*4 + 0x30ea0]
add edi, dword [ebx + eax*4 + 0x30ea0]
mov eax, dword [ebp - 0x4c]
add edi, esi
mov esi, dword [ebp - 0x74]
add esi, dword [ebp - 0x34]
cmp eax, esi
jae 0x4a0f0f
lea eax, [eax + eax*2]
mov ecx, esi
shl eax, 4
add eax, 0x6a0
add eax, ebx
sub ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], esi
nop
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x4a0f00
mov eax, dword [ebp - 0x3c]
movzx ecx, word [ebx + eax*2 + 0x32790]
movzx eax, word [ebx + edx*2 + 0x32748]
xor ecx, 0x7f0
shr ecx, 4
shr eax, 4
mov edx, dword [ebx + ecx*4 + 0x30ea0]
lea ecx, [ebx + 0x6a0]
add edx, dword [ebx + eax*4 + 0x30ea0]
imul eax, dword [ebp - 0x44], 0x110
add eax, dword [ebp - 0x78]
add edx, dword [ebx + eax*4 + 0x37858]
lea eax, [esi + esi*2]
shl eax, 4
add edx, edi
mov edi, dword [ebp - 0x34]
add ecx, eax
cmp edx, dword [ecx]
jae 0x4a0f8f
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ecx], edx
mov edx, dword [ebp - 0x30]
add eax, edi
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], edx
jmp 0x4a0f97
mov edx, dword [ebp - 0x30]
jmp 0x4a0f97
mov edi, dword [ebp - 0x34]
inc edx
mov dword [ebp - 0x30], edx
cmp edx, 4
jb 0x4a0cb0
mov edx, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x68]
cmp esi, edx
jbe 0x4a0fdb
xor eax, eax
xor ecx, ecx
mov esi, edx
cmp edx, dword [ebx + 0x310a0]
jbe 0x4a0fce
nop dword [eax]
add eax, 2
mov ecx, eax
cmp edx, dword [ebx + eax*4 + 0x310a0]
ja 0x4a0fc0
mov dword [ebx + eax*4 + 0x310a0], edx
lea eax, [ecx + 2]
mov dword [ebp - 0x50], eax
cmp esi, dword [ebp - 0x2c]
jb 0x4a13b1
mov eax, dword [ebp - 0x38]
lea edx, [esi + edi]
mov esi, dword [ebp - 0x4c]
movzx eax, word [ebx + eax*2 + 0x32730]
shr eax, 4
mov eax, dword [ebx + eax*4 + 0x30ea0]
add dword [ebp - 0x7c], eax
cmp esi, edx
jae 0x4a102f
lea eax, [esi + esi*2]
mov dword [ebp - 0x4c], edx
shl eax, 4
mov ecx, edx
add eax, 0x6a0
add eax, ebx
sub ecx, esi
nop word [eax + eax]
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x4a1020
mov eax, dword [ebp - 0x2c]
xor esi, esi
mov dword [ebp - 0x5c], esi
cmp eax, dword [ebx + 0x310a0]
jbe 0x4a104f
nop
add esi, 2
cmp eax, dword [ebx + esi*4 + 0x310a0]
ja 0x4a1040
mov dword [ebp - 0x5c], esi
lea eax, [esi*4]
mov ecx, 0x1ffff
mov edx, dword [eax + ebx + 0x310a4]
sub ecx, edx
mov dword [ebp - 0x44], eax
mov eax, edx
shr ecx, 0x1f
neg ecx
mov dword [ebp - 0x58], edx
and ecx, 0xa
add ecx, 6
shr eax, cl
movzx eax, byte [eax + ebx + 0x306a0]
lea eax, [eax + ecx*2]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x2c]
mov esi, eax
shl esi, 6
add esi, 0xc5d4
lea ecx, [eax + 1]
shl eax, 7
add eax, 0xc654
mov dword [ebp - 0x40], eax
imul eax, dword [ebp - 0x60], 0x110
add eax, 0xcc04
add eax, dword [ebp - 0x2c]
lea eax, [ebx + eax*4]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x2c]
add eax, edi
lea edi, [eax + eax*2]
mov eax, dword [ebp - 0x60]
shl edi, 4
add edi, 0x6bc
add edi, ebx
mov eax, dword [eax]
add eax, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x68], eax
lea eax, [ecx - 1]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x30], ecx
cmp eax, 5
jae 0x4a10ef
mov eax, dword [ebp - 0x40]
jmp 0x4a10f9
mov eax, 0xc8d4
mov esi, 0xc714
cmp edx, 0x80
jae 0x4a1108
add eax, edx
mov eax, dword [ebx + eax*4]
jmp 0x4a111f
mov eax, dword [ebp - 0x64]
mov ecx, edx
add eax, esi
and ecx, 0xf
mov eax, dword [ebx + eax*4]
add eax, dword [ebx + ecx*4 + 0x32550]
mov ecx, dword [ebp - 0x30]
add eax, dword [ebp - 0x68]
mov dword [ebp - 0x74], eax
cmp eax, dword [edi - 0x1c]
jae 0x4a113f
mov dword [edi - 0x1c], eax
mov eax, dword [ebp - 0x34]
mov dword [edi - 4], eax
lea eax, [edx + 4]
mov dword [edi], eax
mov dword [edi - 0x14], 0
mov eax, dword [ebp - 0x44]
lea esi, [ecx - 1]
cmp esi, dword [eax + ebx + 0x310a0]
jne 0x4a1395
mov edi, dword [ebp - 0x48]
mov eax, edi
mov esi, dword [ebx + 0x31934]
sub eax, edx
add esi, ecx
dec eax
cmp esi, dword [ebp - 0x70]
mov edx, ecx
mov dword [ebp - 0x68], eax
cmova esi, dword [ebp - 0x70]
cmp ecx, esi
jae 0x4a1186
add ecx, eax
sub edi, eax
mov al, byte [ecx + edi]
cmp al, byte [ecx]
jne 0x4a1183
inc edx
inc ecx
cmp edx, esi
jb 0x4a1176
mov ecx, dword [ebp - 0x30]
mov eax, 0xffffffff
mov dword [ebp - 0x44], edx
lea esi, [ecx - 1]
sub eax, esi
add edx, eax
mov dword [ebp - 0x8c], edx
cmp edx, 2
jb 0x4a1345
mov edi, dword [ebp - 0x84]
add edi, ecx
mov eax, edi
and eax, dword [ebx + 0x325a8]
mov dword [ebp - 0x78], eax
lea eax, [ebx + 0x30ea0]
push eax
mov eax, dword [ebp - 0x68]
movzx eax, byte [ecx + eax - 1]
push eax
mov eax, dword [ebp - 0x88]
movzx edx, byte [ecx + eax]
mov eax, dword [ebp - 0x48]
movzx esi, byte [ecx + eax - 2]
mov ecx, 8
sub cl, byte [ebx + 0x32598]
mov eax, dword [ebx + 0x325a4]
shr esi, cl
and eax, edi
mov ecx, dword [ebx + 0x32598]
shl eax, cl
add esi, eax
imul ecx, esi, 0x600
add ecx, dword [ebx + 0x325ac]
call fcn.0049fa00
mov edx, eax
add esp, 8
mov eax, dword [ebp - 0x38]
mov esi, dword [eax*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, esi
mov eax, dword [ebp - 0x78]
shl ecx, 4
add ecx, eax
mov esi, dword [esi*4 + 0x514b30]
mov dword [ebp - 0x78], esi
movzx ecx, word [ebx + ecx*2 + 0x325b0]
shr ecx, 4
add edx, dword [ebx + ecx*4 + 0x30ea0]
lea ecx, [eax + 1]
and ecx, dword [ebx + 0x325a8]
mov eax, esi
add edx, dword [ebp - 0x74]
shl eax, 4
add eax, ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x68], eax
movzx ecx, word [ebx + eax*2 + 0x325b0]
movzx eax, word [ebx + esi*2 + 0x32730]
xor ecx, 0x7f0
mov esi, dword [ebp - 0x44]
xor eax, 0x7f0
add esi, dword [ebp - 0x34]
shr ecx, 4
shr eax, 4
mov edi, dword [ebx + ecx*4 + 0x30ea0]
add edi, dword [ebx + eax*4 + 0x30ea0]
add edi, edx
mov edx, dword [ebp - 0x4c]
cmp edx, esi
jae 0x4a12bf
lea eax, [edx + edx*2]
mov dword [ebp - 0x4c], esi
shl eax, 4
mov ecx, esi
add eax, 0x6a0
add eax, ebx
sub ecx, edx
nop dword [eax]
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x4a12b0
mov eax, dword [ebp - 0x68]
movzx ecx, word [ebx + eax*2 + 0x32790]
mov eax, dword [ebp - 0x78]
xor ecx, 0x7f0
shr ecx, 4
movzx eax, word [ebx + eax*2 + 0x32748]
mov edx, dword [ebx + ecx*4 + 0x30ea0]
lea ecx, [esi + esi*2]
shr eax, 4
shl ecx, 4
add ecx, 0x6a0
add ecx, ebx
add edx, dword [ebx + eax*4 + 0x30ea0]
imul eax, dword [ebp - 0x74], 0x110
add eax, dword [ebp - 0x8c]
add edx, dword [ebx + eax*4 + 0x37858]
add edx, edi
cmp edx, dword [ecx]
jae 0x4a1345
mov eax, dword [ebp - 0x30]
mov dword [ecx], edx
mov edx, dword [ebp - 0x34]
add eax, edx
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x58]
add eax, 4
mov dword [ecx + 0x1c], 0
mov dword [ecx + 8], 1
mov dword [ecx + 0xc], 1
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], eax
mov esi, dword [ebp - 0x5c]
add esi, 2
mov dword [ebp - 0x5c], esi
cmp esi, dword [ebp - 0x50]
je 0x4a13b1
mov edi, dword [ebp - 0x2c]
shl esi, 2
mov dword [ebp - 0x44], esi
mov edx, dword [esi + ebx + 0x310a4]
mov dword [ebp - 0x58], edx
cmp edx, 0x80
jb 0x4a1392
mov ecx, 0x1ffff
mov eax, edx
sub ecx, edx
shr ecx, 0x1f
neg ecx
and ecx, 0xa
add ecx, 6
shr eax, cl
movzx eax, byte [eax + ebx + 0x306a0]
lea eax, [eax + ecx*2]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x60]
add edi, 0x30
mov esi, dword [ebp - 0x3c]
add eax, 4
sub dword [ebp - 0x40], 0xffffff80
add esi, 0x40
mov dword [ebp - 0x60], eax
inc ecx
jmp 0x4a10ce
mov edi, dword [ebp - 0x34]
inc edi
mov dword [ebp - 0x34], edi
cmp edi, dword [ebp - 0x4c]
jne 0x4a0747
mov edx, dword [ebp - 0x6c]
mov ecx, ebx
push edi
call fcn.004a00d0
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb63e
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x6c]
mov dword [ebx + 0x694], ecx
mov ecx, ebx
push edi
mov dword [ebx + 0x698], eax
call fcn.004a00d0
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cb63e
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x6c]
mov dword [esi], 0xffffffff
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cb63e
mov esp, ebp
pop ebp
ret