Function at 0x99f630
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x18
mov dword [esp + 8], ecx
cmp dword [ecx + 8], 0
je 0x99f6e0
mov eax, dword [esp + 8]
mov edx, dword [eax]
test edx, edx
je 0x99f6e0
mov dword [esp], 0x60616263
mov eax, 0x86ceb5bc
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x79314a44]
xor ecx, eax
mov esi, ecx
and esi, 0x6c01575
xor ecx, 0x17d05d75
lea ebx, [ecx + esi*2]
mov edi, 0x60
sub edi, ebx
lea ecx, [ecx + esi*2]
add ecx, 0x1f
and edi, 0x75
and ecx, 0x8a
or ecx, 1
sub ecx, edi
mov byte [esp + eax + 0x79314a44], cl
inc eax
cmp eax, 0x86ceb5c0
jne 0x99f670
mov eax, dword [esp]
mov ecx, dword [0x6c965c]
test ecx, ecx
je 0x99f729
xor ebx, ebx
mov esi, dword [0x6c9660]
nop
nop
nop
nop
nop
nop
cmp dword [esi + ebx*8], 0xddb7c3f3
je 0x99f70c
inc ebx
cmp ecx, ebx
jne 0x99f6d0
jmp 0x99f729
mov dword [esp], 0xc1809f96
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0xee
xor cl, byte [esp + eax]
add cl, 0x90
mov byte [esp + eax], cl
inc eax
cmp eax, 4
jne 0x99f6f0
mov eax, dword [esp]
jmp 0x99f8fb
mov ecx, dword [esi + ebx*8 + 4]
cmp ecx, eax
je 0x99f729
push dword [ebp + 8]
push edx
push 8
push ecx
push dword [0x6c9664]
call fcn.009a0a80
add esp, 0x14
cmp dword [ebp + 0xc], 0
je 0x99f82d
cmp eax, 0xc000010a
jne 0x99f82d
mov edi, dword [ebp + 0xc]
mov ecx, edi
and ecx, 0x270f
mov ebx, edi
and ebx, 0xffffd8f0
mov eax, ebx
xor eax, 0xffffd8f0
mul ecx
mov dword [esp + 0xc], eax
mov esi, edx
mov eax, edi
or eax, 0xffffd8f0
mul ebx
sub esi, ecx
sub edx, ebx
add eax, dword [esp + 0xc]
adc edx, esi
mov dword [esp], eax
mov dword [esp + 4], edx
mov eax, dword [esp + 8]
mov ebx, dword [eax]
mov dword [esp + 0x10], 0x60616263
mov eax, 0x86ceb5bc
nop
nop
nop
movzx ecx, byte [esp + eax + 0x79314a54]
xor ecx, eax
mov edx, ecx
and edx, 0x6c01575
xor ecx, 0x17d05d75
lea esi, [ecx + edx*2]
mov edi, 0x60
sub edi, esi
lea ecx, [ecx + edx*2]
add ecx, 0x1f
and edi, 0x75
and ecx, 0x8a
or ecx, 1
sub ecx, edi
mov byte [esp + eax + 0x79314a54], cl
inc eax
cmp eax, 0x86ceb5c0
jne 0x99f790
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x99f7df
mov esi, esp
mov eax, dword [esp + 0x10]
mov ecx, dword [0x6c965c]
test ecx, ecx
je 0x99f82d
mov edi, ebx
xor ebx, ebx
mov edx, dword [0x6c9660]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ebx*8], 0xa67d73aa
je 0x99f810
inc ebx
cmp ecx, ebx
jne 0x99f800
jmp 0x99f82d
mov ecx, dword [edx + ebx*8 + 4]
cmp ecx, eax
je 0x99f82d
push esi
push 0
push edi
push 0xc
push ecx
push dword [0x6c9664]
call fcn.009a0a80
add esp, 0x18
test eax, eax
js 0x99f8fb
mov ecx, dword [esp + 8]
mov ecx, dword [ecx]
test ecx, ecx
je 0x99f8fb
mov dword [esp + 0xc], ecx
mov dword [esp], 0x60616263
mov esi, 0x86ceb5bc
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + esi + 0x79314a44]
xor ecx, esi
mov edi, ecx
and edi, 0x6c01575
xor ecx, 0x17d05d75
lea ebx, [ecx + edi*2]
mov edx, 0x60
sub edx, ebx
lea ecx, [ecx + edi*2]
add ecx, 0x1f
and edx, 0x75
and ecx, 0x8a
or ecx, 1
sub ecx, edx
mov byte [esp + esi + 0x79314a44], cl
inc esi
cmp esi, 0x86ceb5c0
jne 0x99f860
mov ecx, dword [0x6c965c]
test ecx, ecx
je 0x99f8f1
mov edx, dword [esp]
xor ebx, ebx
mov esi, dword [0x6c9660]
nop
nop
nop
nop
nop
cmp dword [esi + ebx*8], 0xb430e561
je 0x99f8d0
inc ebx
cmp ecx, ebx
jne 0x99f8c0
jmp 0x99f8f1
mov ecx, dword [esi + ebx*8 + 4]
cmp ecx, edx
je 0x99f8f1
push dword [esp + 0xc]
push 4
push ecx
push dword [0x6c9664]
mov esi, eax
call fcn.009a0a80
mov eax, esi
add esp, 0x10
mov ecx, dword [esp + 8]
mov dword [ecx], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8