Function at 0x447f30
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
push 0x2000
push 0
push esi
call fcn.0046a470
add esp, 0xc
xor ebp, ebp
mov dword [esp + 0x14], ebp
test ebp, ebp
jne 0x44802d
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov dword [esi + 0x180], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x184], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x188], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0x18c], edx
mov edi, 4
lea eax, [edi + 0x10]
shl eax, 4
lea ecx, [eax + esi]
lea eax, [edi + 8]
shl eax, 5
mov edx, dword [eax + esi]
add eax, esi
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
push ecx
mov dword [ecx + 0xc], eax
call fcn.00447df0
sar edi, 1
add esp, 4
test edi, edi
jg 0x447f85
mov ecx, dword [esi + 0x110]
mov edx, dword [esi + 0x114]
lea eax, [esi + 0x80]
mov dword [eax], ecx
mov ecx, dword [esi + 0x118]
mov dword [eax + 4], edx
mov edx, dword [esi + 0x11c]
mov dword [eax + 8], ecx
push eax
mov dword [eax + 0xc], edx
call fcn.00447df0
add esp, 4
mov edi, 4
mov eax, edi
shl eax, 4
lea ecx, [eax + esi]
mov eax, edi
shl eax, 5
mov edx, dword [eax + esi]
add eax, esi
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
push ecx
mov dword [ecx + 0xc], eax
call fcn.00447df0
sar edi, 1
add esp, 4
test edi, edi
jg 0x447ff3
jmp 0x4480cb
cmp ebp, 1
jle 0x4480cb
lea ecx, [ebp - 2]
shl ecx, 4
mov eax, ebp
shl eax, 4
mov edi, 8
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
jmp 0x448058
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
add ecx, edi
shl ecx, 4
mov edx, dword [ecx + esi]
add ecx, esi
add eax, edi
shl eax, 4
mov dword [eax + esi], edx
mov edx, dword [ecx + 4]
add eax, esi
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov edx, dword [eax + 8]
mov ebx, ecx
mov ebp, edx
shr ebp, 0x18
shl ecx, 8
or ebp, ecx
mov ecx, dword [eax + 4]
mov dword [eax + 0xc], ebp
mov ebp, ecx
shr ebp, 0x18
shl edx, 8
or ebp, edx
mov edx, dword [eax]
mov dword [eax + 8], ebp
mov ebp, edx
shl ecx, 8
shr ebp, 0x18
or ebp, ecx
shr ebx, 0x18
mov dword [eax + 4], ebp
movzx ecx, word [ebx*2 + 0x493ca0]
shl edx, 8
xor ecx, edx
sar edi, 1
mov dword [eax], ecx
test edi, edi
jg 0x448050
mov ebp, dword [esp + 0x14]
mov edx, ebp
shl edx, 8
mov ebx, ebp
lea eax, [edx + esi + 0x10]
shl ebx, 4
mov edi, 2
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ebx
lea ecx, [ebx + edi]
shl ecx, 4
cmp edi, 1
lea edx, [ecx + esi]
mov ecx, dword [esp + 0x18]
lea eax, [edx + 0x10]
jle 0x448142
lea ebx, [edi - 1]
mov edi, edi
mov ebp, dword [ecx]
xor ebp, dword [edx]
add ecx, 4
mov dword [eax], ebp
mov ebp, dword [ecx]
xor ebp, dword [edx + 4]
add eax, 4
mov dword [eax], ebp
mov ebp, dword [ecx + 4]
xor ebp, dword [edx + 8]
add ecx, 4
add eax, 4
mov dword [eax], ebp
mov ebp, dword [ecx + 4]
xor ebp, dword [edx + 0xc]
add ecx, 4
add eax, 4
mov dword [eax], ebp
add eax, 4
add ecx, 4
sub ebx, 1
jne 0x448100
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
add edi, edi
cmp edi, 0x10
jl 0x4480e6
inc ebp
cmp ebp, 0x20
mov dword [esp + 0x14], ebp
jl 0x447f51
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret