Function at 0x46fc98
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x98], 0xffffffff
sete byte [ebp - 9]
mov dl, 1
mov eax, dword [0x4125fc]
call fcn.004032e4
mov dword [ebp - 8], eax
push ebp
call fcn.0046fb20
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46fd55
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, esi
call fcn.00414b70
mov edi, eax
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 8]
dec ebx
cmp ebx, 0
jl 0x46fd20
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.00414b70
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 4]
mov edx, dword [edi + 0x4c]
cmp eax, dword [edx + 4]
jne 0x46fd1a
cmp byte [edi + 8], 0
je 0x46fd1a
xor edi, edi
jmp 0x46fd20
dec ebx
cmp ebx, 0xffffffff
jne 0x46fcf8
test edi, edi
je 0x46fd4f
mov eax, edi
call fcn.0046f43c
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0046faa0
cmp byte [edi + 9], 0
jne 0x46fd4b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, esi
call fcn.00414a60
mov byte [ebp - 9], 1
dec esi
cmp esi, 0xffffffff
jne 0x46fcda
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x46fdf8
inc eax
mov dword [ebp - 0x10], eax
xor esi, esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x46fdee
inc edi
xor ebx, ebx
mov edx, esi
mov eax, dword [ebp - 8]
call fcn.00414b70
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, ebx
call fcn.00414b70
mov eax, dword [eax + 0x4c]
pop edx
cmp edx, dword [eax + 4]
jne 0x46fdea
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, ebx
call fcn.00414b70
cmp byte [eax + 8], 0
je 0x46fdea
mov edx, esi
mov eax, dword [ebp - 8]
call fcn.00414b70
xor edx, edx
mov dword [eax + 4], edx
mov edx, esi
mov eax, dword [ebp - 8]
call fcn.00414b70
call fcn.00403314
xor ecx, ecx
mov edx, esi
mov eax, dword [ebp - 8]
call fcn.00414cbc
jmp 0x46fdee
inc ebx
dec edi
jne 0x46fd7e
inc esi
dec dword [ebp - 0x10]
jne 0x46fd6a
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x46fe4f
inc eax
mov dword [ebp - 0x10], eax
xor esi, esi
mov edx, esi
mov eax, dword [ebp - 8]
call fcn.00414b70
test eax, eax
je 0x46fe49
mov edx, esi
mov eax, dword [ebp - 8]
call fcn.00414b70
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.00414a14
mov byte [ebp - 9], 1
mov edx, esi
mov eax, dword [ebp - 8]
call fcn.00414b70
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.0046fa80
inc esi
dec dword [ebp - 0x10]
jne 0x46fe09
mov eax, dword [ebp - 8]
call fcn.00403314
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x88], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x8c], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x90], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x46fed7
inc eax
mov dword [ebp - 0x10], eax
xor esi, esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, esi
call fcn.00414b70
mov edi, eax
mov al, byte [edi + 9]
xor al, 1
and eax, 0x7f
mov edx, dword [ebp - 4]
add dword [edx + 0x88], eax
xor eax, eax
mov al, byte [edi + 9]
mov edx, dword [ebp - 4]
add dword [edx + 0x8c], eax
mov al, byte [edi + 8]
xor al, 1
and eax, 0x7f
mov edx, dword [ebp - 4]
add dword [edx + 0x90], eax
inc esi
dec dword [ebp - 0x10]
jne 0x46fe8f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
mov edx, dword [ebp - 4]
sub dword [edx + 0x8c], eax
cmp byte [ebp - 9], 0
je 0x46fef7
mov eax, dword [ebp - 4]
call fcn.0046fac0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret