Function at 0x4466e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [esp + 8], 0x34353a3b
mov word [esp + 0xc], 0
mov byte [esp + 0xe], 0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov eax, 0x2d2e5e76
mov esi, 0xd2d1a189
nop
nop
nop
movzx ebx, byte [esp + eax - 0x2d2e5e6e]
mov edx, eax
and edx, ebx
add edx, edx
sub edx, ebx
add edx, esi
and edx, eax
mov ebp, edx
and ebp, 0x2d2e5e7d
mov ecx, edx
and ecx, 2
mov edi, edx
or edi, 0xfffffffd
inc edi
imul edi, ebp
or edx, 2
imul edx, ecx
add edi, ebx
sub edi, edx
add edi, eax
mov edx, edi
and edx, 0x31
add edx, edx
xor edi, 0x4e
sub edx, edi
mov byte [esp + eax - 0x2d2e5e6e], dl
inc eax
dec esi
cmp eax, 0x2d2e5e7d
jne 0x446710
mov esi, dword [esp + 8]
mov eax, dword [0x45316c]
test eax, eax
je 0x4467ba
xor ecx, ecx
mov edx, dword [0x453170]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xffff4170
je 0x446790
inc ecx
cmp eax, ecx
jne 0x446780
jmp 0x4467ba
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x4467ba
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push 2
push dword [esp + 0x40]
push 5
push dword [0x453174]
push eax
call fcn.004421f0
add esp, 0x20
mov esi, eax
cmp esi, 0xc0000023
jne 0x446a3a
push dword [esp + 0x18]
call fcn.0043f350
add esp, 4
mov dword [esp + 4], eax
mov dword [esp], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov dword [esp + 8], 0x34353a3b
mov word [esp + 0xc], 0
mov byte [esp + 0xe], 0
mov edi, 0x2d2e5e76
mov eax, 0xd2d1a189
nop
movzx ecx, byte [esp + edi - 0x2d2e5e6e]
mov edx, edi
and edx, ecx
add edx, edx
sub edx, ecx
add edx, eax
and edx, edi
mov ebx, edx
and ebx, 0x2d2e5e7d
mov esi, edx
and esi, 2
mov ebp, edx
or ebp, 0xfffffffd
inc ebp
imul ebp, ebx
or edx, 2
imul edx, esi
add ebp, ecx
sub ebp, edx
add ebp, edi
mov ecx, ebp
and ecx, 0x31
add ecx, ecx
xor ebp, 0x4e
sub ecx, ebp
mov byte [esp + edi - 0x2d2e5e6e], cl
inc edi
dec eax
cmp edi, 0x2d2e5e7d
jne 0x446800
mov esi, dword [esp + 8]
mov ecx, dword [0x45316c]
test ecx, ecx
je 0x446880
xor edx, edx
mov edi, dword [0x453170]
mov ebp, dword [esp + 0x3c]
mov ebx, dword [esp]
cmp dword [edi + edx*8], 0xffff4170
je 0x446889
inc edx
cmp ecx, edx
jne 0x446870
jmp 0x4468b4
mov ebp, dword [esp + 0x3c]
mov ebx, dword [esp]
jmp 0x4468b4
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, esi
je 0x4468b4
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
push ebx
push 2
push dword [esp + 0x40]
push 5
push dword [0x453174]
push ecx
call fcn.004421f0
add esp, 0x20
mov esi, eax
test esi, esi
mov edi, dword [esp + 0x44]
js 0x446a31
cmp dword [esp + 0x38], 0
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
je 0x4469e8
cmp dword [esp + 0x34], 0
je 0x4469da
mov ecx, dword [ebx + 0x10]
shr ecx, 1
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
cmp eax, ecx
jb 0x4468ef
mov eax, ecx
test eax, eax
mov ebp, dword [esp + 0x34]
je 0x4469c9
add dword [esp + 4], 0x2c
mov ecx, eax
and ecx, 3
je 0x446950
mov dword [esp + 0x14], eax
xor edi, edi
nop
nop
nop
mov eax, dword [esp + 4]
movzx ebx, word [eax]
xor edx, edx
test bx, bx
setne dl
lea eax, [eax + edx*2]
mov dword [esp + 4], eax
mov word [ebp], bx
add ebp, 2
inc edi
cmp ecx, edi
jne 0x446910
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x14]
mov ebp, eax
sub ebp, edi
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x44]
mov ebx, dword [esp]
cmp eax, 4
jae 0x446957
jmp 0x4469c9
mov ebp, eax
cmp eax, 4
jb 0x4469c9
mov ebx, dword [esp + 0x10]
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
movzx edx, word [eax]
xor ecx, ecx
test dx, dx
setne cl
lea edi, [eax + ecx*2]
mov word [ebx], dx
movzx eax, word [eax + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea edx, [edi + ecx*2]
mov word [ebx + 2], ax
movzx eax, word [edi + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea edi, [edx + ecx*2]
mov word [ebx + 4], ax
movzx ecx, word [edx + ecx*2]
xor eax, eax
test cx, cx
setne al
mov word [ebx + 6], cx
add ebx, 8
lea eax, [edi + eax*2]
mov dword [esp + 4], eax
add ebp, 0xfffffffc
jne 0x446960
mov dword [esp + 0x10], ebx
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x44]
mov ebx, dword [esp]
mov eax, dword [esp + 0x10]
mov word [eax], 0
mov ecx, dword [esp + 0x48]
mov ebp, dword [esp + 0x3c]
mov eax, dword [ebx + 0x10]
shr eax, 1
mov ebx, dword [esp + 0x38]
mov dword [ebx], eax
mov ebx, dword [esp]
test ebp, ebp
je 0x4469f2
mov eax, dword [ebx + 0x14]
mov dword [ebp], eax
mov ebp, dword [esp + 0x40]
test ebp, ebp
je 0x446a02
mov eax, dword [ebx + 0x18]
shr eax, 1
mov dword [ebp], eax
test edi, edi
je 0x446a0d
mov eax, dword [ebx + 0x1c]
shr eax, 1
mov dword [edi], eax
test ecx, ecx
je 0x446a16
mov eax, dword [ebx + 0x20]
mov dword [ecx], eax
test edx, edx
je 0x446a21
mov eax, dword [ebx + 0x24]
shr eax, 1
mov dword [edx], eax
cmp dword [esp + 0x50], 0
je 0x446a31
mov eax, dword [ebx + 0x28]
mov ecx, dword [esp + 0x50]
mov dword [ecx], eax
push ebx
call fcn.0043f400
add esp, 4
mov eax, esi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret