Function at 0x444350
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
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 0x4443c3
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 4]
mov edx, eax
xor edx, 0xa0f38e4c
mov esi, eax
xor esi, 0x5f0c71b3
or eax, 0x20f38e4c
and eax, esi
lea eax, [edx + eax*2]
xor eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0x84
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x444380
mov esi, dword [esp + 4]
mov eax, dword [0x4505bc]
test eax, eax
je 0x44441e
xor ecx, ecx
mov edx, dword [0x4505c0]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x84aa3bd1
je 0x4443f0
inc ecx
cmp eax, ecx
jne 0x4443e0
jmp 0x44441e
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x44441e
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 0
push dword [esp + 0x44]
push dword [esp + 0x44]
push 6
push dword [0x4505c4]
push eax
call fcn.004403a0
add esp, 0x24
mov esi, eax
mov dword [esp + 4], 0xe3222143
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 6
ja 0x4444ac
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
mov edx, ecx
not edx
or edx, 0x589d1008
add edx, ecx
xor ecx, 0x589d1008
lea edx, [edx*2 + 2]
mov edi, edx
and edi, ecx
xor ecx, edx
lea ecx, [ecx + edi*2]
mov edx, ecx
and edx, eax
mov edi, ecx
xor edi, eax
not eax
or ecx, eax
sub eax, ecx
add eax, edx
lea eax, [edi + eax*2]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0xd8
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x444450
cmp esi, dword [esp + 4]
jne 0x4446bf
push dword [esp + 0x14]
call fcn.0043d560
add esp, 4
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x14]
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 0x444535
nop
nop
nop
mov edx, dword [esp]
mov esi, dword [esp]
movzx esi, byte [esp + esi + 4]
mov edi, edx
xor edi, 0xa0f38e4c
mov ebp, edx
xor ebp, 0x5f0c71b3
or edx, 0x20f38e4c
and edx, ebp
lea edx, [edi + edx*2]
xor edx, esi
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x10]
add dl, 0x84
mov esi, dword [esp]
mov byte [esp + esi + 4], dl
inc dword [esp]
mov edx, dword [esp]
cmp edx, 7
jb 0x4444f0
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 4]
mov edx, dword [0x4505bc]
test edx, edx
je 0x4445ae
mov eax, ebx
xor ebp, ebp
mov edi, dword [0x4505c0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + ebp*8], 0x84aa3bd1
je 0x44457c
mov ebx, ebp
xor ebx, 1
and ebp, 1
lea ebp, [ebx + ebp*2]
cmp ebp, edx
jb 0x444560
mov ebx, eax
jmp 0x4445ae
mov edx, dword [edi + ebp*8 + 4]
cmp edx, esi
mov ebx, eax
je 0x4445ae
lea esi, [esp + 0x14]
push esi
push ecx
mov eax, dword [esp + 0x14]
push eax
push 0
push dword [esp + 0x44]
push dword [esp + 0x44]
push 6
push dword [0x4505c4]
push edx
call fcn.004403a0
add esp, 0x24
mov esi, eax
test ebx, ebx
je 0x4446b3
test esi, esi
js 0x4446b3
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4446a8
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0xc]
shr edx, 1
mov eax, dword [ebx]
cmp eax, edx
jb 0x4445db
mov eax, edx
test eax, eax
je 0x4446a3
mov edx, dword [esp + 0xc]
add edx, 0x10
mov edi, eax
and edi, 3
je 0x44462c
mov dword [esp + 0x18], eax
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, word [edx]
xor eax, eax
test bx, bx
setne al
lea edx, [edx + eax*2]
mov word [ecx], bx
add ecx, 2
inc ebp
cmp edi, ebp
jne 0x444600
mov eax, dword [esp + 0x18]
mov edi, eax
sub edi, ebp
mov ebx, dword [esp + 0x3c]
cmp eax, 4
jae 0x444640
jmp 0x4446a3
mov edi, eax
cmp eax, 4
jb 0x4446a3
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, word [edx]
xor ebx, ebx
test ax, ax
setne bl
lea ebp, [edx + ebx*2]
mov word [ecx], ax
movzx eax, word [edx + ebx*2]
xor edx, edx
test ax, ax
setne dl
lea ebx, [edx*2]
add ebx, ebp
mov word [ecx + 2], ax
movzx eax, word [ebp + edx*2]
xor edx, edx
test ax, ax
setne dl
lea ebp, [ebx + edx*2]
mov word [ecx + 4], ax
movzx eax, word [ebx + edx*2]
xor edx, edx
test ax, ax
setne dl
mov word [ecx + 6], ax
add ecx, 8
lea edx, [edx*2]
add edx, ebp
add edi, 0xfffffffc
jne 0x444640
mov ebx, dword [esp + 0x3c]
mov word [ecx], 0
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0xc]
shr eax, 1
mov dword [ebx], eax
push dword [esp + 0xc]
call fcn.0043d5f0
add esp, 4
mov eax, esi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret