Function at 0x446380
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
mov dword [esp], 0x34353a3b
mov word [esp + 4], 0
mov byte [esp + 6], 0
mov eax, 0x2d2e5e76
mov esi, 0xd2d1a189
nop
nop
nop
nop
movzx ebx, byte [esp + eax - 0x2d2e5e76]
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 - 0x2d2e5e76], dl
inc eax
dec esi
cmp eax, 0x2d2e5e7d
jne 0x4463b0
mov esi, dword [esp]
mov eax, dword [0x45316c]
test eax, eax
je 0x44645e
xor ecx, ecx
mov edx, dword [0x453170]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x8784ccde
je 0x446430
inc ecx
cmp eax, ecx
jne 0x446420
jmp 0x44645e
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x44645e
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push 0
push dword [esp + 0x44]
push dword [esp + 0x44]
push 6
push dword [0x453174]
push eax
call fcn.004421f0
add esp, 0x24
mov esi, eax
mov dword [esp], 0xcf0e092f
mov eax, 0xf3b98582
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0xc467a7e]
xor ecx, eax
add ecx, 0x3d606475
mov edx, ecx
xor edx, 0xa
and ecx, 0x75
add ecx, ecx
sub ecx, edx
add cl, 0xb
mov byte [esp + eax + 0xc467a7e], cl
inc eax
cmp eax, 0xf3b98586
jne 0x446470
cmp esi, dword [esp]
jne 0x4466cf
push dword [esp + 0x18]
call fcn.0043f350
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov dword [esp], 0x34353a3b
mov word [esp + 4], 0
mov byte [esp + 6], 0
mov edi, 0x2d2e5e76
mov eax, 0xd2d1a189
movzx ecx, byte [esp + edi - 0x2d2e5e76]
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 - 0x2d2e5e76], cl
inc edi
dec eax
cmp edi, 0x2d2e5e7d
jne 0x4464e0
mov esi, dword [esp]
mov ecx, dword [0x45316c]
test ecx, ecx
je 0x446564
xor edx, edx
mov edi, dword [0x453170]
mov ebx, dword [esp + 0x38]
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x8784ccde
je 0x446600
inc edx
cmp ecx, edx
jne 0x446550
jmp 0x446568
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 8]
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x4466c6
test esi, esi
js 0x4466c6
test ebx, ebx
je 0x4466bf
mov ecx, dword [edi + 0xc]
shr ecx, 1
mov eax, dword [edx]
cmp eax, ecx
jb 0x446595
mov eax, ecx
test eax, eax
je 0x4466b6
add dword [esp + 0xc], 0x10
mov ecx, eax
and ecx, 3
je 0x44663c
mov dword [esp + 0x14], eax
xor edi, edi
mov ebp, dword [esp + 0x38]
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0xc]
movzx ebx, word [eax]
xor edx, edx
test bx, bx
setne dl
lea eax, [eax + edx*2]
mov dword [esp + 0xc], eax
mov word [ebp], bx
add ebp, 2
inc edi
cmp ecx, edi
jne 0x4465c0
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x14]
mov ebp, eax
sub ebp, edi
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 8]
cmp eax, 4
jae 0x446643
jmp 0x4466b6
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, esi
mov edi, dword [esp + 8]
je 0x44656c
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
push edi
push 0
push dword [esp + 0x44]
push dword [esp + 0x44]
push 6
push dword [0x453174]
push ecx
call fcn.004421f0
add esp, 0x24
mov esi, eax
jmp 0x44656c
mov ebp, eax
cmp eax, 4
jb 0x4466b6
mov ebx, dword [esp + 0x10]
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0xc]
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 + 0xc], eax
add ebp, 0xfffffffc
jne 0x446650
mov dword [esp + 0x10], ebx
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 8]
mov eax, dword [esp + 0x10]
mov word [eax], 0
mov eax, dword [edi + 0xc]
shr eax, 1
mov dword [edx], eax
push edi
call fcn.0043f400
add esp, 4
mov eax, esi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret