Function at 0x4b3df0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 9
push 0
push 0
dec ecx
jne 0x4b3df9
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
mov edi, dword [ebp + 0x1c]
xor eax, eax
push ebp
push 0x4b412b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x31], 0
mov eax, dword [ebp + 0x10]
call fcn.00499ff0
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
je 0x4b4102
shr dword [ebp - 0x38], 3
xor eax, eax
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
push 0
lea eax, [ebp - 0x48]
push eax
push 0
lea eax, [ebp - 0x4c]
push eax
xor ecx, ecx
mov edx, edi
mov eax, esi
call fcn.004b1960
mov eax, dword [ebp - 0x38]
add eax, eax
push eax
mov eax, dword [ebp - 0x44]
pop edx
sub eax, edx
sub eax, 2
mov edx, dword [ebp + 8]
cmp eax, dword [edx]
jle 0x4b3e7c
mov edx, dword [ebp + 8]
mov dword [edx], eax
jmp 0x4b4102
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x1c]
mov ecx, 1
mov edx, dword [0x496de0]
call fcn.00406c9c
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
lea eax, [ebp - 0x20]
mov ecx, 1
mov edx, dword [0x496de0]
call fcn.00406c9c
add esp, 4
mov eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x24]
mov ecx, 1
mov edx, dword [0x496de0]
call fcn.00406c9c
add esp, 4
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, edi
mov eax, esi
call fcn.004b1960
mov ebx, dword [ebp - 0x1c]
jmp 0x4b3ef3
inc ebx
dec dword [ebp - 0x44]
cmp dword [ebp - 0x44], 0
jle 0x4b3efe
cmp byte [ebx], 0
je 0x4b3eef
mov eax, dword [ebp - 0x38]
add eax, eax
add eax, 2
cmp eax, dword [ebp - 0x44]
jg 0x4b4102
mov eax, dword [ebp - 0x44]
dec eax
shr eax, 2
inc eax
add eax, eax
add eax, eax
inc eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x496de0]
call fcn.00406c9c
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, edi
mov eax, esi
call fcn.004b3674
mov ebx, dword [ebp - 4]
jmp 0x4b3f5a
inc ebx
dec dword [ebp - 0x3c]
cmp dword [ebp - 0x3c], 0
jle 0x4b3f65
cmp byte [ebx], 0
je 0x4b3f56
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x44]
jg 0x4b4102
push 0
mov ecx, dword [ebp + 0x10]
mov dl, 1
mov eax, dword [0x4ceb38]
call fcn.004cec64
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x40]
call fcn.004ceeb4
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x40]
call fcn.004ceebc
lea eax, [ebp - 0x40]
call fcn.0040fb10
mov eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x496de0]
call fcn.00406c9c
add esp, 4
mov edx, dword [ebp - 8]
mov eax, ebx
mov ecx, dword [ebp - 0x38]
call fcn.0040312c
mov eax, dword [ebp - 0x38]
add ebx, eax
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x38]
dec eax
push eax
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x496de0]
call fcn.00406c9c
add esp, 4
mov eax, dword [ebp - 0xc]
call fcn.00406ae0
mov ecx, eax
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.0040312c
mov eax, dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00406ae0
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x38]
call fcn.004b33bc
mov edx, dword [ebp - 0x38]
dec edx
test edx, edx
jl 0x4b403d
inc edx
xor eax, eax
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ecx + eax]
mov ebx, dword [ebp - 8]
xor byte [ebx + eax], cl
inc eax
dec edx
jne 0x4b402c
mov eax, dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00406ae0
mov ecx, eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x38]
call fcn.004b33bc
mov eax, dword [ebp - 0xc]
call fcn.00406ae0
mov edx, eax
dec edx
test edx, edx
jl 0x4b407d
inc edx
xor eax, eax
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ecx + eax]
mov ebx, dword [ebp - 0xc]
xor byte [ebx + eax], cl
inc eax
dec edx
jne 0x4b406c
mov eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x18]
mov ecx, 1
mov edx, dword [0x496de0]
call fcn.00406c9c
add esp, 4
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x38]
call fcn.0040312c
lea eax, [ebp - 0x28]
call fcn.004058d8
mov edx, eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x38]
call fcn.00409ca4
test al, al
je 0x4b4102
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x38]
lea ebx, [eax + edx]
mov eax, dword [ebp - 0xc]
call fcn.00406ae0
sub eax, dword [ebp - 0x38]
jmp 0x4b40d6
inc ebx
dec eax
test eax, eax
jle 0x4b40df
cmp byte [ebx], 0
je 0x4b40d4
test eax, eax
je 0x4b4102
cmp byte [ebx], 1
jne 0x4b4102
inc ebx
dec eax
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
mov edx, dword [ebp + 0xc]
mov eax, ebx
call fcn.0040312c
mov byte [ebp - 0x31], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b4132
lea eax, [ebp - 0x28]
call fcn.004053e8
lea eax, [ebp - 0x24]
mov edx, dword [0x496de0]
mov ecx, 9
call fcn.00406130
ret