Function at 0xbc9a70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x9e04bd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
mov esi, 1
mov dword [ebp - 0x24], ebx
mov eax, esi
shl eax, cl
mov ecx, dword [ebp + 8]
push edi
cmp ecx, eax
ja 0xbc9c80
lea eax, [ecx - 1]
or eax, esi
bsr ecx, eax
mov eax, dword [ebx + 4]
push eax
mov dword [ebp - 0x18], eax
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [ebx + 0xc]
lea eax, [esi + esi]
push eax
call fcn.00bbb1a0
lea eax, [esi - 1]
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], 0
mov edi, dword [ebx + 4]
mov eax, dword [ebp - 0x18]
mov edi, dword [edi]
mov ecx, edi
cmp edi, eax
je 0xbc9c40
mov edx, dword [edi + 0x18]
lea ebx, [edi + 8]
mov ecx, dword [ecx]
mov dword [ebp - 0x10], edx
mov edx, dword [ebx + 0x14]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edx
cmp edx, 0xf
jbe 0xbc9b15
mov edx, dword [ebx]
mov dword [ebp - 0x1c], edx
xor esi, esi
mov edx, 0x811c9dc5
cmp dword [ebp - 0x10], esi
jbe 0xbc9b5c
mov ebx, dword [ebp - 0x10]
mov eax, edx
mov ecx, dword [ebp - 0x1c]
nop dword [eax]
movzx edx, byte [ecx + esi]
inc esi
xor edx, eax
imul eax, edx, 0x1000193
cmp esi, ebx
jb 0xbc9b30
mov ecx, dword [ebp - 0x14]
lea ebx, [edi + 8]
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x10]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
and edx, dword [esi + 0x18]
mov dword [ebp + 8], edx
mov edx, dword [esi + 0xc]
mov esi, dword [ebp + 8]
lea edx, [edx + esi*8]
mov dword [ebp + 8], edx
cmp dword [edx], eax
jne 0xbc9b7f
mov dword [edx], edi
mov dword [edx + 4], edi
jmp 0xbc9c36
mov esi, dword [edx + 4]
cmp dword [esi + 0x1c], 0xf
lea eax, [esi + 8]
mov edx, dword [eax + 0x10]
jbe 0xbc9b90
mov eax, dword [eax]
cmp dword [ebx + 0x14], 0xf
mov ecx, ebx
jbe 0xbc9b9a
mov ecx, dword [ebx]
push edx
mov edx, dword [ebp - 0x10]
push eax
call fcn.00bc8b30
add esp, 8
test al, al
je 0xbc9bd4
mov eax, dword [esi]
mov ecx, dword [ebp - 0x14]
cmp eax, edi
je 0xbc9bcc
mov ebx, dword [edi + 4]
mov dword [ebx], ecx
mov esi, dword [ecx + 4]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov dword [edx], edi
mov dword [eax + 4], esi
mov dword [ecx + 4], ebx
mov dword [edi + 4], edx
mov eax, dword [ebp + 8]
mov dword [eax + 4], edi
jmp 0xbc9c33
mov eax, dword [ebp + 8]
cmp dword [eax], esi
je 0xbc9c13
nop dword [eax + eax]
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 0xf
lea eax, [esi + 8]
mov edx, dword [eax + 0x10]
jbe 0xbc9bf1
mov eax, dword [eax]
cmp dword [ebp - 0x20], 0xf
mov ecx, ebx
jbe 0xbc9bfb
mov ecx, dword [ebx]
push edx
mov edx, dword [ebp - 0x10]
push eax
call fcn.00bc8b30
add esp, 8
test al, al
jne 0xbc9c61
mov eax, dword [ebp + 8]
cmp dword [eax], esi
jne 0xbc9be0
mov ebx, dword [edi + 4]
mov ecx, dword [ebp - 0x14]
mov dword [ebx], ecx
mov edx, dword [ecx + 4]
mov dword [edx], esi
mov eax, dword [esi + 4]
mov dword [eax], edi
mov dword [esi + 4], edx
mov dword [ecx + 4], ebx
mov dword [edi + 4], eax
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov eax, dword [ebp - 0x18]
mov edi, ecx
cmp ecx, eax
jne 0xbc9af4
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [edi + 4]
mov eax, dword [esi]
mov ecx, dword [ebp - 0x14]
mov dword [ebx], ecx
mov esi, dword [ecx + 4]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov dword [edx], edi
mov dword [eax + 4], esi
mov dword [ecx + 4], ebx
mov dword [edi + 4], edx
jmp 0xbc9c33
push 0x9f7068
call fcn.00bd38ea
int3