Function at 0x446d00
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [esp + 0x30]
test eax, eax
je 0x446d4a
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 0x446d20
sar ecx, 1
mov edx, ecx
and edx, 0xfffd
mov esi, ecx
and esi, 2
or ecx, 2
imul ecx, esi
xor esi, 2
imul esi, edx
add ecx, esi
jmp 0x446d4c
xor ecx, ecx
mov word [esp + 0xc], cx
mov edx, eax
test eax, eax
je 0x446d5c
add ecx, 2
mov edx, ecx
mov word [esp + 0xe], dx
mov dword [esp + 0x10], eax
mov dword [esp], 0x74757a7b
mov dword [esp + 4], 0
mov eax, 0x58329816
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x58329816]
xor ecx, eax
mov edx, ecx
not edx
or edx, 0x47030791
add edx, ecx
inc edx
mov edi, edx
and edi, 2
mov ebx, edx
or edx, 2
imul edx, edi
xor edi, 2
and ebx, 0xfd
imul ebx, edi
xor ecx, 0x91
add ecx, edx
add ecx, ebx
inc cl
mov byte [esp + eax - 0x58329816], cl
inc eax
cmp eax, 0x5832981e
jne 0x446d80
mov ebx, dword [esp]
mov eax, dword [0x451f60]
test eax, eax
je 0x446e1f
xor ecx, ecx
mov edx, dword [0x451f64]
nop
cmp dword [edx + ecx*8], 0xbbe848dd
je 0x446df0
inc ecx
cmp eax, ecx
jne 0x446de0
jmp 0x446e1f
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x446e1f
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push 0
push 0
push 2
push edx
push dword [esp + 0x40]
push 6
push dword [0x451f68]
push eax
call fcn.004426c0
add esp, 0x24
mov ebx, eax
mov dword [esp], 0xf13e3f19
mov eax, 0x10612935
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x10612935]
xor ecx, eax
mov edx, ecx
and edx, 1
xor ecx, 1
lea ecx, [ecx + edx*2]
add cl, 0xf6
mov byte [esp + eax - 0x10612935], cl
inc eax
cmp eax, 0x10612939
jne 0x446e30
cmp ebx, dword [esp]
jne 0x446fce
push dword [esp + 8]
call fcn.0043f600
add esp, 4
mov ecx, dword [esp + 8]
mov dword [esp], 0x74757a7b
mov dword [esp + 4], 0
mov edx, 0x58329816
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + edx - 0x58329816]
xor ebx, edx
mov edi, ebx
not edi
or edi, 0x47030791
lea ebp, [ebx + edi]
inc ebp
mov esi, ebp
and esi, 2
mov edi, ebp
or ebp, 2
imul ebp, esi
xor esi, 2
and edi, 0xfd
imul edi, esi
xor ebx, 0x91
add ebx, ebp
add ebx, edi
inc bl
mov byte [esp + edx - 0x58329816], bl
inc edx
cmp edx, 0x5832981e
jne 0x446e90
mov ebx, dword [esp]
mov edx, dword [0x451f60]
test edx, edx
je 0x446f11
xor edi, edi
mov ebp, dword [0x451f64]
mov esi, dword [esp + 0x3c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + edi*8], 0xbbe848dd
je 0x446f17
inc edi
cmp edx, edi
jne 0x446f00
jmp 0x446f4c
mov esi, dword [esp + 0x3c]
jmp 0x446f4c
mov edx, dword [ebp + edi*8 + 4]
cmp edx, ebx
je 0x446f4c
lea esi, [esp + 8]
lea edi, [esp + 0xc]
push esi
mov esi, dword [esp + 0x40]
push ecx
push eax
push 2
push edi
push dword [esp + 0x40]
push 6
push dword [0x451f68]
push edx
mov edi, eax
call fcn.004426c0
add esp, 0x24
mov ebx, eax
mov eax, edi
test ebx, ebx
mov edx, dword [esp + 0x34]
js 0x446fc5
test edx, edx
je 0x446f5d
mov ecx, dword [eax + 4]
mov dword [edx], ecx
test esi, esi
je 0x446fc5
cmp dword [esp + 0x38], 0
je 0x446fc0
mov edx, dword [esi]
mov ecx, dword [eax + 8]
cmp edx, ecx
jb 0x446f73
mov edx, ecx
lea esi, [eax + 0xc]
mov ecx, edx
shr ecx, 2
mov ebp, dword [esp + 0x38]
mov edi, ebp
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov ecx, edx
and ecx, 0xfffffffc
add ebp, ecx
lea esi, [eax + ecx]
add esi, 0xc
mov ecx, edx
shr ecx, 1
and ecx, 1
mov dword [esp + 0x14], esi
mov edi, ebp
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
test dl, 1
mov esi, dword [esp + 0x3c]
je 0x446fc0
and edx, 2
mov ecx, dword [esp + 0x14]
movzx ecx, byte [ecx + edx]
mov byte [ebp + edx], cl
mov ecx, dword [eax + 8]
mov dword [esi], ecx
push eax
call fcn.0043f660
add esp, 4
mov eax, ebx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret