Function at 0x4421f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov dword [esp + 8], 0x9c9d9e9f
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
xor ecx, ecx
nop
nop
mov dword [esp + 4], ecx
mov eax, ecx
and eax, 0xb
mov ecx, dword [esp + 4]
and ecx, 4
xor ecx, 0x74e17644
sub eax, ecx
mov edx, eax
not edx
lea ecx, [eax + eax*2]
lea edi, [ecx + edx*4]
mov esi, 0xfc
sub esi, edi
mov edi, dword [esp + 4]
movzx edi, byte [esp + edi + 8]
lea ebx, [ecx + edx*4]
add ebx, 3
xor ebx, edi
add ebx, edi
and esi, edi
sub ebx, esi
lea esi, [eax + eax]
lea ecx, [eax - 1]
neg eax
and eax, esi
not esi
and esi, ecx
sub esi, eax
mov eax, esi
and eax, edx
add esi, edx
sub esi, eax
sub esi, eax
or esi, eax
mov eax, esi
and eax, edi
mov edx, eax
or edx, 2
mov ecx, eax
and ecx, 2
imul ecx, edx
mov edx, esi
or edx, edi
add esi, edi
not esi
add esi, edx
and esi, 2
mov edx, eax
and edx, 0xfffffffd
imul edx, esi
add edx, ecx
mov esi, edx
not esi
add esi, eax
sub edx, eax
mov eax, esi
and eax, 0x9116083b
and edx, 0x6ee9f7c4
or edx, eax
xor edx, ebx
or esi, ebx
xor edx, 0x6ee9f7c4
not esi
or esi, edx
mov dword [esp + 0x18], esi
mov ecx, dword [esp + 0x18]
add ecx, 0x322a3bdb
mov eax, ecx
xor eax, 0xfe
or ecx, 1
and eax, ecx
add eax, ecx
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 8], al
inc ecx
cmp ecx, 0x10
jne 0x442220
mov eax, dword [esp + 8]
mov ecx, dword [0x44ed90]
test ecx, ecx
je 0x442351
xor edx, edx
mov esi, dword [0x44ed94]
nop
nop
nop
cmp dword [esi + edx*8], 0x47a01aa3
je 0x442320
inc edx
cmp ecx, edx
jne 0x442310
jmp 0x442351
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x442351
lea eax, [esp + 0x18]
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push 0
push 0
push 0
push dword [ebp + 8]
push 9
push dword [0x44ed98]
push ecx
call fcn.0043e300
add esp, 0x30
cmp eax, 0x103
jne 0x4424a8
mov dword [esp + 8], 0x9c9d9e9f
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
xor edi, edi
nop
nop
mov dword [esp + 4], edi
and edi, 0xb
mov ecx, dword [esp + 4]
and ecx, 4
xor ecx, 0x74e17644
sub edi, ecx
mov esi, edi
not esi
lea ecx, [edi + edi*2]
lea edx, [ecx + esi*4]
mov ebx, 0xfc
sub ebx, edx
mov eax, dword [esp + 4]
movzx edx, byte [esp + eax + 8]
lea ecx, [ecx + esi*4]
add ecx, 3
xor ecx, edx
add ecx, edx
and ebx, edx
sub ecx, ebx
lea ebx, [edi + edi]
lea eax, [edi - 1]
neg edi
and edi, ebx
not ebx
and ebx, eax
sub ebx, edi
mov edi, ebx
and edi, esi
add ebx, esi
sub ebx, edi
sub ebx, edi
or ebx, edi
mov esi, ebx
and esi, edx
mov eax, esi
or eax, 2
mov edi, esi
and edi, 2
imul edi, eax
mov eax, ebx
or eax, edx
add ebx, edx
not ebx
add ebx, eax
and ebx, 2
mov edx, esi
and edx, 0xfffffffd
imul edx, ebx
add edx, edi
mov edi, edx
not edi
add edi, esi
sub edx, esi
mov eax, edi
and eax, 0x9116083b
and edx, 0x6ee9f7c4
or edx, eax
xor edx, ecx
or edi, ecx
xor edx, 0x6ee9f7c4
not edi
or edi, edx
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x20]
add eax, 0x322a3bdb
mov ecx, eax
xor ecx, 0xfe
or eax, 1
and ecx, eax
add ecx, eax
mov eax, dword [esp + 4]
mov byte [esp + eax + 8], cl
mov edi, dword [esp + 4]
inc edi
cmp edi, 0x10
jne 0x442380
mov eax, dword [esp + 8]
mov ecx, dword [0x44ed90]
test ecx, ecx
je 0x4424a0
xor edx, edx
mov esi, dword [0x44ed94]
nop
cmp dword [esi + edx*8], 0x39c83604
je 0x442480
inc edx
cmp ecx, edx
jne 0x442470
jmp 0x4424a0
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x4424a0
push 0
push 0
push dword [ebp + 8]
push 3
push dword [0x44ed98]
push ecx
call fcn.0043e300
add esp, 0x18
test eax, eax
js 0x4424a8
mov eax, dword [esp + 0x18]
mov edx, dword [ebp + 0x14]
test edx, edx
je 0x4424be
xor ecx, ecx
cmp eax, 0xc0000011
je 0x4424bc
mov ecx, dword [esp + 0x1c]
mov dword [edx], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret