Function at 0x45ace0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x4af480]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x88], ebx
mov ecx, dword [ebx + 0x690]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x70], esi
cmp dword [ebx + 0x68c], ecx
je 0x45ad4e
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.0047d2db
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x31938], 0
mov dword [ebx + 0x68c], 0
mov dword [ebx + 0x690], 0
jne 0x45ad80
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.0045dea0
mov dword [ebp - 0x30], eax
add esp, 8
mov eax, dword [ebp - 0x44]
jmp 0x45ad8f
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 - 0x48], eax
cmp edi, 2
jb 0x45bf34
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 - 0x38], 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 0x45add3
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 0x45ae2b
mov eax, dword [ebp - 0x2c]
mov al, byte [eax + 1]
cmp al, byte [edx]
jne 0x45ae2b
mov edx, 2
cmp edi, edx
jbe 0x45ae16
mov eax, dword [ebp - 0x2c]
sub esi, eax
lea ecx, [eax + 2]
mov al, byte [ecx]
cmp al, byte [esi + ecx]
jne 0x45ae13
inc edx
inc ecx
cmp edx, edi
jb 0x45ae06
mov ecx, dword [ebp - 0x50]
mov esi, dword [ebp - 0x38]
mov eax, ecx
mov dword [ebp + ecx*4 - 0x24], edx
cmp edx, dword [ebp + esi*4 - 0x24]
cmovbe eax, esi
mov dword [ebp - 0x38], eax
jmp 0x45ae36
mov eax, dword [ebp - 0x38]
mov dword [ebp + ecx*4 - 0x24], 0
inc ecx
mov dword [ebp - 0x50], ecx
cmp ecx, 4
jb 0x45add0
mov esi, dword [ebp + eax*4 - 0x24]
mov ecx, dword [ebx + 0x31934]
cmp esi, ecx
jb 0x45ae7e
mov ecx, dword [ebp - 0x70]
mov dword [ecx], eax
lea eax, [esi - 1]
test eax, eax
je 0x45ae6b
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.0047d2db
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x30]
cmp edi, ecx
jb 0x45aec3
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebx + eax*4 + 0x3109c]
add eax, 4
mov dword [ecx], eax
lea eax, [edi - 1]
test eax, eax
je 0x45aeb0
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.0047d2db
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 0x45aee8
cmp cl, al
je 0x45aee8
cmp esi, 2
jb 0x45bf31
mov eax, dword [ebx + 0x3194c]
mov ecx, 8
mov dword [ebx + 0x6a4], eax
mov eax, dword [ebp - 0x5c]
and eax, dword [ebx + 0x325a8]
sub cl, byte [ebx + 0x32598]
movzx edx, byte [edx - 1]
mov edi, dword [ebx + 0x3194c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x325a4]
and eax, dword [ebp - 0x5c]
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 - 0x44], eax
push edx
add ecx, dword [ebx + 0x325ac]
cmp edi, 7
jb 0x45af5c
movzx eax, byte [ebp - 0x26]
push eax
push dword [ebp - 0x44]
push ecx
call fcn.0045c7c0
add esp, 0x10
jmp 0x45af66
push eax
push ecx
call fcn.0045c770
add esp, 0xc
mov edx, dword [ebp - 0x2c]
mov ecx, eax
shl edi, 4
add edi, edx
movzx eax, word [ebx + edi*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 - 0x44], eax
mov dword [ebx + 0x6d8], 0
mov edi, dword [ebx + 0x3194c]
mov eax, edi
shl eax, 4
add eax, edx
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 - 0x54], 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 0x45b037
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 - 0x44]
jae 0x45b037
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 - 0x40], edi
cmp edi, 2
jae 0x45b051
mov ecx, dword [ebp - 0x70]
mov dword [ecx], eax
jmp 0x45bf3a
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
nop
dec ecx
mov dword [eax], 0x40000000
lea eax, [eax - 0x30]
cmp ecx, 2
jae 0x45b090
xor edi, edi
mov esi, dword [ebp + edi*4 - 0x24]
cmp esi, 2
jb 0x45b10d
push edx
push dword [ebx + 0x3194c]
push edi
push ebx
call fcn.0045c280
imul ecx, dword [ebp - 0x2c], 0x110
add esp, 0x10
add eax, dword [ebp - 0x50]
mov dword [ebp - 0x44], eax
lea eax, [ebx + 0x6bc]
add ecx, 0xde16
add ecx, esi
lea edx, [ebx + ecx*4]
lea ecx, [esi + esi*2]
shl ecx, 4
add eax, ecx
mov ecx, dword [edx]
add ecx, dword [ebp - 0x44]
cmp ecx, dword [eax - 0x1c]
jae 0x45b0fe
mov dword [eax - 0x1c], ecx
mov dword [eax - 4], 0
mov dword [eax], edi
mov dword [eax - 0x14], 0
dec esi
sub edx, 4
sub eax, 0x30
cmp esi, 2
jae 0x45b0e1
mov edx, dword [ebp - 0x2c]
inc edi
cmp edi, 4
jb 0x45b0a1
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 - 0x54]
mov dword [ebp - 0x44], eax
cmp edi, 2
jb 0x45b13c
inc edi
jmp 0x45b141
mov edi, 2
cmp edi, dword [ebp - 0x30]
ja 0x45b269
xor esi, esi
cmp edi, dword [ebx + 0x310a0]
jbe 0x45b160
add esi, 2
cmp edi, dword [ebx + esi*4 + 0x310a0]
ja 0x45b154
mov eax, edi
lea ecx, [ebx + 0x6bc]
shl eax, 5
add eax, 0x62ea
mov dword [ebp - 0x38], eax
lea eax, [edi - 2]
shl eax, 7
mov dword [ebp - 0x3c], eax
imul eax, edx, 0x110
add eax, 0xcc04
add eax, edi
lea eax, [ebx + eax*4]
mov dword [ebp - 0x30], eax
lea eax, [edi + edi*2]
shl eax, 4
add ecx, eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
add eax, dword [ebp - 0x44]
mov edx, dword [ebx + esi*4 + 0x310a4]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x54], eax
cmp edi, 5
jae 0x45b1c2
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x34]
jmp 0x45b1ce
mov eax, 0x180
mov dword [ebp - 0x50], 0x638a
cmp edx, 0x80
jae 0x45b1e1
add eax, edx
mov eax, dword [ebx + eax*4 + 0x31d50]
jmp 0x45b21d
mov eax, dword [ebp - 0x2c]
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
lea eax, [ecx + eax*2]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebx + eax*4]
and ecx, 0xf
add eax, dword [ebx + ecx*4 + 0x32550]
mov ecx, dword [ebp - 0x34]
add eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x2c]
cmp eax, dword [ecx - 0x1c]
jae 0x45b23e
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 0x45b24f
add esi, 2
cmp esi, dword [ebp - 0x48]
je 0x45b269
mov eax, dword [ebp - 0x30]
inc edi
add dword [ebp - 0x38], 0x20
add eax, 4
sub dword [ebp - 0x3c], 0xffffff80
add ecx, 0x30
mov dword [ebp - 0x30], eax
jmp 0x45b19a
mov edi, 1
mov dword [ebp - 0x34], edi
cmp dword [ebp - 0x40], edi
je 0x45bf12
nop word [eax + eax]
lea eax, [ebp - 0x50]
push eax
push ebx
call fcn.0045dea0
mov ecx, eax
add esp, 8
mov dword [ebp - 0x54], ecx
cmp ecx, dword [ebx + 0x31934]
jae 0x45bf03
inc dword [ebp - 0x5c]
lea esi, [edi + edi*2]
shl esi, 4
add esi, ebx
mov dword [ebp - 0x2c], esi
mov edx, dword [esi + 0x6a8]
mov ecx, dword [esi + 0x6b8]
test edx, edx
je 0x45b316
dec ecx
cmp dword [esi + 0x6ac], 0
je 0x45b301
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 0x45b2f1
mov edi, dword [eax*4 + 0x49a17c]
mov edi, dword [edi*4 + 0x49a11c]
jmp 0x45b322
mov edi, dword [eax*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 edi, dword [edi*4 + 0x49a11c]
jmp 0x45b322
lea eax, [ecx + ecx*2]
add eax, eax
mov edi, dword [ebx + eax*8 + 0x6a4]
mov edi, dword [edi*4 + 0x49a11c]
jmp 0x45b322
lea eax, [ecx + ecx*2]
add eax, eax
mov edi, dword [ebx + eax*8 + 0x6a4]
mov eax, dword [ebp - 0x34]
dec eax
cmp ecx, eax
jne 0x45b351
cmp dword [esi + 0x6bc], 0
jne 0x45b342
mov edi, dword [edi*4 + 0x49a1ac]
mov dword [ebp - 0x3c], edi
jmp 0x45b409
mov edi, dword [edi*4 + 0x49a11c]
mov dword [ebp - 0x3c], edi
jmp 0x45b409
test edx, edx
je 0x45b373
cmp dword [esi + 0x6ac], 0
je 0x45b373
mov ecx, dword [esi + 0x6b0]
mov edx, dword [esi + 0x6b4]
mov edi, dword [edi*4 + 0x49a17c]
jmp 0x45b38e
mov edx, dword [esi + 0x6bc]
cmp edx, 4
jae 0x45b387
mov edi, dword [edi*4 + 0x49a17c]
jmp 0x45b38e
mov edi, dword [edi*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]
lea eax, [ecx + ecx*2]
mov dword [ebp - 0x3c], edi
shl eax, 4
lea ecx, [ebx + 0x6a0]
add ecx, eax
mov dword [ebp - 0x44], ecx
cmp edx, 4
jae 0x45b3f1
mov eax, dword [ecx + edx*4 + 0x20]
mov dword [ebp - 0x14], eax
mov eax, 1
cmp edx, eax
jb 0x45b3d4
lea esi, [ecx + 0x20]
mov ecx, edx
lea eax, [edx + 1]
lea edi, [ebp - 0x10]
rep movsd dword es:[edi], dword [esi]
cmp eax, 4
jb 0x45b3d1
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x3c]
jmp 0x45b409
mov ecx, dword [ebp - 0x44]
lea esi, [ecx + 0x20]
mov ecx, 4
lea edi, [ebp - 0x14]
sub ecx, eax
lea edi, [edi + eax*4]
lea esi, [esi + eax*4]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x3c]
jmp 0x45b409
lea eax, [edx - 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 0x24]
mov dword [ebp - 0xc], eax
mov eax, dword [ecx + 0x28]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x6a4], edi
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 - 0x58], edi
mov dword [ebp - 0x60], 0
call eax
mov edx, dword [ebp - 0x5c]
add esp, 4
and edx, dword [ebx + 0x325a8]
mov dword [ebp - 0x64], edx
lea ecx, [eax - 1]
mov al, byte [ecx]
mov byte [ebp - 0x25], al
mov eax, ecx
sub eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x38], eax
mov al, byte [eax]
mov byte [ebp - 0x26], al
mov eax, dword [ebp - 0x3c]
shl eax, 4
add eax, edx
movzx edx, byte [ecx - 1]
mov dword [ebp - 0x4c], 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 - 0x44], eax
mov ecx, 8
sub cl, byte [ebx + 0x32598]
mov eax, dword [ebx + 0x325a4]
and eax, dword [ebp - 0x5c]
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 - 0x3c], 7
mov dword [ebp - 0x68], ecx
jb 0x45b4f2
lea eax, [ebx + 0x30ea0]
push eax
movzx eax, byte [ebp - 0x26]
push eax
push edx
push ecx
call fcn.0045c7c0
add esp, 0x10
mov edi, eax
jmp 0x45b532
mov esi, dword [ebp - 0x68]
xor edi, edi
or edx, 0x100
nop dword [eax]
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 0x45b500
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 0x45b570
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 0x45b573
mov edi, dword [ebp - 0x60]
mov eax, dword [ebp - 0x4c]
movzx eax, word [ebx + eax*2 + 0x325b0]
xor eax, 0x7f0
shr eax, 4
mov ecx, dword [ebx + eax*4 + 0x30ea0]
mov eax, dword [ebp - 0x3c]
add ecx, dword [ebp - 0x58]
mov dword [ebp - 0x84], 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 - 0x74], eax
cmp cl, ch
jne 0x45b632
mov eax, dword [ebp - 0x34]
cmp dword [esi + 0x6e8], eax
jae 0x45b5d3
cmp dword [esi + 0x6ec], 0
je 0x45b632
mov eax, dword [ebp - 0x4c]
movzx ecx, word [ebx + eax*2 + 0x32790]
mov eax, dword [ebp - 0x3c]
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 - 0x74]
cmp ecx, edx
ja 0x45b62c
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 esi, 0xfff
sub esi, dword [ebp - 0x34]
cmp esi, eax
cmovae esi, eax
mov dword [ebp - 0x7c], esi
cmp esi, 2
jb 0x45bed4
mov eax, dword [ebx + 0x31934]
mov edx, esi
cmp esi, eax
cmova edx, eax
mov dword [ebp - 0x68], edx
test edi, edi
jne 0x45b7a9
cmp cl, ch
je 0x45b7a9
inc eax
lea edx, [edi + 1]
cmp eax, esi
mov ecx, esi
cmovbe ecx, eax
cmp ecx, edx
jbe 0x45b699
mov esi, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x48]
mov al, byte [edx + ebx]
cmp al, byte [esi + edx]
jne 0x45b693
inc edx
cmp edx, ecx
jb 0x45b686
mov ebx, dword [ebp - 0x88]
lea eax, [edx - 1]
mov dword [ebp - 0x4c], eax
cmp eax, 2
jb 0x45b7a9
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x5c]
add edx, dword [ebp - 0x34]
inc edi
and edi, dword [ebx + 0x325a8]
mov esi, dword [eax*4 + 0x49a11c]
mov eax, esi
shl eax, 4
add eax, edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x60], 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 - 0x40]
cmp eax, edx
jae 0x45b72f
lea eax, [eax + eax*2]
mov ecx, edx
shl eax, 4
add eax, 0x6a0
add eax, ebx
sub ecx, dword [ebp - 0x40]
mov dword [ebp - 0x40], edx
nop word [eax + eax]
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x45b720
mov eax, dword [ebp - 0x60]
mov edi, dword [ebp - 0x3c]
movzx ecx, word [ebx + eax*2 + 0x32790]
mov eax, dword [edi*4 + 0x49a11c]
xor ecx, 0x7f0
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]
imul eax, dword [ebp - 0x58], 0x110
add eax, dword [ebp - 0x4c]
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 0x45b7a9
mov eax, dword [ebp - 0x34]
inc eax
mov dword [edx], ecx
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], 0
mov dword [edx + 8], 1
mov dword [edx + 0xc], 0
mov edi, 2
xor edx, edx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x38], edx
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 - 0x4c], esi
cmp al, byte [esi]
jne 0x45bac0
mov eax, dword [ebp - 0x48]
mov al, byte [eax + 1]
cmp al, byte [ecx]
jne 0x45bac0
mov edi, dword [ebp - 0x68]
mov esi, 2
cmp edi, esi
jbe 0x45b804
mov edx, dword [ebp - 0x48]
lea eax, [ecx - 1]
lea ecx, [eax + 2]
sub edx, eax
mov al, byte [ecx + edx]
cmp al, byte [ecx]
jne 0x45b801
inc esi
inc ecx
cmp esi, edi
jb 0x45b7f4
mov edx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x40]
add edi, esi
cmp eax, edi
jae 0x45b83f
lea eax, [eax + eax*2]
mov ecx, edi
shl eax, 4
add eax, 0x6a0
add eax, ebx
sub ecx, dword [ebp - 0x40]
mov dword [ebp - 0x40], edi
nop word [eax + eax]
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x45b830
push dword [ebp - 0x64]
mov dword [ebp - 0x30], esi
push dword [ebp - 0x3c]
push edx
push ebx
call fcn.0045c280
add eax, dword [ebp - 0x74]
add esp, 0x10
mov dword [ebp - 0x58], eax
imul eax, dword [ebp - 0x64], 0x110
mov dword [ebp - 0x78], eax
lea ecx, [eax + 0xde16]
add ecx, esi
lea edx, [ebx + ecx*4]
add ebx, 0x6bc
lea ecx, [edi + edi*2]
mov edi, dword [ebp - 0x38]
shl ecx, 4
add ecx, ebx
mov ebx, dword [ebp - 0x34]
mov eax, dword [edx]
add eax, dword [ebp - 0x58]
cmp eax, dword [ecx - 0x1c]
jae 0x45b89a
mov dword [ecx - 0x1c], eax
mov dword [ecx - 4], ebx
mov dword [ecx], edi
mov dword [ecx - 0x14], 0
dec esi
sub edx, 4
sub ecx, 0x30
cmp esi, 2
jae 0x45b881
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x38]
inc ecx
mov ebx, dword [ebp - 0x88]
test edx, edx
mov esi, dword [ebp - 0x7c]
mov eax, ecx
cmovne eax, dword [ebp - 0x2c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebx + 0x31934]
add eax, ecx
cmp eax, esi
cmovbe esi, eax
cmp ecx, esi
jae 0x45b8f0
mov eax, dword [ebp - 0x4c]
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 0x45b8ed
inc ecx
inc edx
cmp ecx, esi
jb 0x45b8e0
mov edx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x60]
mov eax, 0xffffffff
sub eax, dword [ebp - 0x30]
mov dword [ebp - 0x80], ecx
add ecx, eax
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x2c], edi
cmp ecx, 2
jb 0x45bac0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x5c]
add esi, ecx
mov edi, dword [eax*4 + 0x49a17c]
lea eax, [ebx + 0x30ea0]
push eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [ecx + eax]
push eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [ecx + eax]
push eax
mov eax, dword [ebp - 0x44]
movzx edx, byte [eax + ecx]
mov ecx, 8
sub cl, byte [ebx + 0x32598]
mov eax, esi
and eax, dword [ebx + 0x325a4]
shr edx, cl
mov ecx, dword [ebx + 0x32598]
shl eax, cl
add edx, eax
imul eax, edx, 0x600
add eax, dword [ebx + 0x325ac]
push eax
call fcn.0045c7c0
mov edx, eax
mov ecx, edi
mov eax, dword [ebx + 0x325a8]
add esp, 0x10
shl ecx, 4
and esi, eax
add esi, ecx
movzx ecx, word [ebx + esi*2 + 0x325b0]
mov esi, dword [edi*4 + 0x49a11c]
mov edi, dword [ebp - 0x5c]
shr ecx, 4
inc edi
add edx, dword [ebx + ecx*4 + 0x30ea0]
mov ecx, dword [ebp - 0x78]
add ecx, dword [ebp - 0x30]
add edx, dword [ebx + ecx*4 + 0x37858]
mov ecx, dword [ebp - 0x30]
add edx, dword [ebp - 0x58]
add ecx, edi
and ecx, eax
mov dword [ebp - 0x58], esi
mov eax, esi
mov dword [ebp - 0x4c], ecx
shl eax, 4
add eax, ecx
mov dword [ebp - 0x78], eax
movzx ecx, word [ebx + eax*2 + 0x325b0]
movzx eax, word [ebx + esi*2 + 0x32730]
xor ecx, 0x7f0
mov esi, dword [ebp - 0x80]
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 - 0x40]
cmp edx, esi
jae 0x45ba2f
lea eax, [edx + edx*2]
mov dword [ebp - 0x40], esi
shl eax, 4
mov ecx, esi
add eax, 0x6a0
add eax, ebx
sub ecx, edx
nop word [eax + eax]
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x45ba20
mov eax, dword [ebp - 0x78]
movzx ecx, word [ebx + eax*2 + 0x32790]
mov eax, dword [ebp - 0x58]
xor ecx, 0x7f0
shr ecx, 4
movzx eax, word [ebx + eax*2 + 0x32748]
mov edx, dword [ebx + ecx*4 + 0x30ea0]
lea ecx, [ebx + 0x6a0]
shr eax, 4
add edx, dword [ebx + eax*4 + 0x30ea0]
imul eax, dword [ebp - 0x4c], 0x110
add eax, dword [ebp - 0x6c]
add edx, dword [ebx + eax*4 + 0x37858]
lea eax, [esi + esi*2]
mov esi, dword [ebp - 0x60]
add edx, edi
shl eax, 4
mov edi, esi
add ecx, eax
mov dword [ebp - 0x2c], edi
cmp edx, dword [ecx]
jae 0x45babd
mov eax, dword [ebp - 0x30]
mov dword [ecx], edx
inc eax
mov edx, dword [ebp - 0x34]
add eax, edx
mov dword [ecx + 0x10], edx
mov edx, dword [ebp - 0x38]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], 0
mov dword [ecx + 8], 1
mov dword [ecx + 0xc], 1
mov dword [ecx + 0x14], edx
mov dword [ebp - 0x2c], edi
jmp 0x45bac0
mov edx, dword [ebp - 0x38]
inc edx
mov dword [ebp - 0x38], edx
cmp edx, 4
jb 0x45b7b6
mov edx, dword [ebp - 0x68]
cmp dword [ebp - 0x54], edx
jbe 0x45bafe
xor eax, eax
xor ecx, ecx
cmp edx, dword [ebx + 0x310a0]
jbe 0x45baef
add eax, 2
mov ecx, eax
cmp edx, dword [ebx + eax*4 + 0x310a0]
ja 0x45bae1
mov dword [ebx + eax*4 + 0x310a0], edx
lea eax, [ecx + 2]
mov dword [ebp - 0x50], eax
jmp 0x45bb01
mov edx, dword [ebp - 0x54]
cmp edx, edi
jb 0x45bed4
mov eax, dword [ebp - 0x3c]
add edx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x40]
movzx eax, word [ebx + eax*2 + 0x32730]
shr eax, 4
mov eax, dword [ebx + eax*4 + 0x30ea0]
add dword [ebp - 0x84], eax
cmp esi, edx
jae 0x45bb51
lea eax, [esi + esi*2]
mov dword [ebp - 0x40], edx
shl eax, 4
mov ecx, edx
add eax, 0x6a0
add eax, ebx
sub ecx, esi
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x45bb42
xor esi, esi
mov dword [ebp - 0x38], esi
cmp edi, dword [ebx + 0x310a0]
jbe 0x45bb6f
nop
add esi, 2
cmp edi, dword [ebx + esi*4 + 0x310a0]
ja 0x45bb60
mov dword [ebp - 0x38], esi
lea edi, [esi*4]
mov ecx, 0x1ffff
mov edx, dword [edi + ebx + 0x310a4]
sub ecx, edx
shr ecx, 0x1f
mov eax, edx
neg ecx
mov dword [ebp - 0x68], edx
and ecx, 0xa
add ecx, 6
shr eax, cl
movzx eax, byte [eax + ebx + 0x306a0]
lea eax, [eax + ecx*2]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x60], eax
mov eax, ecx
shl eax, 6
add eax, 0xc5d4
mov dword [ebp - 0x74], eax
lea esi, [ecx + 1]
mov eax, ecx
shl eax, 7
add eax, 0xc654
mov dword [ebp - 0x4c], eax
imul eax, dword [ebp - 0x64], 0x110
add eax, 0xcc04
add eax, ecx
lea eax, [ebx + eax*4]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x34]
add eax, ecx
lea eax, [eax + eax*2]
shl eax, 4
add eax, 0x6bc
add eax, ebx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
add eax, dword [ebp - 0x84]
mov dword [ebp - 0x6c], eax
lea eax, [esi - 1]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x8c], eax
cmp eax, 5
jae 0x45bc14
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x74]
jmp 0x45bc1e
mov eax, 0xc8d4
mov ecx, 0xc714
cmp edx, 0x80
jae 0x45bc2d
add eax, edx
mov eax, dword [ebx + eax*4]
jmp 0x45bc41
mov eax, dword [ebp - 0x60]
add eax, ecx
mov ecx, edx
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 - 0x6c]
mov dword [ebp - 0x6c], eax
cmp eax, dword [ecx - 0x1c]
jae 0x45bc64
mov dword [ecx - 0x1c], eax
mov eax, dword [ebp - 0x34]
mov dword [ecx - 4], eax
lea eax, [edx + 4]
mov dword [ecx], eax
mov dword [ecx - 0x14], 0
lea eax, [esi - 1]
cmp eax, dword [edi + ebx + 0x310a0]
jne 0x45beb7
mov edi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x2c]
sub edi, edx
mov eax, dword [ebx + 0x31934]
dec edi
mov esi, dword [ebp - 0x7c]
add eax, ecx
cmp eax, esi
mov dword [ebp - 0x54], edi
mov edx, ecx
cmovbe esi, eax
cmp ecx, esi
jae 0x45bcb0
add ecx, edi
mov edi, dword [ebp - 0x48]
sub edi, dword [ebp - 0x54]
nop
mov al, byte [ecx + edi]
cmp al, byte [ecx]
jne 0x45bcad
inc edx
inc ecx
cmp edx, esi
jb 0x45bca0
mov ecx, dword [ebp - 0x2c]
mov eax, 0xffffffff
mov dword [ebp - 0x80], edx
lea esi, [ecx - 1]
sub eax, esi
add edx, eax
mov dword [ebp - 0x58], edx
cmp edx, 2
jb 0x45be66
mov esi, dword [ebp - 0x5c]
lea eax, [ebx + 0x30ea0]
push eax
mov eax, dword [ebp - 0x54]
dec esi
add esi, ecx
mov edi, esi
and edi, dword [ebx + 0x325a8]
movzx eax, byte [ecx + eax - 1]
push eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [ecx + eax]
push eax
mov eax, dword [ebp - 0x48]
movzx edx, byte [ecx + eax - 2]
mov ecx, 8
sub cl, byte [ebx + 0x32598]
mov eax, dword [ebx + 0x325a4]
and eax, esi
shr edx, cl
mov ecx, dword [ebx + 0x32598]
shl eax, cl
add edx, eax
imul eax, edx, 0x600
add eax, dword [ebx + 0x325ac]
push eax
call fcn.0045c7c0
mov ecx, dword [ebp - 0x3c]
mov edx, eax
add esp, 0x10
mov eax, 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, eax
shl ecx, 4
add ecx, edi
mov esi, dword [eax*4 + 0x49a11c]
mov eax, esi
shl eax, 4
movzx ecx, word [ebx + ecx*2 + 0x325b0]
shr ecx, 4
mov dword [ebp - 0x78], esi
add edx, dword [ebx + ecx*4 + 0x30ea0]
lea ecx, [edi + 1]
and ecx, dword [ebx + 0x325a8]
add edx, dword [ebp - 0x6c]
add eax, ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x6c], eax
movzx ecx, word [ebx + eax*2 + 0x325b0]
movzx eax, word [ebx + esi*2 + 0x32730]
xor ecx, 0x7f0
mov esi, dword [ebp - 0x80]
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 - 0x40]
cmp edx, esi
jae 0x45bddf
lea eax, [edx + edx*2]
mov dword [ebp - 0x40], esi
shl eax, 4
mov ecx, esi
add eax, 0x6a0
add eax, ebx
sub ecx, edx
nop word [eax + eax]
mov dword [eax + 0x30], 0x40000000
lea eax, [eax + 0x30]
sub ecx, 1
jne 0x45bdd0
mov eax, dword [ebp - 0x6c]
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 - 0x54], 0x110
add eax, dword [ebp - 0x58]
add edx, dword [ebx + eax*4 + 0x37858]
add edx, edi
cmp edx, dword [ecx]
jae 0x45be66
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ecx], edx
mov edx, dword [ebp - 0x34]
add eax, edx
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x68]
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 - 0x38]
add esi, 2
mov dword [ebp - 0x38], esi
cmp esi, dword [ebp - 0x50]
je 0x45bed4
lea edi, [esi*4]
mov esi, dword [ebp - 0x2c]
mov edx, dword [edi + ebx + 0x310a4]
mov dword [ebp - 0x68], edx
cmp edx, 0x80
jb 0x45beb4
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 - 0x60], eax
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x64]
add ecx, 0x30
add dword [ebp - 0x74], 0x40
add eax, 4
sub dword [ebp - 0x4c], 0xffffff80
inc esi
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x30], ecx
jmp 0x45bbf0
mov edi, dword [ebp - 0x34]
inc edi
mov dword [ebp - 0x34], edi
cmp edi, dword [ebp - 0x40]
jne 0x45b280
mov ecx, dword [ebp - 0x70]
push edi
push ecx
push ebx
call fcn.0045a6a0
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047d2db
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x50]
mov dword [ebx + 0x698], eax
mov dword [ebx + 0x694], ecx
mov ecx, dword [ebp - 0x70]
push edi
push ecx
push ebx
call fcn.0045a6a0
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047d2db
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x70]
mov dword [esi], 0xffffffff
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047d2db
mov esp, ebp
pop ebp
ret