Function at 0x441940
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov ebx, dword [ebp + 8]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebx + eax + 2], 0
lea eax, [eax + 2]
jne 0x441960
mov esi, eax
sar esi, 1
and eax, 8
mov ecx, esi
xor ecx, 4
lea edi, [ecx + eax]
add eax, ecx
inc eax
test eax, eax
jns 0x441988
mov eax, 0xffffffff
jmp 0x44198f
lea eax, [edi*2 + 2]
push eax
call fcn.00408c10
add esp, 4
mov dword [eax], 0x3f005c
mov dword [eax + 4], 0x5c003f
mov word [eax + 8], 0
mov dword [esp + 4], eax
add eax, 8
movzx ecx, word [ebx]
test cx, cx
je 0x4419d1
add ebx, 2
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [ebx]
add ebx, 2
test cx, cx
jne 0x4419c0
mov word [eax], 0
mov eax, edi
and eax, 0xfffd
and esi, 2
mov ecx, esi
xor ecx, 2
imul ecx, eax
or edi, 2
imul edi, esi
lea eax, [edi + ecx]
mov word [esp + 0x18], ax
lea eax, [edi + ecx]
add eax, 2
mov word [esp + 0x1a], ax
mov eax, dword [esp + 4]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], 0x18
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], 0x40
lea eax, [esp + 0x18]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
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
nop
nop
nop
mov dword [esp], edi
and edi, 0xb
mov ecx, dword [esp]
and ecx, 4
xor ecx, 0x74e17644
sub edi, ecx
mov ebx, edi
not ebx
lea ecx, [edi + edi*2]
lea edx, [ecx + ebx*4]
mov eax, 0xfc
sub eax, edx
mov edx, dword [esp]
movzx esi, byte [esp + edx + 8]
lea edx, [ecx + ebx*4]
add edx, 3
xor edx, esi
add edx, esi
and eax, esi
sub edx, eax
lea ecx, [edi + edi]
lea eax, [edi - 1]
neg edi
and edi, ecx
not ecx
and ecx, eax
sub ecx, edi
mov eax, ecx
and eax, ebx
add ecx, ebx
sub ecx, eax
sub ecx, eax
or ecx, eax
mov edi, ecx
and edi, esi
mov eax, edi
or eax, 2
mov ebx, edi
and ebx, 2
imul ebx, eax
mov eax, ecx
or eax, esi
add ecx, esi
not ecx
add ecx, eax
and ecx, 2
mov esi, edi
and esi, 0xfffffffd
imul esi, ecx
add esi, ebx
mov ecx, esi
not ecx
add ecx, edi
sub esi, edi
mov eax, ecx
and eax, 0x9116083b
and esi, 0x6ee9f7c4
or esi, eax
xor esi, edx
or ecx, edx
xor esi, 0x6ee9f7c4
not ecx
or ecx, esi
mov dword [esp + 0x20], ecx
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]
mov byte [esp + eax + 8], cl
mov edi, dword [esp]
inc edi
cmp edi, 0x10
jne 0x441a60
mov esi, dword [esp + 8]
mov eax, dword [0x44ed90]
test eax, eax
je 0x441ba7
xor ecx, ecx
mov edx, dword [0x44ed94]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xbc8a835b
je 0x441b6a
mov edi, ecx
and edi, 1
xor ecx, 1
lea ecx, [ecx + edi*2]
cmp ecx, eax
jb 0x441b50
jmp 0x441ba7
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x441ba7
lea ecx, [esp + 8]
lea edx, [esp + 0x24]
push 0
push 0
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x20]
push 0
push ecx
push edx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0xb
push dword [0x44ed98]
push eax
call fcn.0043e300
add esp, 0x38
mov esi, eax
push dword [esp + 4]
call fcn.00408c20
add esp, 4
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret