Function at 0x444570
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [esp + 0xc], 0x5c5d5e5f
mov byte [esp + 0x10], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 4
ja 0x4445ed
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0xc]
lea edx, [eax + eax]
and edx, 0x1fb96ce0
mov esi, eax
sub esi, edx
mov edx, eax
xor edx, 0x7023498f
or eax, 0xfdcb670
and eax, edx
lea eax, [esi + eax*2]
add eax, 0xfdcb670
xor eax, ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add al, 0xd0
mov ecx, dword [esp]
mov byte [esp + ecx + 0xc], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 5
jb 0x4445a0
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0xc]
mov eax, dword [0x4506dc]
test eax, eax
je 0x44464b
xor ecx, ecx
mov edx, dword [0x4506e0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x84aa3bd1
je 0x444620
inc ecx
cmp eax, ecx
jne 0x444610
jmp 0x44464b
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x44464b
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 0
push ebp
push dword [esp + 0x44]
push 6
push dword [0x4506e4]
push eax
call fcn.00440260
add esp, 0x24
mov esi, eax
mov dword [esp], 0x37f6f987
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 3
ja 0x4446be
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 4]
mov eax, dword [esp + 4]
movzx eax, byte [esp + eax]
mov edx, ecx
xor edx, 0x405076d6
and ecx, 0xc05076d6
lea ecx, [edx + ecx*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 + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0xd2
mov ecx, dword [esp + 4]
mov byte [esp + ecx], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 4
jb 0x444670
cmp esi, dword [esp]
jne 0x4448b2
push dword [esp + 0x14]
call fcn.0043d3b0
add esp, 4
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc], 0x5c5d5e5f
mov byte [esp + 0x10], 0
mov dword [esp], 0
mov edx, dword [esp]
cmp edx, 4
ja 0x444750
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp]
mov esi, dword [esp]
movzx esi, byte [esp + esi + 0xc]
lea edi, [edx + edx]
and edi, 0x1fb96ce0
mov ebx, edx
sub ebx, edi
mov edi, edx
xor edi, 0x7023498f
or edx, 0xfdcb670
and edx, edi
lea edx, [ebx + edx*2]
add edx, 0xfdcb670
xor edx, esi
mov dword [esp + 4], edx
mov edx, dword [esp + 4]
add dl, 0xd0
mov esi, dword [esp]
mov byte [esp + esi + 0xc], dl
inc dword [esp]
mov edx, dword [esp]
cmp edx, 5
jb 0x444700
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0xc]
mov edx, dword [0x4506dc]
test edx, edx
je 0x4447b1
mov eax, edi
xor edi, edi
mov ebx, dword [0x4506e0]
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x84aa3bd1
je 0x444782
inc edi
cmp edx, edi
jne 0x444770
mov edi, eax
jmp 0x4447b1
mov edx, dword [ebx + edi*8 + 4]
cmp edx, esi
mov edi, eax
je 0x4447b1
lea esi, [esp + 0x14]
push esi
push ecx
mov eax, dword [esp + 0x10]
push eax
push 0
push ebp
push dword [esp + 0x44]
push 6
push dword [0x4506e4]
push edx
call fcn.00440260
add esp, 0x24
mov esi, eax
test edi, edi
je 0x4448a6
test esi, esi
js 0x4448a6
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x44489b
mov eax, dword [esp + 8]
mov edx, dword [eax + 0xc]
shr edx, 1
mov eax, dword [edi]
cmp eax, edx
jb 0x4447de
mov eax, edx
test eax, eax
je 0x444896
mov edx, dword [esp + 8]
add edx, 0x10
mov ebx, eax
and ebx, 3
je 0x44482c
mov dword [esp + 0x18], eax
xor edi, edi
nop
nop
nop
nop
nop
nop
movzx ebp, word [edx]
xor eax, eax
test bp, bp
setne al
lea edx, [edx + eax*2]
mov word [ecx], bp
add ecx, 2
inc edi
cmp ebx, edi
jne 0x444800
mov eax, dword [esp + 0x18]
mov ebp, eax
sub ebp, edi
mov edi, dword [esp + 0x3c]
cmp eax, 4
jae 0x444840
jmp 0x444896
mov ebp, eax
cmp eax, 4
jb 0x444896
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 edi, [edx + ebx*2]
mov word [ecx], ax
movzx eax, word [edx + ebx*2]
xor edx, edx
test ax, ax
setne dl
lea ebx, [edi + edx*2]
mov word [ecx + 2], ax
movzx eax, word [edi + edx*2]
xor edx, edx
test ax, ax
setne dl
lea edi, [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, [edi + edx*2]
add ebp, 0xfffffffc
jne 0x444840
mov edi, dword [esp + 0x3c]
mov word [ecx], 0
mov eax, dword [esp + 8]
mov eax, dword [eax + 0xc]
shr eax, 1
mov dword [edi], eax
push dword [esp + 8]
call fcn.0043d440
add esp, 4
mov eax, esi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret