Function at 0x444d20
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
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 0x444d40
sar ecx, 1
mov edi, ecx
and edi, 2
mov edx, ecx
or ecx, 2
imul ecx, edi
xor edi, 2
and edx, 0xfffd
imul edx, edi
lea edi, [edx + ecx]
mov word [esp + 0x14], di
add ecx, edx
add ecx, 2
mov word [esp + 0x16], cx
mov dword [esp + 0x18], eax
mov dword [esp + 4], 0x34353637
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 6
ja 0x444de3
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 4]
mov edx, eax
xor edx, 0xa0f38e4c
mov edi, eax
xor edi, 0x5f0c71b3
or eax, 0x20f38e4c
and eax, edi
lea eax, [edx + eax*2]
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0x84
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x444da0
mov ebx, dword [esp + 4]
mov eax, dword [0x4505bc]
test eax, eax
je 0x444e3f
xor ecx, ecx
mov edx, dword [0x4505c0]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xf81c0144
je 0x444e10
inc ecx
cmp eax, ecx
jne 0x444e00
jmp 0x444e3f
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x444e3f
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push 0
push 0
push 2
push edx
push dword [esp + 0x48]
push 6
push dword [0x4505c4]
push eax
call fcn.004403a0
add esp, 0x24
mov ebx, eax
mov dword [esp + 4], 0xe1262779
mov dword [esp + 8], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 7
ja 0x444eba
nop
nop
mov ecx, dword [esp]
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
mov edx, ecx
not edx
or edx, 0x74dd61b9
add edx, ecx
xor ecx, 0xf4dd61b9
lea edi, [ecx + edx*2]
lea ecx, [ecx + edx*2]
add ecx, 2
and ecx, eax
add eax, edi
add eax, 2
add ecx, ecx
sub eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov ecx, eax
xor ecx, 0x9d
and eax, 0x62
add eax, eax
sub eax, ecx
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 8
jb 0x444e60
cmp ebx, dword [esp + 4]
jne 0x445022
push dword [esp + 0x10]
call fcn.0043d560
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword [esp + 4], 0x34353637
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov dword [esp], 0
mov edx, dword [esp]
cmp edx, 6
ja 0x444f45
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp]
mov edi, dword [esp]
movzx edi, byte [esp + edi + 4]
mov ebx, edx
xor ebx, 0xa0f38e4c
mov ebp, edx
xor ebp, 0x5f0c71b3
or edx, 0x20f38e4c
and edx, ebp
lea edx, [ebx + edx*2]
xor edx, edi
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xc]
add dl, 0x84
mov edi, dword [esp]
mov byte [esp + edi + 4], dl
inc dword [esp]
mov edx, dword [esp]
cmp edx, 7
jb 0x444f00
mov ebx, dword [esp + 4]
mov edx, dword [0x4505bc]
test edx, edx
je 0x444fa1
xor ebp, ebp
mov edi, dword [0x4505c0]
nop
nop
nop
nop
nop
cmp dword [edi + ebp*8], 0xf81c0144
je 0x444f70
inc ebp
cmp edx, ebp
jne 0x444f60
jmp 0x444fa1
mov edx, dword [edi + ebp*8 + 4]
cmp edx, ebx
je 0x444fa1
lea edi, [esp + 0x10]
lea ebx, [esp + 0x14]
push edi
push ecx
push eax
push 2
push ebx
push dword [esp + 0x48]
push 6
push dword [0x4505c4]
push edx
mov edi, eax
call fcn.004403a0
add esp, 0x24
mov ebx, eax
mov eax, edi
test ebx, ebx
js 0x445019
test esi, esi
je 0x444fae
mov ecx, dword [eax + 4]
mov dword [esi], ecx
cmp dword [esp + 0x44], 0
je 0x445019
mov esi, dword [esp + 0x40]
test esi, esi
je 0x445010
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
mov ecx, dword [eax + 8]
cmp edx, ecx
jb 0x444fcc
mov edx, ecx
lea ebp, [eax + 0xc]
mov ecx, edx
shr ecx, 2
mov edi, esi
xchg esi, ebp
rep movsd dword es:[edi], dword [esi]
xchg esi, ebp
mov ecx, edx
and ecx, 0xfffffffc
add esi, ecx
lea ebp, [eax + ecx]
add ebp, 0xc
mov ecx, edx
shr ecx, 1
and ecx, 1
mov dword [esp + 0x1c], ebp
mov edi, esi
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
test dl, 1
je 0x445010
and edx, 2
mov ecx, dword [esp + 0x1c]
movzx ecx, byte [ecx + edx]
mov byte [esi + edx], cl
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x44]
mov dword [edx], ecx
push eax
call fcn.0043d5f0
add esp, 4
mov eax, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret