Function at 0x48ff50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x4d897c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
mov ecx, dword [ebx + 0x1c]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x7c], edi
cmp dword [ebx + 0x18], ecx
je 0x48ffa6
lea edx, [ecx + ecx*2]
add edx, edx
mov eax, dword [ebx + edx*8 + 0x74c]
lea edx, [ebx + edx*8 + 0x734]
sub eax, ecx
mov ecx, dword [edx + 0x1c]
mov dword [edi], ecx
mov edx, dword [edx + 0x18]
mov dword [ebx + 0x1c], edx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00494bb0
mov esp, ebp
pop ebp
ret
xor eax, eax
push esi
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
cmp dword [ebx + 0x30], eax
jne 0x48ffc7
lea eax, [ebp - 0x40]
push eax
mov esi, ebx
call fcn.0048fd00
add esp, 4
mov dword [ebp - 0x2c], eax
jmp 0x48ffd3
mov ecx, dword [ebx + 0x20]
mov edx, dword [ebx + 0x24]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x40], edx
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x68], eax
cmp eax, 2
jae 0x48fff9
pop esi
mov dword [edi], 0xffffffff
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00494bb0
mov esp, ebp
pop ebp
ret
cmp eax, 0x111
jbe 0x490007
mov dword [ebp - 0x68], 0x111
mov eax, dword [ebx]
mov ecx, dword [ebx + 0xc]
push eax
call ecx
lea esi, [eax - 1]
mov al, byte [esi]
xor edi, edi
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edx
mov byte [ebp - 0x25], al
mov dword [ebp - 0x64], edi
jmp 0x490030
lea edi, [edx*4]
mov eax, dword [edi + ebx + 0x34]
mov ecx, esi
sub ecx, eax
mov dword [ebp + edi - 0x14], eax
mov al, byte [ebp - 0x25]
dec ecx
cmp al, byte [ecx]
jne 0x490091
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x490091
mov eax, 2
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x68], eax
jbe 0x49007c
lea edx, [esi + 2]
sub ecx, esi
mov al, byte [edx]
cmp al, byte [ecx + edx]
mov eax, dword [ebp - 0x60]
jne 0x490079
inc eax
inc edx
mov dword [ebp - 0x60], eax
cmp eax, dword [ebp - 0x68]
jb 0x490065
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x64]
mov dword [ebp + edi - 0x24], eax
cmp eax, dword [ebp + ecx - 0x24]
jbe 0x490099
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x64], edi
jmp 0x490099
mov dword [ebp + edi - 0x24], 0
inc edx
mov dword [ebp - 0x4c], edx
cmp edx, 4
jb 0x490030
mov eax, dword [ebp - 0x50]
mov edi, dword [ebp + eax*4 - 0x24]
mov ecx, dword [ebx + 0x2c]
mov dword [ebp - 0x44], edi
cmp edi, ecx
jb 0x4900e0
mov edx, dword [ebp - 0x7c]
mov dword [edx], eax
lea eax, [edi - 1]
test eax, eax
je 0x4900ce
add dword [ebx + 0x30], eax
mov ecx, dword [ebx + 0x14]
push eax
mov eax, dword [ebx]
push eax
call ecx
add esp, 8
pop esi
mov eax, edi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00494bb0
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x2c]
cmp eax, ecx
jb 0x490126
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebx + edx*4 + 0x31130]
mov edx, dword [ebp - 0x7c]
add ecx, 4
mov dword [edx], ecx
lea ecx, [eax - 1]
test ecx, ecx
je 0x4910e0
mov eax, dword [ebx]
add dword [ebx + 0x30], ecx
push ecx
mov ecx, dword [ebx + 0x14]
push eax
call ecx
mov eax, dword [ebp - 0x2c]
add esp, 8
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00494bb0
mov esp, ebp
pop ebp
ret
mov edx, esi
sub edx, dword [ebp - 0x14]
mov cl, byte [edx - 1]
mov byte [ebp - 0x2d], cl
cmp eax, 2
jae 0x49015e
cmp byte [ebp - 0x25], cl
je 0x49015e
cmp edi, 2
jae 0x49015e
mov eax, dword [ebp - 0x7c]
pop esi
mov dword [eax], 0xffffffff
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00494bb0
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x74]
mov eax, dword [ebx + 0x58]
mov edi, dword [ebx + 0x44]
and eax, edx
and edx, dword [ebx + 0x54]
mov dword [ebx + 0x738], edi
movzx esi, byte [esi - 1]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x48]
mov ecx, 8
sub cl, al
shr esi, cl
mov ecx, eax
shl edx, cl
movzx ecx, byte [ebp - 0x25]
add esi, edx
imul esi, esi, 0x600
add esi, dword [ebx + 0x60]
cmp edi, 7
jb 0x4901b3
lea eax, [ebx + 0x30f34]
push eax
movzx eax, byte [ebp - 0x2d]
push esi
call fcn.0048f800
add esp, 8
jmp 0x4901be
lea edx, [ebx + 0x30f34]
call fcn.0048f7c0
mov esi, dword [ebp - 0x34]
mov ecx, edi
shl ecx, 4
add ecx, esi
movzx edx, word [ebx + ecx*2 + 0x32608]
lea ecx, [ebx + ecx*2 + 0x32608]
shr edx, 4
mov edx, dword [ebx + edx*4 + 0x30f34]
add edx, eax
mov dword [ebx + 0x764], edx
mov dword [ebx + 0x780], 0xffffffff
xor edx, edx
mov dword [ebx + 0x76c], edx
movzx eax, word [ecx]
movzx ecx, word [ebx + edi*2 + 0x32788]
xor eax, 0x7f0
xor ecx, 0x7f0
shr eax, 4
mov eax, dword [ebx + eax*4 + 0x30f34]
shr ecx, 4
mov ecx, dword [ebx + ecx*4 + 0x30f34]
add ecx, eax
mov dword [ebp - 0x50], eax
mov al, byte [ebp - 0x25]
mov dword [ebp - 0x64], ecx
cmp byte [ebp - 0x2d], al
jne 0x49027c
mov eax, edi
shl eax, 4
add eax, esi
movzx eax, word [ebx + eax*2 + 0x327e8]
movzx esi, word [ebx + edi*2 + 0x327a0]
shr eax, 4
mov eax, dword [ebx + eax*4 + 0x30f34]
shr esi, 4
add eax, dword [ebx + esi*4 + 0x30f34]
add eax, ecx
cmp eax, dword [ebx + 0x764]
jae 0x49027c
mov dword [ebx + 0x764], eax
mov dword [ebx + 0x780], edx
mov dword [ebx + 0x76c], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x44]
cmp eax, ecx
jb 0x49028b
mov dword [ebp - 0x48], eax
jmp 0x490290
mov dword [ebp - 0x48], ecx
mov eax, ecx
cmp eax, 2
jae 0x4902b5
mov ecx, dword [ebx + 0x780]
mov edx, dword [ebp - 0x7c]
pop esi
mov dword [edx], ecx
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00494bb0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 0x77c], edx
mov dword [ebx + 0x754], ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebx + 0x758], ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebx + 0x75c], ecx
mov ecx, dword [ebp - 8]
mov dword [ebx + 0x760], ecx
lea ecx, [eax + eax*2]
add ecx, ecx
lea ecx, [ebx + ecx*8 + 0x734]
jmp 0x4902f0
mov dword [ecx], 0x40000000
dec eax
sub ecx, 0x30
cmp eax, 2
jae 0x4902f0
xor edi, edi
mov esi, dword [ebp + edi*4 - 0x24]
cmp esi, 2
jb 0x490363
mov edx, dword [ebp - 0x34]
push edx
mov edx, dword [ebx + 0x44]
mov eax, edi
mov ecx, ebx
call fcn.0048fda0
add eax, dword [ebp - 0x64]
lea ecx, [esi + esi*2 + 0x75]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x34]
imul eax, eax, 0x110
add eax, esi
shl ecx, 4
add esp, 4
lea eax, [ebx + eax*4 + 0x378b4]
add ecx, ebx
mov edi, edi
mov edx, dword [eax]
add edx, dword [ebp - 0x44]
cmp edx, dword [ecx - 0x1c]
jae 0x490357
mov dword [ecx - 0x1c], edx
xor edx, edx
mov dword [ecx - 4], edx
mov dword [ecx], edi
mov dword [ecx - 0x14], edx
dec esi
sub eax, 4
sub ecx, 0x30
cmp esi, 2
jae 0x490340
inc edi
cmp edi, 4
jb 0x490301
mov ecx, dword [ebx + 0x44]
movzx edx, word [ebx + ecx*2 + 0x32788]
mov ecx, dword [ebp - 0x24]
shr edx, 4
mov eax, dword [ebx + edx*4 + 0x30f34]
add eax, dword [ebp - 0x50]
mov dword [ebp - 0x44], eax
cmp ecx, 2
jb 0x49038f
inc ecx
jmp 0x490394
mov ecx, 2
mov dword [ebp - 0x60], ecx
cmp ecx, dword [ebp - 0x2c]
ja 0x49048e
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp ecx, dword [ebx + 0x31134]
jbe 0x4903bf
lea ecx, [ecx]
add eax, 2
cmp ecx, dword [ebx + eax*4 + 0x31134]
ja 0x4903b0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x34]
imul eax, eax, 0x110
add eax, ecx
lea edi, [ecx + ecx*2 + 0x75]
lea eax, [ebx + eax*4 + 0x3306c]
shl edi, 4
mov dword [ebp - 0x4c], eax
add edi, ebx
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x4c]
mov esi, dword [ebx + edx*4 + 0x31138]
mov edx, dword [eax]
add edx, dword [ebp - 0x44]
mov dword [ebp - 0x64], edi
lea eax, [ecx - 2]
cmp ecx, 5
jb 0x4903ff
mov eax, 3
cmp esi, 0x80
jae 0x490415
shl eax, 7
add eax, esi
add edx, dword [ebx + eax*4 + 0x31dc8]
jmp 0x490452
cmp esi, 0x20000
sbb ecx, ecx
and ecx, 0xfffffff6
add ecx, 0x10
mov edi, esi
shr edi, cl
shl eax, 5
add eax, ecx
movzx edi, byte [edi + ebx + 0x30734]
lea ecx, [edi + eax*2 + 0xc672]
mov ecx, dword [ebx + ecx*4]
mov edi, dword [ebp - 0x64]
mov eax, esi
and eax, 0xf
add ecx, dword [ebx + eax*4 + 0x325c8]
add edx, ecx
mov ecx, dword [ebp - 0x60]
cmp edx, dword [edi - 0x1c]
jae 0x490467
xor eax, eax
add esi, 4
mov dword [edi - 0x1c], edx
mov dword [edi - 4], eax
mov dword [edi], esi
mov dword [edi - 0x14], eax
mov eax, dword [ebp - 0x2c]
cmp ecx, dword [ebx + eax*4 + 0x31134]
jne 0x49047e
add eax, 2
mov dword [ebp - 0x2c], eax
cmp eax, dword [ebp - 0x40]
je 0x49048e
add dword [ebp - 0x4c], 4
inc ecx
mov dword [ebp - 0x60], ecx
add edi, 0x30
jmp 0x4903dd
mov edi, 1
mov dword [ebp - 0x3c], edi
cmp dword [ebp - 0x48], edi
je 0x4910d0
nop
lea edx, [ebp - 0x64]
push edx
mov esi, ebx
call fcn.0048fd00
add esp, 4
mov dword [ebp - 0x78], eax
cmp eax, dword [ebx + 0x2c]
jae 0x4910c7
inc dword [ebp - 0x74]
lea esi, [edi + edi*2]
shl esi, 4
mov ecx, dword [esi + ebx + 0x73c]
mov eax, dword [esi + ebx + 0x74c]
add esi, ebx
mov dword [ebp - 0x50], esi
test ecx, ecx
je 0x490534
dec eax
cmp dword [esi + 0x740], 0
je 0x49051f
mov ecx, dword [esi + 0x744]
lea ecx, [ecx + ecx*2]
add ecx, ecx
cmp dword [esi + 0x748], 4
mov ecx, dword [ebx + ecx*8 + 0x738]
jae 0x49050f
mov ecx, dword [ecx*4 + 0x4bb2dc]
mov edx, dword [ecx*4 + 0x4bb27c]
jmp 0x490540
mov ecx, dword [ecx*4 + str._a_a_a_a_a_a_a_n_n_n_n_n_b_b_b_b_b_b_b_v_v_v_v_v_t_t_t_t_t_t_t_v_v_v_v_v]
mov edx, dword [ecx*4 + 0x4bb27c]
jmp 0x490540
lea edx, [eax + eax*2]
add edx, edx
mov ecx, dword [ebx + edx*8 + 0x738]
mov edx, dword [ecx*4 + 0x4bb27c]
jmp 0x490540
lea ecx, [eax + eax*2]
add ecx, ecx
mov edx, dword [ebx + ecx*8 + 0x738]
dec edi
cmp eax, edi
jne 0x49056c
cmp dword [esi + 0x750], 0
jne 0x49055d
mov edx, dword [edx*4 + 0x4bb30c]
mov dword [ebp - 0x54], edx
jmp 0x49060b
mov eax, dword [edx*4 + 0x4bb27c]
mov dword [ebp - 0x54], eax
jmp 0x49060b
mov ecx, dword [esi + 0x73c]
test ecx, ecx
je 0x490597
cmp dword [esi + 0x740], 0
je 0x490597
mov ecx, dword [esi + 0x748]
mov eax, dword [esi + 0x744]
mov edx, dword [edx*4 + 0x4bb2dc]
mov dword [ebp - 0x2c], ecx
jmp 0x4905be
mov ecx, dword [esi + 0x750]
mov dword [ebp - 0x2c], ecx
cmp ecx, 4
jae 0x4905b4
mov ecx, dword [edx*4 + 0x4bb2dc]
mov dword [ebp - 0x54], ecx
mov ecx, dword [ebp - 0x2c]
jmp 0x4905c1
mov edx, dword [edx*4 + str._a_a_a_a_a_a_a_n_n_n_n_n_b_b_b_b_b_b_b_v_v_v_v_v_t_t_t_t_t_t_t_v_v_v_v_v]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x54], edx
lea eax, [eax + eax*2]
add eax, eax
lea edx, [ebx + eax*8 + 0x734]
cmp ecx, 4
jae 0x4906e4
mov eax, dword [edx + ecx*4 + 0x20]
mov dword [ebp - 0x14], eax
mov eax, 1
cmp ecx, eax
jb 0x4905f7
mov eax, dword [ebp - 0x2c]
inc eax
lea esi, [edx + 0x20]
lea edi, [ebp - 0x10]
rep movsd dword es:[edi], dword [esi]
cmp eax, 4
jae 0x490608
mov ecx, 4
lea edi, [ebp + eax*4 - 0x14]
lea esi, [edx + eax*4 + 0x20]
sub ecx, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x50]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0x738], edx
mov edx, dword [ebp - 0xc]
mov dword [esi + 0x754], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x758], ecx
mov ecx, dword [esi + 0x734]
mov dword [esi + 0x75c], edx
mov dword [esi + 0x760], eax
mov edx, dword [ebx]
mov eax, dword [ebx + 0xc]
push edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x40], 0
call eax
mov cl, byte [eax - 1]
lea edi, [eax - 1]
mov eax, edi
sub eax, dword [ebp - 0x14]
mov byte [ebp - 0x25], cl
mov ecx, dword [ebp - 0x54]
dec eax
mov dword [ebp - 0x5c], eax
mov al, byte [eax]
mov byte [ebp - 0x2d], al
mov eax, dword [ebx + 0x58]
and eax, dword [ebp - 0x74]
shl ecx, 4
mov dword [ebp - 0x50], eax
add eax, ecx
movzx edx, word [ebx + eax*2 + 0x32608]
shr edx, 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + edx*4 + 0x30f34]
add eax, dword [ebp - 0x2c]
movzx edx, byte [edi - 1]
mov dword [ebp - 0x58], eax
mov eax, dword [ebx + 0x48]
mov ecx, 8
sub cl, al
shr edx, cl
mov ecx, dword [ebp - 0x74]
and ecx, dword [ebx + 0x54]
add esp, 4
mov dword [ebp - 0x44], ecx
mov ecx, eax
mov eax, dword [ebp - 0x44]
shl eax, cl
mov dword [ebp - 0x60], edi
add edx, eax
imul edx, edx, 0x600
add edx, dword [ebx + 0x60]
cmp dword [ebp - 0x54], 7
jb 0x490701
movzx ecx, byte [ebp - 0x25]
lea eax, [ebx + 0x30f34]
push eax
movzx eax, byte [ebp - 0x2d]
push edx
call fcn.0048f800
add esp, 8
jmp 0x490750
mov eax, dword [edx + 0x24]
add ecx, 0xfffffffc
mov dword [ebp - 0x14], ecx
mov ecx, dword [edx + 0x20]
mov dword [ebp - 0x10], ecx
mov ecx, dword [edx + 0x28]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
jmp 0x49060b
movzx eax, byte [ebp - 0x25]
or eax, 0x100
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x4c], eax
mov ecx, eax
shr eax, 7
and eax, 1
shr ecx, 8
movzx ecx, word [edx + ecx*2]
neg eax
sar eax, 4
and eax, 0x7f
shr ecx, 4
xor ecx, eax
mov eax, ecx
mov ecx, dword [ebp - 0x38]
add ecx, dword [ebx + eax*4 + 0x30f34]
mov eax, dword [ebp - 0x4c]
add eax, eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x4c], eax
cmp eax, 0x10000
jb 0x490714
mov eax, ecx
mov edx, dword [ebp - 0x58]
add edx, eax
mov dword [ebp - 0x58], edx
cmp edx, dword [esi + 0x764]
jae 0x49078a
mov dword [esi + 0x764], edx
mov edx, dword [ebp - 0x3c]
mov dword [esi + 0x77c], edx
mov dword [esi + 0x780], 0xffffffff
mov dword [esi + 0x76c], 0
mov dword [ebp - 0x40], 1
mov eax, dword [ebp - 0x34]
movzx ecx, word [ebx + eax*2 + 0x32608]
mov edx, dword [ebp - 0x54]
xor ecx, 0x7f0
shr ecx, 4
mov eax, dword [ebx + ecx*4 + 0x30f34]
movzx ecx, word [ebx + edx*2 + 0x32788]
add eax, dword [ebp - 0x2c]
mov dl, byte [ebp - 0x2d]
xor ecx, 0x7f0
shr ecx, 4
mov ecx, dword [ebx + ecx*4 + 0x30f34]
add ecx, eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], ecx
cmp dl, byte [ebp - 0x25]
jne 0x490842
mov eax, dword [esi + 0x77c]
cmp eax, dword [ebp - 0x3c]
jae 0x4907ea
cmp dword [esi + 0x780], 0
je 0x490842
mov edx, dword [ebp - 0x54]
movzx eax, word [ebx + edx*2 + 0x327a0]
mov edx, dword [ebp - 0x34]
movzx edx, word [ebx + edx*2 + 0x327e8]
shr eax, 4
mov eax, dword [ebx + eax*4 + 0x30f34]
shr edx, 4
add eax, dword [ebx + edx*4 + 0x30f34]
add eax, ecx
cmp eax, dword [esi + 0x764]
ja 0x490842
mov dword [esi + 0x764], eax
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x77c], eax
xor eax, eax
mov dword [esi + 0x780], eax
mov dword [esi + 0x76c], eax
mov dword [ebp - 0x40], 1
mov ecx, dword [ebx + 0x28]
mov eax, 0xfff
sub eax, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], ecx
cmp eax, ecx
jae 0x490859
mov ecx, eax
mov dword [ebp - 0x4c], eax
cmp ecx, 2
jb 0x4910b3
mov ecx, dword [ebp - 0x4c]
mov esi, dword [ebx + 0x2c]
mov dword [ebp - 0x68], ecx
cmp ecx, esi
jbe 0x490872
mov dword [ebp - 0x68], esi
cmp dword [ebp - 0x40], 0
jne 0x4909c3
mov dl, byte [ebp - 0x25]
cmp byte [ebp - 0x2d], dl
je 0x4909c3
lea eax, [esi + 1]
mov dword [ebp - 0x38], eax
cmp eax, ecx
jbe 0x490897
mov eax, ecx
mov dword [ebp - 0x38], ecx
mov esi, 1
cmp eax, esi
jbe 0x4908b6
mov ecx, dword [ebp - 0x5c]
lea eax, [edi + 1]
sub ecx, edi
mov dl, byte [eax]
cmp dl, byte [ecx + eax]
jne 0x4908b6
inc esi
inc eax
cmp esi, dword [ebp - 0x38]
jb 0x4908a8
dec esi
mov dword [ebp - 0x2c], esi
cmp esi, 2
jb 0x4909c3
mov eax, dword [ebp - 0x54]
mov eax, dword [eax*4 + 0x4bb27c]
mov ecx, dword [ebp - 0x74]
mov edx, eax
shl edx, 4
inc ecx
and ecx, dword [ebx + 0x58]
mov dword [ebp - 0x40], eax
movzx eax, word [ebx + eax*2 + 0x32788]
add edx, ecx
mov dword [ebp - 0x44], edx
movzx edx, word [ebx + edx*2 + 0x32608]
xor edx, 0x7f0
xor eax, 0x7f0
shr edx, 4
shr eax, 4
mov dword [ebp - 0x5c], edx
mov edx, dword [ebx + eax*4 + 0x30f34]
mov eax, dword [ebp - 0x5c]
add edx, dword [ebx + eax*4 + 0x30f34]
mov eax, dword [ebp - 0x3c]
add edx, dword [ebp - 0x58]
lea esi, [esi + eax + 1]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x38], esi
cmp eax, esi
jae 0x490952
lea esi, [eax + eax*2]
add esi, esi
lea esi, [ebx + esi*8 + 0x734]
mov dword [ebp - 0x5c], esi
mov esi, dword [ebp - 0x38]
sub esi, eax
add eax, esi
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x5c]
add eax, 0x30
dec esi
mov dword [eax], 0x40000000
jne 0x490946
mov eax, dword [ebp - 0x44]
imul ecx, ecx, 0x110
movzx eax, word [ebx + eax*2 + 0x327e8]
mov esi, dword [ebp - 0x40]
movzx esi, word [ebx + esi*2 + 0x327a0]
add ecx, dword [ebp - 0x2c]
xor eax, 0x7f0
shr eax, 4
mov eax, dword [ebx + eax*4 + 0x30f34]
shr esi, 4
add eax, dword [ebx + esi*4 + 0x30f34]
add eax, dword [ebx + ecx*4 + 0x378b4]
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx + ecx*2]
add ecx, ecx
add eax, edx
cmp eax, dword [ebx + ecx*8 + 0x734]
lea ecx, [ebx + ecx*8 + 0x734]
jae 0x4909c3
mov edx, dword [ebp - 0x3c]
inc edx
mov dword [ecx], eax
xor eax, eax
mov dword [ecx + 0x18], edx
mov dword [ecx + 0x1c], eax
mov dword [ecx + 8], 1
mov dword [ecx + 0xc], eax
mov dword [ebp - 0x40], 2
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x2c]
mov dl, byte [edi]
mov eax, edi
sub eax, dword [ebp + ecx*4 - 0x14]
dec eax
mov dword [ebp - 0x58], eax
cmp dl, byte [eax]
jne 0x490cbf
mov al, byte [edi + 1]
mov ecx, dword [ebp - 0x58]
cmp al, byte [ecx + 1]
jne 0x490cbf
mov esi, 2
mov dword [ebp - 0x34], esi
cmp dword [ebp - 0x68], esi
jbe 0x490a21
lea eax, [edi + 2]
sub ecx, edi
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx + eax]
jne 0x490a1e
inc esi
inc eax
cmp esi, dword [ebp - 0x68]
jb 0x490a10
mov dword [ebp - 0x34], esi
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x48]
add eax, esi
mov dword [ebp - 0x5c], eax
cmp edx, eax
jae 0x490a4f
lea ecx, [edx + edx*2]
add ecx, ecx
sub eax, edx
add edx, eax
lea ecx, [ebx + ecx*8 + 0x734]
mov dword [ebp - 0x48], edx
add ecx, 0x30
dec eax
mov dword [ecx], 0x40000000
jne 0x490a43
mov edx, dword [ebp - 0x50]
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x2c]
push edx
mov edx, dword [ebp - 0x54]
mov ecx, ebx
mov dword [ebp - 0x44], esi
call fcn.0048fda0
mov ecx, dword [ebp - 0x50]
add eax, dword [ebp - 0x80]
imul ecx, ecx, 0x110
mov dword [ebp - 0x70], ecx
mov edx, esi
add edx, ecx
lea ecx, [ebx + edx*4 + 0x378b4]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x5c]
lea ecx, [ecx + ecx*2 + 0x75]
shl ecx, 4
add esp, 4
mov dword [ebp - 0x6c], eax
add ecx, ebx
mov edx, dword [ebp - 0x38]
mov edx, dword [edx]
add edx, eax
cmp edx, dword [ecx - 0x1c]
jae 0x490ab6
mov dword [ecx - 0x1c], edx
mov edx, dword [ebp - 0x3c]
mov dword [ecx - 4], edx
mov edx, dword [ebp - 0x2c]
mov dword [ecx], edx
mov dword [ecx - 0x14], 0
dec dword [ebp - 0x34]
sub dword [ebp - 0x38], 4
sub ecx, 0x30
cmp dword [ebp - 0x34], 2
jae 0x490a95
cmp dword [ebp - 0x2c], 0
jne 0x490ad2
lea eax, [esi + 1]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebx + 0x2c]
mov edx, dword [ebp - 0x4c]
lea eax, [esi + 1]
add ecx, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
cmp ecx, edx
jbe 0x490aec
mov ecx, edx
mov dword [ebp - 0x38], edx
cmp eax, ecx
jae 0x490b0c
mov edx, dword [ebp - 0x58]
lea ecx, [eax + edi]
sub edx, edi
mov al, byte [ecx]
cmp al, byte [ecx + edx]
mov eax, dword [ebp - 0x34]
jne 0x490b0c
inc eax
inc ecx
mov dword [ebp - 0x34], eax
cmp eax, dword [ebp - 0x38]
jb 0x490af8
or ecx, 0xffffffff
sub ecx, esi
add eax, ecx
mov dword [ebp - 0x34], eax
cmp eax, 2
jb 0x490cbf
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebx + 0x48]
add eax, esi
mov dword [ebp - 0x38], eax
lea eax, [ebx + 0x30f34]
push eax
movzx eax, byte [esi + ecx]
movzx ecx, byte [esi + edi]
movzx esi, byte [edi + esi - 1]
mov edi, dword [ebp - 0x38]
and edi, dword [ebx + 0x54]
mov dword [ebp - 0x5c], ecx
mov ecx, 8
sub cl, dl
shr esi, cl
mov ecx, edx
shl edi, cl
mov ecx, dword [ebp - 0x5c]
add esi, edi
imul esi, esi, 0x600
add esi, dword [ebx + 0x60]
push esi
call fcn.0048f800
mov edx, dword [ebp - 0x54]
mov edx, dword [edx*4 + 0x4bb2dc]
mov edi, dword [ebx + 0x58]
mov ecx, dword [ebp - 0x38]
and ecx, edi
mov esi, edx
mov edx, dword [edx*4 + 0x4bb27c]
shl esi, 4
add ecx, esi
movzx ecx, word [ebx + ecx*2 + 0x32608]
mov esi, dword [ebp - 0x44]
shr ecx, 4
add eax, dword [ebx + ecx*4 + 0x30f34]
mov ecx, dword [ebp - 0x70]
add ecx, esi
add eax, dword [ebx + ecx*4 + 0x378b4]
mov ecx, dword [ebp - 0x74]
add eax, dword [ebp - 0x6c]
lea ecx, [ecx + esi + 1]
and ecx, edi
mov edi, edx
shl edi, 4
add edi, ecx
mov dword [ebp - 0x5c], edx
movzx edx, word [ebx + edx*2 + 0x32788]
mov dword [ebp - 0x70], edi
movzx edi, word [ebx + edi*2 + 0x32608]
xor edx, 0x7f0
shr edx, 4
mov edx, dword [ebx + edx*4 + 0x30f34]
xor edi, 0x7f0
shr edi, 4
add edx, dword [ebx + edi*4 + 0x30f34]
mov edi, dword [ebp - 0x3c]
add edx, eax
mov eax, dword [ebp - 0x34]
add eax, esi
lea eax, [eax + edi + 1]
mov edi, dword [ebp - 0x48]
add esp, 8
mov dword [ebp - 0x44], eax
cmp edi, eax
jae 0x490c3c
lea edi, [edi + edi*2]
add edi, edi
lea edi, [ebx + edi*8 + 0x734]
mov dword [ebp - 0x6c], edi
mov edi, dword [ebp - 0x48]
sub eax, edi
add edi, eax
mov dword [ebp - 0x48], edi
mov edi, dword [ebp - 0x6c]
lea esp, [esp]
add edi, 0x30
dec eax
mov dword [edi], 0x40000000
jne 0x490c30
mov eax, dword [ebp - 0x70]
imul ecx, ecx, 0x110
movzx eax, word [ebx + eax*2 + 0x327e8]
mov edi, dword [ebp - 0x5c]
movzx edi, word [ebx + edi*2 + 0x327a0]
add ecx, dword [ebp - 0x34]
xor eax, 0x7f0
shr eax, 4
mov eax, dword [ebx + eax*4 + 0x30f34]
shr edi, 4
add eax, dword [ebx + edi*4 + 0x30f34]
mov edi, dword [ebp - 0x60]
add eax, dword [ebx + ecx*4 + 0x378b4]
mov ecx, dword [ebp - 0x44]
lea ecx, [ecx + ecx*2]
add ecx, ecx
add eax, edx
cmp eax, dword [ebx + ecx*8 + 0x734]
lea ecx, [ebx + ecx*8 + 0x734]
jae 0x490cbf
mov dword [ecx], eax
mov eax, dword [ebp - 0x3c]
lea edx, [esi + eax + 1]
mov dword [ecx + 0x18], edx
mov edx, 1
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x2c]
mov dword [ecx + 0x1c], 0
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, 4
jb 0x4909d1
mov edx, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x68]
cmp edx, ecx
jbe 0x490d09
mov edx, ecx
xor eax, eax
mov dword [ebp - 0x78], edx
cmp ecx, dword [ebx + 0x31134]
jbe 0x490cfc
jmp 0x490cf0
add eax, 2
cmp ecx, dword [ebx + eax*4 + 0x31134]
ja 0x490cf0
mov dword [ebx + eax*4 + 0x31134], ecx
add eax, 2
mov dword [ebp - 0x64], eax
cmp edx, dword [ebp - 0x40]
jb 0x4910b3
mov ecx, dword [ebp - 0x54]
movzx edx, word [ebx + ecx*2 + 0x32788]
shr edx, 4
mov eax, dword [ebx + edx*4 + 0x30f34]
add eax, dword [ebp - 0x84]
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x78]
add eax, dword [ebp - 0x3c]
cmp edx, eax
jae 0x490d5f
lea ecx, [edx + edx*2]
add ecx, ecx
sub eax, edx
add edx, eax
lea ecx, [ebx + ecx*8 + 0x734]
mov dword [ebp - 0x48], edx
add ecx, 0x30
dec eax
mov dword [ecx], 0x40000000
jne 0x490d53
mov ecx, dword [ebp - 0x40]
xor eax, eax
mov dword [ebp - 0x58], eax
cmp ecx, dword [ebx + 0x31134]
jbe 0x490d7f
nop
add eax, 2
cmp ecx, dword [ebx + eax*4 + 0x31134]
ja 0x490d70
mov dword [ebp - 0x58], eax
mov eax, dword [ebx + eax*4 + 0x31138]
cmp eax, 0x20000
sbb ecx, ecx
and ecx, 0xfffffff6
add ecx, 0x10
mov edx, eax
shr edx, cl
mov dword [ebp - 0x34], eax
movzx edx, byte [edx + ebx + 0x30734]
lea ecx, [edx + ecx*2]
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x68], ecx
mov ecx, dword [ebp - 0x50]
imul ecx, ecx, 0x110
add ecx, edx
lea ecx, [ebx + ecx*4 + 0x3306c]
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x3c]
lea ecx, [edx + ecx + 0x27]
lea ecx, [ecx + ecx*2]
shl ecx, 4
add ecx, ebx
lea esi, [edx + 1]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x50]
mov edx, dword [edx]
add edx, dword [ebp - 0x84]
lea ecx, [esi - 1]
cmp ecx, 5
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], edx
lea ecx, [esi - 3]
jb 0x490df6
mov ecx, 3
cmp eax, 0x80
jae 0x490e0b
shl ecx, 7
add ecx, eax
add edx, dword [ebx + ecx*4 + 0x31dc8]
jmp 0x490e29
shl ecx, 6
add ecx, dword [ebp - 0x68]
mov edx, eax
mov ecx, dword [ebx + ecx*4 + 0x319c8]
and edx, 0xf
add ecx, dword [ebx + edx*4 + 0x325c8]
mov edx, dword [ebp - 0x40]
add edx, ecx
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x40], edx
cmp edx, dword [ecx - 0x1c]
jae 0x490e49
mov dword [ecx - 0x1c], edx
mov edx, dword [ebp - 0x3c]
mov dword [ecx - 4], edx
lea edx, [eax + 4]
mov dword [ecx], edx
mov dword [ecx - 0x14], 0
mov edx, dword [ebp - 0x58]
lea ecx, [esi - 1]
cmp ecx, dword [ebx + edx*4 + 0x31134]
jne 0x4910a5
mov edx, dword [ebp - 0x4c]
mov ecx, edi
sub ecx, eax
mov eax, dword [ebx + 0x2c]
add eax, esi
dec ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x38], eax
cmp eax, edx
jbe 0x490e78
mov eax, edx
mov dword [ebp - 0x38], edx
cmp esi, eax
jae 0x490ead
mov edx, edi
sub edx, ecx
lea eax, [ecx + esi]
mov dword [ebp - 0x6c], edx
jmp 0x490e96
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x70]
mov dl, byte [edx + eax]
cmp dl, byte [eax]
jne 0x490ead
mov edx, dword [ebp - 0x2c]
inc edx
inc eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x70], eax
cmp edx, dword [ebp - 0x38]
jb 0x490e90
or edx, 0xffffffff
lea eax, [esi - 1]
sub edx, eax
mov eax, dword [ebp - 0x2c]
add eax, edx
mov dword [ebp - 0x2c], eax
cmp eax, 2
jb 0x491061
mov edx, dword [ebp - 0x74]
mov eax, dword [ebx + 0x58]
lea edx, [edx + esi - 1]
and eax, edx
mov dword [ebp - 0x80], eax
lea eax, [ebx + 0x30f34]
push eax
movzx eax, byte [ecx + esi - 1]
movzx ecx, byte [edi + esi - 1]
movzx edi, byte [edi + esi - 2]
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], edx
mov edx, dword [ebx + 0x48]
mov esi, dword [ebp - 0x6c]
and esi, dword [ebx + 0x54]
mov ecx, 8
sub cl, dl
shr edi, cl
mov ecx, edx
shl esi, cl
mov ecx, dword [ebp - 0x70]
add edi, esi
imul edi, edi, 0x600
add edi, dword [ebx + 0x60]
push edi
call fcn.0048f800
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx*4 + str._a_a_a_a_a_a_a_n_n_n_n_n_b_b_b_b_b_b_b_v_v_v_v_v_t_t_t_t_t_t_t_v_v_v_v_v]
mov ecx, dword [ebp - 0x80]
mov esi, edx
mov edx, dword [edx*4 + 0x4bb27c]
movzx edi, word [ebx + edx*2 + 0x32788]
shl esi, 4
add esi, ecx
movzx esi, word [ebx + esi*2 + 0x32608]
shr esi, 4
add eax, dword [ebx + esi*4 + 0x30f34]
mov esi, edx
add eax, dword [ebp - 0x40]
shl esi, 4
inc ecx
and ecx, dword [ebx + 0x58]
xor edi, 0x7f0
add esi, ecx
mov dword [ebp - 0x70], esi
movzx esi, word [ebx + esi*2 + 0x32608]
xor esi, 0x7f0
shr esi, 4
mov dword [ebp - 0x80], edx
mov edx, dword [ebx + esi*4 + 0x30f34]
mov esi, dword [ebp - 0x44]
shr edi, 4
add edx, dword [ebx + edi*4 + 0x30f34]
mov edi, dword [ebp - 0x3c]
add edx, eax
mov eax, dword [ebp - 0x2c]
lea eax, [eax + esi - 1]
lea eax, [eax + edi + 1]
mov edi, dword [ebp - 0x48]
add esp, 8
mov dword [ebp - 0x5c], eax
cmp edi, eax
jae 0x490fdc
lea edi, [edi + edi*2]
add edi, edi
lea edi, [ebx + edi*8 + 0x734]
mov dword [ebp - 0x6c], edi
mov edi, dword [ebp - 0x48]
sub eax, edi
add edi, eax
mov dword [ebp - 0x48], edi
mov edi, dword [ebp - 0x6c]
jmp 0x490fd0
add edi, 0x30
dec eax
mov dword [edi], 0x40000000
jne 0x490fd0
mov eax, dword [ebp - 0x70]
imul ecx, ecx, 0x110
movzx eax, word [ebx + eax*2 + 0x327e8]
mov edi, dword [ebp - 0x80]
movzx edi, word [ebx + edi*2 + 0x327a0]
add ecx, dword [ebp - 0x2c]
xor eax, 0x7f0
shr eax, 4
mov eax, dword [ebx + eax*4 + 0x30f34]
shr edi, 4
add eax, dword [ebx + edi*4 + 0x30f34]
mov edi, dword [ebp - 0x60]
add eax, dword [ebx + ecx*4 + 0x378b4]
mov ecx, dword [ebp - 0x5c]
lea ecx, [ecx + ecx*2]
add ecx, ecx
add eax, edx
cmp eax, dword [ebx + ecx*8 + 0x734]
lea ecx, [ebx + ecx*8 + 0x734]
jae 0x491061
mov dword [ecx], eax
mov eax, dword [ebp - 0x3c]
lea edx, [esi + eax]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x34]
mov dword [ecx + 0x18], edx
mov edx, 1
add eax, 4
mov dword [ecx + 0x1c], 0
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x58]
add eax, 2
mov dword [ebp - 0x58], eax
cmp eax, dword [ebp - 0x64]
je 0x4910b3
mov eax, dword [ebx + eax*4 + 0x31138]
mov dword [ebp - 0x34], eax
cmp eax, 0x80
jb 0x4910a5
cmp eax, 0x20000
sbb ecx, ecx
and ecx, 0xfffffff6
add ecx, 0x10
mov edx, eax
shr edx, cl
mov dword [ebp - 0x6c], ecx
movzx ecx, byte [edx + ebx + 0x30734]
mov edx, dword [ebp - 0x6c]
lea ecx, [ecx + edx*2]
mov dword [ebp - 0x68], ecx
add dword [ebp - 0x50], 4
add dword [ebp - 0x78], 0x30
inc esi
jmp 0x490dd5
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
mov edi, eax
cmp eax, dword [ebp - 0x48]
jne 0x4904a0
jmp 0x4910d0
mov ecx, dword [ebp - 0x64]
mov dword [ebx + 0x24], ecx
mov dword [ebx + 0x20], eax
mov edx, dword [ebp - 0x7c]
push edx
mov eax, edi
mov ecx, ebx
call fcn.0048fe60
add esp, 4
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop edi
call fcn.00494bb0
mov esp, ebp
pop ebp
ret