Function at 0x441580
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [esp + 0x34]
xor ecx, ecx
test eax, eax
je 0x4415b3
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + ecx], 0
lea ecx, [ecx + 2]
jne 0x4415a0
add ecx, 0xfffffffe
and ecx, 0xfffe
mov word [esp + 0x14], cx
mov edx, eax
test eax, eax
je 0x4415c3
add ecx, 2
mov edx, ecx
mov word [esp + 0x16], dx
mov dword [esp + 0x18], eax
mov dword [esp], 0xcccdcacb
mov eax, 0x32
mov ecx, 0xcd
nop
nop
nop
movzx edx, byte [esp + eax - 0x32]
mov edi, ecx
or edi, edx
not edx
or edx, eax
and edx, edi
mov bl, 5
sub bl, dl
mov byte [esp + eax - 0x32], bl
inc eax
dec ecx
cmp eax, 0x36
jne 0x4415e0
mov ebx, dword [esp]
mov eax, dword [0x44c2b0]
test eax, eax
je 0x44165f
xor ecx, ecx
mov edx, dword [0x44c2b4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xc0a4c970
je 0x441630
inc ecx
cmp eax, ecx
jne 0x441620
jmp 0x44165f
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x44165f
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push 0
push 0
push 2
push edx
push dword [esp + 0x44]
push 6
push eax
push dword [0x44c2b8]
call fcn.0043ca30
add esp, 0x24
mov ebx, eax
mov dword [esp], 0xb10e0fe9
mov word [esp + 4], 0
mov eax, 0x9294407d
mov ecx, 0x82
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0x6d6bbf83]
mov edi, edx
not edi
or edi, ecx
or edx, eax
and edx, edi
mov edi, edx
and edi, 1
or edx, 1
add edx, edi
add dl, 0x8e
mov byte [esp + eax + 0x6d6bbf83], dl
inc eax
dec ecx
cmp eax, 0x92944083
jne 0x441680
cmp ebx, dword [esp]
jne 0x441859
push dword [esp + 0x10]
call fcn.004394f0
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0xc9cacbf2
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + edi + 0xc]
mov edx, edi
and edx, 2
mov ecx, edi
or ecx, 2
imul ecx, edx
mov ebp, edx
xor ebp, 2
mov edx, edi
and edx, 1
neg edx
and edx, ebp
mov ebp, edi
xor ebp, 0xcf448553
add ebp, edx
add ebp, ecx
lea ecx, [ebp*2]
not ecx
add ecx, ebp
or ecx, ebx
not ebp
and ebp, ebx
not ecx
or ecx, ebp
add cl, 0x61
mov byte [esp + edi + 0xc], cl
inc edi
cmp edi, 4
jne 0x4416e0
mov esi, dword [esp + 0xc]
mov dword [esp], 0xcccdcacb
mov ebx, 0x32
mov ebp, 0xcd
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + ebx - 0x32]
mov edi, ebp
or edi, ecx
not ecx
or ecx, ebx
and ecx, edi
mov dl, 5
sub dl, cl
mov byte [esp + ebx - 0x32], dl
inc ebx
dec ebp
cmp ebx, 0x36
jne 0x441750
mov ebx, dword [esp]
mov ecx, dword [0x44c2b0]
test ecx, ecx
je 0x4417d3
xor ebp, ebp
mov edi, dword [0x44c2b4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + ebp*8], 0xc0a4c970
je 0x4417a0
inc ebp
cmp ecx, ebp
jne 0x441790
jmp 0x4417d3
mov ebp, dword [edi + ebp*8 + 4]
cmp ebp, ebx
je 0x4417d3
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push dword [esp + 0xc]
push eax
push esi
push edx
push dword [esp + 0x44]
push 6
push ebp
push dword [0x44c2b8]
mov edi, eax
call fcn.0043ca30
add esp, 0x24
mov ebx, eax
mov eax, edi
test ebx, ebx
mov esi, dword [esp + 0x40]
js 0x441850
mov edx, dword [esp + 0x38]
test edx, edx
je 0x4417e8
mov ecx, dword [eax + 4]
mov dword [edx], ecx
test esi, esi
je 0x441850
cmp dword [esp + 0x3c], 0
je 0x44184b
mov edx, dword [esi]
mov ecx, dword [eax + 8]
cmp edx, ecx
jb 0x4417fe
mov edx, ecx
lea esi, [eax + 0xc]
mov ecx, edx
shr ecx, 2
mov ebp, dword [esp + 0x3c]
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 esi, dword [esp + 0x40]
je 0x44184b
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 [esi], ecx
push eax
call fcn.004395a0
add esp, 4
mov eax, ebx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret