Function at 0x446d40
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [esp + 0x34]
xor ecx, ecx
test eax, eax
je 0x446d73
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + ecx], 0
lea ecx, [ecx + 2]
jne 0x446d60
add ecx, 0xfffffffe
and ecx, 0xfffe
mov word [esp + 0x10], cx
mov edx, eax
test eax, eax
je 0x446d83
add ecx, 2
mov edx, ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
mov edi, dword [esp + 0x30]
mov word [esp + 0x12], dx
mov dword [esp + 0x14], eax
mov dword [esp], 0x1c1d1a1b
mov dword [esp + 4], 0
mov eax, 0x5df8893a
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x5df8893a]
xor ecx, eax
mov edx, ecx
and edx, 0x5d
xor ecx, 0xdd
lea ecx, [ecx + edx*2]
inc cl
mov byte [esp + eax - 0x5df8893a], cl
inc eax
cmp eax, 0x5df88942
jne 0x446db0
mov ebp, dword [esp]
mov eax, dword [0x451f80]
test eax, eax
je 0x446e2c
xor ecx, ecx
mov edx, dword [0x451f84]
nop
nop
nop
cmp dword [edx + ecx*8], 0xbbe848dd
je 0x446e00
inc ecx
cmp eax, ecx
jne 0x446df0
jmp 0x446e2c
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebp
je 0x446e2c
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push 0
push 0
push 2
push edx
push edi
push 6
push dword [0x451f88]
push eax
call fcn.00442960
add esp, 0x24
mov ebp, eax
mov dword [esp], 0x37767987
mov word [esp + 4], 0
mov eax, 0x16
mov ecx, 0xe9
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + eax - 0x16]
mov edx, eax
xor edx, ecx
and edx, esi
xor edx, ecx
mov bl, 0x91
sub bl, dl
mov byte [esp + eax - 0x16], bl
inc eax
dec ecx
cmp eax, 0x1c
jne 0x446e50
cmp ebp, dword [esp]
jne 0x446fb1
push dword [esp + 0xc]
call fcn.0043ffa0
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword [esp], 0x1c1d1a1b
mov dword [esp + 4], 0
mov edx, 0x5df8893a
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + edx - 0x5df8893a]
xor esi, edx
mov ebx, esi
and ebx, 0x5d
xor esi, 0xdd
lea ebx, [esi + ebx*2]
inc bl
mov byte [esp + edx - 0x5df8893a], bl
inc edx
cmp edx, 0x5df88942
jne 0x446ea0
mov ebp, dword [esp]
mov ebx, dword [0x451f80]
test ebx, ebx
je 0x446f1e
xor edx, edx
mov esi, dword [0x451f84]
nop
cmp dword [esi + edx*8], 0xbbe848dd
je 0x446ef0
inc edx
cmp ebx, edx
jne 0x446ee0
jmp 0x446f1e
mov edx, dword [esi + edx*8 + 4]
cmp edx, ebp
je 0x446f1e
lea esi, [esp + 0xc]
lea ebx, [esp + 0x10]
push esi
push ecx
push eax
push 2
push ebx
push edi
push 6
push dword [0x451f88]
push edx
mov esi, eax
call fcn.00442960
add esp, 0x24
mov ebp, eax
mov eax, esi
test ebp, ebp
js 0x446fa8
mov edx, dword [esp + 0x38]
test edx, edx
je 0x446f33
mov ecx, dword [eax + 4]
mov dword [edx], ecx
cmp dword [esp + 0x40], 0
je 0x446fa8
cmp dword [esp + 0x3c], 0
je 0x446f9f
mov ecx, dword [esp + 0x40]
mov ebx, dword [ecx]
mov ecx, dword [eax + 8]
cmp ebx, ecx
jb 0x446f50
mov ebx, ecx
lea edx, [eax + 0xc]
mov ecx, ebx
shr ecx, 2
mov edi, dword [esp + 0x3c]
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov ecx, ebx
and ecx, 0xfffffffc
add dword [esp + 8], ecx
lea esi, [eax + ecx]
add esi, 0xc
mov edx, ebx
and edx, 3
mov ecx, edx
shr ecx, 1
mov dword [esp + 0x18], esi
mov edi, dword [esp + 8]
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov esi, dword [esp + 8]
test bl, 1
je 0x446f9f
mov ecx, dword [esp + 0x18]
movzx ecx, byte [ecx + edx - 1]
mov byte [esi + edx - 1], cl
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x40]
mov dword [edx], ecx
push eax
call fcn.00440000
add esp, 4
mov eax, ebp
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret