Function at 0x446a50
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov edi, dword [esp + 0x34]
mov dword [esp + 4], 0x1c1d1a1b
mov dword [esp + 8], 0
mov eax, 0x5df8893a
movzx ecx, byte [esp + eax - 0x5df88936]
xor ecx, eax
mov edx, ecx
and edx, 0x5d
xor ecx, 0xdd
lea ecx, [ecx + edx*2]
inc cl
mov byte [esp + eax - 0x5df88936], cl
inc eax
cmp eax, 0x5df88942
jne 0x446a70
mov eax, dword [esp + 4]
mov esi, dword [0x451f80]
test esi, esi
je 0x446aec
xor ecx, ecx
mov edx, dword [0x451f84]
nop
cmp dword [edx + ecx*8], 0xc59b8bcb
je 0x446ac0
inc ecx
cmp esi, ecx
jne 0x446ab0
jmp 0x446aec
mov edx, dword [edx + ecx*8 + 4]
cmp edx, eax
je 0x446aec
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 1
push dword [esp + 0x40]
push dword [esp + 0x40]
push 6
push dword [0x451f88]
push edx
call fcn.00442960
add esp, 0x24
cmp eax, 0xc0000023
jne 0x446d32
push dword [esp + 0x10]
call fcn.0043ffa0
add esp, 4
mov dword [esp], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 4], 0x1c1d1a1b
mov dword [esp + 8], 0
mov edx, 0x5df8893a
nop
movzx esi, byte [esp + edx - 0x5df88936]
xor esi, edx
mov ebx, esi
and ebx, 0x5d
xor esi, 0xdd
lea ebx, [esi + ebx*2]
inc bl
mov byte [esp + edx - 0x5df88936], bl
inc edx
cmp edx, 0x5df88942
jne 0x446b20
mov ebp, dword [esp + 4]
mov edx, dword [0x451f80]
test edx, edx
je 0x446b83
mov dword [esp + 0xc], ecx
mov ecx, ebp
xor esi, esi
mov ebp, dword [0x451f84]
mov ebx, dword [esp + 0x44]
nop
nop
nop
nop
nop
nop
cmp dword [ebp + esi*8], 0xc59b8bcb
je 0x446b89
inc esi
cmp edx, esi
jne 0x446b70
mov ebp, ecx
jmp 0x446bc1
mov ebx, dword [esp + 0x44]
jmp 0x446bc1
mov edx, dword [ebp + esi*8 + 4]
mov ebp, ecx
cmp edx, ecx
je 0x446bc1
lea esi, [esp + 0x10]
push esi
push dword [esp + 0x10]
push dword [esp + 8]
push 1
push dword [esp + 0x40]
push dword [esp + 0x40]
push 6
push dword [0x451f88]
push edx
mov esi, eax
call fcn.00442960
add esp, 0x24
mov ebp, eax
mov eax, esi
mov dword [esp + 0xc], ebp
test ebp, ebp
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp]
js 0x446d25
mov esi, dword [esp + 0x38]
test esi, esi
mov edx, dword [esp + 0x3c]
je 0x446cbd
test edi, edi
je 0x446cb6
mov ecx, dword [ecx + 0x10]
shr ecx, 1
mov ebx, dword [esi]
cmp ebx, ecx
jb 0x446bf9
mov ebx, ecx
test ebx, ebx
je 0x446c3f
add eax, 0x14
mov ecx, ebx
and ecx, 3
je 0x446c45
mov dword [esp + 0x14], ebx
xor esi, esi
nop
nop
nop
movzx ebp, word [eax]
xor edx, edx
test bp, bp
setne dl
lea eax, [eax + edx*2]
mov word [edi], bp
add edi, 2
inc esi
cmp ecx, esi
jne 0x446c10
mov ebx, dword [esp + 0x14]
mov ecx, ebx
sub ecx, esi
mov ebp, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
jmp 0x446c47
mov ebx, dword [esp + 0x44]
jmp 0x446cae
mov ecx, ebx
cmp ebx, 4
mov ebx, dword [esp + 0x44]
jb 0x446cae
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]
add ecx, 0xfffffffc
jne 0x446c50
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov word [edi], 0
mov ecx, dword [esp]
mov eax, dword [ecx + 0x10]
shr eax, 1
mov dword [esi], eax
test edx, edx
je 0x446cc6
mov eax, dword [ecx + 4]
mov dword [edx], eax
test ebx, ebx
je 0x446d25
test ebp, ebp
je 0x446d20
mov ebx, dword [ebx]
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x446cd9
mov ebx, eax
mov esi, dword [ecx + 8]
add esi, ecx
mov ecx, ebx
shr ecx, 2
mov edx, ebx
and edx, 0xfffffffc
mov edi, ebp
add ebp, edx
add edx, esi
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov eax, ebx
and eax, 3
mov ecx, eax
shr ecx, 1
mov esi, edx
mov edi, ebp
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov ecx, dword [esp]
test bl, 1
mov ebx, dword [esp + 0x44]
je 0x446d20
movzx ecx, byte [edx + eax - 1]
mov byte [ebp + eax - 1], cl
mov ecx, dword [esp]
mov eax, dword [ecx + 0xc]
mov dword [ebx], eax
push ecx
call fcn.00440000
add esp, 4
mov eax, dword [esp + 0xc]
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret