Function at 0x445bb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [esp + 0x30]
xor ecx, ecx
test eax, eax
je 0x445be3
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 0x445bd0
add ecx, 0xfffffffe
and ecx, 0xfffe
mov word [esp + 0xc], cx
mov edx, eax
test eax, eax
je 0x445bf3
add ecx, 2
mov edx, ecx
mov edi, dword [esp + 0x34]
mov word [esp + 0xe], dx
mov dword [esp + 0x10], eax
mov dword [esp], 0x686b6a65
mov word [esp + 4], 0
mov eax, 0x1506d5e7
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x1506d5e7]
xor ecx, eax
neg ecx
mov edx, ecx
and edx, 4
xor ecx, 0x84
lea ecx, [ecx + edx*2]
mov dl, 1
sub dl, cl
mov byte [esp + eax - 0x1506d5e7], dl
inc eax
cmp eax, 0x1506d5ed
jne 0x445c20
mov ebx, dword [esp]
mov eax, dword [0x450c68]
test eax, eax
je 0x445caf
xor ecx, ecx
mov edx, dword [0x450c6c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xbbe848dd
je 0x445c80
inc ecx
cmp eax, ecx
jne 0x445c70
jmp 0x445caf
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x445caf
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 [0x450c70]
push eax
call fcn.00441a90
add esp, 0x24
mov ebx, eax
mov dword [esp], 0x37767987
mov word [esp + 4], 0
mov byte [esp + 6], 0
xor eax, eax
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, eax
and esi, 0xc
mov edx, ecx
xor edx, 0x96
add edx, esi
xor dl, byte [esp + ecx]
add dl, 0x12
mov byte [esp + ecx], dl
inc ecx
add eax, 2
cmp ecx, 7
jne 0x445cd0
cmp ebx, dword [esp]
jne 0x445e32
push dword [esp + 8]
call fcn.0043ef40
add esp, 4
mov ebp, eax
mov ecx, dword [esp + 8]
mov dword [esp], 0x686b6a65
mov word [esp + 4], 0
mov eax, 0x1506d5e7
nop
movzx edx, byte [esp + eax - 0x1506d5e7]
xor edx, eax
neg edx
mov esi, edx
and esi, 4
xor edx, 0x84
lea edx, [edx + esi*2]
mov bl, 1
sub bl, dl
mov byte [esp + eax - 0x1506d5e7], bl
inc eax
cmp eax, 0x1506d5ed
jne 0x445d20
mov ebx, dword [esp]
mov eax, dword [0x450c68]
test eax, eax
je 0x445dad
xor edx, edx
mov esi, dword [0x450c6c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xbbe848dd
je 0x445d80
inc edx
cmp eax, edx
jne 0x445d70
jmp 0x445dad
mov eax, dword [esi + edx*8 + 4]
cmp eax, ebx
je 0x445dad
lea edx, [esp + 8]
lea esi, [esp + 0xc]
push edx
push ecx
push ebp
push 2
push esi
push dword [esp + 0x40]
push 6
push dword [0x450c70]
push eax
call fcn.00441a90
add esp, 0x24
mov ebx, eax
test ebx, ebx
js 0x445e29
test edi, edi
je 0x445dba
mov eax, dword [ebp + 4]
mov dword [edi], eax
cmp dword [esp + 0x3c], 0
je 0x445e29
cmp dword [esp + 0x38], 0
je 0x445e20
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
cmp eax, ecx
jb 0x445dd7
mov eax, ecx
lea edx, [ebp + 0xc]
mov ecx, eax
shr ecx, 2
mov esi, dword [esp + 0x38]
mov edi, esi
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov ecx, eax
shr ecx, 1
and ecx, 1
mov edx, eax
and edx, 0xfffffffc
lea edi, [edx + ebp]
add edi, 0xc
add edx, esi
mov dword [esp + 0x14], edi
mov esi, edi
mov edi, edx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
test al, 1
je 0x445e20
and eax, 2
mov ecx, dword [esp + 0x14]
movzx ecx, byte [ecx + eax]
mov byte [edx + eax], cl
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x3c]
mov dword [ecx], eax
push ebp
call fcn.0043efa0
add esp, 4
mov eax, ebx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret