Function at 0x4bee1c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 9
push 0
push 0
dec ecx
jne 0x4bee25
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4bf15b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, ebx
mov edx, dword [0x446bd8]
call fcn.004034f0
test al, al
je 0x4beebf
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebp + 0x14]
jl 0x4bf101
cmp eax, dword [ebp + 0x10]
jg 0x4bf101
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
sub ebx, esi
jl 0x4bef2d
inc ebx
lea edx, [ebp - 0x14]
mov eax, esi
call fcn.00408b24
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov edx, 0x4bf174
call fcn.00404454
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00420498
mov edx, dword [eax]
call dword [edx + 0xc8]
add byte [ebp - 9], al
cmp esi, dword [ebp + 0x10]
jge 0x4beeb9
shl byte [ebp - 9], 1
inc esi
dec ebx
jne 0x4bee81
jmp 0x4bef2d
mov eax, ebx
mov edx, dword [0x443cd0]
call fcn.004034f0
test al, al
je 0x4bf101
mov esi, ebx
mov eax, dword [esi + 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 8]
call fcn.00404554
jne 0x4beeff
lea edx, [ebp - 0x18]
mov eax, esi
call fcn.00452ab4
mov eax, dword [ebp - 0x18]
xor edx, edx
call fcn.00408c9c
mov byte [ebp - 9], al
jmp 0x4bef2d
mov eax, dword [ebx + 8]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 8]
call fcn.00404554
jne 0x4bf101
lea edx, [ebp - 0x1c]
mov eax, esi
call fcn.00452ab4
mov eax, dword [ebp - 0x1c]
call fcn.00404608
call fcn.004becdc
mov byte [ebp - 9], al
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
sub ebx, esi
jl 0x4bef6f
inc ebx
lea edx, [ebp - 0x24]
mov eax, esi
call fcn.00408b24
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov edx, 0x4bf174
call fcn.00404454
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00420498
xor edx, edx
mov dword [eax + 0x120], edx
mov dword [eax + 0x124], edx
inc esi
dec ebx
jne 0x4bef38
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x218], edx
mov dword [eax + 0x21c], edx
mov eax, dword [ebp + 0x18]
xor edx, edx
mov dword [eax + 0x218], edx
mov dword [eax + 0x21c], edx
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
sub ebx, esi
jg 0x4befeb
dec ebx
mov eax, esi
sub eax, dword [ebp + 0x10]
cdq
xor eax, edx
sub eax, edx
mov ecx, eax
xor eax, eax
mov al, byte [ebp - 9]
shr eax, cl
and eax, 1
cmp eax, 1
sete al
push eax
lea edx, [ebp - 0x2c]
mov eax, esi
call fcn.00408b24
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov edx, 0x4bf174
call fcn.00404454
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.00420498
pop edx
mov ecx, dword [eax]
call dword [ecx + 0xcc]
dec esi
inc ebx
jne 0x4bef9c
lea edx, [ebp - 0x30]
xor ebx, ebx
mov bl, byte [ebp - 9]
mov eax, ebx
call fcn.00408b24
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 8]
call fcn.00452ae4
mov al, byte [0x4bf180]
push eax
lea eax, [ebp - 0x34]
push eax
lea edx, [ebp - 0x40]
mov eax, dword [ebp + 0x18]
call fcn.00452ab4
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.00408704
mov eax, dword [ebp - 0x3c]
call fcn.00404408
mov edx, eax
lea ecx, [ebp - 0x38]
mov eax, ebx
call fcn.00408c38
mov eax, dword [ebp - 0x38]
mov ecx, 0x4bf18c
mov edx, 0x4bf198
call fcn.0040dca4
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp + 0x18]
call fcn.00452ae4
mov eax, dword [ebp + 0x18]
mov si, 0xffb5
call fcn.00403560
test al, al
je 0x4bf091
lea edx, [ebp - 0x48]
mov eax, dword [ebp + 0x18]
call fcn.00452ab4
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
call fcn.00408704
mov eax, dword [ebp - 0x44]
call fcn.00404408
mov edx, eax
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
call dword [ecx + 0xdc]
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
sub ebx, esi
jl 0x4bf0d7
inc ebx
lea edx, [ebp - 0x50]
mov eax, esi
call fcn.00408b24
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
mov edx, 0x4bf174
call fcn.00404454
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 4]
call fcn.00420498
mov edx, dword [ebp + 8]
mov dword [eax + 0x120], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x124], edx
inc esi
dec ebx
jne 0x4bf09c
mov eax, dword [ebp - 8]
mov edx, dword [ebp + 8]
mov dword [eax + 0x218], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x21c], edx
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 8]
mov dword [eax + 0x218], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x21c], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bf162
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.0040415c
lea eax, [ebp - 0x48]
call fcn.00404138
lea eax, [ebp - 0x44]
call fcn.00404138
lea eax, [ebp - 0x40]
call fcn.00404138
lea eax, [ebp - 0x3c]
mov edx, 8
call fcn.0040415c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0040415c
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040415c
ret