Function at 0x4b0ff0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x41c
mov eax, dword [0x7c6ee4]
xor eax, esp
mov dword [esp + 0x418], eax
push ebx
xor eax, eax
mov byte [esp + 8], 0
push ebp
push esi
mov word [esp + 0x11], ax
mov esi, ecx
mov ecx, dword [0x7c81bc]
mov byte [esp + 0x13], al
mov byte [esp + 0x41c], al
mov dword [esp + 0x41d], eax
mov byte [esp + 0x421], al
mov dword [esp + 0xc], eax
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.004a7020
mov ecx, dword [0x7c81bc]
lea eax, [esp + 0x20]
push eax
call fcn.004a7670
test al, al
jne 0x4b1061
mov edi, 0xe002
jmp 0x4b12af
push 0x3e8
call dword [0x530340]
add esp, 4
mov ecx, esi
call fcn.004b3ed0
mov edi, eax
cmp edi, 0x9000
jne 0x4b12af
mov eax, dword [0x7c50b4]
mov ecx, esi
mov dword [esi + 0x212fe], eax
mov eax, dword [0x7c50b8]
mov dword [esi + 0x21302], eax
call fcn.004b0780
cmp eax, edi
je 0x4b10af
mov edi, 0xe021
jmp 0x4b12af
movzx eax, byte [esi + 0x212f9]
lea edi, [esi + 0x212f6]
mov dword [esi + 0x24], eax
movzx ecx, byte [esi + 0x212f8]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x24], ecx
movzx edx, byte [esi + 0x212f7]
shl edx, 0x10
or edx, ecx
mov ecx, esi
mov dword [esi + 0x24], edx
movzx eax, byte [edi]
shl eax, 0x18
or eax, edx
mov dword [esi + 0x24], eax
call fcn.004afe40
cmp eax, 0xe023
jne 0x4b12aa
lea ebp, [esi + 0x212c5]
mov ecx, esi
push ebp
lea eax, [esi + 0x182b0]
push eax
movzx eax, byte [esi + 0x212b0]
push eax
push 0
push edi
call fcn.004b75f0
mov bl, 1
mov ecx, esi
mov byte [esp + 0x1c], bl
call fcn.004b5ee0
cmp eax, 0x9000
je 0x4b1169
nop
cmp bl, 9
ja 0x4b12a3
push ebp
lea eax, [esi + 0x182b0]
mov ecx, esi
push eax
movzx eax, byte [esi + 0x212b0]
push eax
push dword [esp + 0x28]
push edi
call fcn.004b75f0
inc bl
mov ecx, esi
mov byte [esp + 0x1c], bl
call fcn.004b5ee0
cmp eax, 0x9000
jne 0x4b1130
lea eax, [esp + 0x10]
mov ecx, esi
push eax
push 1
lea eax, [esp + 0x428]
push eax
push 1
push 0
push 0
push 0x202cc
call fcn.004b4f40
mov edi, eax
cmp edi, 0x9000
jne 0x4b12af
lea eax, [esp + 0x10]
mov byte [esp + 0x15], 0
push eax
push 1
lea eax, [esp + 0x428]
mov ecx, esi
push eax
push 2
lea eax, [esp + 0x25]
push eax
push 1
push 0x202dc
call fcn.004b4f40
mov edi, eax
cmp edi, 0x9000
jne 0x4b12af
lea eax, [esp + 0x10]
mov ecx, esi
push eax
push 1
lea eax, [esp + 0x428]
push eax
push 5
push 0
push 0
push 0x50204
call fcn.004b4f40
mov edi, eax
cmp edi, 0x9000
jne 0x4b12af
lea ecx, [esp + 0x420]
mov ebx, esi
mov edx, ecx
mov edi, esi
sub ebx, edx
sub edi, edx
mov edx, 4
nop dword [eax]
nop dword [eax + eax]
mov al, byte [ebx + ecx + 0x212d6]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [edi + ecx + 0x38], al
sub edx, 1
jne 0x4b1220
lea eax, [esp + 0x10]
mov ecx, esi
push eax
push 1
lea eax, [esp + 0x428]
push eax
push 5
push edx
push edx
push 0x50205
call fcn.004b4f40
mov edi, eax
cmp edi, 0x9000
jne 0x4b12af
cmp dword [esp + 0x10], 5
jne 0x4b12aa
lea ecx, [esp + 0x420]
mov ebp, esi
mov edx, ecx
sub ebp, edx
mov edx, 4
nop dword [eax + eax]
mov al, byte [ecx + ebx + 0x212d6]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ecx + ebp + 0x3c], al
sub edx, 1
jne 0x4b1280
mov byte [esi + 0x18], 1
mov byte [esi + 0x212b9], 1
jmp 0x4b12af
mov edi, 0xe023
jmp 0x4b12af
mov edi, 0xe025
mov ecx, esi
call fcn.004b76e0
mov ecx, dword [esp + 0x428]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0050b38b
add esp, 0x41c
ret