Function at 0x446a50
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [esp + 8], 0x34353a3b
mov word [esp + 0xc], 0
mov byte [esp + 0xe], 0
mov eax, 0x2d2e5e76
mov esi, 0xd2d1a189
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + eax - 0x2d2e5e6e]
mov edx, eax
and edx, edi
add edx, edx
sub edx, edi
add edx, esi
and edx, eax
mov ebp, edx
and ebp, 0x2d2e5e7d
mov ecx, edx
and ecx, 2
mov ebx, edx
or ebx, 0xfffffffd
inc ebx
imul ebx, ebp
or edx, 2
imul edx, ecx
add ebx, edi
sub ebx, edx
add ebx, eax
mov edx, ebx
and edx, 0x31
add edx, edx
xor ebx, 0x4e
sub edx, ebx
mov byte [esp + eax - 0x2d2e5e6e], dl
inc eax
dec esi
cmp eax, 0x2d2e5e7d
jne 0x446a80
mov ebp, dword [esp + 8]
mov eax, dword [0x45316c]
test eax, eax
je 0x446b2e
xor ecx, ecx
mov edx, dword [0x453170]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xc59b8bcb
je 0x446b00
inc ecx
cmp eax, ecx
jne 0x446af0
jmp 0x446b2e
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebp
je 0x446b2e
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 1
push dword [esp + 0x40]
push dword [esp + 0x40]
push 6
push dword [0x453174]
push eax
call fcn.004421f0
add esp, 0x24
mov ebp, eax
cmp ebp, 0xc0000023
jne 0x446ddc
push dword [esp + 0x14]
call fcn.0043f350
add esp, 4
mov dword [esp + 4], eax
mov dword [esp], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x34353a3b
mov word [esp + 0xc], 0
mov byte [esp + 0xe], 0
mov edx, 0x2d2e5e76
mov eax, 0xd2d1a189
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + edx - 0x2d2e5e6e]
mov esi, edx
and esi, ecx
add esi, esi
sub esi, ecx
add esi, eax
and esi, edx
mov edi, esi
and edi, 0x2d2e5e7d
mov ebx, esi
and ebx, 2
mov ebp, esi
or ebp, 0xfffffffd
inc ebp
imul ebp, edi
or esi, 2
imul esi, ebx
add ebp, ecx
sub ebp, esi
add ebp, edx
mov ecx, ebp
and ecx, 0x31
add ecx, ecx
xor ebp, 0x4e
sub ecx, ebp
mov byte [esp + edx - 0x2d2e5e6e], cl
inc edx
dec eax
cmp edx, 0x2d2e5e7d
jne 0x446b80
mov ebp, dword [esp + 8]
mov ecx, dword [0x45316c]
test ecx, ecx
je 0x446c14
xor edx, edx
mov esi, dword [0x453170]
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x34]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xc59b8bcb
je 0x446cae
inc edx
cmp ecx, edx
jne 0x446c00
jmp 0x446c1c
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x34]
mov esi, dword [esp]
test ebp, ebp
js 0x446dd3
cmp dword [esp + 0x38], 0
mov edx, dword [esp + 0x3c]
je 0x446d65
test edi, edi
je 0x446d5a
mov ecx, dword [esi + 0x10]
shr ecx, 1
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
cmp eax, ecx
jb 0x446c4f
mov eax, ecx
test eax, eax
je 0x446d51
add dword [esp + 4], 0x14
mov ecx, eax
and ecx, 3
je 0x446ce9
mov dword [esp + 0x10], eax
xor esi, esi
nop
nop
nop
mov eax, dword [esp + 4]
mov ebx, edi
movzx edi, word [eax]
xor edx, edx
test di, di
setne dl
lea eax, [eax + edx*2]
mov dword [esp + 4], eax
mov word [ebx], di
mov edi, ebx
add edi, 2
inc esi
cmp ecx, esi
jne 0x446c70
mov eax, dword [esp + 0x10]
mov ecx, eax
sub ecx, esi
mov edx, dword [esp + 0x3c]
mov esi, dword [esp]
cmp eax, 4
jae 0x446cf0
jmp 0x446d51
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, ebp
mov esi, dword [esp]
je 0x446c1f
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x14]
push esi
push 1
push dword [esp + 0x40]
push dword [esp + 0x40]
push 6
push dword [0x453174]
push ecx
call fcn.004421f0
add esp, 0x24
mov ebp, eax
jmp 0x446c1f
mov ecx, eax
cmp eax, 4
jb 0x446d51
mov eax, dword [esp + 4]
movzx edx, word [eax]
xor ebx, ebx
test dx, dx
setne bl
lea esi, [eax + ebx*2]
mov word [edi], dx
movzx eax, word [eax + ebx*2]
xor edx, edx
test ax, ax
setne dl
lea ebx, [esi + edx*2]
mov word [edi + 2], ax
movzx eax, word [esi + edx*2]
xor edx, edx
test ax, ax
setne dl
lea esi, [ebx + edx*2]
mov word [edi + 4], ax
movzx edx, word [ebx + edx*2]
xor eax, eax
test dx, dx
setne al
mov word [edi + 6], dx
add edi, 8
lea eax, [esi + eax*2]
mov dword [esp + 4], eax
add ecx, 0xfffffffc
jne 0x446cf0
mov edx, dword [esp + 0x3c]
mov esi, dword [esp]
mov word [edi], 0
mov ebx, dword [esp + 0x40]
mov eax, dword [esi + 0x10]
shr eax, 1
mov ecx, dword [esp + 0x38]
mov dword [ecx], eax
test edx, edx
je 0x446d6e
mov eax, dword [esi + 4]
mov dword [edx], eax
cmp dword [esp + 0x44], 0
je 0x446dd3
test ebx, ebx
je 0x446dca
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jb 0x446d88
mov eax, ecx
mov ecx, dword [esp]
mov esi, dword [ecx + 8]
add esi, dword [esp]
mov ecx, eax
shr ecx, 2
mov edx, eax
and edx, 0xfffffffc
mov edi, ebx
add ebx, edx
add edx, esi
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov ecx, eax
shr ecx, 1
and ecx, 1
mov esi, edx
mov edi, ebx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov esi, dword [esp]
test al, 1
je 0x446dca
and eax, 2
movzx ecx, byte [edx + eax]
mov byte [ebx + eax], cl
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x44]
mov dword [ecx], eax
push esi
call fcn.0043f400
add esp, 4
mov eax, ebp
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret