Function at 0x40fdf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x577760]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, 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 0x40fe4b
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]
pop edi
mov dword [ebx + 0x1c], edx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004be8b8
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 0x40fe6c
lea eax, [ebp - 0x40]
push eax
mov esi, ebx
call fcn.0040fb30
add esp, 4
mov dword [ebp - 0x2c], eax
jmp 0x40fe78
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 0x40fe9f
pop esi
mov dword [edi], 0xffffffff
pop edi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004be8b8
mov esp, ebp
pop ebp
ret
cmp eax, 0x111
jbe 0x40fead
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
lea ecx, [ecx]
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 0x40ff31
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x40ff31
mov eax, 2
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x68], eax
jbe 0x40ff1c
lea edx, [esi + 2]
sub ecx, esi
mov al, byte [edx]
cmp al, byte [ecx + edx]
mov eax, dword [ebp - 0x60]
jne 0x40ff19
inc eax
inc edx
mov dword [ebp - 0x60], eax
cmp eax, dword [ebp - 0x68]
jb 0x40ff05
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x64]
mov dword [ebp + edi - 0x24], eax
cmp eax, dword [ebp + ecx - 0x24]
jbe 0x40ff39
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x64], edi
jmp 0x40ff39
mov dword [ebp + edi - 0x24], 0
inc edx
mov dword [ebp - 0x4c], edx
cmp edx, 4
jb 0x40fed0
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 0x40ff81
mov edx, dword [ebp - 0x7c]
mov dword [edx], eax
lea eax, [edi - 1]
test eax, eax
je 0x40ff6e
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
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004be8b8
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x2c]
cmp eax, ecx
jb 0x40ffc8
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 0x410f80
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
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004be8b8
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 0x410001
cmp byte [ebp - 0x25], cl
je 0x410001
cmp edi, 2
jae 0x410001
mov eax, dword [ebp - 0x7c]
pop esi
pop edi
mov dword [eax], 0xffffffff
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004be8b8
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 0x410056
lea eax, [ebx + 0x30f34]
push eax
movzx eax, byte [ebp - 0x2d]
push esi
call fcn.0040f4f0
add esp, 8
jmp 0x410061
lea edx, [ebx + 0x30f34]
call fcn.0040f4b0
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 0x41011f
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 0x41011f
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 0x41012e
mov dword [ebp - 0x48], eax
jmp 0x410133
mov dword [ebp - 0x48], ecx
mov eax, ecx
cmp eax, 2
jae 0x410159
mov ecx, dword [ebx + 0x780]
mov edx, dword [ebp - 0x7c]
pop esi
pop edi
mov dword [edx], ecx
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004be8b8
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]
nop
mov dword [ecx], 0x40000000
dec eax
sub ecx, 0x30
cmp eax, 2
jae 0x410190
xor edi, edi
mov esi, dword [ebp + edi*4 - 0x24]
cmp esi, 2
jb 0x410203
mov edx, dword [ebp - 0x34]
push edx
mov edx, dword [ebx + 0x44]
push edi
mov ecx, ebx
call fcn.0040fc10
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, 8
lea eax, [ebx + eax*4 + 0x378b4]
add ecx, ebx
lea ecx, [ecx]
mov edx, dword [eax]
add edx, dword [ebp - 0x44]
cmp edx, dword [ecx - 0x1c]
jae 0x4101f7
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 0x4101e0
inc edi
cmp edi, 4
jb 0x4101a1
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 0x41022f
inc ecx
jmp 0x410234
mov ecx, 2
mov dword [ebp - 0x60], ecx
cmp ecx, dword [ebp - 0x2c]
ja 0x41032e
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp ecx, dword [ebx + 0x31134]
jbe 0x41025f
lea ecx, [ecx]
add eax, 2
cmp ecx, dword [ebx + eax*4 + 0x31134]
ja 0x410250
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 0x41029f
mov eax, 3
cmp esi, 0x80
jae 0x4102b5
shl eax, 7
add eax, esi
add edx, dword [ebx + eax*4 + 0x31dc8]
jmp 0x4102f2
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 0x410307
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 0x41031e
add eax, 2
mov dword [ebp - 0x2c], eax
cmp eax, dword [ebp - 0x40]
je 0x41032e
add dword [ebp - 0x4c], 4
inc ecx
mov dword [ebp - 0x60], ecx
add edi, 0x30
jmp 0x41027d
mov edi, 1
mov dword [ebp - 0x3c], edi
cmp dword [ebp - 0x48], edi
je 0x410f70
nop
lea edx, [ebp - 0x64]
push edx
mov esi, ebx
call fcn.0040fb30
add esp, 4
mov dword [ebp - 0x78], eax
cmp eax, dword [ebx + 0x2c]
jae 0x410f67
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 0x4103d4
dec eax
cmp dword [esi + 0x740], 0
je 0x4103bf
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 0x4103af
mov ecx, dword [ecx*4 + 0x55b4f8]
mov edx, dword [ecx*4 + 0x55b498]
jmp 0x4103e0
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 + 0x55b498]
jmp 0x4103e0
lea edx, [eax + eax*2]
add edx, edx
mov ecx, dword [ebx + edx*8 + 0x738]
mov edx, dword [ecx*4 + 0x55b498]
jmp 0x4103e0
lea ecx, [eax + eax*2]
add ecx, ecx
mov edx, dword [ebx + ecx*8 + 0x738]
dec edi
cmp eax, edi
jne 0x41040c
cmp dword [esi + 0x750], 0
jne 0x4103fd
mov edx, dword [edx*4 + 0x55b528]
mov dword [ebp - 0x54], edx
jmp 0x4104ab
mov eax, dword [edx*4 + 0x55b498]
mov dword [ebp - 0x54], eax
jmp 0x4104ab
mov ecx, dword [esi + 0x73c]
test ecx, ecx
je 0x410437
cmp dword [esi + 0x740], 0
je 0x410437
mov ecx, dword [esi + 0x748]
mov eax, dword [esi + 0x744]
mov edx, dword [edx*4 + 0x55b4f8]
mov dword [ebp - 0x2c], ecx
jmp 0x41045e
mov ecx, dword [esi + 0x750]
mov dword [ebp - 0x2c], ecx
cmp ecx, 4
jae 0x410454
mov ecx, dword [edx*4 + 0x55b4f8]
mov dword [ebp - 0x54], ecx
mov ecx, dword [ebp - 0x2c]
jmp 0x410461
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 0x410584
mov eax, dword [edx + ecx*4 + 0x20]
mov dword [ebp - 0x14], eax
mov eax, 1
cmp ecx, eax
jb 0x410497
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 0x4104a8
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 0x4105a1
movzx ecx, byte [ebp - 0x25]
lea eax, [ebx + 0x30f34]
push eax
movzx eax, byte [ebp - 0x2d]
push edx
call fcn.0040f4f0
add esp, 8
jmp 0x4105f0
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 0x4104ab
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 0x4105b4
mov eax, ecx
mov edx, dword [ebp - 0x58]
add edx, eax
mov dword [ebp - 0x58], edx
cmp edx, dword [esi + 0x764]
jae 0x41062a
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 0x4106e2
mov eax, dword [esi + 0x77c]
cmp eax, dword [ebp - 0x3c]
jae 0x41068a
cmp dword [esi + 0x780], 0
je 0x4106e2
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 0x4106e2
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 0x4106f9
mov ecx, eax
mov dword [ebp - 0x4c], eax
cmp ecx, 2
jb 0x410f53
mov ecx, dword [ebp - 0x4c]
mov esi, dword [ebx + 0x2c]
mov dword [ebp - 0x68], ecx
cmp ecx, esi
jbe 0x410712
mov dword [ebp - 0x68], esi
cmp dword [ebp - 0x40], 0
jne 0x410863
mov dl, byte [ebp - 0x25]
cmp byte [ebp - 0x2d], dl
je 0x410863
lea eax, [esi + 1]
mov dword [ebp - 0x38], eax
cmp eax, ecx
jbe 0x410737
mov eax, ecx
mov dword [ebp - 0x38], ecx
mov esi, 1
cmp eax, esi
jbe 0x410756
mov ecx, dword [ebp - 0x5c]
lea eax, [edi + 1]
sub ecx, edi
mov dl, byte [eax]
cmp dl, byte [ecx + eax]
jne 0x410756
inc esi
inc eax
cmp esi, dword [ebp - 0x38]
jb 0x410748
dec esi
mov dword [ebp - 0x2c], esi
cmp esi, 2
jb 0x410863
mov eax, dword [ebp - 0x54]
mov eax, dword [eax*4 + 0x55b498]
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 0x4107f2
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 0x4107e6
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 0x410863
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 0x410b63
mov al, byte [edi + 1]
mov ecx, dword [ebp - 0x58]
cmp al, byte [ecx + 1]
jne 0x410b63
mov esi, 2
mov dword [ebp - 0x34], esi
cmp dword [ebp - 0x68], esi
jbe 0x4108c1
lea eax, [edi + 2]
sub ecx, edi
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx + eax]
jne 0x4108be
inc esi
inc eax
cmp esi, dword [ebp - 0x68]
jb 0x4108b0
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 0x4108ef
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 0x4108e3
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x34]
push edx
mov edx, dword [ebp - 0x54]
push eax
mov ecx, ebx
mov dword [ebp - 0x44], esi
call fcn.0040fc10
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, 8
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 0x410957
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 0x410936
cmp dword [ebp - 0x2c], 0
jne 0x410973
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 0x41098d
mov ecx, edx
mov dword [ebp - 0x38], edx
cmp eax, ecx
jae 0x4109b4
mov edx, dword [ebp - 0x58]
lea ecx, [eax + edi]
sub edx, edi
lea esp, [esp]
mov al, byte [ecx]
cmp al, byte [ecx + edx]
mov eax, dword [ebp - 0x34]
jne 0x4109b4
inc eax
inc ecx
mov dword [ebp - 0x34], eax
cmp eax, dword [ebp - 0x38]
jb 0x4109a0
or ecx, 0xffffffff
sub ecx, esi
add eax, ecx
mov dword [ebp - 0x34], eax
cmp eax, 2
jb 0x410b63
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.0040f4f0
mov edx, dword [ebp - 0x54]
mov edx, dword [edx*4 + 0x55b4f8]
mov edi, dword [ebx + 0x58]
mov ecx, dword [ebp - 0x38]
and ecx, edi
mov esi, edx
mov edx, dword [edx*4 + 0x55b498]
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 0x410ae0
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]
add edi, 0x30
dec eax
mov dword [edi], 0x40000000
jne 0x410ad4
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 0x410b63
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 0x410871
mov edx, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x68]
cmp edx, ecx
jbe 0x410ba9
mov edx, ecx
xor eax, eax
mov dword [ebp - 0x78], edx
cmp ecx, dword [ebx + 0x31134]
jbe 0x410b9c
lea esp, [esp]
add eax, 2
cmp ecx, dword [ebx + eax*4 + 0x31134]
ja 0x410b90
mov dword [ebx + eax*4 + 0x31134], ecx
add eax, 2
mov dword [ebp - 0x64], eax
cmp edx, dword [ebp - 0x40]
jb 0x410f53
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 0x410bff
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 0x410bf3
mov ecx, dword [ebp - 0x40]
xor eax, eax
mov dword [ebp - 0x58], eax
cmp ecx, dword [ebx + 0x31134]
jbe 0x410c1f
nop
add eax, 2
cmp ecx, dword [ebx + eax*4 + 0x31134]
ja 0x410c10
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 0x410c96
mov ecx, 3
cmp eax, 0x80
jae 0x410cab
shl ecx, 7
add ecx, eax
add edx, dword [ebx + ecx*4 + 0x31dc8]
jmp 0x410cc9
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 0x410ce9
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 0x410f45
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 0x410d18
mov eax, edx
mov dword [ebp - 0x38], edx
cmp esi, eax
jae 0x410d4d
mov edx, edi
sub edx, ecx
lea eax, [ecx + esi]
mov dword [ebp - 0x6c], edx
jmp 0x410d36
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x70]
mov dl, byte [edx + eax]
cmp dl, byte [eax]
jne 0x410d4d
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 0x410d30
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 0x410f01
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.0040f4f0
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 + 0x55b498]
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 0x410e7c
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 0x410e70
add edi, 0x30
dec eax
mov dword [edi], 0x40000000
jne 0x410e70
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 0x410f01
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 0x410f53
mov eax, dword [ebx + eax*4 + 0x31138]
mov dword [ebp - 0x34], eax
cmp eax, 0x80
jb 0x410f45
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 0x410c75
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
mov edi, eax
cmp eax, dword [ebp - 0x48]
jne 0x410340
jmp 0x410f70
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.0040fd00
add esp, 4
mov ecx, dword [ebp - 4]
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.004be8b8
mov esp, ebp
pop ebp
ret