Function at 0x442e20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov dword [esp + 0x20], 0x9c9d9e9f
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 4], esi
and esi, 0xb
mov eax, dword [esp + 4]
and eax, 4
xor eax, 0x74e17644
sub esi, eax
mov edi, esi
not edi
lea eax, [esi + esi*2]
lea ecx, [eax + edi*4]
mov ebx, 0xfc
sub ebx, ecx
mov ecx, dword [esp + 4]
movzx edx, byte [esp + ecx + 0x20]
lea ecx, [eax + edi*4]
add ecx, 3
xor ecx, edx
add ecx, edx
and ebx, edx
sub ecx, ebx
lea eax, [esi + esi]
lea ebx, [esi - 1]
neg esi
and esi, eax
not eax
and eax, ebx
sub eax, esi
mov esi, eax
and esi, edi
add eax, edi
sub eax, esi
sub eax, esi
or eax, esi
mov esi, eax
and esi, edx
mov ebx, esi
or ebx, 2
mov edi, esi
and edi, 2
imul edi, ebx
mov ebx, eax
or ebx, edx
add eax, edx
not eax
add eax, ebx
and eax, 2
mov edx, esi
and edx, 0xfffffffd
imul edx, eax
add edx, edi
mov eax, edx
not eax
add eax, esi
sub edx, esi
mov esi, eax
and esi, 0x9116083b
and edx, 0x6ee9f7c4
or edx, esi
xor edx, ecx
or eax, ecx
xor edx, 0x6ee9f7c4
not eax
or eax, edx
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
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 + 0x20], al
mov esi, dword [esp + 4]
inc esi
cmp esi, 0x10
jne 0x442e60
mov eax, dword [esp + 0x20]
mov esi, dword [0x44ed90]
test esi, esi
je 0x442f87
xor ecx, ecx
mov edx, dword [0x44ed94]
nop
cmp dword [edx + ecx*8], 0xffc37dba
je 0x442f60
inc ecx
cmp esi, ecx
jne 0x442f50
jmp 0x442f87
mov edx, dword [edx + ecx*8 + 4]
cmp edx, eax
je 0x442f87
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push 2
push dword [ebp + 8]
push 5
push dword [0x44ed98]
push edx
call fcn.0043e300
add esp, 0x20
cmp eax, 0xc0000023
jne 0x4432cc
push dword [esp + 0x18]
call fcn.0043c4c0
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], 0x9c9d9e9f
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
xor edx, edx
mov dword [esp + 4], edx
and edx, 0xb
mov ecx, dword [esp + 4]
and ecx, 4
xor ecx, 0x74e17644
sub edx, ecx
mov ebx, edx
not ebx
lea esi, [edx + edx*2]
lea ecx, [esi + ebx*4]
mov edi, 0xfc
sub edi, ecx
mov eax, dword [esp + 4]
movzx ecx, byte [esp + eax + 0x20]
lea esi, [esi + ebx*4]
add esi, 3
xor esi, ecx
add esi, ecx
and edi, ecx
sub esi, edi
lea edi, [edx + edx]
lea eax, [edx - 1]
neg edx
and edx, edi
not edi
and edi, eax
sub edi, edx
mov edx, edi
and edx, ebx
add edi, ebx
sub edi, edx
sub edi, edx
or edi, edx
mov edx, edi
and edx, ecx
mov eax, edx
or eax, 2
mov ebx, edx
and ebx, 2
imul ebx, eax
mov eax, edi
or eax, ecx
add edi, ecx
not edi
add edi, eax
and edi, 2
mov ecx, edx
and ecx, 0xfffffffd
imul ecx, edi
add ecx, ebx
mov edi, ecx
not edi
add edi, edx
sub ecx, edx
mov eax, edi
and eax, 0x9116083b
and ecx, 0x6ee9f7c4
or ecx, eax
xor ecx, esi
or edi, esi
xor ecx, 0x6ee9f7c4
not edi
or edi, ecx
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x1c]
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 + 0x20], cl
mov edx, dword [esp + 4]
inc edx
cmp edx, 0x10
jne 0x442fd0
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [0x44ed90]
test eax, eax
je 0x4430e4
xor ecx, ecx
mov edx, dword [0x44ed94]
mov edi, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x18]
mov esi, dword [ebp + 0xc]
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xffc37dba
je 0x443193
inc ecx
cmp eax, ecx
jne 0x4430d0
jmp 0x4430ed
mov edi, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x18]
mov esi, dword [ebp + 0xc]
mov eax, dword [esp + 4]
mov dword [esp + 4], eax
test eax, eax
js 0x4432bc
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x20]
je 0x44325e
test esi, esi
je 0x443250
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x10]
shr eax, 1
mov esi, dword [ebp + 0x10]
mov esi, dword [esi]
cmp esi, eax
jb 0x443129
mov esi, eax
test esi, esi
je 0x443247
add dword [esp + 0xc], 0x2c
mov eax, esi
and eax, 3
je 0x4431cb
mov dword [esp + 0x14], esi
xor edi, edi
mov esi, dword [ebp + 0xc]
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0xc]
movzx ebx, word [ecx]
xor edx, edx
test bx, bx
setne dl
lea ecx, [ecx + edx*2]
mov dword [esp + 0xc], ecx
mov word [esi], bx
add esi, 2
inc edi
cmp eax, edi
jne 0x443150
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x14]
mov esi, eax
sub esi, edi
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x20]
mov edi, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x18]
cmp eax, 4
jae 0x4431d2
jmp 0x443247
mov edx, dword [edx + ecx*8 + 4]
mov eax, dword [esp + 4]
cmp edx, eax
je 0x4430f1
lea ecx, [esp + 0x18]
push ecx
push dword [esp + 0x18]
push dword [esp + 0x10]
push 2
push dword [ebp + 8]
push 5
push dword [0x44ed98]
push edx
call fcn.0043e300
add esp, 0x20
jmp 0x4430f1
mov eax, esi
cmp eax, 4
jb 0x443247
mov ebx, dword [esp + 0x10]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0xc]
movzx edx, word [eax]
xor ecx, ecx
test dx, dx
setne cl
mov word [ebx], dx
lea edx, [eax + ecx*2]
movzx eax, word [eax + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
mov word [ebx + 2], ax
lea eax, [edx + ecx*2]
movzx ecx, word [edx + ecx*2]
xor edx, edx
test cx, cx
setne dl
mov word [ebx + 4], cx
lea ecx, [eax + edx*2]
movzx edx, word [eax + edx*2]
xor eax, eax
test dx, dx
setne al
lea eax, [ecx + eax*2]
mov dword [esp + 0xc], eax
mov word [ebx + 6], dx
add ebx, 8
add esi, 0xfffffffc
jne 0x4431e0
mov dword [esp + 0x10], ebx
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x20]
mov ebx, dword [ebp + 0x18]
mov eax, dword [esp + 0x10]
mov word [eax], 0
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x10]
shr eax, 1
mov esi, dword [ebp + 0x10]
mov dword [esi], eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x443270
mov esi, eax
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x14]
mov dword [esi], eax
test ebx, ebx
je 0x44327f
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x18]
shr eax, 1
mov dword [ebx], eax
test edi, edi
je 0x44328e
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x1c]
shr eax, 1
mov dword [edi], eax
test edx, edx
je 0x44329b
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x20]
mov dword [edx], eax
test ecx, ecx
je 0x4432aa
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x24]
shr eax, 1
mov dword [ecx], eax
cmp dword [ebp + 0x28], 0
je 0x4432bc
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x28]
mov ecx, dword [ebp + 0x28]
mov dword [ecx], eax
push dword [esp + 8]
call fcn.0043c6e0
add esp, 4
mov eax, dword [esp + 4]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret