Function at 0x4414b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4414fa
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x4414d0
sar ecx, 1
mov edx, ecx
and edx, 0xfffd
mov esi, ecx
and esi, 2
or ecx, 2
imul ecx, esi
xor esi, 2
imul esi, edx
add ecx, esi
jmp 0x4414fc
xor ecx, ecx
mov word [esp + 0x18], cx
mov edx, eax
test eax, eax
je 0x44150c
add ecx, 2
mov edx, ecx
mov edi, dword [esp + 0x44]
mov word [esp + 0x1a], dx
mov dword [esp + 0x1c], eax
mov dword [esp], 0x14151617
mov byte [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x84
xor cl, byte [esp + eax]
add cl, 0x6c
mov byte [esp + eax], cl
inc eax
cmp eax, 5
jne 0x441530
mov ebx, dword [esp]
mov eax, dword [0x44cd20]
test eax, eax
je 0x44159f
xor ecx, ecx
mov edx, dword [0x44cd24]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x877f203a
je 0x441570
inc ecx
cmp eax, ecx
jne 0x441560
jmp 0x44159f
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x44159f
lea ecx, [esp + 0xc]
lea edx, [esp + 0x18]
push ecx
push 0
push 0
push 2
push edx
push dword [esp + 0x48]
push 0x18
push eax
push dword [0x44cd28]
call fcn.0043e090
add esp, 0x24
mov ebx, eax
mov dword [esp], 0x5f1e19ff
mov word [esp + 4], 0
xor eax, eax
nop
movzx ecx, byte [esp + eax]
mov edx, eax
and edx, 6
xor edx, 0xb7962386
mov esi, eax
and esi, 1
sub esi, edx
lea edx, [ecx + ecx]
not edx
add edx, ecx
xor edx, ecx
and edx, esi
xor edx, ecx
mov ecx, edx
xor ecx, 0x62
or edx, 0x95eeb19d
and ecx, edx
add ecx, edx
inc cl
mov byte [esp + eax], cl
inc eax
cmp eax, 6
jne 0x4415b0
cmp ebx, dword [esp]
jne 0x44177a
push dword [esp + 0xc]
call fcn.0043b670
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword [esp + 8], ecx
mov dword [esp + 0x10], 0x595a5b42
mov word [esp + 0x14], 0
mov byte [esp + 0x16], 0
mov edx, 0x6f3c836f
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + edx - 0x6f3c835f]
xor esi, edx
add esi, 0xd3d16ed4
mov ebx, esi
xor ebx, 0xfe
or esi, 1
and ebx, esi
add ebx, esi
mov byte [esp + edx - 0x6f3c835f], bl
inc edx
cmp edx, 0x6f3c8376
jne 0x441630
mov edx, dword [esp + 0x10]
mov dword [esp], 0x14151617
mov byte [esp + 4], 0
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, ebx
add cl, 0x84
xor cl, byte [esp + ebx]
add cl, 0x6c
mov byte [esp + ebx], cl
inc ebx
cmp ebx, 5
jne 0x441680
mov ebx, dword [esp]
mov ebp, dword [0x44cd20]
test ebp, ebp
je 0x4416f7
mov ecx, edi
xor edi, edi
mov esi, dword [0x44cd24]
nop
nop
nop
nop
nop
cmp dword [esi + edi*8], 0x877f203a
je 0x4416c2
inc edi
cmp ebp, edi
jne 0x4416b0
mov edi, ecx
jmp 0x4416f7
mov ebp, dword [esi + edi*8 + 4]
cmp ebp, ebx
mov edi, ecx
je 0x4416f7
lea ecx, [esp + 0xc]
lea esi, [esp + 0x18]
push ecx
push dword [esp + 0xc]
push eax
push edx
push esi
push dword [esp + 0x48]
push 0x18
push ebp
push dword [0x44cd28]
mov esi, eax
call fcn.0043e090
add esp, 0x24
mov ebx, eax
mov eax, esi
test ebx, ebx
mov edx, dword [esp + 0x40]
js 0x441771
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x44170c
mov ecx, dword [eax + 4]
mov dword [esi], ecx
test edi, edi
je 0x441771
test edx, edx
je 0x44176c
mov edx, dword [edi]
mov ecx, dword [eax + 8]
cmp edx, ecx
jb 0x44171f
mov edx, ecx
lea esi, [eax + 0xc]
mov ecx, edx
shr ecx, 2
mov ebp, dword [esp + 0x40]
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 + 0x44]
je 0x44176c
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.0043b6f0
add esp, 4
mov eax, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret