Function at 0x441c40
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x441c99
lea edx, [eax - 2]
mov ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
add edx, 2
cmp word [ecx], 0
lea ecx, [ecx + 2]
jne 0x441c60
mov esi, edx
xor esi, eax
mov ecx, eax
not ecx
and ecx, edx
add ecx, ecx
sub ecx, esi
sar ecx, 1
mov edx, ecx
and edx, 2
mov esi, ecx
or ecx, 2
imul ecx, edx
xor edx, 2
and esi, 0xfffd
imul esi, edx
add ecx, esi
jmp 0x441c9b
xor ecx, ecx
mov word [esp + 0x10], cx
mov edx, eax
test eax, eax
je 0x441cab
add ecx, 2
mov edx, ecx
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
mov word [esp + 0x12], dx
mov dword [esp + 0x14], eax
mov dword [esp], 0x14151617
mov dword [esp + 4], 0
mov eax, 0xc4aa0abc
movzx ecx, byte [esp + eax + 0x3b55f544]
mov edx, ecx
and edx, eax
add dl, dl
sub cl, dl
movzx ecx, cl
add ecx, eax
add cl, 0x54
mov byte [esp + eax + 0x3b55f544], cl
inc eax
cmp eax, 0xc4aa0ac4
jne 0x441cd0
mov ebx, dword [esp]
mov eax, dword [0x44ce38]
test eax, eax
je 0x441d4f
xor ecx, ecx
mov edx, dword [0x44ce3c]
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x877f203a
je 0x441d20
inc ecx
cmp eax, ecx
jne 0x441d10
jmp 0x441d4f
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x441d4f
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push 0
push 0
push 2
push edx
push dword [esp + 0x4c]
push 0x18
push eax
push dword [0x44ce40]
call fcn.0043e410
add esp, 0x24
mov ebx, eax
mov dword [esp], 0x632221c3
mov byte [esp + 4], 0
xor eax, eax
nop
nop
nop
movzx ecx, byte [esp + eax]
mov edx, eax
or edx, 0xd1ec48c8
xor edx, ecx
add edx, 0xe6629417
mov ecx, edx
and ecx, 1
xor edx, 1
lea ecx, [edx + ecx*2]
mov byte [esp + eax], cl
lea ecx, [eax + eax]
and ecx, 2
mov edx, eax
or edx, 0xfffffffe
not eax
or eax, 1
and eax, edx
not eax
mov edx, ecx
and edx, eax
xor eax, ecx
lea eax, [eax + edx*2]
cmp eax, 5
jb 0x441d60
cmp ebx, dword [esp]
jne 0x441f1f
push dword [esp + 0xc]
call fcn.0043bc60
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword [esp + 8], ecx
mov dword [esp + 0x1c], 0x3020102
mov dword [esp + 0x20], 0
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
xor byte [esp + edx + 0x1c], dl
inc edx
cmp edx, 8
jne 0x441de0
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
mov dword [esp], 0x14151617
mov dword [esp + 4], 0
mov ebx, 0xc4aa0abc
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ebx + 0x3b55f544]
mov ecx, edx
and ecx, ebx
add cl, cl
sub dl, cl
movzx ecx, dl
add ecx, ebx
add cl, 0x54
mov byte [esp + ebx + 0x3b55f544], cl
inc ebx
cmp ebx, 0xc4aa0ac4
jne 0x441e10
mov ebx, dword [esp]
mov ebp, dword [0x44ce38]
test ebp, ebp
je 0x441ea2
mov ecx, edi
xor edi, edi
mov esi, dword [0x44ce3c]
nop
cmp dword [esi + edi*8], 0x877f203a
je 0x441e62
inc edi
cmp ebp, edi
jne 0x441e50
mov edi, ecx
jmp 0x441e9e
mov ebp, dword [esi + edi*8 + 4]
cmp ebp, ebx
mov edi, ecx
mov esi, dword [esp + 0x44]
je 0x441ea2
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push dword [esp + 0xc]
push eax
push dword [esp + 0x24]
push edx
push dword [esp + 0x4c]
push 0x18
push ebp
push dword [0x44ce40]
mov esi, eax
call fcn.0043e410
add esp, 0x24
mov ebx, eax
mov eax, esi
mov esi, dword [esp + 0x44]
test ebx, ebx
js 0x441f16
mov edx, dword [esp + 0x40]
test edx, edx
je 0x441eb3
mov ecx, dword [eax + 4]
mov dword [edx], ecx
test edi, edi
je 0x441f16
test esi, esi
je 0x441f11
mov ebp, esi
mov edx, dword [edi]
mov ecx, dword [eax + 8]
cmp edx, ecx
jb 0x441ec8
mov edx, ecx
lea esi, [eax + 0xc]
mov ecx, edx
shr ecx, 2
mov edi, ebp
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov ecx, edx
and ecx, 0xfffffffc
add ebp, ecx
lea esi, [eax + ecx]
add esi, 0xc
mov ecx, edx
shr ecx, 1
and ecx, 1
mov dword [esp + 8], esi
mov edi, ebp
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
test dl, 1
mov edi, dword [esp + 0x48]
je 0x441f11
and edx, 2
mov ecx, dword [esp + 8]
movzx ecx, byte [ecx + edx]
mov byte [ebp + edx], cl
mov ecx, dword [eax + 8]
mov dword [edi], ecx
push eax
call fcn.0043bd00
add esp, 4
mov eax, ebx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret