Function at 0x100af0f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebx + 0x690]
sub esp, 0x74
push edi
mov edi, dword [ebp + 0xc]
cmp dword [ebx + 0x68c], ecx
je 0x100af12c
lea eax, [ecx + ecx*2]
add eax, eax
lea edx, [ebx + eax*8 + 0x6a0]
mov eax, dword [edx + 0x18]
sub eax, ecx
mov ecx, dword [edx + 0x1c]
mov dword [edi], ecx
mov edx, dword [edx + 0x18]
mov dword [ebx + 0x690], edx
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
push esi
mov dword [ebx + 0x68c], eax
mov dword [ebx + 0x690], eax
cmp dword [ebx + 0x31938], eax
jne 0x100af156
lea eax, [ebp - 0x24]
push eax
mov esi, ebx
call fcn.100aeeb0
add esp, 4
mov dword [ebp - 0x20], eax
jmp 0x100af168
mov ecx, dword [ebx + 0x694]
mov edx, dword [ebx + 0x698]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edx
mov eax, dword [ebx + 0x69c]
mov dword [ebp - 0x18], eax
cmp eax, 2
jae 0x100af187
pop esi
mov dword [edi], 0xffffffff
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
cmp eax, 0x111
jbe 0x100af195
mov dword [ebp - 0x18], 0x111
mov eax, dword [ebx + 0x18]
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 - 0x38], edi
mov dword [ebp - 0x28], edx
mov byte [ebp - 1], al
mov dword [ebp - 0x3c], edi
jmp 0x100af1c0
lea edi, [edx*4]
mov eax, dword [edi + ebx + 0x3193c]
mov ecx, esi
sub ecx, eax
mov dword [ebp + edi - 0x64], eax
mov al, byte [ebp - 1]
dec ecx
cmp al, byte [ecx]
jne 0x100af224
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x100af224
mov eax, 2
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x18], eax
jbe 0x100af20f
lea edx, [esi + 2]
sub ecx, esi
mov al, byte [edx]
cmp al, byte [ecx + edx]
mov eax, dword [ebp - 0x2c]
jne 0x100af20c
inc eax
inc edx
mov dword [ebp - 0x2c], eax
cmp eax, dword [ebp - 0x18]
jb 0x100af1f8
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp + edi - 0x74], eax
cmp eax, dword [ebp + ecx - 0x74]
jbe 0x100af22c
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], edi
jmp 0x100af22c
mov dword [ebp + edi - 0x74], 0
inc edx
mov dword [ebp - 0x28], edx
cmp edx, 4
jb 0x100af1c0
mov eax, dword [ebp - 0x38]
mov edi, dword [ebp + eax*4 - 0x74]
mov ecx, dword [ebx + 0x31934]
mov dword [ebp - 0x3c], edi
cmp edi, ecx
jb 0x100af270
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
lea eax, [edi - 1]
test eax, eax
je 0x100af268
add dword [ebx + 0x31938], eax
mov ecx, dword [ebx + 0x14]
push eax
mov eax, dword [ebx + 0x18]
push eax
call ecx
add esp, 8
pop esi
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x20]
cmp eax, ecx
jb 0x100af2b0
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebx + edx*4 + 0x3109c]
mov edx, dword [ebp + 0xc]
add ecx, 4
mov dword [edx], ecx
lea ecx, [eax - 1]
test ecx, ecx
je 0x100b02c3
mov eax, dword [ebx + 0x18]
add dword [ebx + 0x31938], ecx
push ecx
mov ecx, dword [ebx + 0x14]
push eax
call ecx
mov eax, dword [ebp - 0x20]
add esp, 8
pop esi
pop edi
mov esp, ebp
pop ebp
ret
mov edx, esi
sub edx, dword [ebp - 0x64]
mov cl, byte [edx - 1]
mov byte [ebp - 2], cl
cmp eax, 2
jae 0x100af2de
cmp byte [ebp - 1], cl
je 0x100af2de
cmp edi, 2
jae 0x100af2de
mov eax, dword [ebp + 0xc]
pop esi
mov dword [eax], 0xffffffff
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
mov edi, dword [ebx + 0x3194c]
mov eax, edx
and eax, dword [ebx + 0x325a8]
mov dword [ebx + 0x6a4], edi
movzx esi, byte [esi - 1]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x32598]
mov ecx, 8
sub cl, al
shr esi, cl
mov ecx, dword [ebx + 0x325a4]
and ecx, edx
mov dword [ebp - 0x40], ecx
mov ecx, eax
mov eax, dword [ebp - 0x40]
shl eax, cl
movzx ecx, byte [ebp - 1]
add esi, eax
imul esi, esi, 0x600
add esi, dword [ebx + 0x325ac]
cmp edi, 7
jb 0x100af34a
lea eax, [ebx + 0x30ea0]
push eax
movzx eax, byte [ebp - 2]
push esi
call fcn.100ae9b0
add esp, 8
jmp 0x100af355
lea edx, [ebx + 0x30ea0]
call fcn.100ae970
mov esi, dword [ebp - 0x1c]
mov ecx, edi
shl ecx, 4
add ecx, esi
movzx edx, word [ebx + ecx*2 + 0x325b0]
lea ecx, [ebx + ecx*2 + 0x325b0]
shr edx, 4
mov edx, dword [ebx + edx*4 + 0x30ea0]
add edx, eax
mov dword [ebx + 0x6d0], edx
mov dword [ebx + 0x6ec], 0xffffffff
xor edx, edx
mov dword [ebx + 0x6d8], edx
movzx eax, word [ecx]
movzx ecx, word [ebx + edi*2 + 0x32730]
xor eax, 0x7f0
xor ecx, 0x7f0
shr eax, 4
mov eax, dword [ebx + eax*4 + 0x30ea0]
shr ecx, 4
mov ecx, dword [ebx + ecx*4 + 0x30ea0]
add ecx, eax
mov dword [ebp - 0x38], eax
mov al, byte [ebp - 1]
mov dword [ebp - 0x40], ecx
cmp byte [ebp - 2], al
jne 0x100af413
mov eax, edi
shl eax, 4
add eax, esi
movzx eax, word [ebx + eax*2 + 0x32790]
movzx esi, word [ebx + edi*2 + 0x32748]
shr eax, 4
mov eax, dword [ebx + eax*4 + 0x30ea0]
shr esi, 4
add eax, dword [ebx + esi*4 + 0x30ea0]
add eax, ecx
cmp eax, dword [ebx + 0x6d0]
jae 0x100af413
mov dword [ebx + 0x6d0], eax
mov dword [ebx + 0x6ec], edx
mov dword [ebx + 0x6d8], edx
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x3c]
cmp ecx, eax
jb 0x100af424
mov eax, ecx
mov dword [ebp - 8], ecx
jmp 0x100af427
mov dword [ebp - 8], eax
cmp eax, 2
jae 0x100af442
mov ecx, dword [ebx + 0x6ec]
mov edx, dword [ebp + 0xc]
pop esi
mov dword [edx], ecx
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x64]
mov dword [ebx + 0x6e8], edx
mov dword [ebx + 0x6c0], ecx
mov ecx, dword [ebp - 0x60]
mov dword [ebx + 0x6c4], ecx
mov ecx, dword [ebp - 0x5c]
mov dword [ebx + 0x6c8], ecx
mov ecx, dword [ebp - 0x58]
mov dword [ebx + 0x6cc], ecx
lea ecx, [eax + eax*2]
add ecx, ecx
lea ecx, [ebx + ecx*8 + 0x6a0]
jmp 0x100af480
mov dword [ecx], 0x40000000
dec eax
sub ecx, 0x30
cmp eax, 2
jae 0x100af480
xor edi, edi
mov esi, dword [ebp + edi*4 - 0x74]
cmp esi, 2
jb 0x100af4f7
mov edx, dword [ebp - 0x1c]
push edx
mov edx, dword [ebx + 0x3194c]
mov eax, edi
mov ecx, ebx
call fcn.100aef50
add eax, dword [ebp - 0x40]
lea ecx, [esi + esi*2]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1c]
imul eax, eax, 0x110
add eax, esi
add esp, 4
add ecx, ecx
lea eax, [ebx + eax*4 + 0x37858]
lea ecx, [ebx + ecx*8 + 0x6bc]
mov edx, dword [eax]
add edx, dword [ebp - 0x3c]
cmp edx, dword [ecx - 0x1c]
jae 0x100af4eb
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 0x100af4d4
inc edi
cmp edi, 4
jb 0x100af491
mov edx, dword [ebx + 0x3194c]
movzx eax, word [ebx + edx*2 + 0x32730]
mov ecx, dword [ebp - 0x74]
shr eax, 4
mov eax, dword [ebx + eax*4 + 0x30ea0]
add eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
cmp ecx, 2
jb 0x100af526
inc ecx
jmp 0x100af52b
mov ecx, 2
mov dword [ebp - 0x2c], ecx
cmp ecx, dword [ebp - 0x20]
ja 0x100af62b
xor edx, edx
mov dword [ebp - 0x20], edx
cmp ecx, dword [ebx + 0x310a0]
jbe 0x100af553
add edx, 2
cmp ecx, dword [ebx + edx*4 + 0x310a0]
ja 0x100af544
mov dword [ebp - 0x20], edx
mov esi, dword [ebp - 0x1c]
imul esi, esi, 0x110
add esi, ecx
lea esi, [ebx + esi*4 + 0x33010]
mov dword [ebp - 0x28], esi
lea esi, [ecx + ecx*2]
add esi, esi
lea edi, [ebx + esi*8 + 0x6bc]
mov esi, dword [ebx + edx*4 + 0x310a4]
mov edx, dword [ebp - 0x28]
mov edx, dword [edx]
add edx, eax
mov dword [ebp - 0x3c], edi
lea eax, [ecx - 2]
cmp ecx, 5
jb 0x100af592
mov eax, 3
cmp esi, 0x80
jae 0x100af5a8
shl eax, 7
add eax, esi
add edx, dword [ebx + eax*4 + 0x31d50]
jmp 0x100af5e9
mov ecx, 0x1ffff
sub ecx, esi
shr ecx, 0x1f
neg ecx
and ecx, 0xa
add ecx, 6
mov edi, esi
shr edi, cl
shl eax, 5
add eax, ecx
mov ecx, esi
movzx edi, byte [edi + ebx + 0x306a0]
lea eax, [edi + eax*2 + 0xc654]
mov eax, dword [ebx + eax*4]
mov edi, dword [ebp - 0x3c]
and ecx, 0xf
add eax, dword [ebx + ecx*4 + 0x32550]
mov ecx, dword [ebp - 0x2c]
add edx, eax
cmp edx, dword [edi - 0x1c]
jae 0x100af5fe
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 - 0x20]
cmp ecx, dword [ebx + eax*4 + 0x310a0]
jne 0x100af615
add eax, 2
mov dword [ebp - 0x20], eax
cmp eax, dword [ebp - 0x24]
je 0x100af62b
add dword [ebp - 0x28], 4
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x20]
inc ecx
mov dword [ebp - 0x2c], ecx
add edi, 0x30
jmp 0x100af574
mov edi, 1
mov dword [ebp - 0x14], edi
cmp dword [ebp - 8], edi
je 0x100b02b3
lea esp, [esp]
lea ecx, [ebp - 0x3c]
push ecx
mov esi, ebx
call fcn.100aeeb0
add esp, 4
mov dword [ebp - 0x2c], eax
cmp eax, dword [ebx + 0x31934]
jae 0x100b02a1
inc dword [ebp + 8]
lea esi, [edi + edi*2]
shl esi, 4
mov ecx, dword [esi + ebx + 0x6a8]
mov eax, dword [esi + ebx + 0x6b8]
add esi, ebx
mov dword [ebp - 0x38], esi
test ecx, ecx
je 0x100af6d7
dec eax
cmp dword [esi + 0x6ac], 0
je 0x100af6c2
mov ecx, dword [esi + 0x6b0]
lea ecx, [ecx + ecx*2]
add ecx, ecx
cmp dword [esi + 0x6b4], 4
mov ecx, dword [ebx + ecx*8 + 0x6a4]
jae 0x100af6b2
mov ecx, dword [ecx*4 + 0x1025ae1c]
mov edx, dword [ecx*4 + 0x1025adbc]
jmp 0x100af6e3
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 + 0x1025adbc]
jmp 0x100af6e3
lea edx, [eax + eax*2]
add edx, edx
mov ecx, dword [ebx + edx*8 + 0x6a4]
mov edx, dword [ecx*4 + 0x1025adbc]
jmp 0x100af6e3
lea ecx, [eax + eax*2]
add ecx, ecx
mov edx, dword [ebx + ecx*8 + 0x6a4]
lea ecx, [edi - 1]
cmp eax, ecx
jne 0x100af711
cmp dword [esi + 0x6bc], 0
jne 0x100af702
mov edx, dword [edx*4 + 0x1025ae4c]
mov dword [ebp - 0xc], edx
jmp 0x100af7b2
mov eax, dword [edx*4 + 0x1025adbc]
mov dword [ebp - 0xc], eax
jmp 0x100af7b2
cmp dword [esi + 0x6a8], 0
je 0x100af73b
cmp dword [esi + 0x6ac], 0
je 0x100af73b
mov ecx, dword [esi + 0x6b4]
mov eax, dword [esi + 0x6b0]
mov edx, dword [edx*4 + 0x1025ae1c]
mov dword [ebp - 0x20], ecx
jmp 0x100af762
mov ecx, dword [esi + 0x6bc]
mov dword [ebp - 0x20], ecx
cmp ecx, 4
jae 0x100af758
mov ecx, dword [edx*4 + 0x1025ae1c]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x20]
jmp 0x100af765
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 - 0x20]
mov dword [ebp - 0xc], edx
lea eax, [eax + eax*2]
add eax, eax
lea edx, [ebx + eax*8 + 0x6a0]
cmp ecx, 4
jae 0x100af89b
mov eax, dword [edx + ecx*4 + 0x20]
mov dword [ebp - 0x64], eax
mov eax, 1
cmp ecx, eax
jb 0x100af79b
mov eax, dword [ebp - 0x20]
inc eax
lea esi, [edx + 0x20]
lea edi, [ebp - 0x60]
rep movsd dword es:[edi], dword [esi]
cmp eax, 4
jae 0x100af7ac
mov ecx, 4
lea edi, [ebp + eax*4 - 0x64]
lea esi, [edx + eax*4 + 0x20]
sub ecx, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x38]
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x60]
mov dword [esi + 0x6a4], edx
mov edx, dword [ebp - 0x5c]
mov dword [esi + 0x6c0], eax
mov eax, dword [ebp - 0x58]
mov dword [esi + 0x6c4], ecx
mov ecx, dword [esi + 0x6a0]
mov dword [esi + 0x6c8], edx
mov dword [esi + 0x6cc], eax
mov edx, dword [ebx + 0x18]
mov eax, dword [ebx + 0xc]
push edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], 0
call eax
movzx ecx, byte [eax - 1]
lea edx, [eax - 1]
mov eax, edx
sub eax, dword [ebp - 0x64]
mov byte [ebp - 1], cl
movzx ecx, byte [eax - 1]
dec eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 8]
and eax, dword [ebx + 0x325a8]
mov byte [ebp - 2], cl
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x38], eax
shl ecx, 4
add eax, ecx
mov dword [ebp - 0x1c], eax
movzx eax, word [ebx + eax*2 + 0x325b0]
shr eax, 4
mov eax, dword [ebx + eax*4 + 0x30ea0]
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], edx
movzx edx, byte [edx - 1]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x32598]
mov ecx, 8
sub cl, al
shr edx, cl
mov ecx, dword [ebx + 0x325a4]
and ecx, dword [ebp + 8]
add esp, 4
mov dword [ebp - 0x40], ecx
mov ecx, eax
mov eax, dword [ebp - 0x40]
shl eax, cl
add edx, eax
imul edx, edx, 0x600
add edx, dword [ebx + 0x325ac]
cmp dword [ebp - 0xc], 7
jb 0x100af8b8
movzx ecx, byte [ebp - 1]
lea eax, [ebx + 0x30ea0]
push eax
movzx eax, byte [ebp - 2]
push edx
call fcn.100ae9b0
add esp, 8
jmp 0x100af90c
mov eax, dword [edx + 0x24]
add ecx, 0xfffffffc
mov dword [ebp - 0x64], ecx
mov ecx, dword [edx + 0x20]
mov dword [ebp - 0x60], ecx
mov ecx, dword [edx + 0x28]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], ecx
jmp 0x100af7b2
movzx eax, byte [ebp - 1]
or eax, 0x100
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], eax
jmp 0x100af8d0
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 - 0x34]
add ecx, dword [ebx + eax*4 + 0x30ea0]
mov eax, dword [ebp - 0x30]
add eax, eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], eax
cmp eax, 0x10000
jb 0x100af8d0
mov eax, ecx
mov edx, dword [ebp - 0x20]
add edx, eax
mov dword [ebp - 0x20], edx
cmp edx, dword [esi + 0x6d0]
jae 0x100af943
mov dword [esi + 0x6d0], edx
mov dword [esi + 0x6e8], edi
mov dword [esi + 0x6ec], 0xffffffff
mov dword [esi + 0x6d8], 0
mov dword [ebp - 0x24], 1
mov edx, dword [ebp - 0x1c]
movzx eax, word [ebx + edx*2 + 0x325b0]
mov ecx, dword [ebp - 0xc]
movzx edx, word [ebx + ecx*2 + 0x32730]
xor eax, 0x7f0
shr eax, 4
mov eax, dword [ebx + eax*4 + 0x30ea0]
add eax, dword [ebp - 0x28]
xor edx, 0x7f0
shr edx, 4
mov ecx, dword [ebx + edx*4 + 0x30ea0]
add ecx, eax
mov dword [ebp - 0x54], eax
mov al, byte [ebp - 2]
mov dword [ebp - 0x48], ecx
cmp al, byte [ebp - 1]
jne 0x100af9f1
cmp dword [esi + 0x6e8], edi
jae 0x100af99c
cmp dword [esi + 0x6ec], 0
je 0x100af9f1
mov edx, dword [ebp - 0xc]
movzx eax, word [ebx + edx*2 + 0x32748]
mov edx, dword [ebp - 0x1c]
movzx edx, word [ebx + edx*2 + 0x32790]
shr eax, 4
mov eax, dword [ebx + eax*4 + 0x30ea0]
shr edx, 4
add eax, dword [ebx + edx*4 + 0x30ea0]
add eax, ecx
cmp eax, dword [esi + 0x6d0]
ja 0x100af9f1
mov dword [esi + 0x6d0], eax
xor eax, eax
mov dword [esi + 0x6e8], edi
mov dword [esi + 0x6ec], eax
mov dword [esi + 0x6d8], eax
mov dword [ebp - 0x24], 1
mov ecx, dword [ebx + 0x69c]
mov eax, 0xfff
sub eax, edi
mov dword [ebp - 0x28], ecx
cmp eax, ecx
jae 0x100afa0a
mov ecx, eax
mov dword [ebp - 0x28], eax
cmp ecx, 2
jb 0x100b0292
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebx + 0x31934]
mov dword [ebp - 0x18], ecx
cmp ecx, esi
jbe 0x100afa26
mov dword [ebp - 0x18], esi
cmp dword [ebp - 0x24], 0
jne 0x100afb7c
mov al, byte [ebp - 1]
cmp byte [ebp - 2], al
je 0x100afb7c
lea eax, [esi + 1]
mov dword [ebp - 0x34], eax
cmp eax, ecx
jbe 0x100afa4b
mov eax, ecx
mov dword [ebp - 0x34], ecx
mov esi, 1
cmp eax, esi
jbe 0x100afa6e
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x44]
lea eax, [edx + 1]
sub ecx, edx
nop
mov dl, byte [eax]
cmp dl, byte [ecx + eax]
jne 0x100afa6e
inc esi
inc eax
cmp esi, dword [ebp - 0x34]
jb 0x100afa60
dec esi
mov dword [ebp - 0x24], esi
cmp esi, 2
jb 0x100afb7c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax*4 + 0x1025adbc]
mov ecx, dword [ebp + 8]
mov edx, eax
shl edx, 4
inc ecx
and ecx, dword [ebx + 0x325a8]
mov dword [ebp - 0x30], eax
movzx eax, word [ebx + eax*2 + 0x32730]
add edx, ecx
mov dword [ebp - 0x40], edx
movzx edx, word [ebx + edx*2 + 0x325b0]
xor edx, 0x7f0
shr edx, 4
mov edx, dword [ebx + edx*4 + 0x30ea0]
xor eax, 0x7f0
shr eax, 4
add edx, dword [ebx + eax*4 + 0x30ea0]
mov eax, dword [ebp - 8]
add edx, dword [ebp - 0x20]
lea esi, [esi + edi + 1]
mov dword [ebp - 0x34], esi
cmp eax, esi
jae 0x100afb0c
lea esi, [eax + eax*2]
add esi, esi
lea esi, [ebx + esi*8 + 0x6a0]
mov dword [ebp - 0x44], esi
mov esi, dword [ebp - 0x34]
sub esi, eax
add eax, esi
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x44]
jmp 0x100afb00
add eax, 0x30
dec esi
mov dword [eax], 0x40000000
jne 0x100afb00
mov eax, dword [ebp - 0x40]
imul ecx, ecx, 0x110
movzx eax, word [ebx + eax*2 + 0x32790]
mov esi, dword [ebp - 0x30]
movzx esi, word [ebx + esi*2 + 0x32748]
add ecx, dword [ebp - 0x24]
xor eax, 0x7f0
shr eax, 4
mov eax, dword [ebx + eax*4 + 0x30ea0]
shr esi, 4
add eax, dword [ebx + esi*4 + 0x30ea0]
add eax, dword [ebx + ecx*4 + 0x37858]
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx + ecx*2]
add ecx, ecx
add eax, edx
cmp eax, dword [ebx + ecx*8 + 0x6a0]
lea ecx, [ebx + ecx*8 + 0x6a0]
jae 0x100afb7c
mov dword [ecx], eax
xor eax, eax
lea edx, [edi + 1]
mov dword [ecx + 0x18], edx
mov dword [ecx + 0x1c], eax
mov dword [ecx + 8], 1
mov dword [ecx + 0xc], eax
mov dword [ebp - 0x34], 2
mov dword [ebp - 0x20], 0
lea ebx, [ebx]
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
mov dl, byte [esi]
mov eax, esi
sub eax, dword [ebp + ecx*4 - 0x64]
dec eax
mov dword [ebp - 0x24], eax
cmp dl, byte [eax]
jne 0x100afe92
mov edx, dword [ebp - 0x24]
mov eax, esi
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x100afe92
mov esi, 2
mov dword [ebp - 0x1c], esi
cmp dword [ebp - 0x18], esi
jbe 0x100afbe3
mov ecx, dword [ebp - 0x24]
mov edx, eax
lea eax, [edx + 2]
sub ecx, edx
mov dl, byte [eax]
cmp dl, byte [ecx + eax]
jne 0x100afbe0
inc esi
inc eax
cmp esi, dword [ebp - 0x18]
jb 0x100afbd2
mov dword [ebp - 0x1c], esi
mov edx, dword [ebp - 8]
lea eax, [esi + edi]
cmp edx, eax
jae 0x100afc0c
lea ecx, [edx + edx*2]
add ecx, ecx
sub eax, edx
add edx, eax
lea ecx, [ebx + ecx*8 + 0x6a0]
mov dword [ebp - 8], edx
add ecx, 0x30
dec eax
mov dword [ecx], 0x40000000
jne 0x100afc00
mov edx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
push edx
mov edx, dword [ebp - 0xc]
mov ecx, ebx
mov dword [ebp - 0x40], esi
call fcn.100aef50
mov ecx, dword [ebp - 0x38]
add eax, dword [ebp - 0x48]
imul ecx, ecx, 0x110
mov dword [ebp - 0x4c], ecx
mov edx, esi
add ecx, edx
lea ecx, [ebx + ecx*4 + 0x37858]
mov dword [ebp - 0x30], ecx
lea ecx, [edx + edi]
lea edx, [ecx + ecx*2]
add esp, 4
add edx, edx
mov dword [ebp - 0x50], eax
lea ecx, [ebx + edx*8 + 0x6bc]
mov edx, dword [ebp - 0x30]
mov edx, dword [edx]
add edx, eax
cmp edx, dword [ecx - 0x1c]
jae 0x100afc73
mov dword [ecx - 0x1c], edx
mov edx, dword [ebp - 0x20]
mov dword [ecx - 4], edi
mov dword [ecx], edx
mov dword [ecx - 0x14], 0
dec dword [ebp - 0x1c]
sub dword [ebp - 0x30], 4
sub ecx, 0x30
cmp dword [ebp - 0x1c], 2
jae 0x100afc55
cmp dword [ebp - 0x20], 0
jne 0x100afc8f
lea eax, [esi + 1]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebx + 0x31934]
mov edx, dword [ebp - 0x28]
lea eax, [esi + 1]
add ecx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x30], ecx
cmp ecx, edx
jbe 0x100afcac
mov ecx, edx
mov dword [ebp - 0x30], edx
cmp eax, ecx
jae 0x100afcd4
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
add ecx, eax
sub edx, dword [ebp - 0x10]
jmp 0x100afcc0
mov al, byte [ecx]
cmp al, byte [ecx + edx]
mov eax, dword [ebp - 0x1c]
jne 0x100afcd4
inc eax
inc ecx
mov dword [ebp - 0x1c], eax
cmp eax, dword [ebp - 0x30]
jb 0x100afcc0
or ecx, 0xffffffff
sub ecx, esi
add eax, ecx
mov dword [ebp - 0x1c], eax
cmp eax, 2
jb 0x100afe92
mov eax, dword [ebp + 8]
mov edx, dword [ebx + 0x32598]
lea ecx, [esi + eax]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x10]
movzx edi, byte [esi + ecx]
lea eax, [ebx + 0x30ea0]
push eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [esi + eax]
movzx esi, byte [esi + ecx - 1]
mov ecx, 8
sub cl, dl
shr esi, cl
mov ecx, dword [ebp - 0x30]
and ecx, dword [ebx + 0x325a4]
mov dword [ebp - 0x44], ecx
mov ecx, edx
mov edx, dword [ebp - 0x44]
shl edx, cl
mov ecx, edi
add esi, edx
imul esi, esi, 0x600
add esi, dword [ebx + 0x325ac]
push esi
call fcn.100ae9b0
mov edx, dword [ebp - 0xc]
mov edx, dword [edx*4 + 0x1025ae1c]
mov edi, dword [ebx + 0x325a8]
mov ecx, dword [ebp - 0x30]
and ecx, edi
mov esi, edx
mov edx, dword [edx*4 + 0x1025adbc]
shl esi, 4
add ecx, esi
movzx ecx, word [ebx + ecx*2 + 0x325b0]
mov esi, dword [ebp - 0x40]
shr ecx, 4
add eax, dword [ebx + ecx*4 + 0x30ea0]
mov ecx, dword [ebp - 0x4c]
add ecx, esi
add eax, dword [ebx + ecx*4 + 0x37858]
mov ecx, dword [ebp + 8]
add eax, dword [ebp - 0x50]
lea ecx, [esi + ecx + 1]
and ecx, edi
mov edi, edx
shl edi, 4
add edi, ecx
mov dword [ebp - 0x44], edx
movzx edx, word [ebx + edx*2 + 0x32730]
mov dword [ebp - 0x4c], edi
movzx edi, word [ebx + edi*2 + 0x325b0]
xor edx, 0x7f0
shr edx, 4
mov edx, dword [ebx + edx*4 + 0x30ea0]
xor edi, 0x7f0
shr edi, 4
add edx, dword [ebx + edi*4 + 0x30ea0]
mov edi, dword [ebp - 0x14]
add edx, eax
mov eax, dword [ebp - 0x1c]
add eax, esi
lea eax, [eax + edi + 1]
mov edi, dword [ebp - 8]
add esp, 8
mov dword [ebp - 0x40], eax
cmp edi, eax
jae 0x100afe12
lea edi, [edi + edi*2]
add edi, edi
lea edi, [ebx + edi*8 + 0x6a0]
mov dword [ebp - 0x50], edi
mov edi, dword [ebp - 8]
sub eax, edi
add edi, eax
mov dword [ebp - 8], edi
mov edi, dword [ebp - 0x50]
add edi, 0x30
dec eax
mov dword [edi], 0x40000000
jne 0x100afe06
mov eax, dword [ebp - 0x4c]
imul ecx, ecx, 0x110
movzx eax, word [ebx + eax*2 + 0x32790]
mov edi, dword [ebp - 0x44]
movzx edi, word [ebx + edi*2 + 0x32748]
add ecx, dword [ebp - 0x1c]
xor eax, 0x7f0
shr eax, 4
mov eax, dword [ebx + eax*4 + 0x30ea0]
shr edi, 4
add eax, dword [ebx + edi*4 + 0x30ea0]
mov edi, dword [ebp - 0x14]
add eax, dword [ebx + ecx*4 + 0x37858]
mov ecx, dword [ebp - 0x40]
lea ecx, [ecx + ecx*2]
add ecx, ecx
add eax, edx
cmp eax, dword [ebx + ecx*8 + 0x6a0]
lea ecx, [ebx + ecx*8 + 0x6a0]
jae 0x100afe92
mov dword [ecx], eax
mov eax, 1
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x20]
lea edx, [esi + edi + 1]
mov dword [ecx + 0x18], edx
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp eax, 4
jb 0x100afb90
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
cmp edx, ecx
jbe 0x100afed9
mov edx, ecx
xor eax, eax
mov dword [ebp - 0x2c], edx
cmp ecx, dword [ebx + 0x310a0]
jbe 0x100afecc
jmp 0x100afec0
add eax, 2
cmp ecx, dword [ebx + eax*4 + 0x310a0]
ja 0x100afec0
mov dword [ebx + eax*4 + 0x310a0], ecx
add eax, 2
mov dword [ebp - 0x3c], eax
cmp edx, dword [ebp - 0x34]
jb 0x100b0292
mov ecx, dword [ebp - 0xc]
movzx edx, word [ebx + ecx*2 + 0x32730]
mov ecx, dword [ebp - 8]
shr edx, 4
mov eax, dword [ebx + edx*4 + 0x30ea0]
add eax, dword [ebp - 0x54]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x2c]
add eax, edi
cmp ecx, eax
jae 0x100aff2c
lea edx, [ecx + ecx*2]
add edx, edx
sub eax, ecx
add ecx, eax
lea edx, [ebx + edx*8 + 0x6a0]
mov dword [ebp - 8], ecx
lea esp, [esp]
add edx, 0x30
dec eax
mov dword [edx], 0x40000000
jne 0x100aff20
mov edx, dword [ebp - 0x34]
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp edx, dword [ebx + 0x310a0]
jbe 0x100aff4f
lea esp, [esp]
add eax, 2
cmp edx, dword [ebx + eax*4 + 0x310a0]
ja 0x100aff40
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + eax*4 + 0x310a4]
mov ecx, 0x1ffff
sub ecx, eax
shr ecx, 0x1f
neg ecx
and ecx, 0xa
add ecx, 6
mov esi, eax
shr esi, cl
mov dword [ebp - 0x2c], eax
movzx esi, byte [esi + ebx + 0x306a0]
lea ecx, [esi + ecx*2]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x38]
imul ecx, ecx, 0x110
add ecx, edx
lea ecx, [ebx + ecx*4 + 0x33010]
mov dword [ebp - 0x38], ecx
lea ecx, [edx + edi]
lea esi, [edx + 1]
lea edx, [ecx + ecx*2]
add edx, edx
lea ecx, [ebx + edx*8 + 0x6bc]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x38]
mov edx, dword [edx]
add edx, dword [ebp - 0x54]
lea ecx, [esi - 1]
cmp ecx, 5
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x24], edx
lea ecx, [esi - 3]
jb 0x100affc5
mov ecx, 3
cmp eax, 0x80
jae 0x100affda
shl ecx, 7
add ecx, eax
add edx, dword [ebx + ecx*4 + 0x31d50]
jmp 0x100afff8
shl ecx, 6
add ecx, dword [ebp - 0x18]
mov edx, eax
mov ecx, dword [ebx + ecx*4 + 0x31950]
and edx, 0xf
add ecx, dword [ebx + edx*4 + 0x32550]
mov edx, dword [ebp - 0x24]
add edx, ecx
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x24], edx
cmp edx, dword [ecx - 0x1c]
jae 0x100b0015
mov dword [ecx - 0x1c], edx
lea edx, [eax + 4]
mov dword [ecx - 4], edi
mov dword [ecx], edx
mov dword [ecx - 0x14], 0
mov edx, dword [ebp - 0x1c]
lea ecx, [esi - 1]
cmp ecx, dword [ebx + edx*4 + 0x310a0]
jne 0x100b0284
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x28]
sub ecx, eax
mov eax, dword [ebx + 0x31934]
add eax, esi
dec ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x30], eax
cmp eax, edx
jbe 0x100b0048
mov eax, edx
mov dword [ebp - 0x30], edx
cmp esi, eax
jae 0x100b007d
mov edx, dword [ebp - 0x10]
sub edx, ecx
lea eax, [ecx + esi]
mov dword [ebp - 0x50], edx
jmp 0x100b0066
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
mov dl, byte [edx + eax]
cmp dl, byte [eax]
jne 0x100b007d
mov edx, dword [ebp - 0x20]
inc edx
inc eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x4c], eax
cmp edx, dword [ebp - 0x30]
jb 0x100b0060
or edx, 0xffffffff
lea eax, [esi - 1]
sub edx, eax
mov eax, dword [ebp - 0x20]
add eax, edx
mov dword [ebp - 0x20], eax
cmp eax, 2
jb 0x100b023e
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x325a8]
lea edx, [edx + esi - 1]
and eax, edx
mov dword [ebp - 0x4c], eax
lea eax, [ebx + 0x30ea0]
push eax
movzx eax, byte [ecx + esi - 1]
mov ecx, dword [ebp - 0x10]
movzx edi, byte [esi + ecx - 1]
movzx esi, byte [ecx + esi - 2]
mov dword [ebp - 0x50], edx
mov edx, dword [ebx + 0x32598]
mov ecx, 8
sub cl, dl
mov edx, dword [ebx + 0x325a4]
and edx, dword [ebp - 0x50]
shr esi, cl
mov ecx, dword [ebx + 0x32598]
shl edx, cl
mov ecx, edi
add esi, edx
imul esi, esi, 0x600
add esi, dword [ebx + 0x325ac]
push esi
call fcn.100ae9b0
mov ecx, dword [ebp - 0xc]
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 - 0x4c]
mov esi, edx
mov edx, dword [edx*4 + 0x1025adbc]
movzx edi, word [ebx + edx*2 + 0x32730]
shl esi, 4
add esi, ecx
movzx esi, word [ebx + esi*2 + 0x325b0]
shr esi, 4
add eax, dword [ebx + esi*4 + 0x30ea0]
mov esi, edx
add eax, dword [ebp - 0x24]
shl esi, 4
inc ecx
and ecx, dword [ebx + 0x325a8]
xor edi, 0x7f0
add esi, ecx
mov dword [ebp - 0x4c], esi
movzx esi, word [ebx + esi*2 + 0x325b0]
xor esi, 0x7f0
shr esi, 4
mov dword [ebp - 0x48], edx
mov edx, dword [ebx + esi*4 + 0x30ea0]
mov esi, dword [ebp - 0x40]
shr edi, 4
add edx, dword [ebx + edi*4 + 0x30ea0]
mov edi, dword [ebp - 0x14]
add edx, eax
mov eax, dword [ebp - 0x20]
lea eax, [eax + esi - 1]
lea eax, [eax + edi + 1]
mov edi, dword [ebp - 8]
add esp, 8
mov dword [ebp - 0x44], eax
cmp edi, eax
jae 0x100b01bc
lea edi, [edi + edi*2]
add edi, edi
lea edi, [ebx + edi*8 + 0x6a0]
mov dword [ebp - 0x50], edi
mov edi, dword [ebp - 8]
sub eax, edi
add edi, eax
mov dword [ebp - 8], edi
mov edi, dword [ebp - 0x50]
lea ebx, [ebx]
add edi, 0x30
dec eax
mov dword [edi], 0x40000000
jne 0x100b01b0
mov eax, dword [ebp - 0x4c]
imul ecx, ecx, 0x110
movzx eax, word [ebx + eax*2 + 0x32790]
mov edi, dword [ebp - 0x48]
movzx edi, word [ebx + edi*2 + 0x32748]
add ecx, dword [ebp - 0x20]
xor eax, 0x7f0
shr eax, 4
mov eax, dword [ebx + eax*4 + 0x30ea0]
shr edi, 4
add eax, dword [ebx + edi*4 + 0x30ea0]
mov edi, dword [ebp - 0x14]
add eax, dword [ebx + ecx*4 + 0x37858]
mov ecx, dword [ebp - 0x44]
lea ecx, [ecx + ecx*2]
add ecx, ecx
add eax, edx
cmp eax, dword [ebx + ecx*8 + 0x6a0]
lea ecx, [ebx + ecx*8 + 0x6a0]
jae 0x100b023e
mov dword [ecx], eax
mov eax, 1
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x2c]
lea edx, [esi + edi]
add eax, 4
mov dword [ecx + 0x18], edx
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
cmp eax, dword [ebp - 0x3c]
je 0x100b0292
mov eax, dword [ebx + eax*4 + 0x310a4]
mov dword [ebp - 0x2c], eax
cmp eax, 0x80
jb 0x100b0284
mov edi, dword [ebp - 0x14]
mov ecx, 0x1ffff
sub ecx, eax
shr ecx, 0x1f
neg ecx
and ecx, 0xa
add ecx, 6
mov edx, eax
shr edx, cl
movzx edx, byte [edx + ebx + 0x306a0]
lea ecx, [edx + ecx*2]
mov dword [ebp - 0x18], ecx
add dword [ebp - 0x38], 4
add dword [ebp - 0x34], 0x30
inc esi
jmp 0x100affa7
inc edi
mov dword [ebp - 0x14], edi
cmp edi, dword [ebp - 8]
jne 0x100af640
jmp 0x100b02b3
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x2c]
mov dword [ebx + 0x698], eax
mov dword [ebx + 0x694], ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, edi
mov ecx, ebx
call fcn.100af010
add esp, 4
pop esi
pop edi
mov esp, ebp
pop ebp
ret