Function at 0x4464e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [esp + 0x34]
test eax, eax
je 0x44652a
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x446500
sar ecx, 1
mov edx, ecx
and edx, 2
mov esi, ecx
or ecx, 2
imul ecx, edx
xor edx, 2
and esi, 0xfffd
imul esi, edx
add ecx, esi
jmp 0x44652c
xor ecx, ecx
mov word [esp + 0x10], cx
mov edx, eax
test eax, eax
je 0x44653c
add ecx, 2
mov edx, ecx
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
mov word [esp + 0x12], dx
mov dword [esp + 0x14], eax
mov dword [esp], 0xf4f5fafb
mov dword [esp + 4], 0
mov eax, 0xf2b2e3d6
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0xd4d1c2a]
mov edx, ecx
and edx, eax
add dl, dl
sub cl, dl
movzx ecx, cl
add ecx, eax
add cl, 0xd2
mov byte [esp + eax + 0xd4d1c2a], cl
inc eax
cmp eax, 0xf2b2e3de
jne 0x446570
mov ebx, dword [esp]
mov eax, dword [0x451b2c]
test eax, eax
je 0x4465ef
xor ecx, ecx
mov edx, dword [0x451b30]
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xbbe848dd
je 0x4465c0
inc ecx
cmp eax, ecx
jne 0x4465b0
jmp 0x4465ef
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x4465ef
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push 0
push 0
push 2
push edx
push dword [esp + 0x44]
push 6
push dword [0x451b34]
push eax
call fcn.00442050
add esp, 0x24
mov ebx, eax
mov dword [esp], 0xd7161947
mov word [esp + 4], 0
mov byte [esp + 6], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 6
xor cl, byte [esp + eax]
add cl, 0xe2
mov byte [esp + eax], cl
inc eax
cmp eax, 7
jne 0x446610
cmp ebx, dword [esp]
jne 0x44680a
push dword [esp + 0xc]
call fcn.0043f6b0
add esp, 4
mov dword [esp + 8], eax
mov ecx, dword [esp + 0xc]
mov dword [esp], 0xf4f5fafb
mov dword [esp + 4], 0
mov eax, 0xf2b2e3d6
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0xd4d1c2a]
mov ebx, edx
and ebx, eax
add bl, bl
sub dl, bl
movzx edx, dl
add edx, eax
add dl, 0xd2
mov byte [esp + eax + 0xd4d1c2a], dl
inc eax
cmp eax, 0xf2b2e3de
jne 0x446660
mov ebx, dword [esp]
mov eax, dword [0x451b2c]
test eax, eax
je 0x4466ee
mov edi, ebp
xor edx, edx
mov ebp, dword [0x451b30]
nop
nop
nop
cmp dword [ebp + edx*8], 0xbbe848dd
je 0x4466b7
inc edx
cmp eax, edx
jne 0x4466a0
mov ebp, edi
mov edi, dword [esp + 0x38]
jmp 0x4466ee
mov eax, dword [ebp + edx*8 + 4]
cmp eax, ebx
mov ebp, edi
mov edi, dword [esp + 0x38]
je 0x4466ee
lea edx, [esp + 0xc]
lea ebx, [esp + 0x10]
push edx
push ecx
mov ecx, dword [esp + 0x10]
push ecx
push 2
push ebx
push dword [esp + 0x44]
push 6
push dword [0x451b34]
push eax
call fcn.00442050
add esp, 0x24
mov ebx, eax
test ebx, ebx
js 0x4467fe
test edi, edi
je 0x446703
mov eax, dword [esp + 8]
mov eax, dword [eax + 4]
mov dword [edi], eax
test ebp, ebp
je 0x4467fe
mov dword [esp + 0x18], ebx
test esi, esi
je 0x4467ed
mov eax, dword [esp + 0x40]
mov ebx, dword [eax]
mov ecx, dword [esp + 8]
mov ecx, dword [ecx + 8]
cmp ebx, ecx
jb 0x44672a
mov ebx, ecx
mov edx, dword [esp + 8]
lea ebp, [edx + 0xc]
mov ecx, ebx
shr ecx, 2
mov edi, esi
xchg esi, ebp
rep movsd dword es:[edi], dword [esi]
xchg esi, ebp
mov ecx, ebx
and ecx, 0xfffffffc
add esi, ecx
add edx, ecx
add edx, 0xc
mov ecx, ebx
and ecx, 3
mov ebp, ecx
not ebp
or ebp, 1
add ebp, ecx
shr ecx, 1
mov eax, edx
mov edi, esi
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov ecx, ebp
inc ecx
je 0x4467ed
and ebx, 2
add esi, ebx
add edx, ebx
mov edi, ecx
and edi, 7
je 0x446792
xor eax, eax
nop
nop
nop
nop
movzx ebx, byte [edx + eax]
mov byte [esi + eax], bl
inc eax
cmp edi, eax
jne 0x446780
add edx, eax
add esi, eax
sub ecx, eax
cmp ebp, 7
jb 0x4467ed
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [edx + eax]
mov byte [esi + eax], bl
movzx ebx, byte [edx + eax + 1]
mov byte [esi + eax + 1], bl
movzx ebx, byte [edx + eax + 2]
mov byte [esi + eax + 2], bl
movzx ebx, byte [edx + eax + 3]
mov byte [esi + eax + 3], bl
movzx ebx, byte [edx + eax + 4]
mov byte [esi + eax + 4], bl
movzx ebx, byte [edx + eax + 5]
mov byte [esi + eax + 5], bl
movzx ebx, byte [edx + eax + 6]
mov byte [esi + eax + 6], bl
movzx ebx, byte [edx + eax + 7]
mov byte [esi + eax + 7], bl
add eax, 8
cmp ecx, eax
jne 0x4467a0
mov eax, dword [esp + 8]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x40]
mov dword [ecx], eax
mov ebx, dword [esp + 0x18]
push dword [esp + 8]
call fcn.0043f730
add esp, 4
mov eax, ebx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret