Function at 0x446360
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov ebx, dword [esp + 0x30]
mov dword [esp], 0x74757a7b
mov dword [esp + 4], 0
mov eax, 0x58329816
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 esi, edx
or edx, 2
imul edx, edi
xor edi, 2
and esi, 0xfd
imul esi, edi
xor ecx, 0x91
add ecx, edx
add ecx, esi
inc cl
mov byte [esp + eax - 0x58329816], cl
inc eax
cmp eax, 0x5832981e
jne 0x446380
mov eax, dword [esp]
mov esi, dword [0x451f60]
test esi, esi
je 0x44641c
xor ecx, ecx
mov edx, dword [0x451f64]
cmp dword [edx + ecx*8], 0x8784ccde
je 0x4463f0
inc ecx
cmp esi, ecx
jne 0x4463e0
jmp 0x44641c
mov edx, dword [edx + ecx*8 + 4]
cmp edx, eax
je 0x44641c
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 6
push dword [0x451f68]
push edx
call fcn.004426c0
add esp, 0x24
mov dword [esp + 0xc], eax
mov dword [esp], 0xf7b689a7
mov byte [esp + 4], 0
mov esi, 0x43369d5e
mov ebp, 0xa1
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + esi - 0x43369d5e]
lea ecx, [ebp - 0xa0]
and ecx, 0xa
mov eax, esi
and eax, 0x35
or eax, ecx
xor eax, 0xa
lea edx, [esi - 0x43369d00]
or edx, eax
and edx, edi
mov eax, ebp
and eax, edi
mov ecx, esi
xor ecx, edi
add ecx, edi
sub ecx, eax
not edx
and edx, ecx
lea ecx, [edx + 0x29]
mov eax, 0xd6
sub eax, edx
or eax, 1
add eax, edx
or ecx, 1
add ecx, eax
add cl, 0x2a
mov byte [esp + esi - 0x43369d5e], cl
inc esi
dec ebp
cmp esi, 0x43369d63
jne 0x446440
mov esi, dword [esp + 0xc]
cmp esi, dword [esp]
jne 0x44667f
push dword [esp + 0x10]
call fcn.0043f600
add esp, 4
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc], ecx
mov dword [esp], 0x74757a7b
mov dword [esp + 4], 0
mov edx, 0x58329816
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + edx - 0x58329816]
xor ecx, edx
mov esi, ecx
not esi
or esi, 0x47030791
add esi, ecx
inc esi
mov edi, esi
and edi, 2
mov ebp, esi
or esi, 2
imul esi, edi
xor edi, 2
and ebp, 0xfd
imul ebp, edi
xor ecx, 0x91
add ecx, esi
add ecx, ebp
inc cl
mov byte [esp + edx - 0x58329816], cl
inc edx
cmp edx, 0x5832981e
jne 0x4464e0
mov esi, dword [esp]
mov ecx, dword [0x451f60]
test ecx, ecx
je 0x44655f
xor edx, edx
mov ebp, dword [0x451f64]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + edx*8], 0x8784ccde
je 0x4465c3
inc edx
cmp ecx, edx
jne 0x446550
mov ebp, dword [esp + 8]
mov edx, dword [esp + 0x34]
test edx, edx
je 0x446676
test esi, esi
js 0x446676
test ebx, ebx
je 0x44666f
mov ecx, dword [ebp + 0xc]
shr ecx, 1
mov ebp, dword [edx]
cmp ebp, ecx
jb 0x44658c
mov ebp, ecx
test ebp, ebp
mov dword [esp + 0xc], esi
je 0x4465ff
add eax, 0x10
mov ecx, ebp
and ecx, 3
je 0x446605
xor edi, edi
movzx esi, word [eax]
xor edx, edx
test si, si
setne dl
lea eax, [eax + edx*2]
mov word [ebx], si
add ebx, 2
inc edi
cmp ecx, edi
jne 0x4465a0
mov esi, ebp
sub esi, edi
mov edx, dword [esp + 0x34]
jmp 0x446607
mov ecx, dword [ebp + edx*8 + 4]
cmp ecx, esi
mov ebp, dword [esp + 8]
je 0x446563
lea edx, [esp + 0x10]
push edx
push dword [esp + 0x10]
push ebp
push 0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 6
push dword [0x451f68]
push ecx
mov edi, eax
call fcn.004426c0
add esp, 0x24
mov esi, eax
mov eax, edi
jmp 0x446563
mov ebp, dword [esp + 8]
jmp 0x446666
mov esi, ebp
cmp ebp, 4
mov ebp, dword [esp + 8]
jb 0x446666
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]
add esi, 0xfffffffc
jne 0x446610
mov edx, dword [esp + 0x34]
mov word [ebx], 0
mov esi, dword [esp + 0xc]
mov eax, dword [ebp + 0xc]
shr eax, 1
mov dword [edx], eax
push ebp
call fcn.0043f660
add esp, 4
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret